fc7a34e350b861f692dbd7e77cfbcf745cecdd0e
[platform/upstream/glibc.git] / ChangeLog
1 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
2
3         [BZ #17748]
4         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
5         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
6         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
7         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
8         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
9         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
10         define as weak alias of __fegetenv.  Use libm_hidden_weak.
11         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
12         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
13         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
14         define as weak alias of __fegetenv.  Use libm_hidden_weak.
15         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
16         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
17         define as weak alias of __fegetenv.  Use libm_hidden_weak.
18         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
19         libm_hidden_def.
20         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
21         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
22         Likewise.
23         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
24         define as weak alias of __fegetenv.  Use libm_hidden_weak.
25         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
26         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
27         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
28         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
29         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
30         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
31         __fegetenv instead of fegetenv.
32         (libc_feholdsetround_noex_ctx): Likewise.
33
34 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
35
36         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
37         (Elf_MIPS_ABIFlags_v0): New structure.
38         (EF_MIPS_FP64): Define.
39         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
40         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
41         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
42         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
43         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
44         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
45         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
46         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
47         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
48         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
49         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
50         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
51         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
52         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
53         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
54         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
55         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
56         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
57         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
58         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
59         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
60         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
61         field.
62         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
63         EF_MIPS_FP64.
64         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
65         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
66         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
67         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
68         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
69         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
70         * sysdeps/mips/tst-abi-interlink.c: Likewise.
71         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
72         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
73         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
74         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
75         record the current FP ABI extension.
76         (mips-mode-switch): Define to show if kernel headers support mode
77         switching.
78         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
79         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
80         supported SYSV ABI version to 3.
81         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
82         feature.
83
84 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
85             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
86
87         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
88         path.
89         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
90
91 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
92
93         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
94         __fegetround and redefine to call __fegetround.  Remove condition
95         on [!__NO_MATH_INLINES].
96         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
97         function.
98         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
99         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
100         Remove macro.
101         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
102         instead of <fenv_libc.h>.
103         (__llrintl): Call fegetround instead of __fegetround.
104         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
105         instead of <fenv_libc.h>.
106         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
107         (__lrintl): Call fegetround instead of __fegetround.
108         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
109         instead of <fenv_libc.h>.
110         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
111         (__rintl): Call fegetround instead of __fegetround.
112
113 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
114
115         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
116         arrays.
117
118 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
119
120         [BZ #17775]
121         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
122         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
123         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
124
125 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
126
127         * sysdeps/i386/tls-macros.h: Include <features.h>.
128         (TLS_LE): Use non-PIC version for GCC >= 5.0.
129         (TLS_IE): Likewise.
130         (TLS_LD): Likewise.
131         (TLS_GD): Likewise.
132         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
133         define for GCC >= 5.0.
134
135 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
136
137         * math/test-fenv.c (test_single_exception, set_single_exc,
138         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
139         feexcp_mask_test, feenable_test, fe_single_test): Add
140         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
141         case where they are not used.
142         * math/libm-test.inc: Likewise.
143         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
144         unused in the absence of FP rounding/exception support.
145         * stdio-common/tst-printf-round.c: Likewise.
146         * stdlib/tst-strtod-round.c: Likewise.
147         * stdlib/tst-strtod-underflow.c: Likewise.
148
149 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
150
151         [BZ #17723]
152         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
153         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
154         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
155         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
156         libm_hidden_weak.
157         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
158         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
159         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
160         libm_hidden_def.
161         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
162         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
163         libm_hidden_weak.
164         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
165         Likewise.
166         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
167         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
168         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
169         libm_hidden_weak.
170         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
171         libm_hidden_def.
172         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
173         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
174         (__feraiseexcept): Likewise.
175         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
176         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
177         libm_hidden_weak.
178         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
179         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
180         libm_hidden_def.
181         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
182         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
183         Use libm_hidden_def.
184         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
185         libm_hidden_def.
186         (feraiseexcept): Define as weak not strong alias.  Use
187         libm_hidden_weak.
188         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
189         New inline function.  Factored out of ...
190         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
191         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
192         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
193         feraiseexcept.
194         * math/w_acos.c (__acos): Likewise.
195         * math/w_asin.c (__asin): Likewise.
196         * math/w_ilogb.c (__ilogb): Likewise.
197         * math/w_j0.c (y0): Likewise.
198         * math/w_j1.c (y1): Likewise.
199         * math/w_jn.c (yn): Likewise.
200         * math/w_log.c (__log): Likewise.
201         * math/w_log10.c (__log10): Likewise.
202         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
203         * sysdeps/aarch64/fpu/math_private.h
204         (libc_feupdateenv_test_aarch64): Likewise.
205         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
206         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
207         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
208         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
209         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
210         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
211         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
212         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
213         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
214         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
215
216 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
217
218         [BZ #17732]
219         * io/test-utime.c (main): Replace %ld with %jd and cast to
220         intmax_t.
221         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
222         * nptl/tst-mutex5.c: Include <stdint.h>.
223         (do_test): Replace %ld with %jd and cast to intmax_t.
224         * posix/tst-regex.c (run_test): Likewise.
225         (run_test_backwards): Likewise.
226         * rt/tst-clock.c: Include <stdint.h>.
227         (clock_test): Replace %ld with %jd and cast to intmax_t.
228         * rt/tst-cpuclock1.c: Include <stdint.h>.
229         (do_test): Replace %lu with %ju and cast to uintmax_t.
230         * rt/tst-cpuclock2.c: Include <stdint.h>.
231         (do_test): Replace %lu with %ju and cast to uintmax_t.
232         * rt/tst-mqueue1.c: Include <stdint.h>.
233         (check_attrs): Replace %ld with %jd and cast to intmax_t.
234         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
235         intmax_t.
236         * rt/tst-mqueue4.c (do_test): Likewise.
237         * rt/tst-timer4.c: Include <stdint.h>.
238         (check_ts): Replace %ld with %jd and cast to intmax_t.
239         (do_test): Likewise.
240         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
241         and cast to intmax_t.
242         * sysdeps/pthread/tst-timer.c (main): Likewise.
243         * time/clocktest.c (main): Likewise.
244         * time/tst-posixtz.c (do_test): Likewise.
245         * timezone/tst-timezone.c (main): Likewise.
246
247 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
248             H.J. Lu  <hongjiu.lu@intel.com>
249
250         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
251         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
252         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
253         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
254         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
255         version if bit_Fast_Unaligned_Load is set.
256         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
257         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
258         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
259         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
260         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
261         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
262         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
263         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
264         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
265         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
266         to 4.
267         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
268         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
269         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
270         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
271
272 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
273
274         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
275         instead of #if to avoid a Wundef warning.
276         * stdlib/tst-limits.c (do_test): Likewise.
277
278         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
279         parallel other exception macros.
280         (fegetenv): Convert from macro to extern inline so that it applies
281         retroactively to inline functions already seen by the compiler.
282         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
283
284         * posix/Makefile (before-compile): Use $(objpfx) for
285         posix-conf-vars-def.h.
286
287 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
288
289         * posix/getconf.c (main): Use size_t for type of I.
290         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
291         NSPEC.
292
293         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
294         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
295         * posix/posix-envs.def: Likewise.
296         * sysdeps/posix/sysconf.c: Likewise.
297         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
298         (specs): Remove array.
299         * scripts/gen-posix-conf-vars.awk: Support generation of specs
300         array.
301
302         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
303         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
304         (__sysconf): Use CONF_IS_* macros.
305
306         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
307         ($(objpfx)posix-conf-vars-def.h): New target.
308         * posix/posix-conf-vars.list: New file.
309         * posix/posix-conf-vars.h: New file.
310         * posix/confstr.c: Include posix-conf-vars.h.
311         (confstr): Use CONF_IS_* macros.
312         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
313         CONF_IS_* macros.
314         * scripts/gen-posix-conf-vars.awk: New file.
315
316 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
317
318         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
319         fegetround): Add no-op macros to avoid linknamespace issues.
320
321         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
322         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
323
324         * sysdeps/unix/sysv/linux/tile/sysdep.h
325         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
326         assembly-specific section to avoid a redefinition warning.
327
328         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
329         long before casting to pointer to avoid a cast warning.
330
331 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
332
333         * sysdeps/tile/tilegx/Implies: New file.
334
335 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
336
337         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
338
339 2014-12-23  Florian Weimer  <fweimer@redhat.com>
340
341         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
342
343 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
344
345         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
346         not define.
347         * sysdeps/unix/sysv/linux/utimes.c: Do not include
348         <kernel-features.h>.
349         (__utimes) [__NR_utimes]: Make code unconditional.
350         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
351         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
352         (__ASSUME_UTIMES): Do not undefine.
353         * sysdeps/unix/sysv/linux/tile/kernel-features.h
354         (__ASSUME_UTIMES): Likewise.
355         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
356         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
357         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
358         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
359
360 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
361
362         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
363
364 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
365
366         [BZ #17747]
367         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
368         alias to weak alias for j0l, y0l.
369         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
370         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
371
372         [BZ #17746]
373         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
374         conversion.
375
376 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
377
378         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
379         to zero if not already defined.
380
381 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
382
383         [BZ #17724]
384         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
385         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
386         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
387         (char *) casts added.
388         * sysdeps/ieee754/k_standardf.c: New file.
389         * sysdeps/ieee754/k_standardl.c: Likewise.
390         * math/Makefile (libm-support): Remove k_standard.
391         (libm-calls): Add k_standard.
392
393 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
394
395         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
396         Optimize to avoid an unnecessary FPCR read.
397
398 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
399
400         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
401         Optimize to reduce FPCR/FPSR accesses.
402
403 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
404
405         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
406         Call libc_fetestexcept_aarch64.
407
408 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
409
410         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
411         Call libc_fesetround_aarch64.
412
413 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
414
415         [BZ #17733]
416         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
417         (__bind): Do not define as weak alias.
418         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
419         define.
420         (__getsockname): Do not define as weak alias.
421
422 2014-12-22  Will Newton  <will.newton@linaro.org>
423
424         * manual/install.texi: Document that we require bison 2.7
425         or above.
426         * INSTALL: Regenerate.
427         * configure.ac: Use AC_CHECK_PROG_VER instead of
428         AC_PATH_PROG when checking for bison and check for
429         version 2.7 or above.
430         * configure: Regenerate.
431
432 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
433
434         [BZ #17745]
435         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
436         * sysdeps/tile/ffsll.c (ffsll): To here.
437
438         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
439
440 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
441
442         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
443         if not defined.
444         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
445         definition.
446         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
447         hidden ___tls_get_addr.
448         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
449         hidden __tls_get_addr.
450         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
451         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
452         Likewise.
453
454 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
455
456         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
457         _dl_init call.
458
459 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
460
461         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
462         from "call _dl_init@PLT".
463         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
464
465 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
466
467         * manual/search.texi: (Array Sort Function): Clarify stable sorting
468         guarantees.
469
470 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
471
472         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
473
474 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
475
476         [BZ #17744]
477         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
478         strnlen.
479
480 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
481
482         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
483         of multu on MIPSr6.
484         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
485         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
486         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
487         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
488         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
489
490 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
491
492         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
493         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
494         (PTR_SUBU): Use subu for mips32r6/mips64r6.
495         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
496         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
497         mips32r6/mips64r6.
498         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
499
500 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
501
502         * string/strncat.c (STRNCAT): Simplify implementation.
503
504 2014-12-19  David S. Miller  <davem@davemloft.net>
505
506         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
507         access the quad as both a long double and as a series of 4 words.
508
509         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
510         link_map->l_info array access.
511
512 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
513
514         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
515
516         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
517         * math/atest-exp2.c (TIMEOUT): Likewise.
518         * math/atest-sincos.c (TIMEOUT): Likewise.
519
520 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
521
522         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
523         -Wno-error with -fno-builtin-lround.
524
525 2014-12-19  Torvald Riegel  <triegel@redhat.com>
526
527         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
528         Contains futex constants and functions moved over from ...
529         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
530         <lowlevellock-futex.h>.
531         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
532         (lll_timedwait_tid): Add comments and parentheses around macro
533         arguments.
534
535 2014-12-19  Torvald Riegel  <triegel@redhat.com>
536
537         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
538         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
539         (__lll_private_flag): Remove.
540         (lll_futex_wait): Likewise.
541         (lll_futex_timed_wait): Likewise.
542         (lll_futex_wake): Likewise.
543         (lll_futex_requeue): Likewise.
544         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
545         (__lll_timedwait_tid): Spell out argument names.
546         (lll_timedwait_tid): Add comments and parentheses around macro
547         arguments.
548         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
549         LLL_SHARED and LLL_PRIVATE usable from assembly code.
550
551 2014-12-19  Torvald Riegel  <triegel@redhat.com>
552
553         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
554         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
555         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
556         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
557         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
558         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
559         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
560         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
561         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
562         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
563         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
564         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
565         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
566         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
567         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
568         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
569         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
570         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
571         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
572
573 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
574
575         * sysdeps/x86_64/x32/Makefile: New file.
576
577 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
578
579         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
580         1L with (mp_limb_t) 1.
581
582 2014-12-17  Roland McGrath  <roland@hack.frob.com>
583
584         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
585         * nptl/libc_pthread_init.c: ... here.
586         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
587         * nptl/register-atfork.c: ... here.
588
589         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
590         Use pthread_sigmask rather than INTERNAL_SYSCALL.
591         Use assert_perror to check its return value.
592         (__gai_create_helper_thread): Likewise.
593
594         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
595
596         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
597
598 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
599
600         [BZ #17725]
601         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
602         __profil_counter.
603         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
604         Likewise.
605         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
606         Likewise.
607         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
608         Likewise.
609         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
610         (profil_counter): Likewise.
611         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
612         (profil_counter): Likewise.
613         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
614         Likewise.
615         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
616         Likewise.
617         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
618         (profil_counter): Likewise.
619         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
620         Likewise.
621         [!__profil_counter] (profil_counter): Define as weak alias of
622         __profil_counter.
623         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
624         (profil_counter): Rename to __profil_counter.
625         [!__profil_counter] (profil_counter): Define as weak alias of
626         __profil_counter.
627         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
628         (profil_counter): Rename to __profil_counter.
629         [!__profil_counter] (profil_counter): Define as weak alias of
630         __profil_counter.
631         * sysdeps/posix/profil.c: Update comment referring to
632         profil_counter.
633         (__profil): Use __profil_counter instead of profil_counter.
634         * sysdeps/posix/sprofil.c (profil_counter): Rename to
635         __profil_counter.  Use __profil_counter_ushort and
636         __profil_counter_uint in definitions.
637         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
638         instead of profil_counter_uint and profil_counter_ushort.
639
640         [BZ #17722]
641         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
642         define as weak alias of __inet_makeaddr.
643         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
644         as weak alias of __inet_addr.
645         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
646         as weak alias of __inet_pton.  Use libc_hidden_weak.
647         * include/arpa/inet.h (__inet_pton): Declare.  Use
648         libc_hidden_proto.
649         (inet_makeaddr): Don't use libc_hidden_proto.
650         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
651         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
652         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
653         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
654         Remove variable.
655         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
656         (test-xfail-POSIX/time.h/linknamespace): Likewise.
657
658 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
659
660         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
661
662 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
663
664         * stdio-common/bug-vfprintf-nargs.c (do_test):
665         Cast value to intptr_t to avoid format warning
666         for usage with PRIdPTR printing macro.
667
668 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
669
670         * libio/tst-widetext.c (do_test):
671         Use format type %td instead of %Zd for ptrdiff_t
672         in order to avoid format warning.
673
674 2014-12-17  Andreas Schwab  <schwab@suse.de>
675
676         * nscd/mem.c (gc): Add size_t cast to match printf format.
677
678 2014-12-16  Roland McGrath  <roland@hack.frob.com>
679
680         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
681         (init): Apply PTR_MANGLE to pointers before storing them.
682         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
683         before using them.
684
685 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
686
687         [BZ #17719]
688         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
689         define as weak alias of __memrchr.
690         (__memrchr): Do not define as strong alias of memrchr.
691         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
692         Remove variable.
693         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
694         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
695         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
696
697         [BZ #17717]
698         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
699         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
700         (if_indextoname): Rename to __if_indextoname and define as weak
701         alias of __if_indextoname.  Use libc_hidden_weak.
702         (if_freenameindex): Rename to __if_freenameindex and define as
703         weak alias of __if_freenameindex.
704         (if_nameindex): Rename to __if_nameindex and define as weak alias
705         of __if_nameindex.
706         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
707         __if_nametoindex and define as weak alias of __if_nametoindex.
708         Use libc_hidden_weak.
709         (if_freenameindex): Rename to __if_freenameindex and define as
710         weak alias of __if_freenameindex.
711         (if_nameindex): Rename to __if_nameindex and define as weak alias
712         of __if_nameindex.
713         (if_indextoname): Rename to __if_indextoname and define as weak
714         alias of __if_indextoname.  Use libc_hidden_weak.
715         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
716         __if_nametoindex and define as weak alias of __if_nametoindex.
717         Use libc_hidden_weak.
718         (if_freenameindex): Rename to __if_freenameindex and define as
719         weak alias of __if_freenameindex.  Use libc_hidden_weak.
720         (if_nameindex_netlink): Use __if_freenameindex instead of
721         if_freenameindex.
722         (if_nameindex): Rename to __if_nameindex and define as weak alias
723         of __if_nameindex.  Use libc_hidden_weak.
724         (if_indextoname): Rename to __if_indextoname and define as weak
725         alias of __if_indextoname.  Use libc_hidden_weak.
726         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
727         libc_hidden_proto.
728         [!_ISOMAC] (__if_freenameindex): Likewise.
729         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
730         if_nametoindex.
731         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
732         variable.
733         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
734         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
735         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
736         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
737         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
738         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
739         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
740
741         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
742         Remove variable.
743         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
744         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
745
746 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
747
748         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
749         subscript above bounds'
750
751         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
752         bounds.
753
754 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
755
756         * libio/tst-fopenloc.c: Use test-skeleton.c.
757
758         * stdlib/tst-bsearch.c: Use test-skeleton.c.
759         (entry): Rename to ITEM.
760         (do_test, comp): Adjust.
761
762         * stdio-common/tst-fseek.c: Use test-skeleton.c.
763
764 2014-12-16  Torvald Riegel  <triegel@redhat.com>
765
766         * string/tester.c: Include <libc-internal.h>.
767         (test_memset): Ignore -Wmemset-transposed-args.
768
769 2014-12-16  Torvald Riegel  <triegel@redhat.com>
770
771         * misc/tst-mntent2.c (do_test): Fix warning.
772
773 2014-12-16  Torvald Riegel  <triegel@redhat.com>
774
775         * elf/tst-unique4lib.cc(a): Mark as used.
776
777 2014-12-16  Florian Weimer  <fweimer@redhat.com>
778
779         [BZ #17630]
780         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
781         names.
782
783 2014-12-16  Allan McRae  <allan@archlinux.org>
784
785         * stdio-common/Makefile (tests): Re-add bug26.
786
787 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
788
789         [BZ #17657]
790         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
791         static array.
792
793 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
794
795         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
796         (__lll_lock_wait): Likewise.
797         (__lll_timedlock_wait): Likewise.
798         (__lll_timedwait_tid): Likewise.
799         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
800         (__lll_robust_timedlock_wait): Likewise.
801         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
802         (lll_cond_trylock): Likewise.
803         (__lll_lock): Likewise.
804         (__lll_robust_lock): Likewise.
805         (__lll_cond_lock): Likewise.
806         (lll_robust_cond_lock): Likewise.
807         (__lll_timedlock): Likewise.
808         (__lll_robust_timedlock): Likewise.
809         (__lll_unlock): Likewise.
810         (__lll_robust_unlock): Likewise.
811         (lll_wait_tid): Likewise.
812         (lll_timedwait_tid): Likewise.
813
814 2014-12-15  Torvald Riegel  <triegel@redhat.com>
815
816         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
817
818 2014-12-15  Torvald Riegel  <triegel@redhat.com>
819
820         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
821
822 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
823
824         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
825         * stdio-common/tst-sprintf.c: Likewise.
826
827 2014-12-15  Torvald Riegel  <triegel@redhat.com>
828
829         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
830
831 2014-12-15  Jeff Law  <law@redhat.com>
832
833         [BZ #16617]
834         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
835         on the heap.  (CVE-2012-3406)
836         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
837         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
838         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
839
840 2014-12-15  Will Newton  <will.newton@linaro.org>
841
842         * manual/install.texi: Bump required version of texinfo
843         to 4.7 from 4.5.
844         * INSTALL: Regenerated.
845         * configure.ac: Check for makeinfo version 4.7 and above.
846         * configure: Regenerated.
847
848 2014-12-12  Roland McGrath  <roland@hack.frob.com>
849
850         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
851         PREFIX, string constant to insert between directory and name.
852         * sysdeps/posix/shm_open.c: Update caller.
853         * sysdeps/posix/shm_unlink.c: Likewise.
854         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
855         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
856         (SEM_SHM_PREFIX): New macro.
857         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
858         [$(have-thread-library) = no].
859         * nptl/Makefile (libpthread-routines): Add shm-directory.
860         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
861         * sysdeps/nptl/shm-directory.h: New file.
862         * sysdeps/posix/shm-directory.c
863         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
864         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
865         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
866         INTERNAL_SYSCALL.
867         (__where_is_shmfs): Function removed.
868         (mountpoint, defaultmount, defaultdir, __namedsem_once):
869         Variables removed.
870         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
871         Use SHM_GET_NAME.
872         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
873
874         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
875         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
876         unconditional for use inside libpthread.
877         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
878
879 2014-12-12  Roland McGrath  <roland@hack.frob.com>
880
881         * nptl/pthread_getaffinity.c: New file.
882         * nptl/pthread_setaffinity.c: New file.
883         * nptl/pthread_getname.c: New file.
884         * nptl/pthread_setname.c: New file.
885
886         * nptl/pthread_create.c (START_THREAD_DEFN)
887         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
888
889 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
890             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
891
892         * resolv/res_send.c (send_vc): Disable warning resplen may
893         be used uninitialized.
894
895 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
896
897         * nptl/tst-mutex6.c
898         (ATTR_NULL): New define checks ATTR against NULL.
899         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
900         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
901
902 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
903
904         [BZ #17581]
905         * malloc/hooks.c
906         (mem2mem_check): Revert my previous change.
907         (malloc_check_get_size): Revert my previous change.
908         (mem2chunk_check): Revert my previous change.
909
910 2014-12-11  Roland McGrath  <roland@hack.frob.com>
911
912         * sysdeps/posix/shm-directory.c: New file.
913         * sysdeps/posix/shm-directory.h: New file.
914         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
915         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
916         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
917         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
918         Transmute EPERM to EACCES.
919         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
920         from ...
921         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
922         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
923
924 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
925
926         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
927         pointer and cast to uintptr_t.
928         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
929         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
930         Add cast to avoid warning.
931         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
932
933 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
934
935         * nptl/semaphore.h: Move to ...
936         * sysdeps/pthread/semaphore.h: ... here.
937         * Makefile (installed-headers): Change nptl/semaphore.h to
938         sysdeps/pthread/semaphore.h.
939
940 2014-12-11  Roland McGrath  <roland@hack.frob.com>
941
942         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
943         generated error format strings.
944
945         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
946         -Wformat-extra-args warnings for scanf formats.
947         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
948         test of zero-length format (duh).
949         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
950         corner-case scanf format test.
951         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
952         generated fprintf format string.
953         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
954         corner-case sprintf format tests.
955         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
956         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
957         -Wformat-extra-args warnings throughout.
958         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
959         (CFLAGS-scanf4.c): Likewise.
960         (CFLAGS-scanf7.c): Likewise.
961         (CFLAGS-tst-sprintf.c): Likewise.
962         (CFLAGS-tst-printf.c): Likewise.
963         (CFLAGS-tst-printfsz.c): Likewise.
964
965 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
966
967         * include/cpio.h: New file.
968         * include/fmtmsg.h: Likewise.
969
970         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
971         corresponding format argument to size_t.
972         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
973         arguments.
974         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
975         corresponding format argument to size_t.
976         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
977         arguments.
978         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
979         corresponding format argument to size_t.
980         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
981         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
982         (CFLAGS-tst-mbswcs2.c): Likewise.
983         (CFLAGS-tst-mbswcs3.c): Likewise.
984         (CFLAGS-tst-mbswcs4.c): Likewise.
985         (CFLAGS-tst-mbswcs5.c): Likewise.
986         (CFLAGS-tst-trans.c): Likewise
987
988 2014-12-11  Roland McGrath  <roland@hack.frob.com>
989
990         * posix/regexbug1.c (main): Use "%s" format with regerror results,
991         rather than assuming they won't contain any '%'s.
992
993 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
994
995         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
996         inhibit_loop_to_libcall to avoid recursive calls.
997         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
998         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
999
1000 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
1001
1002         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
1003         prototype.
1004
1005 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
1006
1007         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
1008         integer value instead of boolean.
1009
1010 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
1011
1012         * malloc/malloc.c: Fix powerof2 check.
1013
1014 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
1015
1016         * locale/programs/locfile.h (maybe_swap_uint32):
1017         Remove inline and add unused attribute.
1018
1019 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
1020
1021         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
1022         Truncating assembler expression to a .long expression.
1023
1024 2014-12-11  Andreas Schwab  <schwab@suse.de>
1025
1026         * elf/rtld.c (struct map_args): Constify str member.
1027         (do_preload): Constify fname argument.
1028
1029 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1030
1031         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
1032         constants definition.
1033
1034 2014-12-11  Andreas Schwab  <schwab@suse.de>
1035
1036         [BZ #16657]
1037         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
1038         FORCE_ELISION instead of DO_ELISION.
1039         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
1040         Remove.
1041         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
1042         Likewise.
1043
1044         * iconvdata/gconv-modules: Remove duplicate entry.
1045
1046 2014-12-11  Will Newton  <will.newton@linaro.org>
1047
1048         Merge gettext 0.19.3 into intl/.
1049
1050         This involves a number of cosmetic changes to comments
1051         and ANSI function definitions and prototypes throughout
1052         all the files. The gettext copyright header is used but
1053         with the date ranges taken from the glibc copy.
1054
1055         * NEWS: Add gettext merge to 2.21.
1056         * intl/bindtextdom.c: Switch to gettext copyright.
1057         Use ANSI definitions and prototypes.
1058         Use gl_* locking primitives rather than __libc_* ones.
1059         Use __builtin_expect rather than __glibc_likely/unlikely.
1060         * intl/dcgettext.c: Switch to gettext copyright.
1061         Use ANSI definitions and prototypes.
1062         * intl/dcigettext.c: Switch to gettext copyright.
1063         Use ANSI definitions and prototypes.
1064         (INTDIV0_RAISES_SIGFPE): New define.
1065         Use gl_* locking primitives rather than __libc_* ones.
1066         Include eval-plural.h instead of plural-eval.c.
1067         Use __builtin_expect rather than __glibc_likely/unlikely.
1068         * intl/dcngettext.c: Switch to gettext copyright.
1069         Use ANSI definitions and prototypes.
1070         * intl/dgettext.c: Likewise.
1071         * intl/dngettext.c: Likewise.
1072         * intl/plural-eval.c: Renamed to...
1073         * intl/eval-plural.h: ...this.
1074         * intl/explodename.c: Switch to gettext copyright.
1075         Use ANSI definitions and prototypes.
1076         (_nl_explode_name): Use strchr instead of __rawmemchr.
1077         * intl/finddomain.c: Switch to gettext copyright.
1078         Use ANSI definitions and prototypes.
1079         Use gl_* locking primitives rather than __libc_* ones.
1080         (_nl_find_domain): Use malloc rather than alloca for
1081         allocation of temporary locale name.
1082         * intl/gettext.c: Switch to gettext copyright.
1083         Use ANSI definitions and prototypes.
1084         * intl/gettextP.h: Switch to gettext copyright.
1085         Use ANSI definitions and prototypes.
1086         Use gl_* locking primitives rather than __libc_* ones.
1087         * intl/gmo.h: Switch to gettext copyright.
1088         (struct sysdep_string): Move struct segment_pair outside of
1089         struct definition.
1090         * intl/hash-string.c: Use ANSI definitions and prototypes.
1091         * intl/hash-string.h: Switch to gettext copyright.
1092         Use ANSI definitions and prototypes.
1093         * intl/l10nflist.c: Switch to gettext copyright.
1094         Use ANSI definitions and prototypes.
1095         (_nl_normalize_codeset): Avoid integer overflow.
1096         * intl/loadinfo.h: Switch to gettext copyright.
1097         Use ANSI definitions and prototypes.
1098         (LIBINTL_DLL_EXPORTED): New define.
1099         (PATH_SEPARATOR): New define.
1100         * intl/loadmsgcat.c: Switch to gettext copyright.
1101         * intl/localealias.c: Switch to gettext copyright.
1102         Use ANSI definitions and prototypes.
1103         (_nl_expand_alias): Use PATH_SEPARATOR.
1104         * intl/ngettext.c: Switch to gettext copyright.
1105         Use ANSI definitions and prototypes.
1106         * intl/plural-exp.c: Likewise.
1107         * intl/plural-exp.h: Switch to gettext copyright.
1108         Use ANSI definitions and prototypes.
1109         (struct expression): Move definition of enum operator outside
1110         of struct definition.
1111         * intl/plural.c: Regenerate.
1112         * intl/plural.y: Switch to gettext copyright.
1113         Use ANSI definitions and prototypes.
1114         Port to bison 3.0.
1115         * intl/textdomain.c: Switch to gettext copyright.
1116         Use ANSI definitions and prototypes.
1117         Use gl_* locking primitives rather than __libc_* ones.
1118
1119 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
1120
1121         * debug/warning-nop.c: Add used atrribute.
1122
1123 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
1124
1125         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
1126
1127         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
1128         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
1129         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
1130
1131 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
1132             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1133
1134         [BZ #17634]
1135         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
1136         Undefine after defining function.  Define as weak alias of
1137         __wcschr.  Use libc_hidden_weak.
1138         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
1139         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
1140         (libc_hidden_def): Also define __GI___wcschr alias.
1141         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
1142         __wcschr and define as weak alias of __wcschr.
1143         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
1144         __wcschr.
1145         [!WCSCHR] (DEFAULT_WCSCHR): Define.
1146         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
1147         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
1148         libc_hidden_weak.  Do not use libc_hidden_def.
1149         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
1150         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
1151         __GI___wcschr alias.
1152         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
1153         [IS_IN (libc)] (wcschr): Define as macro expanding to
1154         __redirect_wcschr.
1155         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
1156         [IS_IN (libc)] (__wcschr_power6): Likewise.
1157         [IS_IN (libc)] (__wcschr_power7): Likewise.
1158         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
1159         instead of wcschr.
1160         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
1161         __libc_wcschr.
1162         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
1163         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
1164         __wcschr and define as weak alias of __wcschr.  Use
1165         libc_hidden_builtin_def.
1166         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
1167         as weak alias of __wcschr.  Use libc_hidden_weak.
1168         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
1169         wcschr.
1170         * time/era.c (_nl_init_era_entries): Likewise.
1171         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
1172         variable.
1173         (test-xfail-XPG3/time.h/linknamespace): Likewise.
1174         (test-xfail-XPG4/time.h/linknamespace): Likewise.
1175
1176 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
1177
1178         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
1179         format for long int variable.
1180
1181 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
1182
1183         [BZ #10672]
1184         * manual/search.texi: (Array Sort Function): Remove claim how to make
1185         qsort stable.
1186
1187 2014-12-10  Andreas Schwab  <schwab@suse.de>
1188
1189         [BZ #12847]
1190         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
1191         user-controlled locks.
1192
1193 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
1194
1195         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
1196         register.
1197
1198 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
1199
1200         * configure.ac (--disable-werror): New configure option.
1201         (enable_werror): New AC_SUBST.
1202         * configure: Regenerated.
1203         * config.make.in (enable-werror): New variable.
1204         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
1205         -Wno-error=undef.
1206         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
1207         * manual/install.texi (Configuring and compiling): Document
1208         --disable-werror.
1209         * INSTALL: Regenerated.
1210         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
1211         (CFLAGS-tst-chk2.c): Likewise.
1212         (CFLAGS-tst-chk3.c): Likewise.
1213         (CFLAGS-tst-chk4.cc): Likewise.
1214         (CFLAGS-tst-chk5.cc): Likewise.
1215         (CFLAGS-tst-chk6.cc): Likewise.
1216         (CFLAGS-tst-lfschk1.c): Likewise.
1217         (CFLAGS-tst-lfschk2.c): Likewise.
1218         (CFLAGS-tst-lfschk3.c): Likewise.
1219         (CFLAGS-tst-lfschk4.cc): Likewise.
1220         (CFLAGS-tst-lfschk5.cc): Likewise.
1221         (CFLAGS-tst-lfschk6.cc): Likewise.
1222
1223         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
1224         (main): Disable -Wdeprecated-declarations around calls to
1225         register_printf_function.
1226
1227         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
1228         (do_test): Disable -Wdiv-by-zero around some calls to
1229         fwrite_unlocked and fread_unlocked.
1230
1231         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
1232         (DIAG_POP_NEEDS_COMMENT): Likewise.
1233         (_DIAG_STR1): Likewise.
1234         (_DIAG_STR): Likewise.
1235         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
1236         * stdio-common/bug21.c: Include <libc-internal.h>.
1237         (do_test): Disable -Wformat around call to sscanf.
1238         * stdio-common/scanf14.c: Include <libc-internal.h>.
1239         (main): Disable -Wformat around some calls to scanf functions.
1240
1241 2014-12-09  Torvald Riegel  <triegel@redhat.com>
1242
1243         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
1244
1245 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1246
1247         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
1248         stack variable alignment.
1249
1250 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
1251
1252         [BZ #17682]
1253         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
1254         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
1255         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
1256         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
1257         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
1258         __getrlimit instead of getrlimit.
1259         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
1260         __gettimeofday instead of gettimeofday.
1261         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
1262         Likewise.
1263         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
1264         Likewise.
1265         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
1266         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
1267         Remove variable.
1268         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
1269         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
1270
1271 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1272
1273         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
1274         for wide-character tests.
1275
1276 2014-12-04  Roland McGrath  <roland@hack.frob.com>
1277
1278         * io/openat64.c: #include <libc-internal.h>
1279         (__openat64): Prototypify.  Use ignore_value on MODE.
1280         * io/openat.c: Likewise.
1281         * misc/reboot.c: #include <libc-internal.h>
1282         (reboot): Prototypify.  Use ignore_value on HOWTO.
1283         * misc/ptrace.c: #include <libc-internal.h>
1284         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
1285
1286 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
1287
1288         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
1289         XPG4, UNIX98 and XOPEN2K.
1290         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
1291         Remove variable.
1292         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
1293
1294 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
1295
1296         * libio/fileops.c: Use ISO C style for function definitions.
1297         * libio/iofopen.c: Likewise.
1298         * libio/wfileops.c: Likewise.
1299
1300         [BZ #17653]
1301         * libio/fileops.c (_IO_new_file_underflow): Unset cached
1302         offset on EOF.
1303         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
1304         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
1305         (fgets_func): Function pointer to fgets and fgetws.
1306         (do_ftell_test): Add test to verify ftell value after read
1307         EOF.
1308         (do_test): Set fgets_func.
1309
1310         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
1311         O_TRUNC flag for w and w+ modes.
1312         (do_rewind_test): Likewise.
1313         (do_ftell_test): Likewise.
1314         (do_write_test): Likewise.
1315
1316         [BZ #17647]
1317         * libio/fileops.c (do_ftell): Seek only when there are
1318         unflushed writes.
1319         * libio/wfileops.c (do_ftell_wide): Likewise.
1320         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
1321         test case.
1322         (do_one_test): Call it.
1323
1324 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
1325
1326         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
1327         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
1328         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
1329         Remove variable.
1330         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
1331         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
1332         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
1333
1334 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
1335
1336         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
1337         Remove variable.
1338         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
1339
1340         [BZ #17668]
1341         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
1342         as weak alias of __getifaddrs.  Use libc_hidden_weak.
1343         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
1344         __freeifaddrs.  Use libc_hidden_weak.
1345         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
1346         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
1347         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
1348         __freeifaddrs.  Use libc_hidden_weak.
1349         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
1350         __getifaddrs and define as weak alias of __getifaddrs.  Use
1351         libc_hidden_weak.
1352         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
1353         __freeifaddrs.  Use libc_hidden_weak.
1354         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
1355         Remove variable.
1356         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
1357         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
1358
1359 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
1360
1361         [BZ #17601]
1362         * sysdeps/mips/start.S (__start): Use indirect jump to call
1363         __libc_start_main.
1364
1365 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
1366
1367         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
1368
1369         * nptl/tst-mutex1.c: Include <stdbool.h>.
1370         [!ATTR] (ATTR_NULL): New macro.
1371         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
1372         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
1373         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
1374
1375         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
1376         to char *.
1377
1378         [BZ #17665]
1379         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
1380         Change conditional to [__USE_MISC].
1381
1382         [BZ #17664]
1383         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
1384         fgets_unlocked.
1385         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
1386         __fgets_unlocked.
1387         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
1388         fgets_unlocked.
1389         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
1390         Remove variable.
1391         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
1392         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
1393         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
1394         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
1395         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
1396         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
1397         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
1398         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
1399         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
1400
1401         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
1402
1403 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1404
1405         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1406         Remove strpbrk objects.
1407         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1408         (__libc_ifunc_impl_list): Remove strpbrk implementation.
1409         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
1410         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
1411         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
1412         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
1413
1414         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1415         Remove strcspn objects.
1416         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1417         (__libc_ifunc_impl_list): Remove strcspn implementation.
1418         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
1419         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
1420         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
1421         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
1422
1423         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1424         Remove strspn objetcs.
1425         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1426         (__libc_ifunc_impl_list): Remove strspn implementation.
1427         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
1428         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
1429         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
1430         * sysdeps/powerpc/powerpc64/strspn.S: New file.
1431
1432 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
1433
1434         [BZ #17581]
1435         * malloc/hooks.c
1436         (mem2mem_check): Add a terminator to the chain of checking blocks.
1437         (malloc_check_get_size): Use it here.
1438         (mem2chunk_check): Ditto.
1439
1440 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1441
1442         * sysdeps/powerpc/powerpc64/strtok.S: New file.
1443         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
1444
1445 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
1446
1447         * bits/ioctl-types.h: Indent preprocessor directives correctly.
1448
1449         * nptl/nptl-init.c: Include libc-internal.h.
1450         (__pthread_initialize_minimal_internal): Use ROUND_UP.
1451
1452         * elf/ldconfig.c (search_dir): Expand comment.
1453
1454 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
1455
1456         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
1457         variable.
1458         (linknamespace-symlist-stdlibs-tests): Likewise.
1459         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
1460         instead of $(objpfx)symlist-stdlibs.
1461         (linknamespace-libs-isoc): New variable.
1462         (linknamespace-libs): Use $(linknamespace-libs-isoc).
1463         (linknamespace-libs-ISO): New variable.
1464         (linknamespace-libs-ISO99): Likewise.
1465         (linknamespace-libs-ISO11): Likewise.
1466         (linknamespace-libs-XPG3): Likewise.
1467         (linknamespace-libs-XPG4): Likewise.
1468         (linknamespace-libs-POSIX): Likewise.
1469         (linknamespace-libs-UNIX98): Likewise.
1470         (linknamespace-libs-XOPEN2K): Likewise.
1471         (linknamespace-libs-POSIX2008): Likewise.
1472         (linknamespace-libs-XOPEN2K8): Likewise.
1473         ($(objpfx)symlist-stdlibs): Replace by
1474         $(linknamespace-symlist-stdlibs-tests).  Use
1475         $(linknamespace-libs-$*) as set of libraries.
1476         ($(linknamespace-header-tests)): Update dependencies.  Use
1477         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
1478         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
1479         * conform/linknamespace.pl: Remove comment about considering
1480         definitions of symbols from irrelevant libraries.
1481
1482 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
1483
1484         [BZ #13862]
1485         * elf/dl-tls.c: Include <atomic.h>.
1486         (oom): Remove #ifdef SHARED/#endif.
1487         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
1488         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
1489         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
1490         big enough.
1491         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
1492         * nptl/Makefile (tests): Add tst-stack4.
1493         (modules-names): Add tst-stack4mod.
1494         ($(objpfx)tst-stack4): New.
1495         (tst-stack4mod.sos): Likewise.
1496         ($(objpfx)tst-stack4.out): Likewise.
1497         ($(tst-stack4mod.sos)): Likewise.
1498         (clean): Likewise.
1499         * nptl/tst-stack4.c: New file.
1500         * nptl/tst-stack4mod.c: Likewise.
1501
1502 2014-11-27  J. Brown  <jb999@gmx.de>
1503
1504         * sysdeps/x86/bits/string.h: Add recent CPUs.
1505
1506 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
1507
1508         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
1509         sigblock.
1510
1511         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
1512         feof.
1513
1514         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
1515         variable.
1516
1517 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
1518
1519         * nscd/connections.c: Include libc-internal.h because of macro
1520         usage ignore_value.
1521
1522 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
1523
1524         * string/bits/string3.h (__warn_memset_zero_len): Don't
1525         declare for gcc newer than 5.0.
1526         (memset): Don't test for zero-length __LEN for gcc newer than
1527         5.0.
1528
1529 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
1530
1531         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
1532         size_t for %zu format.
1533
1534         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
1535         difference, not %ju.
1536
1537 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
1538
1539         * include/libc-internal.h (ignore_value): New macro.
1540         * nscd/connections.c (restart): Wrap calls to setuid and setgid
1541         with ignore_value.
1542
1543         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
1544         definition.
1545
1546         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
1547         pthread_cleanup_push to void *.
1548
1549         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
1550         Undefine.
1551
1552         [BZ #16619]
1553         [BZ #16740]
1554         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
1555         instead of 1L << 52.
1556
1557         * libio/bug-rewind.c (do_test): Check fwscanf return values.
1558         * libio/bug-rewind2.c (do_test): Likewise.
1559
1560         * debug/test-stpcpy_chk-ifunc.c: Remove file.
1561         * debug/test-strcpy_chk-ifunc.c: Likewise.
1562         * wcsmbs/test-wcschr-ifunc.c: Likewise.
1563         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
1564         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
1565         * wcsmbs/test-wcslen-ifunc.c: Likewise.
1566         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
1567         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
1568         * Rules [$(multi-arch) = no] (tests): Do not filter out
1569         $(tests-ifunc).
1570         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
1571         * debug/Makefile (tests-ifunc): Remove variable.
1572         (tests): Do not add $(tests-ifunc).
1573         * wcsmbs/Makefile (tests-ifunc): Remove variable.
1574         (tests): Do not add $(tests-ifunc).
1575         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
1576         [TEST_IFUNC]: Remove conditionals.
1577         * string/test-string.h (TEST_IFUNC): Remove macro.
1578         [TEST_IFUNC]: Remove conditionals.
1579
1580         * string/test-strchr.c [!WIDE] (L): New macro.
1581         [WIDE] (L): Likewise.
1582         (check1): Use CHAR instead of char.  Use L on string and character
1583         constants.
1584
1585 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
1586
1587         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
1588         tests.
1589         * sysdeps/powerpc/bits/atomic.h
1590         (__arch_atomic_exchange_and_add_32_acq): Add definition.
1591         (__arch_atomic_exchange_and_add_32_rel): Likewise.
1592         (atomic_exchange_and_add_acq): Likewise.
1593         (atomic_exchange_and_add_rel): Likewise.
1594         * sysdeps/powerpc/powerpc32/bits/atomic.h
1595         (__arch_atomic_exchange_and_add_64_acq): Add definition.
1596         (__arch_atomic_exchange_and_add_64_rel): Likewise.
1597         * sysdeps/powerpc/powerpc64/bits/atomic.h
1598         (__arch_atomic_exchange_and_add_64_acq): Add definition.
1599         (__arch_atomic_exchange_and_add_64_rel): Likewise.
1600
1601 2014-11-26  Torvald Riegel  <triegel@redhat.com>
1602
1603         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
1604         Change synchronization of __sched_fifo_min_prio and
1605         __sched_fifo_max_prio.
1606         * nptl/pthread_mutexattr_getprioceiling.c
1607         (pthread_mutexattr_getprioceiling): Likewise.
1608         * nptl/pthread_mutexattr_setprioceiling.c
1609         (pthread_mutexattr_setprioceiling): Likewise.
1610         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
1611         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
1612         Likewise.
1613
1614 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
1615
1616         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
1617         void.
1618
1619 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
1620
1621         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
1622         third argument const.
1623
1624 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
1625
1626         fnmatch: work around GCC compiler warning bug with uninit var
1627         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
1628         This works around a bug with x86-64 GCC 4.9.2 and earlier
1629         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
1630         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
1631         used uninitialized in this function [-Wmaybe-uninitialized]".
1632
1633 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
1634
1635         * posix/bug-regex31.c (main): Return RES not 0.
1636
1637 2014-11-25  Anton Blanchard <anton@samba.org>
1638
1639         * sysdeps/powerpc/bits/atomic.h
1640         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
1641
1642 2014-11-24  Sterling Augustine  <saugustine@google.com>
1643
1644         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
1645
1646 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
1647
1648         [BZ #17608]
1649         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
1650
1651 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
1652
1653         [BZ #17633]
1654         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
1655         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
1656         variable.
1657         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
1658         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
1659
1660 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
1661
1662         * string/strncpy.c (strncpy): Improve performance by using memset.
1663
1664 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
1665
1666         * string/strcpy.c (strcpy):
1667         Improve performance by using strlen and memcpy.
1668
1669 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
1670
1671         * string/strcoll_l.c (get_next_seq): __always_inline.
1672         * string/strcoll_l.c (do_compare): __always_inline.
1673
1674 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
1675
1676         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
1677         defined.
1678         * include/mqueue.h: Likewise.
1679         * include/stdlib.h: Likewise.
1680
1681         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
1682         (get_null_defines): Adjust.
1683         * sunrpc/Makefile: Adjust comment.
1684         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
1685         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
1686         (CFLAGS-interp.c): Likewise.
1687         (CFLAGS-ldconfig.c): Likewise.
1688         (CPPFLAGS-.os): Likewise.
1689         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
1690         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
1691         * extra-modules.mk (extra-modules.mk): Likewise.
1692         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
1693         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
1694         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
1695         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
1696         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
1697         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
1698         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
1699         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
1700         * iconvdata/Makefile (CPPFLAGS): Likewise.
1701         (cpp-srcs-left): Add libof for all iconvdata routines.
1702         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
1703         * include/assert.h: Likewise.
1704         * include/ctype.h: Likewise.
1705         * include/errno.h: Likewise.
1706         * include/libc-symbols.h: Likewise.
1707         * include/math.h: Likewise.
1708         * include/netdb.h: Likewise.
1709         * include/resolv.h: Likewise.
1710         * include/stdio.h: Likewise.
1711         * include/stdlib.h: Likewise.
1712         * include/string.h: Likewise.
1713         * include/sys/stat.h: Likewise.
1714         * include/wctype.h: Likewise.
1715         * intl/l10nflist.c: Likewise.
1716         * libidn/idn-stub.c: Likewise.
1717         * libio/libioP.h: Likewise.
1718         * nptl/libc_multiple_threads.c: Likewise.
1719         * nptl/pthreadP.h: Likewise.
1720         * posix/regex_internal.h: Likewise.
1721         * resolv/res_hconf.c: Likewise.
1722         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
1723         * sysdeps/arm/memmove.S: Likewise.
1724         * sysdeps/arm/sysdep.h: Likewise.
1725         * sysdeps/generic/_itoa.h: Likewise.
1726         * sysdeps/generic/symbol-hacks.h: Likewise.
1727         * sysdeps/gnu/errlist.awk: Likewise.
1728         * sysdeps/gnu/errlist.c: Likewise.
1729         * sysdeps/i386/i586/memcpy.S: Likewise.
1730         * sysdeps/i386/i586/memset.S: Likewise.
1731         * sysdeps/i386/i686/memcpy.S: Likewise.
1732         * sysdeps/i386/i686/memmove.S: Likewise.
1733         * sysdeps/i386/i686/mempcpy.S: Likewise.
1734         * sysdeps/i386/i686/memset.S: Likewise.
1735         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
1736         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
1737         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
1738         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
1739         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
1740         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
1741         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
1742         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
1743         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
1744         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
1745         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
1746         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
1747         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
1748         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
1749         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
1750         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
1751         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
1752         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
1753         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
1754         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
1755         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
1756         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
1757         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
1758         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
1759         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
1760         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
1761         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
1762         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
1763         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
1764         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
1765         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
1766         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
1767         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
1768         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
1769         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
1770         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
1771         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
1772         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
1773         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
1774         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
1775         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
1776         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
1777         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
1778         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
1779         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
1780         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
1781         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
1782         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
1783         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
1784         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
1785         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
1786         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
1787         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
1788         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
1789         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
1790         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
1791         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
1792         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
1793         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
1794         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
1795         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
1796         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
1797         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
1798         * sysdeps/nptl/bits/libc-lock.h: Likewise.
1799         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
1800         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
1801         * sysdeps/posix/closedir.c: Likewise.
1802         * sysdeps/posix/opendir.c: Likewise.
1803         * sysdeps/posix/readdir.c: Likewise.
1804         * sysdeps/posix/rewinddir.c: Likewise.
1805         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
1806         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
1807         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
1808         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
1809         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
1810         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
1811         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
1812         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
1813         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
1814         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
1815         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
1816         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
1817         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
1818         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
1819         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
1820         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
1821         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
1822         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
1823         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
1824         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
1825         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
1826         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
1827         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
1828         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
1829         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
1830         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
1831         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
1832         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
1833         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
1834         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
1835         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
1836         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
1837         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
1838         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
1839         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
1840         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
1841         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
1842         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
1843         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
1844         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
1845         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
1846         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
1847         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
1848         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
1849         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
1850         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
1851         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
1852         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
1853         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
1854         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
1855         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
1856         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
1857         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
1858         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
1859         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
1860         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
1861         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
1862         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
1863         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
1864         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
1865         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
1866         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
1867         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
1868         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
1869         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
1870         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
1871         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
1872         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
1873         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
1874         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
1875         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
1876         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
1877         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
1878         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
1879         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
1880         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
1881         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
1882         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
1883         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
1884         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
1885         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
1886         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
1887         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
1888         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
1889         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
1890         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
1891         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
1892         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
1893         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
1894         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
1895         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
1896         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
1897         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
1898         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
1899         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
1900         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
1901         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
1902         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
1903         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
1904         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
1905         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
1906         * sysdeps/unix/alpha/sysdep.S: Likewise.
1907         * sysdeps/unix/alpha/sysdep.h: Likewise.
1908         * sysdeps/unix/make-syscalls.sh: Likewise.
1909         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
1910         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
1911         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
1912         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
1913         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
1914         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
1915         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
1916         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
1917         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
1918         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
1919         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
1920         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
1921         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
1922         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
1923         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
1924         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
1925         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
1926         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
1927         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
1928         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
1929         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
1930         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
1931         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
1932         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
1933         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
1934         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
1935         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
1936         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
1937         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
1938         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
1939         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
1940         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
1941         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
1942         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
1943         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
1944         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
1945         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
1946         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
1947         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
1948         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
1949         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
1950         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
1951         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
1952         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
1953         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
1954         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
1955         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
1956         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
1957         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
1958         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
1959         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
1960         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
1961         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
1962         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
1963         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
1964         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
1965         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
1966         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
1967         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
1968         * sysdeps/x86_64/memcpy.S: Likewise.
1969         * sysdeps/x86_64/memmove.c: Likewise.
1970         * sysdeps/x86_64/memset.S: Likewise.
1971         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
1972         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
1973         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
1974         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
1975         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
1976         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
1977         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
1978         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
1979         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
1980         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
1981         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
1982         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
1983         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
1984         * sysdeps/x86_64/multiarch/memset.S: Likewise.
1985         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
1986         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
1987         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
1988         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
1989         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
1990         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
1991         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
1992         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
1993         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
1994         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
1995         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
1996         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
1997         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
1998         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
1999         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
2000         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
2001         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
2002         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
2003         * sysdeps/x86_64/strcmp.S: Likewise.
2004
2005         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
2006
2007         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
2008         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
2009         * elf/rtld-Rules: Likewise.
2010         * elf/setup-vdso.h: Likewise.
2011         * include/assert.h: Likewise.
2012         * include/bits/stdlib-float.h: Likewise.
2013         * include/errno.h: Likewise.
2014         * include/sys/stat.h: Likewise.
2015         * include/unistd.h: Likewise.
2016         * sysdeps/aarch64/setjmp.S: Likewise.
2017         * sysdeps/alpha/setjmp.S: Likewise.
2018         * sysdeps/arm/__longjmp.S: Likewise.
2019         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
2020         * sysdeps/arm/setjmp.S: Likewise.
2021         * sysdeps/arm/sysdep.h: Likewise.
2022         * sysdeps/generic/_itoa.h: Likewise.
2023         * sysdeps/generic/dl-sysdep.h: Likewise.
2024         * sysdeps/generic/ldsodefs.h: Likewise.
2025         * sysdeps/i386/dl-tls.h: Likewise.
2026         * sysdeps/i386/setjmp.S: Likewise.
2027         * sysdeps/m68k/setjmp.c: Likewise.
2028         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
2029         * sysdeps/mach/hurd/opendir.c: Likewise.
2030         * sysdeps/posix/getcwd.c: Likewise.
2031         * sysdeps/posix/opendir.c: Likewise.
2032         * sysdeps/posix/profil.c: Likewise.
2033         * sysdeps/powerpc/dl-procinfo.h: Likewise.
2034         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
2035         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
2036         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
2037         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
2038         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
2039         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
2040         * sysdeps/s390/dl-tls.h: Likewise.
2041         * sysdeps/s390/s390-32/setjmp.S: Likewise.
2042         * sysdeps/s390/s390-64/setjmp.S: Likewise.
2043         * sysdeps/sh/sh3/setjmp.S: Likewise.
2044         * sysdeps/sh/sh4/setjmp.S: Likewise.
2045         * sysdeps/unix/alpha/sysdep.h: Likewise.
2046         * sysdeps/unix/arm/sysdep.S: Likewise.
2047         * sysdeps/unix/i386/sysdep.S: Likewise.
2048         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
2049         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
2050         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
2051         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
2052         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
2053         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
2054         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
2055         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
2056         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
2057         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
2058         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
2059         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
2060         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
2061         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
2062         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
2063         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
2064         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
2065         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
2066         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
2067         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
2068         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
2069         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
2070         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2071         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
2072         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
2073         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
2074         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
2075         * sysdeps/unix/x86_64/sysdep.S: Likewise.
2076         * sysdeps/x86_64/setjmp.S: Likewise.
2077
2078         * include/math.h: Use IS_IN instead of IS_IN_libm.
2079         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
2080         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
2081         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
2082         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
2083         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
2084         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
2085         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
2086         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
2087         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
2088         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
2089         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
2090         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
2091         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
2092         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
2093         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
2094         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
2095         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
2096         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
2097         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
2098         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
2099         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
2100         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
2101         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
2102         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
2103         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
2104         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
2105         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
2106         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
2107         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
2108         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
2109         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
2110         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
2111         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
2112         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
2113         Likewise.
2114         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
2115         Likewise.
2116         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
2117         Likewise.
2118         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
2119         Likewise.
2120         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
2121         Likewise.
2122         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
2123         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
2124         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
2125         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
2126         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
2127         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
2128         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
2129         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
2130         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
2131         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
2132         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
2133         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
2134         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
2135         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
2136         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
2137         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
2138         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
2139         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
2140         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
2141         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
2142         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
2143         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
2144         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
2145         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
2146         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
2147         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
2148         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
2149
2150         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
2151         * nptl/pthreadP.h: Likewise.
2152         * nptl_db/structs.def: Likewise.
2153         * sysdeps/arm/sysdep.h: Likewise.
2154         * sysdeps/nptl/bits/libc-lock.h: Likewise.
2155         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
2156         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
2157         * sysdeps/unix/alpha/sysdep.h: Likewise.
2158         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
2159         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
2160         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
2161         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
2162         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
2163         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
2164         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
2165         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
2166         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
2167         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
2168         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
2169         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
2170         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
2171         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
2172         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
2173         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
2174         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
2175         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
2176         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
2177         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
2178         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
2179         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
2180         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
2181         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
2182         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
2183         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
2184
2185         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
2186         * nptl/pthreadP.h: Likewise.
2187         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
2188         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
2189         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
2190         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
2191         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
2192         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
2193         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
2194         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
2195         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
2196         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
2197         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
2198         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
2199         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
2200         Likewise.
2201         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
2202         Likewise.
2203         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
2204         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
2205         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
2206         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
2207         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
2208         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
2209         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
2210         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
2211
2212         * dlfcn/dladdr.c: Use IS_IN.
2213         * dlfcn/dladdr1.c: Likewise.
2214         * dlfcn/dlclose.c: Likewise.
2215         * dlfcn/dlerror.c: Likewise.
2216         * dlfcn/dlinfo.c: Likewise.
2217         * dlfcn/dlmopen.c: Likewise.
2218         * dlfcn/dlopen.c: Likewise.
2219         * dlfcn/dlsym.c: Likewise.
2220         * dlfcn/dlvsym.c: Likewise.
2221
2222         * include/ifaddrs.h: Use IS_IN.
2223         * inet/check_pf.c: Likewise.
2224         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
2225         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
2226
2227         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
2228         IS_IN_ldconfig.
2229         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
2230         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
2231
2232         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
2233         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
2234         IS_IN (libc).
2235
2236         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
2237
2238         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
2239         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
2240         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
2241         * include/libc-symbols.h (IS_IN_LIB): New macro.
2242         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
2243         * include/netdb.h: Likewise.
2244         * include/stap-probe.h: Remove all uses of IN_LIB.
2245
2246         * Makeconfig (module-cppflags-real): Define MODULE_NAME
2247         instead of IN_MODULE.
2248         * include/libc-symbols.h (IN_MODULE): Define using
2249         MODULE_NAME.
2250         (PASTE_NAME, PASTE_NAME1): New macros.
2251         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
2252         of IN_LIB.
2253         (STAP_PROBE_ASM): Likewise.
2254
2255 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2256
2257         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
2258         __mach_init in dlopened libc.
2259
2260 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
2261
2262         * sysdeps/arm/preconfigure.ac: Delete EABI check.
2263         * sysdeps/arm/preconfigure: Regenerate.
2264
2265 2014-11-21  Roland McGrath  <roland@hack.frob.com>
2266
2267         * nptl/pthread_create.c (__pthread_create_2_1): Set
2268         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
2269         when copying values from IATTR into PD.
2270
2271 2014-11-21  Will Newton  <will.newton@linaro.org>
2272             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
2273
2274         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
2275         Refactor inline-asm.  Also add comment.
2276
2277         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
2278         ElfW macro instead of hardcoded Elf64 types.
2279         (la_aarch64_gnu_pltenter): Likewise.
2280         * sysdeps/aarch64/dl-machine.h
2281         (elf_machine_runtime_setup): Use ElfW(Addr).
2282
2283         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
2284         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
2285         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
2286         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
2287         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
2288         (R_AARCH64_TLS_DTPMOD64): Rename to ..
2289         (R_AARCH64_TLS_DTPMOD): This.
2290         (R_AARCH64_TLS_DTPREL64): Rename to ...
2291         (R_AARCH64_TLS_DTPREL): This.
2292         (R_AARCH64_TLS_TPREL64): Rename to ...
2293         (R_AARCH64_TLS_TPREL): This.
2294         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
2295         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
2296         R_AARCH64_TLS_TPREL64.
2297         (elf_machine_rela): Likewise.
2298
2299 2014-11-21  Torvald Riegel  <triegel@redhat.com>
2300
2301         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
2302         by setting it to 0.  64b atomics are not supported currently.
2303
2304 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
2305
2306         [BZ #16469]
2307         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
2308         search domain names.
2309
2310 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
2311
2312         [BZ #16469]
2313         * NEWS: Update.
2314         * resolv/res_query.c (__libc_res_nquerydomain): Retain
2315         trailing dot.
2316         * posix/tst-getaddrinfo5.c: New.
2317         * posix/Makefile (tests): Add it.
2318
2319 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
2320
2321         [BZ #14498]
2322         * NEWS: Fixed.
2323         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
2324         after parsing line but before break_if_match.
2325         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
2326         if there is a protocol mismatch.
2327
2328 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
2329
2330         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
2331         because the potential race is on the user-supplied stream.
2332
2333 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
2334
2335         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
2336         string literal if not passed a buffer.
2337         * manual/job.texi (ctermid): Update reasoning, note deviation
2338         from posix, suggest mtasurace when not passed a buffer, for
2339         future non-preliminary safety notes.
2340
2341 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
2342
2343         * manual/users.texi (cuserid): Fix MT-Safety note for the case
2344         of not passing it a buffer.
2345         Reported by Peng Haitao.
2346
2347 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
2348
2349         * manual/Makefile ($(objpfx)stamp-summary): Require
2350         check-safety.sh to pass.
2351         * manual/check-safety.sh: Wish for verification that every
2352         @deftypefn and @deftypefun is followed by a @safety remark.
2353
2354 2014-11-20  Roland McGrath  <roland@hack.frob.com>
2355
2356         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
2357
2358         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
2359         PTHREAD_CANCEL_ASYNCHRONOUS.
2360         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
2361         send SIGCANCEL.
2362
2363         * nptl/default-sched.h: New file.
2364         * sysdeps/unix/sysv/linux/default-sched.h: New file.
2365         * nptl/pthread_create.c: Include it.
2366         (__pthread_create_2_1): Use collect_default_sched instead of making
2367         Linux syscalls here directly.
2368
2369 2014-11-20  Torvald Riegel  <triegel@redhat.com>
2370
2371         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
2372         __pthread_once): Use C11 atomics.
2373
2374 2014-11-20  Torvald Riegel  <triegel@redhat.com>
2375
2376         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
2377
2378 2014-11-20  Torvald Riegel  <triegel@redhat.com>
2379
2380         * include/atomic.h (__atomic_link_error, __atomic_check_size,
2381         atomic_thread_fence_acquire, atomic_thread_fence_release,
2382         atomic_thread_fence_seq_cst, atomic_load_relaxed,
2383         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
2384         atomic_compare_exchange_weak_relaxed,
2385         atomic_compare_exchange_weak_acquire,
2386         atomic_compare_exchange_weak_release,
2387         atomic_exchange_acquire, atomic_exchange_release,
2388         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
2389         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
2390         atomic_fetch_and_acquire,
2391         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
2392
2393 2014-11-20  Torvald Riegel  <triegel@redhat.com>
2394
2395         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
2396         USE_ATOMIC_COMPILER_BUILTINS): Define.
2397         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
2398         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2399         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
2400         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2401         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
2402         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2403         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
2404         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2405         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
2406         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2407         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
2408         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2409         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
2410         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2411         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
2412         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2413         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
2414         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2415         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
2416         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2417         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
2418         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2419         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
2420         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2421         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
2422         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2423         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
2424         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2425         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
2426         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2427         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
2428         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2429         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
2430         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2431         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
2432         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2433         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
2434         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2435         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
2436         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2437
2438 2014-11-19  Roland McGrath  <roland@hack.frob.com>
2439
2440         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
2441         the sched_priority value here.  It was already checked when the user
2442         called pthread_attr_setschedparam.
2443
2444         * nptl/tst-bad-schedattr.c: New file.
2445         * nptl/Makefile (tests): Add it.
2446
2447 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
2448             Florian Weimer  <fweimer@redhat.com>
2449             Joseph Myers  <joseph@codesourcery.com>
2450             Adam Conrad  <adconrad@0c3.net>
2451             Andreas Schwab  <schwab@suse.de>
2452             Brooks  <bmoses@google.com>
2453
2454         [BZ #17625]
2455         * wordexp-test.c (__dso_handle): Add prototype.
2456         (__register_atfork): Likewise.
2457         (__app_register_atfork): New function.
2458         (registered_forks): New global.
2459         (register_fork): New function.
2460         (test_case): Add 3 new tests for WRDE_CMDSUB.
2461         (main): Call __app_register_atfork.
2462         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
2463         fork count is non-zero fail the test.
2464         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
2465         is set.
2466         (parse_dollars): Remove check for WRDE_NOCMD.
2467         (parse_dquote): Likewise.
2468
2469 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
2470
2471         * Makeconfig (built-modules): List non-library modules to be
2472         built.
2473         (module-cppflags): Include libc-modules.h for
2474         everything except shlib-versions.v.i.
2475         (CPPFLAGS): Use it.
2476         (before-compile): Add libc-modules.h.
2477         ($(common-objpfx)libc-modules.h,
2478         $(common-objpfx)libc-modules.stmp): New targets.
2479         (common-generated): Add libc-modules.h and libc-modules.stmp.
2480         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
2481         * include/libc-symbols.h: Don't include libc-modules.h.
2482         * include/libc-modules.h: Remove file.
2483         * scripts/gen-libc-modules.awk: New script to generate
2484         libc-modules.h.
2485         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
2486         Depend on libc-modules.stmp.
2487
2488         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
2489
2490         * Makeconfig (in-module): Get value of libof set for the
2491         translation unit.
2492         (CPPFLAGS): Use $(in-module).
2493         * Makerules: Don't suffix routine names for nonlib.
2494         * include/libc-modules.h: New file.
2495         * include/libc-symbols.h: Include libc-modules.h
2496         (IS_IN): New macro to replace IS_IN_* macros.
2497         * elf/Makefile: Set libof-* for each routine.
2498         * elf/rtld-Rules: Likewise.
2499         * extra-modules.mk: Likewise.
2500         * iconv/Makefile: Likewise.
2501         * iconvdata/Makefile: Likewise.
2502         * locale/Makefile: Likewise.
2503         * malloc/Makefile: Likewise.
2504         * nss/Makefile: Likewise.
2505         * sysdeps/gnu/Makefile: Likewise.
2506         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
2507         * sysdeps/unix/sysv/linux/Makefile: Likewise.
2508         * sysdeps/s390/s390-64/Makefile: Likewise.
2509         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
2510         CPPFLAGS for nscd instead of nonlib.
2511
2512 2014-11-18  Roland McGrath  <roland@hack.frob.com>
2513
2514         * nptl/createthread.c: New file.
2515
2516         * nptl/createthread.c: Moved ...
2517         * sysdeps/unix/sysv/linux/createthread.c: ... here.
2518
2519         * nptl/createthread.c: Add proper top-line comment.
2520         (do_clone): Folded into ...
2521         (create_thread): ... here.  Take new arguments STOPPED_START and
2522         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
2523         increment __nptl_threads, do event-reporting logic, do
2524         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
2525         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
2526         resource cleanup if sched_setaffinity or sched_setscheduler fails,
2527         just send SIGCANCEL.
2528         * nptl/pthread_create.c: Forward-declare create_thread before
2529         including createthread.c.
2530         (start_thread): Use new macro START_THREAD_DEFN to replace defining
2531         declaration, and new macro START_THREAD_SELF to replace argument.
2532         Remove return statement.
2533         (report_thread_creation): New function.
2534         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
2535         synchronization logic, and __nptl_nthreads increment here, around
2536         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
2537         PD->parent_cancelhandling here, before create_thread.  When
2538         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
2539         __deallocate_stack, and ENOMEM translation here.
2540
2541 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
2542
2543         [BZ #17616]
2544         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
2545         (mptwo): Rename to __mptwo.
2546         (__inv): Use __mptwo instead of mptwo.
2547         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
2548         (mptwo): Rename to __mptwo.
2549         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
2550         of mpone and __mptwo instead of mptwo.
2551         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
2552         instead of mpone.
2553         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
2554         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
2555         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
2556         of mpone and __mptwo instead of mptwo.
2557         (__mpranred): Use __mpone instead of mpone.
2558         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
2559         variable.
2560         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
2561         (test-xfail-ISO99/math.h/linknamespace): Likewise.
2562         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
2563         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
2564         (test-xfail-ISO11/math.h/linknamespace): Likewise.
2565         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
2566         (test-xfail-XPG3/math.h/linknamespace): Likewise.
2567         (test-xfail-XPG4/math.h/linknamespace): Likewise.
2568         (test-xfail-POSIX/math.h/linknamespace): Likewise.
2569         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
2570         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
2571         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
2572         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
2573         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
2574         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
2575         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
2576         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
2577         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
2578         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
2579
2580 2014-11-18  Tom de Vries  <tom@codesoucery.com>
2581
2582         * manual/signal.texi (Primitives Interrupted by Signals): In section,
2583         replace BSD Handler xref with BSD Signal Handling.
2584
2585 2014-11-17  Richard Henderson  <rth@redhat.com>
2586
2587         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
2588         (_FP_PACK_RAW_2): Remove.
2589         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
2590         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
2591         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
2592         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
2593         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
2594         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
2595         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
2596         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
2597         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
2598         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
2599         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
2600         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
2601         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
2602         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
2603         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
2604         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
2605
2606 2014-11-14  Roland McGrath  <roland@hack.frob.com>
2607
2608         * signal/signal.h [__USE_MISC]
2609         (struct sigvec): Remove type.
2610         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
2611         (sigvec): Remove declaration.
2612         * sysdeps/posix/sigvec.c: Moved ...
2613         * signal/sigvec.c: ... here, replacing old file.
2614         (struct sigvec): New type, copied from old signal.h definition.
2615         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
2616         (__sigvec): Convert definition to prototype.
2617         (sigvec): Replace weak_alias with compat_symbol.
2618         * signal/Versions (libc: GLIBC_2.21): New version set.
2619         * include/signal.h: Remove __sigvec declaration.
2620         * sysdeps/unix/bsd/sigvec.c: Remove file.
2621         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
2622         * manual/signal.texi (BSD Handler): Remove subsection.
2623         Move siginterrupt up to ...
2624         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
2625         (Blocking in BSD): Fold subsection into its parent.
2626         * NEWS: Mention sigvec removal.
2627
2628 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
2629
2630         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
2631         (DLA_FMS): Make definition conditional only on [__FMA4__].
2632         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
2633         definition.
2634
2635         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
2636         Make definition conditional only on [PROF].
2637         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
2638         definition.
2639         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
2640         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
2641
2642         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
2643         !__GNUC__].
2644         * include/signal.h (__sigpause): Move declaration above call to
2645         libc_hidden_proto.
2646         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
2647         variable.
2648         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
2649         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
2650
2651 2014-11-14  David S. Miller  <davem@davemloft.net>
2652
2653         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
2654         Define before including <string/memcpy.c> and <string/mempcpy.c>.
2655
2656 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
2657
2658         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
2659         * configure: Regenerated.
2660         * manual/install.texi (Tools for Compilation): Document a
2661         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
2662         compiler verified to work.
2663         * INSTALL: Regenerated.
2664
2665         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
2666         redeclare with asm name.
2667         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
2668         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
2669         including <string.h>.
2670         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
2671         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
2672         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
2673         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
2674         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
2675         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
2676         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
2677
2678 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
2679
2680         * stdlib/strtol.c (__strtol): Use prototype definition.
2681
2682         [BZ #17594]
2683         * stdlib/strtol.c (SYM__): New macro.
2684         (SYM__1): Likewise.
2685         (__strtol): Likewise.
2686         (strtol): Rename to __strtol and define as weak alias of
2687         __strtol.  Use libc_hidden_weak.
2688
2689 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
2690
2691         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
2692         Use numbered labels in inline assembly.
2693
2694 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
2695
2696         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
2697         Add setjmp LIBC_PROBE.
2698         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
2699         Likewise.
2700         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
2701         Add longjmp, longjmp_target LIBC_PROBE.
2702         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
2703         Likewise.
2704
2705 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
2706
2707         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
2708         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
2709         to get rid of unused variable warning.
2710
2711 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
2712
2713         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
2714         Check for unwind_backtrace ==  NULL only in SHARED case.
2715         (__backchain_backtrace): Compile only in SHARED case.
2716         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
2717         Likewise.
2718         (__backchain_backtrace): Declare as static.
2719
2720 2014-11-12  Roland McGrath  <roland@hack.frob.com>
2721
2722         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
2723         (__libc_multiple_threads_ptr): Variable moved ...
2724         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
2725
2726 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
2727
2728         * conform/GlibcConform.pm: New file.
2729         * conform/conformtest.pl: Use GlibcConform module.
2730         * conform/linknamespace.pl: New file.
2731         * conform/list-header-symbols.pl: Likewise.
2732         * conform/Makefile (linknamespace-symlists-base): New variable.
2733         (linknamespace-symlists-tests): Likewise.
2734         (linknamespace-header-base): Likewise.
2735         (linknamespace-header-tests): Likewise.
2736         (tests-special): Add new tests.
2737         ($(linknamespace-symlists-tests)): New rule.
2738         (linknamespace-libs): New variable.
2739         ($(objpfx)symlist-stdlibs): New rule.
2740         ($(linknamespace-header-tests)): Likewise.
2741         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
2742         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
2743         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
2744         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
2745         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
2746         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
2747         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
2748         (test-xfail-ISO/math.h/linknamespace): Likewise.
2749         (test-xfail-ISO/signal.h/linknamespace): Likewise.
2750         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
2751         (test-xfail-ISO/time.h/linknamespace): Likewise.
2752         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
2753         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
2754         (test-xfail-ISO99/math.h/linknamespace): Likewise.
2755         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
2756         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
2757         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
2758         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
2759         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
2760         (test-xfail-ISO11/math.h/linknamespace): Likewise.
2761         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
2762         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
2763         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
2764         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
2765         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
2766         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
2767         (test-xfail-XPG3/math.h/linknamespace): Likewise.
2768         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
2769         (test-xfail-XPG3/search.h/linknamespace): Likewise.
2770         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
2771         (test-xfail-XPG3/time.h/linknamespace): Likewise.
2772         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
2773         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
2774         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
2775         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
2776         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
2777         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
2778         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
2779         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
2780         (test-xfail-XPG4/math.h/linknamespace): Likewise.
2781         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
2782         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
2783         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
2784         (test-xfail-XPG4/search.h/linknamespace): Likewise.
2785         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
2786         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
2787         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
2788         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
2789         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
2790         (test-xfail-XPG4/time.h/linknamespace): Likewise.
2791         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
2792         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
2793         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
2794         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
2795         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
2796         (test-xfail-POSIX/math.h/linknamespace): Likewise.
2797         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
2798         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
2799         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
2800         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
2801         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
2802         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
2803         (test-xfail-POSIX/time.h/linknamespace): Likewise.
2804         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
2805         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
2806         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
2807         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
2808         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
2809         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
2810         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
2811         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
2812         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
2813         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
2814         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
2815         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
2816         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
2817         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
2818         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
2819         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
2820         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
2821         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
2822         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
2823         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
2824         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
2825         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
2826         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
2827         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
2828         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
2829         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
2830         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
2831         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
2832         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
2833         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
2834         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
2835         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
2836         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
2837         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
2838         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
2839         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
2840         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
2841         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
2842         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
2843         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
2844         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
2845         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
2846         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
2847         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
2848         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
2849         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
2850         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
2851         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
2852         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
2853         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
2854         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
2855         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
2856         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
2857         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
2858         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
2859         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
2860         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
2861         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
2862         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
2863         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
2864         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
2865         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
2866         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
2867         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
2868         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
2869         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
2870         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
2871         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
2872         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
2873         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
2874         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
2875         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
2876         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
2877         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
2878         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
2879         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
2880         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
2881         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
2882         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
2883         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
2884         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
2885         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
2886         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
2887         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
2888         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
2889         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
2890         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
2891         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
2892         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
2893         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
2894         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
2895         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
2896         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
2897         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
2898         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
2899         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
2900         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
2901         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
2902
2903         [BZ #17589]
2904         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
2905         of fgets_unlocked.
2906
2907         [BZ #17585]
2908         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
2909         (memmem): Rename to __memmem and define as weak alias of
2910         __memmem.  Use libc_hidden_weak.
2911         (__memmem): Use libc_hidden_def.
2912         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
2913         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
2914         memmem.
2915
2916         [BZ #17582]
2917         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
2918         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
2919         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
2920         and define as weak alias of __fgets_unlocked.  Use
2921         libc_hidden_weak.
2922         (__fgets_unlocked): Use libc_hidden_def.
2923         * include/stdio.h (__fgets_unlocked): Declare.  Use
2924         libc_hidden_proto.
2925         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
2926         __fgets_unlocked instead of fgets_unlocked.
2927         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
2928         (GET_NPROCS_CONF_PARSER): Likewise.
2929         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
2930         (GET_NPROCS_CONF_PARSER): Likewise.
2931
2932         [BZ #17574]
2933         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
2934         weak alias of __wmemset.  Use libc_hidden_weak.
2935         (__wmemset): Use libc_hidden_def.
2936         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
2937         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
2938         of wmemset.
2939
2940         [BZ #17573]
2941         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
2942         with asm name __mempcpy.
2943         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
2944
2945         [BZ #17572]
2946         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
2947         and define as weak alias of __rawmemchr.
2948         (__rawmemchr): Do not define as strong alias of rawmemchr.
2949
2950         [BZ #17571]
2951         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
2952         alias of __qsort_r.
2953         (qsort): Call __qsort_r instead of qsort_r.
2954         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
2955         (__qsort_r): Declare.  Call libc_hidden_proto.
2956         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
2957         instead of qsort_r.
2958         * nscd/gai.c (__qsort_r): Define to qsort_r.
2959         * posix/tst-rfc3484.c (__qsort_r): Likewise.
2960         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
2961         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
2962
2963         [BZ #17570]
2964         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
2965         define as weak alias of __malloc_info.
2966
2967         [BZ #17584]
2968         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
2969         as weak alias of __rewinddir.  Don't use libc_hidden_def.
2970         (__rewinddir): Use libc_hidden_def.
2971         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
2972         as weak alias of __rewinddir.  Don't use libc_hidden_def.
2973         (__rewinddir): Use libc_hidden_def.
2974         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
2975         weak alias of __rewinddir.  Don't use libc_hidden_def.
2976         (__rewinddir): Use libc_hidden_def.
2977         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
2978         (__rewinddir): Use libc_hidden_proto.
2979         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
2980         rewinddir.
2981         (__getcwd): Use __rewinddir instead of rewinddir.
2982
2983         [BZ #17583]
2984         * libio/fileno.c (fileno): Rename to __fileno and define as weak
2985         alias of __fileno.  Use libc_hidden_weak.
2986         (__fileno): Use libc_hidden_def.
2987         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
2988         * libio/ftello.c (ftello): Rename to __ftello and define as weak
2989         alias of __ftello.
2990         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
2991         __ftello.
2992         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
2993         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
2994         libc_hidden_def.
2995         (fread_unlocked): Don't use libc_hidden_ver.
2996         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
2997         and define as weak alias of __fread_unlocked.  Don't use
2998         libc_hidden_def.
2999         (__fread_unlocked): Use libc_hidden_def.
3000         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
3001         (ftello): Don't use libc_hidden_proto.
3002         (__ftello): Declare.  Use libc_hidden_proto.
3003         (fread_unlocked): Don't use libc_hidden_proto.
3004         (__fread_unlocked): Declare.  Use libc_hidden_proto.
3005         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
3006         and __ftello instead of fileno, fread_unlocked and ftello.
3007
3008 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
3009
3010         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
3011         GOT12.
3012         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
3013         Likewise.
3014         (_dl_start_user): Likewise.
3015         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
3016
3017 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
3018             Siddhesh Poyarekar  <siddhesh@redhat.com>
3019
3020         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
3021         Move argv and envp down instead of moving argc up.
3022         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
3023
3024 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
3025
3026         [BZ #17506]
3027         * test-skeleton.c (main): Return successful if one of
3028         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
3029         * string/tst-strcoll-overflow.c: Define expected status.
3030
3031 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
3032
3033         [BZ #17475]
3034         * locale/iso-639.def: Define Bhili and Tulu language codes.
3035
3036 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
3037
3038         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
3039
3040 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
3041
3042         [BZ #17555]
3043         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
3044
3045 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
3046
3047         * configure.ac: Updated check of minimal required version to
3048         2.22.
3049         * manual/install.texi (Tools for Compilation): Updated version
3050         number.
3051         * configure: Regenerated.
3052         * INSTALL: Likewise.
3053
3054 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
3055
3056         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
3057         __tls_get_addr.
3058
3059 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
3060
3061         * include/sys/wait.h (__libc_waitpid): Remove declaration.
3062         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
3063         (__waitpid): Don't define as alias.  Use libc_hidden_def not
3064         libc_hidden_weak.
3065         (waitpid): Define as alias of __waitpid.
3066         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
3067         __waitpid.
3068         (__waitpid): Don't define as alias.  Use libc_hidden_def not
3069         libc_hidden_weak.
3070         (waitpid): Define as alias of __waitpid.
3071         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
3072         __libc_waitpid alias.
3073         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
3074         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
3075         Likewise.
3076         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
3077         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
3078         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
3079         alias.
3080         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
3081         __waitpid.
3082         (__waitpid): Don't define as alias.  Use libc_hidden_def not
3083         libc_hidden_weak.
3084         (waitpid): Define as alias of __waitpid.
3085
3086 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
3087
3088         * manual/llio.texi: Add comment that write safety has been
3089         fixed in Linux.
3090
3091         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
3092         (localplt-build-dso): Add elf/ld.so.
3093         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
3094         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
3095         and free for ld.so.
3096         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
3097         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
3098         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
3099         Likewise.
3100         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
3101         Likewise.
3102         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
3103         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
3104         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
3105         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
3106         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
3107         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
3108         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
3109         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
3110         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
3111         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
3112         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
3113
3114 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
3115
3116         [BZ #14132]
3117         * include/libc-symbols.h (INTUSE): Remove macro.
3118         (INTDEF): Likewise.
3119         (INTVARDEF): Likewise.
3120         (_INTVARDEF): Likewise.
3121         (INTDEF2): Likewise.
3122         (INTVARDEF2): Likewise.
3123         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
3124         rtld_hidden_def instead of INTVARDEF.
3125         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
3126         (_dl_starting_up_internal): Remove declaration.
3127         (_dl_starting_up): Use rtld_hidden_proto.
3128         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
3129         declaration.
3130         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
3131         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
3132         _dl_starting_up.
3133         * elf/dl-writev.h (_dl_writev): Likewise.
3134         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
3135         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
3136         _dl_starting_up_internal.
3137
3138 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3139
3140         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
3141         test-skeleton.c.
3142
3143 2014-11-05  Will Newton  <will.newton@linaro.org>
3144
3145         * benchtests/Makefile: (bench-malloc): Add malloc thread
3146         scalability benchmark.
3147         * benchtests/bench-malloc-threads.c: New file.
3148
3149 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
3150
3151         * sysdeps/aarch64/strchrnul.S: New file.
3152
3153 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3154
3155         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
3156         definition.
3157         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
3158         Likwise.
3159         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
3160         Likewise.
3161         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
3162         Likewise.
3163         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
3164         Likewise.
3165         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
3166         Likewise.
3167
3168 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
3169
3170         * catgets/test-gencat.c: Use test-skeleton.c.
3171         * catgets/tst-catgets.c: Likewise.
3172         * csu/tst-empty.c: Likewise.
3173         * elf/tst-audit2.c: Likewise.
3174         * elf/tst-global1.c: Likewise.
3175         * elf/tst-pathopt.c: Likewise.
3176         * elf/tst-piemod1.c: Likewise.
3177         * elf/tst-tls10.c: Likewise.
3178         * elf/tst-tls11.c: Likewise.
3179         * elf/tst-tls12.c: Likewise.
3180         * gnulib/tst-gcc.c: Likewise.
3181         * iconvdata/tst-e2big.c: Likewise.
3182         * iconvdata/tst-loading.c: Likewise.
3183         * iconv/tst-iconv1.c: Likewise.
3184         * iconv/tst-iconv2.c: Likewise.
3185         * inet/test-inet6_opt.c: Likewise.
3186         * inet/tst-gethnm.c: Likewise.
3187         * inet/tst-network.c: Likewise.
3188         * inet/tst-ntoa.c: Likewise.
3189         * intl/tst-codeset.c: Likewise.
3190         * intl/tst-gettext2.c: Likewise.
3191         * intl/tst-gettext3.c: Likewise.
3192         * intl/tst-ngettext.c: Likewise.
3193         * intl/tst-translit.c: Likewise.
3194         * io/test-stat.c: Likewise.
3195         * libio/test-fmemopen.c: Likewise.
3196         * libio/tst-freopen.c: Likewise.
3197         * libio/tst-sscanf.c: Likewise.
3198         * libio/tst-ungetwc1.c: Likewise.
3199         * libio/tst-ungetwc2.c: Likewise.
3200         * libio/tst-widetext.c: Likewise.
3201         * localedata/tst-ctype.c: Likewise.
3202         * localedata/tst-digits.c: Likewise.
3203         * localedata/tst-leaks.c: Likewise.
3204         * localedata/tst-mbswcs1.c: Likewise.
3205         * localedata/tst-mbswcs2.c: Likewise.
3206         * localedata/tst-mbswcs3.c: Likewise.
3207         * localedata/tst-mbswcs4.c: Likewise.
3208         * localedata/tst-mbswcs5.c: Likewise.
3209         * localedata/tst-setlocale.c: Likewise.
3210         * localedata/tst-trans.c: Likewise.
3211         * localedata/tst-wctype.c: Likewise.
3212         * localedata/tst-xlocale1.c: Likewise.
3213         * login/tst-grantpt.c: Likewise.
3214         * malloc/tst-calloc.c: Likewise.
3215         * malloc/tst-malloc.c: Likewise.
3216         * malloc/tst-mallocstate.c: Likewise.
3217         * malloc/tst-mcheck.c: Likewise.
3218         * malloc/tst-mtrace.c: Likewise.
3219         * malloc/tst-obstack.c: Likewise.
3220         * math/atest-exp2.c: Likewise.
3221         * math/atest-exp.c: Likewise.
3222         * math/atest-sincos.c: Likewise.
3223         * math/test-matherr.c: Likewise.
3224         * math/test-misc.c: Likewise.
3225         * math/test-powl.c: Likewise.
3226         * math/tst-definitions.c: Likewise.
3227         * misc/tst-dirname.c: Likewise.
3228         * misc/tst-efgcvt.c: Likewise.
3229         * misc/tst-fdset.c: Likewise.
3230         * misc/tst-hsearch.c: Likewise.
3231         * misc/tst-mntent2.c: Likewise.
3232         * nptl/tst-sem7.c: Likewise.
3233         * nptl/tst-sem8.c: Likewise.
3234         * nptl/tst-sem9.c: Likewise.
3235         * nss/test-netdb.c: Likewise.
3236         * posix/tst-fnmatch.c: Likewise.
3237         * posix/tst-getlogin.c: Likewise.
3238         * posix/tst-gnuglob.c: Likewise.
3239         * posix/tst-mmap.c: Likewise.
3240         * pwd/tst-getpw.c: Likewise.
3241         * resolv/tst-inet_ntop.c: Likewise.
3242         * rt/tst-timer.c: Likewise.
3243         * stdio-common/test-fseek.c: Likewise.
3244         * stdio-common/test-popen.c: Likewise.
3245         * stdio-common/test-vfprintf.c: Likewise.
3246         * stdio-common/tst-cookie.c: Likewise.
3247         * stdio-common/tst-fileno.c: Likewise.
3248         * stdio-common/tst-gets.c: Likewise.
3249         * stdio-common/tst-obprintf.c: Likewise.
3250         * stdio-common/tst-perror.c: Likewise.
3251         * stdio-common/tst-sprintf2.c: Likewise.
3252         * stdio-common/tst-sprintf3.c: Likewise.
3253         * stdio-common/tst-sprintf.c: Likewise.
3254         * stdio-common/tst-swprintf.c: Likewise.
3255         * stdio-common/tst-tmpnam.c: Likewise.
3256         * stdio-common/tst-unbputc.c: Likewise.
3257         * stdio-common/tst-wc-printf.c: Likewise.
3258         * stdlib/tst-environ.c: Likewise.
3259         * stdlib/tst-fmtmsg.c: Likewise.
3260         * stdlib/tst-limits.c: Likewise.
3261         * stdlib/tst-rand48-2.c: Likewise.
3262         * stdlib/tst-rand48.c: Likewise.
3263         * stdlib/tst-random2.c: Likewise.
3264         * stdlib/tst-random.c: Likewise.
3265         * stdlib/tst-strtol.c: Likewise.
3266         * stdlib/tst-strtoll.c: Likewise.
3267         * stdlib/tst-tls-atexit.c: Likewise.
3268         * stdlib/tst-xpg-basename.c: Likewise.
3269         * string/test-ffs.c: Likewise.
3270         * string/tst-bswap.c: Likewise.
3271         * string/tst-inlcall.c: Likewise.
3272         * string/tst-strtok.c: Likewise.
3273         * string/tst-strxfrm.c: Likewise.
3274         * sysdeps/x86_64/tst-audit10.c: Likewise.
3275         * sysdeps/x86_64/tst-audit3.c: Likewise.
3276         * sysdeps/x86_64/tst-audit4.c: Likewise.
3277         * sysdeps/x86_64/tst-audit5.c: Likewise.
3278         * time/tst-ftime_l.c: Likewise.
3279         * time/tst-getdate.c: Likewise.
3280         * time/tst-mktime3.c: Likewise.
3281         * time/tst-mktime.c: Likewise.
3282         * time/tst-posixtz.c: Likewise.
3283         * time/tst-strptime2.c: Likewise.
3284         * time/tst-strptime3.c: Likewise.
3285         * wcsmbs/tst-btowc.c: Likewise.
3286         * wcsmbs/tst-mbrtowc.c: Likewise.
3287         * wcsmbs/tst-mbsrtowcs.c: Likewise.
3288         * wcsmbs/tst-wchar-h.c: Likewise.
3289         * wcsmbs/tst-wcpncpy.c: Likewise.
3290         * wcsmbs/tst-wcrtomb.c: Likewise.
3291         * wcsmbs/tst-wcsnlen.c: Likewise.
3292         * wcsmbs/tst-wcstof.c: Likewise.
3293
3294 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
3295
3296         [BZ #14132]
3297         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
3298         INTDEF.
3299         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
3300         declaration.
3301         (_dl_mcount): Use rtld_hidden_proto.
3302         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
3303         _dl_mcount.
3304         * elf/rtld.c (_rtld_global_ro): Likewise.
3305
3306         [BZ #14132]
3307         * elf/dl-init.c (_dl_init): Don't use INTDEF.
3308         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
3309         of _dl_init_internal.
3310         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
3311         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
3312         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
3313         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
3314         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
3315         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
3316         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
3317         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
3318         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
3319         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
3320         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
3321         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
3322         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
3323         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
3324         * sysdeps/tile/dl-start.S (_start): Likewise.
3325         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
3326         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
3327
3328         [BZ #14132]
3329         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
3330         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
3331         (rtld_progname): Make macro definition unconditional.
3332         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
3333         INTDEF.
3334         (dlmopen_doit): Do not use INTUSE with _dl_argv.
3335         (dl_main): Likewise.
3336         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
3337         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
3338         instead of _dl_argv_internal.
3339         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
3340         __GI__dl_argv instead of INTUSE(_dl_argv).
3341         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
3342         __GI__dl_argv instead of _dl_argv_internal.
3343
3344         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
3345         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
3346         macro.
3347         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
3348         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
3349         New macro.
3350         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
3351         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
3352         macro.
3353         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
3354         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
3355
3356 2014-11-04  Andreas Schwab  <schwab@suse.de>
3357
3358         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
3359
3360 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3361
3362         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
3363         mtvsrd instruction in binary form.
3364
3365 2014-11-03  Andreas Schwab  <schwab@suse.de>
3366
3367         [BZ #17522]
3368         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
3369         for less than MB_LEN_MAX use a local buffer of that size.
3370         * libio/tst-fputws.c: New file.
3371         * libio/Makefile (tests): Add tst-fputws.
3372
3373 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
3374
3375         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
3376         the size of the fpu_fr.fpu_dregs[] array.
3377
3378 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
3379
3380         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
3381         (__nanosleep): Do not define as alias.
3382         (nanosleep): Define as alias of __nanosleep.
3383         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
3384         __libc_nanosleep name.
3385
3386 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
3387
3388         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
3389         install.texi in comment.
3390
3391 2014-10-31  Torvald Riegel  <triegel@redhat.com>
3392
3393         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
3394         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
3395         ... add here and use lwsync or sync ...
3396         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
3397         ... and add here using lwsync.
3398
3399 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
3400
3401         * elf/dl-machine-reject-phdr.h: New file.
3402         * elf/dl-load.c: #include that.
3403         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
3404         if that returned true.
3405
3406 2014-10-31  Roland McGrath  <roland@hack.frob.com>
3407
3408         [BZ #17496]
3409         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
3410         gen-as-const-headers chunk.  Add a big scare comment after the last
3411         safe place to touch before-compile.
3412
3413 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
3414
3415         * manual/install.texi (Tools for Compilation): Update autoconf
3416         version requirements.
3417         * INSTALL: Regenerated.
3418
3419         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
3420         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
3421         (__libc_pselect): Likewise.
3422
3423         [BZ #14138]
3424         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
3425         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
3426         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
3427         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
3428
3429 2014-10-31  Torvald Riegel  <triegel@redhat.com>
3430
3431         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
3432         correct barrier instruction.
3433         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
3434         Likewise.
3435         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
3436         Likewise.
3437
3438 2014-10-30  Roland McGrath  <roland@hack.frob.com>
3439
3440         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
3441         after defining inlines.  Instead, just use parens to defeat macro
3442         expansion of __isctype in its declaration.
3443
3444 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
3445
3446         * include/sys/uio.h (__libc_readv): Remove declaration.
3447         (__libc_writev): Likewise.
3448         * misc/readv.c (__libc_readv): Rename to __readv.
3449         (__readv): Do not define as alias.
3450         (readv): Define as alias of __readv.
3451         * misc/writev.c (__libc_writev): Rename to __writev.
3452         (__writev): Do not define as alias.
3453         (writev): Define as alias of __writev.
3454         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
3455         (__readv): Do not define as alias.
3456         (readv): Define unconditionally as alias of __readv.
3457         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
3458         (__writev): Do not define as alias.
3459         (writev): Define unconditionally as alias of __writev.
3460         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
3461         name.
3462         (writev): Do not define __libc_writev name.
3463
3464 2014-10-30  Roland McGrath  <roland@hack.frob.com>
3465
3466         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
3467         (convert_charseq): New function, broken out of ...
3468         (use_from_charmap): ... here.  Call it.
3469         (use_to_charmap): Use convert_charseq and free instead of duplicating
3470         its code with a variable-length stack struct.
3471
3472 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
3473
3474         * include/fcntl.h (__libc_creat): Remove declaration.
3475         * io/creat.c (__libc_creat): Rename to creat.
3476         (creat): Do not define as alias.
3477         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
3478         of creat instead of __libc_creat.
3479         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
3480         to creat.
3481         (creat): Do not define as alias.
3482         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
3483         __libc_creat.
3484         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
3485         __libc_creat name.
3486         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
3487         Likewise.
3488
3489 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
3490
3491         * manual/llio.texi: Add comments discussing why write() may be
3492         considered MT-unsafe on Linux.
3493
3494 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
3495
3496         * dl-load.c (local_strdup): Remove.
3497         (expand_dynamic_string_token): Use __strdup.
3498         (decompose_rpath): Likewise.
3499         (_dl_map_object): Likewise.
3500
3501 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
3502
3503         [BZ #14132]
3504         * sysdeps/generic/unwind-dw2-fde.c
3505         (__register_frame_info_bases_internal): Do not declare.
3506         (__register_frame_info_table_bases_internal): Likewise.
3507         (__deregister_frame_info_bases_internal): Likewise.
3508         (__register_frame_info_bases): Declare and use hidden_proto before
3509         definition.  Use hidden_def instead of INTDEF.
3510         (__register_frame_info_table_bases): Likewise.
3511         (__deregister_frame_info_bases): Likewise.
3512         (__register_frame_info): Do not use INTUSE.
3513         (__register_frame): Likewise.
3514         (__register_frame_info_table): Likewise.
3515         (__register_frame_table): Likewise.
3516         (__deregister_frame_info): Likewise.
3517         (__deregister_frame): Likewise.
3518
3519 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
3520
3521         * sysdeps/unix/sysv/linux/arm/kernel-features.h
3522         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
3523         not undefine.
3524         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
3525         Likewise.
3526         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
3527         Likewise.
3528
3529 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
3530
3531         [BZ #14138]
3532         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
3533         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
3534         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
3535         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
3536         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
3537         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
3538         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
3539         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
3540         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
3541         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
3542         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
3543         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
3544         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
3545         syscall.
3546         (setfsuid): Likewise.
3547         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
3548         (setfsuid): Likewise.
3549         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
3550         (setfsuid): Likewise.
3551         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
3552         Likewise.
3553         (setfsuid): Likewise.
3554         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
3555         (setfsuid): Likewise.
3556         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
3557         Likewise.
3558         (setfsuid): Likewise.
3559
3560 2014-10-27  Andreas Schwab  <schwab@suse.de>
3561
3562         [BZ #17501]
3563         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
3564         check for Slow_SSE4_2 feature bit.
3565         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
3566         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
3567         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
3568         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
3569
3570 2014-10-24  Roland McGrath  <roland@hack.frob.com>
3571
3572         * configure.ac: Validate compiler version with a empirical test of
3573         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
3574         $CC -v output.
3575         * configure: Regenerated.
3576
3577         * inet/htons.c (htons): Prototypify.
3578         * inet/htonl.c (htonl): Likewise.
3579
3580 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
3581
3582         * string/strncat.c (strncat): Improve performance by using strlen.
3583
3584 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
3585
3586         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
3587
3588 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
3589
3590         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
3591         Call libc_fetestexcept_aarch64.
3592
3593 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
3594
3595         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
3596         Call libc_feholdexcept_aarch64.
3597
3598 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
3599
3600         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
3601         Call get_rounding_mode.
3602
3603 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
3604
3605         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
3606         Simplify logic.
3607
3608 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
3609
3610         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
3611         Simplify logic.
3612
3613 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
3614
3615         [BZ #14138]
3616         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
3617         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
3618         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
3619         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
3620         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
3621         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
3622         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
3623         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
3624         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
3625         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
3626         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
3627         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
3628         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
3629         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
3630         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
3631         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
3632         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
3633         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
3634         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
3635         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
3636         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
3637         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
3638         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
3639         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
3640         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
3641         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
3642         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
3643         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
3644         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
3645         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
3646         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
3647         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
3648         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
3649         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
3650         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
3651         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
3652         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
3653         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
3654         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
3655         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
3656         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
3657         syscall.
3658         (geteuid): Likewise.
3659         (getgid): Likewise.
3660         (getuid): Likewise.
3661         (getresgid): Likewise.
3662         (getresuid): Likewise.
3663         (getgroups): Likewise.
3664         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
3665         (geteuid): Likewise.
3666         (getgid): Likewise.
3667         (getuid): Likewise.
3668         (getresgid): Likewise.
3669         (getresuid): Likewise.
3670         (getgroups): Likewise.
3671         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
3672         (geteuid): Likewise.
3673         (getgid): Likewise.
3674         (getuid): Likewise.
3675         (getresgid): Likewise.
3676         (getresuid): Likewise.
3677         (getgroups): Likewise.
3678         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
3679         Likewise.
3680         (geteuid): Likewise.
3681         (getgid): Likewise.
3682         (getuid): Likewise.
3683         (getresgid): Likewise.
3684         (getresuid): Likewise.
3685         (getgroups): Likewise.
3686         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
3687         (geteuid): Likewise.
3688         (getgid): Likewise.
3689         (getuid): Likewise.
3690         (getresgid): Likewise.
3691         (getresuid): Likewise.
3692         (getgroups): Likewise.
3693         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
3694         Likewise.
3695         (geteuid): Likewise.
3696         (getgid): Likewise.
3697         (getuid): Likewise.
3698         (getgroups): Likewise.
3699
3700         [BZ #14138]
3701         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
3702         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
3703         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
3704         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
3705         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
3706         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
3707         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
3708         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
3709         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
3710         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
3711         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
3712         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
3713         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
3714         __chown.
3715         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
3716         (lchown): Likewise.
3717         (fchown): Likewise.
3718         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
3719         Likewise.
3720         (lchown): Likewise.
3721         (fchown): Likewise.
3722         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
3723         (lchown): Likewise.
3724         (fchown): Likewise.
3725         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
3726         Likewise.
3727         (lchown): Likewise.
3728         (fchown): Likewise.
3729
3730 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
3731
3732         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
3733         Simplify logic.
3734
3735 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
3736
3737         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
3738         Cleanup logic.
3739
3740 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
3741
3742         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
3743         Remove unused include.
3744
3745 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
3746
3747         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
3748         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
3749         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
3750         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
3751
3752 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
3753             Helge Deller <deller@gmx.de>
3754
3755         [BZ #17508]
3756         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
3757         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
3758         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
3759
3760 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
3761
3762         [BZ #14132]
3763         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
3764         Remove macro definition.
3765         (__ashrdi3_v_glibc20): Likewise.
3766         (__lshrdi3_v_glibc20): Likewise.
3767         (__cmpdi2_v_glibc20): Likewise.
3768         (__ucmpdi2_v_glibc20): Likewise.
3769         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
3770         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
3771         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
3772         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
3773         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
3774         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
3775
3776 2014-10-22  Roland McGrath  <roland@hack.frob.com>
3777
3778         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
3779         old GNU extension [0] syntax.
3780         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
3781         alloca rather than an array member with variable length.
3782         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
3783         * nscd/nscd.c (invalidate_db): New function, broken out of ...
3784         (parse_opt): ... here.  Likewise use alloca there.
3785         Validate the -i argument before checking for rootness.
3786         (send_shutdown): New function, broken out of ...
3787         (parse_opt): ... here.
3788
3789 2014-10-22  Roland McGrath  <roland@hack.frob.com>
3790
3791         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
3792         macro to get at the _rt_local_ro field.
3793         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
3794         ([PIC] case) or _dl_hwcap ([!PIC] case).
3795         * sysdeps/arm/setjmp.S: Likewise.
3796
3797         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
3798         * sysdeps/arm/configure.ac: New check to define it.
3799         * sysdeps/arm/configure: Regenerated.
3800         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
3801         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
3802         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
3803         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
3804         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
3805         Use move/movt pair instead of a load.
3806         (LDST_GLOBAL): Macro removed.
3807         (LDR_GLOBAL): New macro replaces it.
3808         (LDR_HIDDEN): New macro.
3809         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
3810         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
3811
3812         * setjmp/tst-setjmp-static.c: New file.
3813         * setjmp/Makefile (tests): Add it.
3814         (tests-static): New variable.
3815
3816 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
3817
3818         [BZ #17485]
3819         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
3820
3821 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
3822
3823         [BZ #14132]
3824         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
3825
3826 2014-10-21  Roland McGrath  <roland@hack.frob.com>
3827
3828         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
3829
3830 2014-10-20  Roland McGrath  <roland@hack.frob.com>
3831
3832         * io/fts.c (dirent_not_directory): New function.
3833         (fts_build): Call it.
3834
3835 2014-10-20  Roland McGrath  <roland@hack.frob.com>
3836
3837         * nptl/version.c (__nptl_main): Use normal __write rather than
3838         INTERNAL_SYSCALL.
3839         (banner): Update copyright years.
3840
3841         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
3842         gettimeofday.
3843         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
3844         * nptl/pthread_cond_timedwait.c: Likewise.
3845         * nptl/pthread_mutex_timedlock.c: Likewise.
3846         * nptl/sem_timedwait.c: Likewise.
3847
3848         * sysdeps/nptl/bits/libc-lock.h
3849         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
3850         (__libc_lock_init_recursive): Return void, not 0.
3851         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
3852         (__libc_rwlock_init): Likewise.
3853         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
3854
3855 2014-10-20  Torvald Riegel  <triegel@redhat.com>
3856
3857         [BZ #15215]
3858         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
3859         (__pthread_once_slow): ... here.
3860         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
3861         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
3862
3863 2014-10-20  Torvald Riegel  <triegel@redhat.com>
3864
3865         [BZ #15215]
3866         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
3867         __PTHREAD_ONCE_FORK_GEN_INCR): New.
3868         * sysdeps/nptl/fork.c (__libc_fork): Use them.
3869         * nptl/pthread_once.c (__pthread_once): Likewise.
3870         Update comments.
3871
3872 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
3873
3874         [BZ #14138]
3875         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
3876         name.
3877         (writev): Use __libc_writev as strong name.
3878         * sysdeps/unix/sysv/linux/readv.c: Remove file.
3879         * sysdeps/unix/sysv/linux/writev.c: Likewise.
3880
3881 2014-10-17  Roland McGrath  <roland@hack.frob.com>
3882
3883         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
3884
3885         * sysdeps/i386/nptl/tls.h
3886         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
3887         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
3888         New macros.
3889         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
3890         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
3891         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
3892         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
3893         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
3894         Call CHECK_THREAD_SYSINFO instead of doing an assert.
3895
3896         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
3897         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
3898         on [__NR_futex].
3899         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
3900         broken out of ...
3901         (__pthread_mutex_init): ... here.  Call it.
3902         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
3903         Conditionalize PI cases on [__NR_futex].
3904         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
3905         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
3906         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
3907
3908         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
3909         conditional on [SIGSETXID].
3910         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
3911         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
3912         is defined.  Likewise for SIGSETXID.
3913         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
3914         Conditionalize definitions on [SIGSETXID].
3915         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
3916         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
3917         unblocking on [SIGCANCEL].
3918
3919         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
3920         [__NR_set_robust_list].
3921
3922 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
3923
3924         * string/strcoll_l.c (get_next_seq): Fix up formatting.
3925         (do_compare): Likewise.
3926
3927 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
3928
3929         [BZ #15884]
3930         * string/strcoll_l.c: Don't include stdio.h.
3931         (coll_seq): Remove members idxarr and rulearr.
3932         (get_next_seq_cached): Remove function.
3933         (get_next_seq): Likewise.
3934         (get_next_seq_nocache): Rename to get_next_seq.
3935         (do_compare): Remove function.
3936         (do_compare_nocache): Rename to do_compare.
3937         (STRCOLL): Remove weight and rules cache.
3938
3939 2014-10-16  Roland McGrath  <roland@hack.frob.com>
3940
3941         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
3942         * sysdeps/arm/sfp-machine.h: ... to here.
3943         * sysdeps/arm/Implies: Remove arm/soft-fp.
3944
3945 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
3946
3947         * conform/data/sys/utsname.h-data (*_t): Allow.
3948         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
3949         [POSIX] (WEXITED): Do not expect constant.
3950         [POSIX] (WSTOPPED): Likewise.
3951         [POSIX] (WNOHANG): Likewise.
3952         [POSIX] (WNOWAIT): Likewise.
3953         [POSIX] (siginfo_t): Do not expect type or elements.
3954         [POSIX] (pid_t): Do not expect type.
3955         [POSIX] (signal.h): Do not allow header.
3956         [POSIX] (sys/resource.h): Likewise.
3957         [POSIX] (si_*): Do not allow pattern.
3958         [POSIX] (W*): Likewise.
3959         [POSIX] (P_*): Likewise.
3960         [POSIX] (BUS_*): Likewise.
3961         [POSIX] (CLD_*): Likewise.
3962         [POSIX] (FPE_*): Likewise.
3963         [POSIX] (ILL_*): Likewise.
3964         [POSIX] (POLL_*): Likewise.
3965         [POSIX] (SEGV_*): Likewise.
3966         [POSIX] (SI_*): Likewise.
3967         [POSIX] (TRAP_*): Likewise.
3968         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
3969         variable.
3970
3971 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
3972
3973         [BZ #12926]
3974         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
3975         infinite loop when __recvmsg returns 0.
3976
3977 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
3978
3979         * CANCEL-FCT-WAIVE: Remove file.
3980         * CANCEL-FILE-WAIVE: Likewise.
3981
3982         [BZ #14132]
3983         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
3984         instead of INTVARDEF.
3985         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
3986         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
3987         rtld_hidden_data_def instead of INTVARDEF.
3988         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
3989         * elf/dl-deps.c (expand_dst): Likewise.
3990         * elf/dl-load.c (_dl_dst_count): Likewise.
3991         (_dl_dst_substitute): Likewise.
3992         (decompose_rpath): Likewise.
3993         (_dl_init_paths): Likewise.
3994         (open_path): Likewise.
3995         (_dl_map_object): Likewise.
3996         * elf/rtld.c (dl_main): Likewise.
3997         (process_dl_audit): Likewise.
3998         (process_envvars): Likewise.
3999         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
4000         Remove declaration.
4001         (__libc_enable_secure): Use rtld_hidden_proto.
4002
4003 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
4004
4005         * elf/dl-load.c
4006         (add_path): New function broken out of _dl_rtld_di_serinfo.
4007         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
4008
4009 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
4010
4011         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
4012         parentheses around macro arguments.
4013         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
4014         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
4015         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
4016         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
4017         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
4018         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
4019         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
4020         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
4021         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
4022         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
4023         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
4024         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
4025         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
4026         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
4027         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
4028         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
4029         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
4030         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
4031         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
4032         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
4033         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
4034         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
4035         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
4036         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
4037         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
4038         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
4039         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
4040         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
4041         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
4042         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
4043         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
4044         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
4045         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
4046         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
4047         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
4048         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
4049         Likewise.
4050         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
4051         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
4052         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
4053         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
4054         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
4055         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
4056         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
4057         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
4058         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
4059         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
4060         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
4061         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
4062         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
4063         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
4064         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
4065         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
4066         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
4067         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
4068         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
4069         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
4070         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
4071         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
4072         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
4073         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
4074         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
4075         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
4076         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
4077         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
4078         (_FP_FRAC_SRS_1): Likewise.
4079         (_FP_FRAC_CLZ_1): Likewise.
4080         (_FP_MUL_MEAT_1_imm): Likewise.
4081         (_FP_MUL_MEAT_1_wide): Likewise.
4082         (_FP_MUL_MEAT_1_hard): Likewise.
4083         (_FP_SQRT_MEAT_1): Likewise.
4084         (_FP_FRAC_ASSEMBLE_1): Likewise.
4085         (_FP_FRAC_DISASSEMBLE_1): Likewise.
4086         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
4087         (__FP_CLZ_2): Likewise.
4088         (_FP_MUL_MEAT_2_wide): Likewise.
4089         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
4090         (_FP_MUL_MEAT_2_gmp): Likewise.
4091         (_FP_MUL_MEAT_2_120_240_double): Likewise.
4092         (_FP_SQRT_MEAT_2): Likewise.
4093         (_FP_FRAC_ASSEMBLE_2): Likewise.
4094         (_FP_FRAC_DISASSEMBLE_2): Likewise.
4095         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
4096         (_FP_FRAC_CLZ_4): Likewise.
4097         (_FP_MUL_MEAT_4_wide): Likewise.
4098         (_FP_MUL_MEAT_4_gmp): Likewise.
4099         (_FP_SQRT_MEAT_4): Likewise.
4100         (_FP_FRAC_ASSEMBLE_4): Likewise.
4101         (_FP_FRAC_DISASSEMBLE_4): Likewise.
4102         * soft-fp/op-common.h (_FP_CMP): Likewise.
4103         (_FP_CMP_EQ): Likewise.
4104         (_FP_CMP_UNORD): Likewise.
4105         (_FP_TO_INT): Likewise.
4106         (_FP_FROM_INT): Likewise.
4107         [!__FP_CLZ] (__FP_CLZ): Likewise.
4108         (_FP_DIV_HELP_imm): Likewise.
4109         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
4110         Likewise.
4111         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
4112         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
4113         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
4114         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
4115         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
4116         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
4117         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
4118         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
4119         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
4120         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
4121         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
4122         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
4123         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
4124         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
4125         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
4126         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
4127         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
4128         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
4129         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
4130         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
4131         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
4132         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
4133         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
4134         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
4135         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
4136         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
4137         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
4138         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
4139         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
4140         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
4141         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
4142         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
4143         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
4144         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
4145         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
4146         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
4147         (FP_UNPACK_RAW_SP): Likewise.
4148         (FP_PACK_RAW_S): Likewise.
4149         (FP_PACK_RAW_SP): Likewise.
4150         (FP_UNPACK_S): Likewise.
4151         (FP_UNPACK_SP): Likewise.
4152         (FP_UNPACK_SEMIRAW_S): Likewise.
4153         (FP_UNPACK_SEMIRAW_SP): Likewise.
4154         (FP_PACK_S): Likewise.
4155         (FP_PACK_SP): Likewise.
4156         (FP_PACK_SEMIRAW_S): Likewise.
4157         (FP_PACK_SEMIRAW_SP): Likewise.
4158         (_FP_SQRT_MEAT_S): Likewise.
4159         (FP_CMP_S): Likewise.
4160         (FP_CMP_EQ_S): Likewise.
4161         (FP_CMP_UNORD_S): Likewise.
4162         (FP_TO_INT_S): Likewise.
4163         (FP_FROM_INT_S): Likewise.
4164
4165         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
4166
4167         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
4168         (FP_EX_INVALID_IMZ): Likewise.
4169         (FP_EX_INVALID_IMZ_FMA): Likewise.
4170         (FP_EX_INVALID_ISI): Likewise.
4171         (FP_EX_INVALID_ZDZ): Likewise.
4172         (FP_EX_INVALID_IDI): Likewise.
4173         (FP_EX_INVALID_SQRT): Likewise.
4174         (FP_EX_INVALID_CVI): Likewise.
4175         (FP_EX_INVALID_VC): Likewise.
4176         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
4177         "invalid" exceptions.
4178         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
4179         (_FP_ADD_INTERNAL): Likewise.
4180         (_FP_MUL): Likewise.
4181         (_FP_FMA): Likewise.
4182         (_FP_DIV): Likewise.
4183         (_FP_CMP_CHECK_NAN): Likewise.
4184         (_FP_SQRT): Likewise.
4185         (_FP_TO_INT): Likewise.
4186         (FP_EXTEND): Likewise.
4187
4188 2014-10-09  Allan McRae  <allan@archlinux.org>
4189
4190         * po/fr.po: Update French translation from translation project.
4191
4192 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
4193
4194         [BZ #14132]
4195         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
4196         of INTDEF.
4197         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
4198         (__cxa_atexit): Use libc_hidden_proto.
4199         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
4200
4201         [BZ #14132]
4202         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
4203         declaration.
4204         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
4205         [!_ISOMAC] (__iswspace_l_internal): Likewise.
4206         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
4207         [!_ISOMAC] (__iswctype_internal): Likewise.
4208         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
4209         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
4210         alias.
4211         (fcntl): Remove __fcntl_internal alias.
4212         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
4213         __connect_internal alias.
4214         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
4215         Likewise.
4216
4217         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
4218         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
4219         FP_DENORM_ZERO.
4220         (_FP_CHECK_FLUSH_ZERO): New macro.
4221         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
4222         (_FP_CMP): Likewise.
4223         (_FP_CMP_EQ): Likewise.
4224         (_FP_TO_INT): Do not set inexact for subnormal arguments if
4225         FP_DENORM_ZERO.
4226         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
4227         (FP_TRUNC): Likewise.
4228
4229         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
4230         treated as invalid conversion, not as normal exponent.
4231
4232         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
4233         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
4234         (_FP_CMP_EQ): Likewise.
4235         (_FP_CMP_UNORD): Likewise.
4236         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
4237         (FP_CMP_EQ_D): Likewise.
4238         (FP_CMP_UNORD_D): Likewise.
4239         * soft-fp/extended.h (FP_CMP_E): Likewise.
4240         (FP_CMP_EQ_E): Likewise.
4241         (FP_CMP_UNORD_E): Likewise.
4242         * soft-fp/quad.h (FP_CMP_Q): Likewise.
4243         (FP_CMP_EQ_Q): Likewise.
4244         (FP_CMP_UNORD_Q): Likewise.
4245         * soft-fp/single.h (FP_CMP_S): Likewise.
4246         (FP_CMP_EQ_S): Likewise.
4247         (FP_CMP_UNORD_S): Likewise.
4248         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
4249         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
4250         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
4251         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
4252         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
4253         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
4254         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
4255         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
4256         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
4257         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
4258         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
4259         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
4260         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
4261         to FP_CMP_Q.
4262         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
4263         FP_CMP_Q.
4264         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
4265         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
4266         FP_CMP_EQ_Q.
4267         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
4268         FP_CMP_Q.
4269         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
4270         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
4271         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
4272         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
4273         FP_CMP_EQ_Q.
4274         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
4275         FP_CMP_Q.
4276         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
4277         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
4278         FP_CMP_EQ_Q.
4279         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
4280         FP_CMP_Q.
4281         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
4282         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
4283         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
4284         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
4285         FP_CMP_EQ_Q.
4286
4287         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
4288         a subnormal result, set the underflow exception if trapping on
4289         underflow is enabled.
4290         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
4291         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
4292         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
4293         redefine to 0.
4294         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
4295         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
4296         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
4297         * soft-fp/extendxftf2.c (__extendxftf2): Use
4298         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
4299
4300         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
4301         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
4302         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
4303         FP_HANDLE_EXCEPTIONS.
4304         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
4305         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
4306         FP_HANDLE_EXCEPTIONS.
4307         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
4308         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
4309         FP_HANDLE_EXCEPTIONS.
4310         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
4311         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
4312         FP_HANDLE_EXCEPTIONS.
4313
4314 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
4315
4316         [BZ #14132]
4317         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
4318         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
4319         use INTUSE.
4320         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
4321         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
4322         Remove alias.
4323         (__adjtimex): Define using libc_hidden_ver.
4324         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
4325         Remove declaration.
4326         (ntp_gettime): Call __adjtimex directly.
4327         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
4328         Remove declaration.
4329         (ntp_gettimex): Call __adjtimex directly.
4330         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
4331         __adjtimex_internal alias.
4332
4333 2014-10-08  Roland McGrath  <roland@hack.frob.com>
4334
4335         [BZ #17460]
4336         * nscd/nscd.c (more_help): Rewrite list of tables collection
4337         using xstrdup and asprintf.
4338
4339         * nscd/nscd_conf.c: Remove local xstrdup declaration.
4340
4341 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
4342             Roland McGrath  <roland@hack.frob.com>
4343
4344         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
4345         (do_lookup_unique): ... local function 'enter' here; update callers.
4346
4347 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
4348
4349         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
4350         compat_symbol calls on [SHARED].
4351         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
4352         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
4353         Remove.
4354         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
4355         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
4356         (oldsetrlimit): Remove.
4357         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
4358         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
4359         (lchown): New syscall entry.
4360         (oldsetrlimit): Remove.
4361         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
4362         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
4363         (oldsetrlimit): Remove.
4364         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
4365
4366         [BZ #14138]
4367         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
4368         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
4369         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
4370         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
4371         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
4372         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
4373         (fchown): Likewise.
4374         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
4375         (fchown): Likewise.
4376         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
4377         Likewise.
4378
4379 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4380
4381         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
4382         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
4383         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
4384         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
4385         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
4386         Likewise.
4387         (__old_sem_post): Likewise.
4388
4389 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
4390
4391         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
4392         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
4393         HAVE_CLOCK_GETTIME_VSYSCALL macros.
4394         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
4395         Use INLINE_VSYSCALL macro.
4396         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
4397         __vdso_clock_gettime.
4398         * sysdeps/unix/sysv/linux/tile/init-first.c
4399         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
4400         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
4401         __vdso_clock_gettime.
4402
4403         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
4404         to set up frame more cleanly.
4405
4406         * sysdeps/tile/memcmp.c: New file.
4407
4408         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
4409
4410         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
4411         * sysdeps/tile/tilegx/strcasestr.c: New file.
4412         * sysdeps/tile/tilegx/strnlen.c: New file.
4413         * sysdeps/tile/tilegx/strstr.c: New file.
4414
4415         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
4416
4417 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
4418
4419         * nptl/tst-setuid3.c: Write errors to stdout.
4420
4421 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
4422
4423         * elf/dl-deps.c
4424         (preload): New functions broken out of _dl_map_object_deps.
4425         (_dl_map_object_deps):  Remove a nested function. Update call sites.
4426
4427 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
4428
4429         [BZ #14138]
4430         * sysdeps/unix/sysv/linux/execve.c: Remove file.
4431         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
4432
4433 2014-10-01  Steve Ellcey  <sellcey@mips.com>
4434
4435         * sysdeps/mips/strcmp.S: New.
4436
4437 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
4438
4439         [BZ #14138]
4440         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
4441         (linkat): Likewise.
4442         (mkdirat): Likewise.
4443         (readlinkat): Likewise.
4444         (renameat): Likewise.
4445         (symlinkat): Likewise.
4446         (unlinkat): Likewise.
4447         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
4448         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
4449         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
4450         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
4451         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
4452         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
4453         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
4454
4455 2014-09-30  Will Newton  <will.newton@linaro.org>
4456
4457         * math/math.h: Define long double math functions if
4458         _LIBC_TEST is defined.
4459         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
4460
4461         * localedata/Makefile: Move assignment to tests-special
4462         into an ifdef testing run-built-tests.
4463         * timezone/Makefile: Likewise.
4464
4465 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
4466
4467         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
4468         with $(BASH) not $(SHELL).
4469
4470 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
4471             Matthew LeGendre  <legendre1@llnl.gov>
4472
4473         [BZ #17411]
4474         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
4475         l_reloc_result.
4476
4477 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
4478
4479         * stdio-common/printf_fp.c
4480         (hack_digit): New function, broken out of ...
4481         (__printf_fp): ... local function here.  Update call sites.
4482         hack_digit now takes an additional parameter that is a pointer
4483         to a struct of the referenced locals.  Those locals moved inside
4484         the struct and references updated.
4485
4486 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
4487
4488         * aclocal.m4: Require autoconf 2.69.
4489         * configure: Regenerated.
4490         * sysdeps/aarch64/configure: Likewise.
4491         * sysdeps/alpha/configure: Likewise.
4492         * sysdeps/arm/armv7/configure: Likewise.
4493         * sysdeps/arm/configure: Likewise.
4494         * sysdeps/ia64/configure: Likewise.
4495         * sysdeps/mach/configure: Likewise.
4496         * sysdeps/mips/configure: Likewise.
4497         * sysdeps/s390/configure: Likewise.
4498         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
4499         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
4500
4501         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
4502         file.
4503         * sysdeps/ia64/configure.ac: Likewise.
4504
4505 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
4506
4507         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
4508         specify symbol version for ld.so.  Do not include entry for
4509         libpthread.
4510         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
4511         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
4512         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
4513
4514         [BZ #14171]
4515         * Makeconfig [$(build-shared) = yes]
4516         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
4517         makefiles.
4518         [$(build-shared) = yes && $(soversions.mk-done) = t]
4519         ($(common-objpfx)gnu/lib-names.h): Remove rule.
4520         [$(build-shared) = yes && $(soversions.mk-done) = t]
4521         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
4522         to Makerules.
4523         [$(build-shared) = yes && $(soversions.mk-done) = t]
4524         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
4525         here.
4526         [$(build-shared) = yes && $(soversions.mk-done) = t]
4527         (common-generated): Don't append gnu/lib-names.h and
4528         gnu/lib-names.stmp here.
4529         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
4530         (lib-names-h-abi): New variable.
4531         [$(build-shared) = yes && $(soversions.mk-done) = t]
4532         (lib-names-stmp-abi): Likewise.
4533         [$(build-shared) = yes && $(soversions.mk-done) = t &&
4534         abi-variants] (before-compile): Append
4535         $(common-objpfx)$(lib-names-h-abi).
4536         [$(build-shared) = yes && $(soversions.mk-done) = t &&
4537         abi-variants] (common-generated): Append gnu/lib-names.h.
4538         [$(build-shared) = yes && $(soversions.mk-done) = t &&
4539         abi-variants] (install-others-nosubdir): Depend on
4540         $(inst_includedir)/$(lib-names-h-abi).
4541         [$(build-shared) = yes && $(soversions.mk-done) = t &&
4542         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
4543         [$(build-shared) = yes && $(soversions.mk-done) = t]
4544         ($(common-objpfx)$(lib-names-h-abi)): New rule.
4545         [$(build-shared) = yes && $(soversions.mk-done) = t]
4546         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
4547         [$(build-shared) = yes && $(soversions.mk-done) = t]
4548         (common-generated): Append $(lib-names-h-abi) and
4549         $(lib-names-stmp-abi).
4550         * scripts/lib-names.awk: Do not handle multi being set.
4551         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
4552         Remove variable.
4553         (abi-lp64_be-ld-soname): Likewise.
4554         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
4555         Likewise.
4556         (abi-hard-ld-soname): Likewise.
4557         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
4558         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
4559         Remove variable.
4560         (abi-o32_hard-ld-soname): Likewise.
4561         (abi-o32_soft_2008-ld-soname): Likewise.
4562         (abi-o32_hard_2008-ld-soname): Likewise.
4563         (abi-n32_soft-ld-soname): Likewise.
4564         (abi-n32_hard-ld-soname): Likewise.
4565         (abi-n32_soft_2008-ld-soname): Likewise.
4566         (abi-n32_hard_2008-ld-soname): Likewise.
4567         (abi-n64_soft-ld-soname): Likewise.
4568         (abi-n64_hard-ld-soname): Likewise.
4569         (abi-n64_soft_2008-ld-soname): Likewise.
4570         (abi-n64_hard_2008-ld-soname): Likewise.
4571         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
4572         Likewise.
4573         (abi-64-v2-ld-soname): Likewise.
4574         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
4575         ld.so entries.
4576         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
4577         variable.
4578         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
4579         entry.
4580         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
4581         variable.
4582         (abi-64-ld-soname): Likewise.
4583         (abi-x32-ld-soname): Likewise.
4584         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
4585         entry.
4586         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
4587
4588 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
4589
4590         [BZ #14138]
4591         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
4592         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
4593         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
4594         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
4595         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
4596         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
4597         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
4598         syscall entry for GLIBC_2.2 symbol version.
4599         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
4600         Likewise.
4601         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
4602         (setrlimit): Likewise.
4603         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
4604         Likewise.
4605
4606 2014-09-23  Will Newton  <will.newton@linaro.org>
4607
4608         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
4609         _LINUX_ARM_SYSDEP_H include guard too.
4610         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
4611         define.
4612
4613 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
4614
4615         * sysdeps/unix/sysv/linux/eventfd.c:
4616         Make first argument unsigned.
4617         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
4618         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
4619
4620 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
4621
4622         * socket/recvmmsg.c (recvmmsg): Drop const argument.
4623         * socket/sys/socket.h: Likewise
4624         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
4625
4626 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
4627
4628         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
4629
4630 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
4631
4632         * time/tst-ftime.c: New test.
4633         * time/Makefile (tests): Add tst-ftime.
4634
4635 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
4636
4637         * soft-fp/extended.h: Fix comment formatting.
4638         * soft-fp/op-1.h: Likewise.
4639         * soft-fp/op-2.h: Likewise.
4640         * soft-fp/op-4.h: Likewise.
4641         * soft-fp/op-8.h: Likewise.
4642         * soft-fp/op-common.h: Likewise.
4643         * soft-fp/soft-fp.h: Likewise.
4644
4645         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
4646
4647 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
4648
4649         [BZ #6652]
4650         * Makeconfig (soversions-default-setname): Remove variable.
4651         ($(common-objpfx)soversions.i): Don't pass default_setname to
4652         soversions.awk.
4653         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
4654         oldest_abi to abi-versions.awk.
4655         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
4656         * config.make.in (oldest-abi): Remove variable.
4657         * configure.ac (--enable-oldest-abi): Remove configure option.
4658         * configure: Regenerated.
4659         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
4660         text.
4661         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
4662         * scripts/soversions.awk: Do not handle default_setname variable.
4663         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
4664         variable.
4665         * sysdeps/mach/hurd/configure: Regenerated.
4666         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
4667         variable.
4668         * sysdeps/unix/sysv/linux/configure: Regenerated.
4669
4670 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
4671
4672         * elf/Makefile (CFLAGS-interp.c): Remove.
4673         ($(elf-objpfx)runtime-linker.h): Generate header with linker
4674         path string.
4675         * elf/interp.c: Include generated runtime-linker.h
4676
4677         * Makerules (lib%.so): Don't include $(+interp) in
4678         prerequisites.
4679         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
4680         * dlfcn/eval.c: Remove file.
4681
4682         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
4683         macros.
4684
4685         [BZ #17266]
4686         * misc/sys/cdefs.h: Define __extern_always_inline for clang
4687         4.2 and newer.
4688
4689         [BZ #17370]
4690         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
4691
4692 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
4693             Jakub Jelinek  <jakub@redhat.com>
4694
4695         [BZ #17266]
4696         * libio/stdio.h: Check definition of __fortify_function
4697         instead of __extern_always_inline to include bits/stdio2.h.
4698         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
4699         check if __extern_always_inline is defined.
4700         [__USE_MISC || __USE_XOPEN]: Likewise.
4701         [__USE_ISOC99] Likewise.
4702         * misc/sys/cdefs.h (__fortify_function): Define only if
4703         __extern_always_inline is defined.
4704         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
4705         __extern_always_inline and __extern_inline only for g++-4.3
4706         and newer or a compatible gcc.
4707
4708 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
4709
4710         [BZ #17371]
4711         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
4712         last change to handle zero prefix length.
4713
4714 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
4715
4716         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
4717         _SC_REGEX_VERSION.
4718
4719         * posix/getconf.c (vars): Add _POSIX_IPV6 and
4720         _POSIX_RAW_SOCKETS.
4721
4722 2014-09-13  Allan McRae  <allan@archlinux.org>
4723
4724         * po/ru.po: Update Russian translation from translation project.
4725
4726 2014-09-12  Roland McGrath  <roland@hack.frob.com>
4727
4728         * locale/programs/locale.c (show_locale_vars): Inline local function
4729         into its sole call site.  Clean up some style nits.
4730         (print_item): New function, broken out of ...
4731         (show_info): ... local function here.  Clean up style nits.
4732
4733         * locale/programs/ld-ctype.c (set_one_default): New function, broken
4734         out of ...
4735         (set_class_defaults): ... local function set_default here.
4736         Define set_default as a macro locally to pass constant parameters.
4737         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
4738         rather than a shared local.
4739
4740         * stdlib/rpmatch.c (try): New function, broken out of ...
4741         (rpmatch): ... local function here.  Also, prototypify definition.
4742
4743 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
4744
4745         * scripts/soversions.awk: Do not handle configuration names.
4746         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
4747         vendor and os variables to soversions.awk.
4748         * configure.ac: Do not modify gnu-* host_os.
4749         * configure: Regenerated
4750         * shlib-versions: Remove first column with configuration names.
4751         * nptl/shlib-versions: Likewise.
4752         * nptl_db/shlib-versions: Likewise.
4753         * sysdeps/hppa/shlib-versions: Likewise.
4754         * sysdeps/m68k/shlib-versions: Likewise.
4755         * sysdeps/mach/hurd/shlib-versions: Likewise.
4756         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
4757         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
4758         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
4759         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
4760         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
4761         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
4762         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
4763         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
4764         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
4765         Likewise.
4766         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
4767         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
4768         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
4769         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
4770         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
4771         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
4772         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
4773         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
4774
4775         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
4776         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
4777         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
4778         Regenerated.
4779         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
4780         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
4781         Condition symbol version definitions on [HAVE_ELFV2_ABI].
4782
4783         * shlib-versions: Remove OS-specific entries.  Moved to files in
4784         sysdeps.
4785         * sysdeps/mach/hurd/shlib-versions: New file.
4786         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
4787
4788         * nptl/shlib-versions: Remove architecture-specific entries.
4789         Moved to files in sysdeps.
4790         * shlib-versions: Likewise.
4791         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
4792         file.
4793         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
4794         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
4795         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
4796         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
4797
4798         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
4799         (UDP_NO_CHECK6_RX): Likewise.
4800
4801 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
4802
4803         * sysdeps/posix/sysconf.c (__sysconf): Spell
4804         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
4805
4806 2014-08-12  Florian Weimer  <fweimer@redhat.com>
4807
4808         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
4809         loading.
4810         * iconv/Versions (__gconv_transliterate): Export for use from
4811         gconv modules.
4812         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
4813         (struct __gconv_trans_data, __gconv_trans_fct,
4814         __gconv_trans_context_fct, __gconv_trans_query_fct,
4815         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
4816         definitions.
4817         (struct __gconv_step_data): Remove __trans member.
4818         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
4819         longer hidden.  Remove unused trans_data argument.
4820         * iconv/gconv_int.h (struct trans_struct): Remove definition.
4821         (__gconv_translit_find): Remove declaration.
4822         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
4823         prototype.
4824         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
4825         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
4826         trans_data argument.  Add hidden definition.
4827         (__gconv_translit_find): Remove.
4828         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
4829         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
4830         * iconv/skeleton.c: Remove transliteration initialization.
4831         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
4832         __gconv_step_data initialization.
4833         * libio/iofwide.c (__libio_translit_): Remove.
4834         (_IO_fwide): Adjust struct __gconv_step_data initialization.
4835         * wcsmbs/btowc.c (__btowc): Likewise.
4836         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
4837         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
4838         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
4839         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
4840         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
4841         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
4842         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
4843         * wcsmbs/wctob.c (wctob): Likewise.
4844
4845 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
4846
4847         [BZ #16194]
4848         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
4849         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
4850         register usage.
4851         * sysdeps/x86/Makefile: Adjust.
4852
4853 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
4854             Roland McGrath  <roland@hack.frob.com>
4855
4856         * locale/weight.h: Add include guard.
4857         (findidx): Make static rather than auto; take new parameters
4858         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
4859         * locale/weightwc.h: Likewise.
4860         * posix/fnmatch_loop.c
4861         (FCT): Change type of EXTRA from int32_t to wint_t.
4862         Don't include either header inside the function.
4863         Call FINDIDX rather than findidx, and pass new arguments.
4864         #undef FINDIDX at the end of the file.
4865         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
4866         FINDIDX before including fnmatch_loop.c for the non-wide version.
4867         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
4868         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
4869         for the wide version.
4870         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
4871         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
4872         Pass new arguments to findidx.
4873         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
4874         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
4875         Don't #include it inside the function.  Pass new arguments to findidx.
4876         * posix/regex_internal.h
4877         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
4878         (re_string_elem_size_at): Don't #include it inside the function.
4879         Pass new arguments to findidx.
4880         * string/strcoll_l.c: #include WEIGHT_H at top level.
4881         (get_next_seq): Don't #include it inside the function.
4882         Pass new arguments to findidx.
4883         (get_next_seq_nocache): Likewise.
4884         * string/strxfrm_l.c: #include WEIGHT_H at top level.
4885         (STRXFRM): Don't #include it inside the function.
4886         Pass new arguments to findidx.
4887
4888 2014-09-11  Florian Weimer  <fweimer@redhat.com>
4889
4890         [BZ #17344]
4891         * malloc/malloc.c (unlink): Turn asserts into a call to
4892         malloc_printerr.
4893
4894 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
4895
4896         [BZ #17370]
4897         * libio/wfileops (do_ftell_wide): Free OUT.
4898
4899 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
4900
4901         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
4902
4903 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
4904
4905         [BZ #17363]
4906         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
4907         group if the current group is empty.
4908
4909 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4910
4911         * benchtests/bench-memset.c (test_main): Add more test from size
4912         from 32 to 512 bytes.
4913         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4914         Add POWER8 memset object.
4915         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4916         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
4917         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
4918         implementation.
4919         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
4920         Likewise.
4921         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
4922         multiarch POWER8 memset optimization.
4923         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
4924         POWER8 memset optimization.
4925
4926         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4927         Remove bzero multiarch objects.
4928         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
4929         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
4930         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
4931         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
4932         Remove define.
4933         [__bzero]: Redefine to specific name.
4934         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
4935         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
4936         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
4937         define.
4938         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
4939         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
4940
4941 2014-09-10  Florian Weimer  <fweimer@redhat.com>
4942
4943         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
4944         warnings into errors.
4945
4946         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
4947         __cxa_thread_atexit_impl prototype.
4948
4949 2014-09-09  Steve Ellcey  <sellcey@mips.com>
4950
4951         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
4952         Fix capitalization of error message.
4953
4954 2014-09-09  Steve Ellcey  <sellcey@mips.com>
4955
4956         * sysdeps/mips/preconfigure: Modify ABI tests.
4957
4958 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
4959
4960         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
4961
4962 2014-09-07  Roland McGrath  <roland@hack.frob.com>
4963             Carlos O'Donell  <carlos@systemhalted.org>
4964
4965         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
4966         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
4967         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
4968         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
4969         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
4970         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
4971         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
4972         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
4973         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
4974         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
4975         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
4976         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
4977         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
4978         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
4979         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
4980         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
4981         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
4982         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
4983         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
4984         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
4985         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
4986         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
4987         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
4988         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
4989         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
4990         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
4991         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
4992         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
4993         Deconditionalize the code that was previously under [RESET_PID].
4994         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
4995         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
4996         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
4997         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
4998         include sysdep.h.
4999
5000 2014-09-08  Allan McRae  <allan@archlinux.org>
5001
5002         * version.h (RELEASE): Set to "development".
5003         (VERSION): Set to "2.20.90"
5004
5005 2014-09-07  Allan McRae  <allan@archlinux.org
5006
5007         * version.h (RELEASE): Set to "stable".
5008         (VERSION): Set to "2.20"
5009         * include/features.h (__GLIBC_MINOR__): Set to 20.
5010
5011         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
5012         Liebler.
5013
5014         * po/ko.po: Update Korean translation from translation project.
5015
5016 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
5017
5018         [BZ #17354]
5019         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
5020         macro for handling signed relocations.
5021
5022 2014-09-03  Florian Weimer  <fweimer@redhat.com>
5023
5024         [BZ #17325]
5025         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
5026         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
5027         assert.
5028         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
5029         * iconvdata/ibm935.c (BODY): Likewise.
5030         * iconvdata/ibm937.c (BODY): Likewise.
5031         * iconvdata/ibm939.c (BODY): Likewise.
5032         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
5033         assert.
5034         * iconvdata/Makefile (iconv-test.out): Pass module list to test
5035         script.
5036         * iconvdata/run-iconv-test.sh: New test loop for checking for
5037         decoder crashers.
5038
5039 2014-09-02  Khem Raj  <raj.khem@gmail.com>
5040
5041         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
5042         libm_hidden_ver.
5043
5044 2014-09-01  Allan McRae  <allan@archlinux.org>
5045
5046         * po/eo.po: Update Esperanto translation from translation project.
5047
5048         * po/ca.po: Update Catalan translation from translation project.
5049
5050 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5051
5052         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
5053         __proc_dostop call.
5054
5055 2014-08-27  Mark Wielaard  <mjw@redhat.com>
5056
5057         [BZ #17319]
5058         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
5059         to call set_thread_area instead of hand written asm.
5060         (__NR_set_thread_area): Removed define.
5061         (TLS_FLAG_WRITABLE): Likewise.
5062         (__ASSUME_SET_THREAD_AREA): Remove check.
5063         (TLS_EBX_ARG): Remove define.
5064         (TLS_LOAD_EBX): Likewise.
5065
5066 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5067
5068         Simplify atomicity of socket creation in bind.
5069
5070         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
5071         looking up the name after linking the file.
5072
5073 2014-08-27  Allan McRae  <allan@archlinux.org>
5074
5075         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
5076
5077 2014-08-26  Florian Weimer  <fweimer@redhat.com>
5078
5079         [BZ #17187]
5080         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
5081         trans_compare, open_translit, __gconv_translit_find):
5082         Remove module loading code.
5083
5084 2014-08-26  Allan McRae  <allan@archlinux.org>
5085
5086         * po/vi.po: Update Vietnamese translation from translation project.
5087
5088         * po/uk.po: Update Ukrainian translation from translation project.
5089
5090         * po/fr.po: Update French translation from translation project.
5091
5092         * po/ru.po: Update Russian translation from translation project.
5093
5094         * po/pl.po: Update Polish translation from translation project.
5095
5096         * po/cs.po: Update Czech translation from translation project.
5097
5098         * po/de.po: Update German translation from translation project.
5099
5100         * po/bg.po: Update Bulgarian translation from translation project.
5101
5102         * po/sv.po: Update Sweedish translation from translation project.
5103
5104         * po/nl.po: Update Dutch translation from translation project.
5105
5106         * po/es.po: Update Spanish translation from translation project.
5107
5108 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
5109
5110         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
5111
5112         * catgets/Makefile (CPPFLAGS-gencat): Remove.
5113         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
5114         (CPPFLAGS-iconvconfig): Likewise.
5115         * timezone/Makefile (CPPFLAGS-zic): Likewise.
5116
5117         * include/libc-symbols.h: Remove unnecessary check for
5118         NOT_IN_libc.
5119         * nptl/pthreadP.h: Likewise.
5120         * sysdeps/aarch64/setjmp.S: Likewise.
5121         * sysdeps/alpha/setjmp.S: Likewise.
5122         * sysdeps/arm/sysdep.h: Likewise.
5123         * sysdeps/i386/setjmp.S: Likewise.
5124         * sysdeps/m68k/setjmp.c: Likewise.
5125         * sysdeps/posix/getcwd.c: Likewise.
5126         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
5127         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
5128         * sysdeps/s390/s390-32/setjmp.S: Likewise.
5129         * sysdeps/s390/s390-64/setjmp.S: Likewise.
5130         * sysdeps/sh/sh3/setjmp.S: Likewise.
5131         * sysdeps/sh/sh4/setjmp.S: Likewise.
5132         * sysdeps/unix/alpha/sysdep.h: Likewise.
5133         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
5134         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
5135         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
5136         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
5137         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
5138         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
5139         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
5140         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
5141         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
5142         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
5143         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
5144         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
5145         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
5146         * sysdeps/x86_64/setjmp.S: Likewise.
5147
5148 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
5149
5150         [BZ #17263]
5151         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
5152         <stdint.h>.
5153         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
5154         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
5155
5156 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
5157
5158         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
5159
5160         [BZ #17262]
5161         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
5162         and __x86_64__ when disabling x87 inline functions.
5163
5164 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
5165
5166         [BZ #17259]
5167         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
5168         asm statement with __cpuid_count.
5169
5170 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
5171
5172         * configure.ac: Change __ehdr_start code to dereference the struct.
5173         Run readelf on the output to look for relocations.
5174         * configure: Regenerated.
5175
5176 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
5177
5178         [BZ #17261]
5179         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
5180         value to 0.
5181         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
5182
5183 2014-08-12  Roland McGrath  <roland@hack.frob.com>
5184
5185         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
5186
5187 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
5188
5189         [BZ #16892]
5190         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
5191         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
5192
5193 2014-08-12  Sean Anderson  <seanga2@gmail.com>
5194
5195         * malloc/malloc.c: Fix typo in comment.
5196
5197 2014-08-09  Allan McRae  <allan@archlinux.org>
5198
5199         * Regenerate libc.po.
5200
5201 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
5202
5203         * intl/tst-gettext2.sh: Check every lang file for creation.
5204
5205 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
5206
5207         * sysdeps/aarch64/fpu/math_private.h
5208         (libc_feholdsetround_noex_aarch64_ctx): New function.
5209
5210 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
5211
5212         * sysdeps/arm/armv6/strcpy.S (strcpy):
5213         Fix performance issue in misaligned cases.
5214
5215 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5216
5217         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
5218         Move definition from termios.h.
5219         (struct termio): Likewise.
5220         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
5221         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
5222         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
5223         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
5224         Likewise.
5225         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
5226         Move definition to ioctl-types.h
5227         (struct termio): Likewise.
5228         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
5229         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
5230         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
5231         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
5232         Likewise.
5233
5234 2014-08-05  Richard Henderson  <rth@redhat.com>
5235
5236         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
5237         exceptions.
5238         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
5239         Add fraiseexcpt.
5240         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
5241         Use __feraiseexcept.
5242         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
5243         Protect libm symbols with IS_IN_libm.
5244
5245         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
5246
5247 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
5248
5249         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
5250
5251 2014-08-04  Will Newton  <will.newton@linaro.org>
5252
5253         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
5254         file.
5255
5256 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
5257
5258         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
5259         variants for each function.
5260
5261 2014-08-04  Roland McGrath  <roland@hack.frob.com>
5262
5263         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
5264         appended ...
5265         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
5266         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
5267         appended ...
5268         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
5269         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
5270         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
5271         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
5272         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
5273         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
5274         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
5275         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
5276         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
5277         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
5278         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
5279         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
5280         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
5281         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
5282         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
5283         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
5284         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
5285         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
5286         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
5287         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
5288         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
5289         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
5290         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
5291         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
5292         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
5293         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
5294         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
5295         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
5296         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
5297         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
5298         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
5299         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
5300         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
5301         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
5302         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
5303         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
5304         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
5305         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
5306         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
5307         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
5308         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
5309         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
5310         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
5311         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
5312         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
5313         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
5314         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
5315         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
5316         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
5317         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
5318         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
5319         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
5320         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
5321         Update #include.
5322         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
5323         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
5324
5325 2014-08-04  Roland McGrath  <roland@hack.frob.com>
5326
5327         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
5328         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
5329         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
5330         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
5331         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
5332         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
5333
5334 2014-08-04  Roland McGrath  <roland@hack.frob.com>
5335
5336         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
5337         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
5338         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
5339         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
5340
5341 2014-08-04  Roland McGrath  <roland@hack.frob.com>
5342
5343         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
5344         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
5345         (__libc_vfork): Define function under this name.
5346         (__vfork): Define as an alias.
5347         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
5348         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
5349
5350 2014-08-04  Roland McGrath  <roland@hack.frob.com>
5351
5352         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
5353         that was previously under [RESET_PID].
5354         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
5355
5356 2014-08-04  Andreas Schwab  <schwab@suse.de>
5357
5358         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
5359
5360 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
5361
5362         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
5363         (main): Likewise.
5364
5365 2014-08-01  Roland McGrath  <roland@hack.frob.com>
5366
5367         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
5368
5369 2014-08-01  Richard Henderon  <rth@redhat.com>
5370
5371         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
5372         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
5373         typo in exact zero test.
5374         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5375         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
5376         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5377
5378 2014-08-01  Roland McGrath  <roland@hack.frob.com>
5379
5380         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
5381         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
5382         * sysdeps/arm/sysdep.h: ... here.
5383         [!__ASSEMBLER__]: Include <stdint.h>.
5384
5385 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
5386
5387         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
5388         (HAVE_WCTYPE_H): Likewise.
5389         (HAVE_ISWCTYPE): Likewise.
5390         (ENABLE_NLS): Likewise.
5391         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
5392         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
5393
5394         * posix/regex_internal.c: Check if DEBUG is defined and is
5395         set.
5396
5397         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
5398         (HAVE_MBSRTOWCS): Likewise.
5399         * posix/fnmatch.c: Include string.h unconditionally.
5400
5401 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
5402
5403         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
5404         reversal.
5405
5406 2014-07-31  Roland McGrath  <roland@hack.frob.com>
5407
5408         * sysdeps/generic/safe-fatal.h: New file.
5409         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
5410         * nptl/forward.c: Include it.
5411         (__pthread_unwind): Use __safe_fatal as default action, rather
5412         than a bogus use of INTERNAL_SYSCALL that could never work.
5413
5414         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
5415         * configure.ac (libc_cv_builtin_trap): New test.
5416         * configure: Regenerated.
5417         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
5418         (ABORT_INSTRUCTION): Define using __builtin_trap.
5419
5420         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
5421         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
5422         * sysdeps/nptl/nptl-signals.h: New file.
5423         * nptl/pthreadP.h: Include <nptl-signals.h>.
5424
5425 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
5426
5427         * sysdeps/s390/s390-64/utf16-utf32-z9.c
5428         (ONE_DIRECTION): Define.
5429         * sysdeps/s390/s390-64/utf8-utf16-z9.c
5430         (ONE_DIRECTION): Define.
5431         * sysdeps/s390/s390-64/utf8-utf32-z9.c
5432         (ONE_DIRECTION): Define.
5433
5434 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
5435
5436         * sysdeps/s390/Makefile: Delete file.
5437         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
5438         * sysdeps/s390/__longjmp.c: Delete file.
5439         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
5440         Remove fields __flags and __reserved.
5441         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
5442         and add versioning.
5443         * sysdeps/s390/rtld-__longjmp.c: Delete file.
5444         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
5445         * sysdeps/s390/rtld-setjmp.S: Likewise.
5446         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
5447         * sysdeps/s390/s390-32/__longjmp.c: ... here.
5448         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
5449         * sysdeps/s390/s390-32/setjmp.S: ... here.
5450         Add versioning.
5451         (__sigsetjmp): Remove setting __flags field.
5452         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
5453         * sysdeps/s390/s390-64/__longjmp.c: ... here.
5454         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
5455         * sysdeps/s390/s390-64/setjmp.S: ... here.
5456         Add versioning.
5457         (__sigsetjmp): Remove setting __flags field.
5458         * sysdeps/s390/setjmp.S: Delete file.
5459         * sysdeps/s390/sigjmp.c: Likewise.
5460         * sysdeps/s390/v1-longjmp.c: Likewise.
5461         * sysdeps/s390/v1-setjmp.h: Likewise.
5462         * sysdeps/s390/v1-sigjmp.c: Likewise.
5463         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
5464         Remove v1-longjmp_chk.
5465         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
5466         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
5467         Include debug/longjmp_chk.c and add versioning.
5468         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
5469         Include nptl/pt-longjmp.c and add versioning.
5470         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
5471         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
5472         Include __longjmp.c.
5473         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
5474         Move to ...
5475         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
5476         (__getcontext): Remove setting __flags field.
5477         Add versioning.
5478         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
5479         Don't restore upper high grps.
5480         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
5481         Likewise.
5482         (__swapcontext): Remove setting uc_flags field.
5483         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
5484         Delete file.
5485         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
5486         Include __longjmp.c.
5487         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
5488         Move to ...
5489         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
5490         (__getcontext): Remove setting __flags field.
5491         Add versioning.
5492         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
5493         (__swapcontext): Remove setting uc_flags field.
5494         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
5495         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
5496         Remove fields uc_high_gprs and __reserved.
5497         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
5498         New file with reverted content.
5499         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
5500         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
5501         Regenerated.
5502         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
5503         Regenerated.
5504
5505 2014-07-31  Andreas Schwab  <schwab@suse.de>
5506
5507         * config.h.in (HAVE_IFUNC): Define to 0.
5508         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
5509         definedness.
5510
5511 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
5512
5513         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
5514         memmove-avx-unaligned, memcpy-avx-unaligned and
5515         mempcpy-avx-unaligned.
5516         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
5517         Add tests for AVX memcpy functions.
5518         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
5519         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
5520         memcpy_chk.
5521         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
5522         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
5523         memmove_chk.
5524         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
5525         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
5526         mempcpy_chk.
5527         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
5528         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
5529         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
5530
5531 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5532
5533         [BZ #17213]
5534         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
5535         powerpc64le.
5536
5537 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
5538
5539         [BZ #16839]
5540         * manual/llio.texi: Add section about open file description locks.
5541         * manual/examples/ofdlocks.c: Example of open file description
5542         lock usage.
5543         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
5544         F_OFD_SETLK, and F_OFD_SETLKW.
5545
5546 2014-07-23  Allan McRae  <allan@archlinux.org>
5547
5548         * po/es.po: Update Spanish translation from translation project.
5549
5550 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
5551
5552         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
5553
5554 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
5555
5556         [BZ #17078]
5557         * sysdeps/arm/dl-machine.h (elf_machine_rela)
5558         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
5559         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
5560
5561 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
5562
5563         [BZ #17088]
5564         * math/fesetenv.c (__fesetenv)
5565         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
5566         * math/feupdateenv.c (__feupdateenv)
5567         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
5568
5569         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
5570         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
5571         (__ASSUME_SOCKETCALL): Do not define.
5572
5573         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
5574         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
5575         (__ASSUME_SOCKETCALL): Do not define.
5576         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
5577         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
5578         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
5579         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
5580         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5581         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
5582         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5583         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5584
5585         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
5586         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
5587         (__ASSUME_SOCKETCALL): Do not define.
5588         (__ASSUME_IPC64): Define unconditionally.
5589         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
5590         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
5591         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
5592         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5593         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
5594         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5595         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
5596         Likewise.
5597
5598         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
5599         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
5600         (__ASSUME_SOCKETCALL): Do not define.
5601         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
5602         (__ASSUME_FUTEX_LOCK_PI): Likewise.
5603         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
5604         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
5605         (__ASSUME_REQUEUE_PI): Define unconditionally.
5606         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
5607         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
5608         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5609         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
5610         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5611         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5612
5613         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
5614         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
5615         (__ASSUME_SOCKETCALL): Do not define.
5616         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
5617         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5618         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5619         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
5620         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5621         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5622
5623         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
5624         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
5625         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
5626         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
5627         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5628         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
5629         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5630         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
5631         (__ASSUME_GETCPU_SYSCALL): Likewise.
5632
5633         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
5634         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
5635         cases for individual architectures.
5636         * sysdeps/gnu/configure: Regenerated.
5637         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
5638         LIBC_SLIBDIR_RTLDDIR.
5639         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
5640         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
5641         LIBC_SLIBDIR_RTLDDIR.
5642         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
5643         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
5644         LIBC_SLIBDIR_RTLDDIR.
5645         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
5646         Regenerated.
5647         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
5648         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
5649         file.
5650         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
5651         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
5652         file.
5653         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
5654         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
5655         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
5656         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
5657
5658         * sysdeps/aarch64/shlib-versions: Move to ...
5659         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
5660         * sysdeps/alpha/shlib-versions: Move to ...
5661         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
5662         * sysdeps/arm/shlib-versions: Move to ...
5663         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
5664         * sysdeps/hppa/shlib-versions: Move all contents except for
5665         libgcc_s entry to ...
5666         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
5667         entry from ...
5668         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
5669         * sysdeps/ia64/shlib-versions: Move to ...
5670         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
5671         entry from ...
5672         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
5673         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
5674         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
5675         * sysdeps/microblaze/shlib-versions: Move to ...
5676         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
5677         * sysdeps/mips/shlib-versions: Move to ...
5678         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
5679         entry from ...
5680         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
5681         * sysdeps/tile/shlib-versions: Move to ...
5682         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
5683         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
5684         from ...
5685         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
5686         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
5687         entry from ...
5688         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
5689
5690 2014-07-17  Will Newton  <will.newton@linaro.org>
5691
5692         * sysdeps/arm/bits/atomic.h
5693         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
5694         (__arch_compare_and_exchange_bool_16_int): Likewise.
5695         (__arch_compare_and_exchange_bool_64_int): Likewise.
5696
5697         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
5698         into an #else block.
5699
5700 2014-07-16  Roland McGrath  <roland@hack.frob.com>
5701
5702         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
5703         just Linux configurations.  Test empirically that the compiler sets
5704         __ARM_EABI__, rather than using the tuple to decide.
5705         * sysdeps/arm/preconfigure: Regenerated.
5706         * sysdeps/unix/sysv/linux/arm/configure: File removed.
5707         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
5708         contents appended ...
5709         * sysdeps/arm/configure.ac: ... here.
5710         * sysdeps/arm/configure: Regenerated.
5711
5712 2014-07-15  Roland McGrath  <roland@hack.frob.com>
5713
5714         * nptl/pthread_kill.c: New file.
5715         * nptl/pthread_sigmask.c: New file.
5716         * nptl/pthread_sigqueue.c: New file.
5717
5718         * sysdeps/nptl/lowlevellock.h: New file.
5719         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
5720         * sysdeps/nptl/lowlevellock-futex.h: New file.
5721
5722         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
5723         Remove dead declarations.
5724
5725 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
5726
5727         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
5728         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
5729         config-cflags-avx2.
5730         * sysdeps/x86_64/configure.ac: Likewise.
5731         * sysdeps/i386/configure: Regenerated.
5732         * sysdeps/x86_64/configure: Likewise.
5733         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
5734         memset-avx2 only if config-cflags-avx2 is yes.
5735         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
5736         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
5737         defined.
5738         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
5739         only if HAVE_AVX2_SUPPORT is defined.
5740         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
5741
5742 2014-07-14  Alan Modra  <amodra@gmail.com>
5743
5744         [BZ #17153]
5745         * elf/elf.h (DT_PPC64_NUM): Correct value.
5746         * NEWS: Add to fixed bug list.
5747
5748 2014-07-13  Jim Meyering  <meyering@fb.com>
5749
5750         [BZ 17150]
5751         regex: don't deref NULL upon heap allocation failure
5752         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
5753         failure in one more place.
5754         To trigger the segfault, configure grep -with-included-regex,
5755         build it, and run these commands:
5756         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
5757
5758 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
5759
5760         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
5761
5762 2014-07-11  Richard Henderson  <rth@redhat.com>
5763
5764         * sysdeps/aarch64/libm-test-ulps: Update.
5765
5766 2014-07-10  Florian Weimer  <fweimer@redhat.com>
5767
5768         [BZ #17135]
5769         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
5770         * nptl/allocatestack.c (__nptl_setxid_error): New function.
5771         (__nptl_setxid): Initialize error member.  Call
5772         __nptl_setxid_error.
5773         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
5774         * nptl/descr.h (struct xid_command): Add error member.
5775         * nptl/tst-setuid3.c: New file.
5776         * nptl/Makefile (tests): Add it.
5777
5778 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5779
5780         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
5781         New define.
5782         (__lll_trylock): Use __lll_base_trylock.
5783         (__lll_cond_trylock): Likewise.
5784
5785 2014-07-10  Roland McGrath  <roland@hack.frob.com>
5786
5787         * nptl/pthread_create.c (start_thread): Use atomic_or and
5788         lll_futex_wake directly rather than lll_robust_dead.
5789         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
5790         (lll_robust_dead): Macro removed.
5791         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
5792         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
5793         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
5794         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
5795         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
5796         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
5797         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
5798         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
5799         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
5800         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
5801         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
5802         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
5803         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
5804         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
5805         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
5806
5807         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
5808         Use atomic_compare_and_exchange_val_acq directly rather than
5809         lll_robust_trylock.
5810         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
5811         (__lll_robust_trylock, lll_robust_trylock): Removed.
5812         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
5813         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
5814         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
5815         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
5816         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
5817         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
5818         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
5819         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
5820         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
5821         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
5822         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
5823         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
5824         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
5825         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
5826
5827 2014-07-02  Florian Weimer  <fweimer@redhat.com>
5828
5829         * manual/locale.texi (Locale Names): New section documenting
5830         locale name syntax.  Adjust menu and node chaining accordingly.
5831         (Choosing Locale): Reference Locale Names, Locale Categories.
5832         Mention setting LC_ALL=C.  Reflect that name syntax is now
5833         documented.
5834         (Locale Categories): New section title.  Reference Locale Names.
5835         LC_ALL is an environment variable, but not a category.
5836         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
5837         description, now in Locale Name.  Reference that section.  Locale
5838         name syntax is now documented.
5839
5840 2014-07-02  Florian Weimer  <fweimer@redhat.com>
5841
5842         [BZ #17137]
5843         * locale/findlocale.c (name_present, valid_locale_name): New
5844         functions.
5845         (_nl_find_locale): Use the loc_name variable to store name
5846         candidates.  Call name_present and valid_locale_name to check and
5847         validate locale names.  Return an error if the locale is invalid.
5848
5849 2014-07-02  Florian Weimer  <fweimer@redhat.com>
5850
5851         * locale/setlocale.c (setlocale): Use strdup for allocating
5852         composite name copy.
5853
5854 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
5855
5856         Sync up with gnulib.
5857         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
5858         [!_LIBC && ENABLE_NLS]: Include gettext.h.
5859         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
5860         and _GL_ARG_NONNULL.
5861         [USE_UNLOCKED_IO]: Include unlocked-io.h.
5862         [!_LIBC]: Include code for Windows and Cygwin.
5863         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
5864         Include prototype for int strerror_r.
5865         [!_LIBC] (is_open): New function.
5866         (flush_stdout): New function.
5867         (print_errno_message): Use it.
5868         (error): Likewise.
5869         (error_at_line): Likewise.
5870         (error_tail) Add function attribute macros.  Use
5871         __builtin_expect.
5872
5873         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
5874
5875         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
5876
5877         * io/ftw.c: Include sys/param.h unconditionally.
5878
5879         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
5880
5881         [BZ #17125]
5882         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
5883         libc_freeres_ptr.
5884         (freecache): New function to free CACHE on exit.
5885
5886         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
5887         initialization.
5888
5889 2014-07-09  David S. Miller  <davem@davemloft.net>
5890
5891         * sysdeps/sparc/fpu/libm-test-ulps: Update.
5892
5893         * sysdeps/sparc/nptl/internaltypes.h: Delete.
5894         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
5895         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
5896         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
5897         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
5898         * sysdeps/sparc/nptl/sem_init.c: Likewise.
5899         * sysdeps/sparc/nptl/sem_post.c: Likewise.
5900         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
5901         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
5902         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
5903         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
5904         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
5905         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
5906
5907 2014-07-09  Andreas Schwab  <schwab@suse.de>
5908
5909         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
5910         output.
5911         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
5912         (do_test): Likewise.
5913
5914         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
5915
5916 2014-07-09  Will Newton  <will.newton@linaro.org>
5917
5918         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
5919         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
5920         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
5921         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
5922         * sysdeps/hppa/start.S (_start): Likewise.
5923
5924 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
5925
5926         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
5927
5928         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
5929         defined.
5930
5931 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
5932
5933         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
5934         after checking that it is non-NULL.
5935
5936         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
5937
5938 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5939
5940         * sysdeps/powerpc/memmove.c: Remove file.
5941         * sysdeps/powerpc/powerpc32/power4/memcopy.h
5942         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
5943         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
5944         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
5945         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
5946         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
5947         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
5948         string memmove instead of removed powerpc one.
5949
5950         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
5951         [weak_alias]: Fix compiler warning due trailing data.
5952         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
5953         [weak_alias]: Likewise.
5954         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
5955         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
5956
5957         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
5958         (__libc_ifunc_impl_list): Add memmove functions.
5959
5960 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
5961
5962         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
5963         Remove code.
5964         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
5965         Likewise
5966         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
5967         Likewise
5968         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
5969         Likewise
5970         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
5971         Likewise
5972         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
5973         Likewise
5974         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
5975         Likewise
5976         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
5977         Likewise
5978         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
5979         Likewise
5980         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
5981         Likewise
5982         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
5983         Likewise
5984         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
5985         Likewise
5986         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
5987         Likewise
5988         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
5989         Likewise
5990         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
5991         Likewise
5992         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
5993         Likewise
5994         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
5995         Likewise
5996
5997 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5998
5999         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
6000         to avoid alignment traps in non-cacheable memory.
6001         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
6002
6003         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
6004         multiarch objects.
6005         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
6006         file: multiarch power7 memmove.
6007         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
6008         multiarch default memmove.
6009         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
6010         multiarch memove for powerpc32/power4.
6011
6012         * string/bcopy.c: Use full path to include memmove.c.
6013         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
6014         multiarch objects.
6015         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
6016         bcopy for powerpc64.
6017         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
6018         bcopy for powerpc64.
6019         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
6020         and memmove implementations.
6021         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
6022         optimized multiarch memmove for POWER7/powerpc64.
6023         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
6024         default multiarch memmove for powerpc64.
6025         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
6026         multiarch for powerpc64.
6027         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
6028         for POWER7/powerpc64.
6029         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
6030         memmove for POWER7/powerpc64.
6031
6032         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
6033         glibc default one.
6034
6035         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
6036         __ELF_NATIVE_CLASS equal to 64.
6037
6038 2014-07-07  Roland McGrath  <roland@hack.frob.com>
6039
6040         * sysdeps/nptl/lowlevellock.h: File removed.
6041
6042         * NEWS: NPTL is no longer an add-on!
6043         * nptl/internaltypes.h: Moved ...
6044         * sysdeps/nptl/internaltypes.h: ... here.
6045         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
6046         * sysdeps/nptl/fork.c: Likewise.
6047         * sysdeps/nptl/gai_misc.h: Likewise.
6048         * sysdeps/nptl/librt-cancellation.c: Likewise.
6049         * sysdeps/nptl/jmp-unwind.c: Likewise.
6050         * sysdeps/nptl/setxid.h: Likewise.
6051         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
6052         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
6053         * sysdeps/unix/sysv/linux/arm/Implies: New file.
6054         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
6055         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
6056         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
6057         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
6058         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
6059         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
6060         * sysdeps/unix/sysv/linux/mips/Implies: New file.
6061         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
6062         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
6063         * sysdeps/unix/sysv/linux/sh/Implies: New file.
6064         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
6065         * sysdeps/unix/sysv/linux/tile/Implies: New file.
6066         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
6067         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
6068         * nptl/Makeconfig: Moved ...
6069         * sysdeps/nptl/Makeconfig: ... here.
6070         * nptl/configure: File removed.
6071         * nptl/ANNOUNCE: File removed.
6072         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
6073         * sysdeps/unix/sysv/linux/configure: Regenerated.
6074
6075         * nptl/Makefile (routines): Add libc_pthread_init,
6076         libc_multiple_threads, register-atfork and unregister-atfork.
6077         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
6078         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
6079         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
6080         pthread-pi-defines.sym, structsem.sym.
6081         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
6082         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
6083         [$(subdir) = nptl] (tests): Add tst-setgetname.
6084         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
6085         * sysdeps/unix/sysv/linux/sigaction.c: Just include
6086         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
6087         [!LIBC_SIGACTION]: Remove aliases.
6088         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
6089         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
6090         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
6091         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
6092         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
6093         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
6094         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
6095         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
6096         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
6097         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
6098         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
6099         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
6100         __libc_allocate_rtsig_private.
6101         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
6102         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
6103         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
6104         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
6105         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
6106         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
6107         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
6108         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
6109         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
6110         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
6111         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
6112         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
6113         * nptl/internaltypes.h: ... here.
6114         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
6115         * sysdeps/nptl/jmp-unwind.c: ... here.
6116         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
6117         * nptl/libc-lowlevellock.c: ... here.
6118         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
6119         * nptl/libc_multiple_threads.c: ... here.
6120         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
6121         * nptl/libc_pthread_init.c: ... here.
6122         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
6123         * nptl/lowlevelbarrier.sym: ... here.
6124         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
6125         * nptl/lowlevelcond.sym: ... here.
6126         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
6127         * nptl/lowlevellock.c: ... here.
6128         * nptl/lowlevellock.h: Moved ...
6129         * sysdeps/nptl/lowlevellock.h: ... here.
6130         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
6131         * nptl/lowlevelrobustlock.c: ... here.
6132         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
6133         * nptl/lowlevelrobustlock.sym: ... here.
6134         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
6135         * nptl/lowlevelrwlock.sym: ... here.
6136         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
6137         * nptl/pt-fork.c: ... here.
6138         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
6139         * nptl/pthread-pi-defines.sym: ... here.
6140         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
6141         * nptl/pthread_attr_getaffinity.c: ... here.
6142         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
6143         * nptl/pthread_attr_setaffinity.c: ... here.
6144         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
6145         * nptl/pthread_mutex_cond_lock.c: ... here.
6146         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
6147         Update #include.
6148         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
6149         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
6150         * nptl/pthread_once.c: ... here, replacing old file.
6151         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
6152         * nptl/pthread_yield.c: ... here.
6153         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
6154         * nptl/register-atfork.c: ... here.
6155         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
6156         * nptl/sem_post.c: ... here.
6157         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
6158         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
6159         * nptl/sem_timedwait.c: ... here.
6160         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
6161         * nptl/sem_trywait.c: ... here.
6162         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
6163         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
6164         * nptl/sem_wait.c: ... here.
6165         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
6166         * nptl/structsem.sym: ... here.
6167         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
6168         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
6169         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
6170         * nptl/unregister-atfork.c: ... here.
6171         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
6172         * nptl/unwindbuf.sym: ... here.
6173         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
6174         * sysdeps/nptl/fork.c: ... here.
6175         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
6176         * sysdeps/nptl/fork.h: ... here.
6177         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
6178         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
6179         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
6180         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
6181         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
6182         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
6183         * sysdeps/unix/sysv/linux/getpid.c: ... here.
6184         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
6185         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
6186         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
6187         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
6188         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
6189         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
6190         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
6191         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
6192         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
6193         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
6194         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
6195         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
6196         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
6197         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
6198         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
6199         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
6200         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
6201         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
6202         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
6203         * sysdeps/unix/sysv/linux/raise.c: ... here.
6204         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
6205         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
6206         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
6207         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
6208         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
6209         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
6210         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
6211         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
6212         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
6213         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
6214         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
6215         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
6216         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
6217         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
6218         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
6219
6220 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
6221
6222         * sysdeps/generic/memcopy.h: Add comment for
6223         MEMCPY_OK_FOR_FWD_MEMMOVE.
6224
6225 2014-07-04  Will Newton  <will.newton@linaro.org>
6226
6227         * string/memchr.c: Merge from gnulib.
6228         [_LIBC]: Remove conditionals.
6229         (__ptr_t): Remove define.
6230         (LONG_MAX_32_BITS): Likewise.
6231         (LONG_MAX): Likewise.
6232         (MEMCHR): Use ANSI prototype and optimize algorithm.
6233
6234         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
6235
6236 2014-07-03  Roland McGrath  <roland@hack.frob.com>
6237
6238         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
6239         (lll_futex_timed_wait_bitset): Fix syscall argument count.
6240
6241         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
6242         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
6243         in a bare environment with no <stdlib.h> installed.
6244         * sysdeps/nptl/configure: Regenerated.
6245
6246         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
6247
6248         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
6249         AC_EGREP_CPP for kernel header checks, so they only succeed if
6250         including <linux/version.h> actually works right.
6251         * sysdeps/unix/sysv/linux/configure: Regenerated.
6252
6253         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
6254         value so it's not diagnosed as unused.
6255
6256         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
6257         thing) with "ifeq ($(subdir),rt)".
6258
6259 2014-07-03  Richard Henderson  <rth@redhat.com>
6260
6261         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
6262         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
6263         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
6264
6265         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
6266         (math_force_eval): New.
6267
6268         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
6269         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
6270
6271         * sysdeps/alpha/fpu/s_round.c: Remove file.
6272         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
6273
6274         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
6275         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
6276         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
6277         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
6278         (_dl_start, print_statistics): Likewise.
6279         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
6280         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
6281
6282         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
6283         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
6284         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
6285         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
6286         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
6287         (HP_SMALL_TIMING_AVAIL): Define.
6288         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
6289         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
6290         (HP_SMALL_TIMING_AVAIL): Define.
6291         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
6292         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
6293
6294         * sysdeps/aarch64/hp-timing.h: New file.
6295
6296         * sysdeps/generic/hp-timing.h: Remove dead comment.
6297         * sysdeps/generic/hp-timing-common.h: New file.
6298         * sysdeps/alpha/hp-timing.h: Include it.
6299         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
6300         * sysdeps/i386/i686/hp-timing.h: Likewise.
6301         * sysdeps/ia64/hp-timing.h: Likewise.
6302         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
6303         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
6304         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
6305         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
6306         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
6307         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
6308         (hp_timing_t): New.
6309
6310         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
6311         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
6312         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
6313         * elf/rtld.c (_dl_start_final): Likewise.
6314         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
6315         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
6316         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
6317         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
6318         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
6319         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
6320         (HP_TIMING_DIFF_INIT): Remove.
6321         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
6322         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
6323         (HP_TIMING_DIFF_INIT): Remove.
6324         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
6325         * sysdeps/i386/i686/hp-timing.c: Remove file.
6326         * sysdeps/x86_64/hp-timing.c: Remove file.
6327         * sysdeps/ia64/hp-timing.c: Remove file.
6328         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
6329         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
6330         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
6331         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
6332
6333         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
6334         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
6335         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
6336         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
6337         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
6338         (HP_TIMING_ACCUM): Remove.
6339         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
6340         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
6341         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
6342
6343         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
6344         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
6345         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
6346         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
6347         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
6348         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
6349         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
6350         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
6351
6352         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
6353
6354 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
6355
6356         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
6357
6358 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
6359
6360         Sync up with gettext.
6361         * intl/loadmsgcat.c: Define O_BINARY if not defined.
6362         [_MSC_VER]: Include malloc.h
6363         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
6364         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
6365         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
6366         TEMP_FAILURE_RETRY.  Cast return of alloca.
6367         [!_LIBC] Call gl_rwlock_init.
6368         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
6369
6370 2014-07-02  Roland McGrath  <roland@hack.frob.com>
6371
6372         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
6373         before checking its value.
6374
6375 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
6376
6377         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
6378
6379         * debug/memcpy_chk.c: Don't include pagecopy.h.
6380         * debug/mempcpy_chk.c: Likewise.
6381         * string/memcpy.c: Likewise.
6382         * string/memmove.c: Likewise.
6383         * sysdeps/powerpc/memmove.c: Likewise.
6384         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
6385         definition of PAGE_COPY_FWD_MAYBE here...
6386         * sysdeps/generic/pagecopy.h: ... from here.
6387         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
6388
6389 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
6390             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6391
6392         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
6393         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
6394         optimizations.
6395         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6396         (__libc_ifunc_impl_list): Likewise.
6397         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
6398         multiarch strcat for PPC64.
6399         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
6400         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
6401
6402 2014-07-02  Roland McGrath  <roland@hack.frob.com>
6403
6404         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
6405
6406 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
6407
6408         * intl/loadmsgcat.c: Remove declaration of
6409         get_sysdep_segment_value.
6410         (get_sysdep_segment_value): Use ISO C style.
6411         (_nl_load_domain): Use ISO C style.  Get rid of redundant
6412         semicolon.  Fix typo and formatting in comment.
6413         (_nl_unload_domain): Use ISO C style.
6414
6415         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
6416
6417 2014-07-02  Will Newton  <will.newton@linaro.org>
6418
6419         * malloc/obstack.c: Merge from gnulib master.
6420         [HAVE_CONFIG_H]: Remove conditional code.
6421         [!_LIBC]: Include config.h.
6422         [!ELIDE_CODE]: Don't include inttypes.h, include
6423         stdint.h unconditionally.
6424         (print_and_abort): Mark as _Noreturn.
6425         (_obstack_allocated_p): Mark as __attribute_pure__.
6426         (obstack_free): Rename to __obstack_free.
6427         [!__attribute__]: Remove conditional code.
6428         * malloc/obstack.h: Merge from gnulib master.
6429         [__cplusplus]: Move conditional down.
6430         [!__attribute_pure__]: Define __attribute_pure__ here
6431         if it is not already defined.
6432         (_obstack_memory_used): Mark as __attribute_pure__.
6433         [!__obstack_free]: Define as obstack_free.
6434         [__GNUC__]: Remove check for ancient NeXT gcc.
6435
6436 2014-07-02  Will Newton  <will.newton@linaro.org>
6437             Paul Eggert  <eggert@cs.ucla.edu>
6438
6439         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
6440
6441 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
6442
6443         * resolv/gethnamaddr.c: Add comment warning that the file is
6444         not maintained.
6445
6446 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
6447
6448         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
6449         entries.
6450
6451         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
6452         entry for aio_cancel and aio_cancel64.
6453         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
6454         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
6455         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
6456         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
6457         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
6458         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
6459         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
6460         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
6461         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
6462         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
6463         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
6464         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
6465         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
6466
6467 2014-07-01  Roland McGrath  <roland@hack.frob.com>
6468
6469         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
6470         * nptl/pthread_mutex_lock.c: Likewise.
6471         * nptl/pthread_mutex_timedlock.c: Likewise.
6472         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
6473
6474 2014-07-01  Richard henderson  <rth@redhat.com>
6475
6476         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
6477         (__isnan, __isnanl): Remove.
6478         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
6479
6480         * sysdeps/alpha/fpu/libm-test-ulps: Update.
6481
6482 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
6483
6484         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
6485
6486 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
6487
6488         * resolv/nss_dns/dns-host.c (getanswer_r)
6489         [MULTI_PTRS_ARE_ALIASES]: Remove code.
6490
6491 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
6492
6493         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6494         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
6495         undefine.
6496         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
6497         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
6498
6499 2014-07-01  Roland McGrath <roland@hack.frob.com>
6500
6501         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
6502         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
6503
6504         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
6505         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
6506
6507         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
6508         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
6509         ... here.
6510         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
6511         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
6512
6513         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
6514         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
6515         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
6516         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
6517
6518         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
6519         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
6520         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
6521         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
6522         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
6523         Moved ...
6524         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
6525         ... here.
6526         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
6527         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
6528         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
6529         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
6530         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
6531         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
6532         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
6533         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
6534         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
6535         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
6536         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
6537         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
6538         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
6539         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
6540         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
6541         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
6542         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
6543         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
6544         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
6545         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
6546         ... here.
6547         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
6548         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
6549         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
6550         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
6551         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
6552         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
6553         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
6554         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
6555
6556 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
6557
6558         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
6559         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
6560         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
6561         Add sysdep.
6562
6563 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6564
6565         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6566
6567 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
6568
6569         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
6570         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
6571
6572         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
6573
6574         * sysdeps/arm/libm-test-ulps: Regenerated.
6575
6576 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
6577             Roland McGrath <roland@hack.frob.com>
6578
6579         * test-skeleton.c (signal_handler): Kill the whole process group
6580         before killing the child individually.
6581         (main): Report any failure on `setpgid'.
6582
6583 2014-06-30  Roland McGrath  <roland@hack.frob.com>
6584
6585         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
6586         from _TLS_H to _ARM_NPTL_TLS_H.
6587         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
6588         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
6589
6590 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
6591
6592         [BZ #16539]
6593         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
6594         (__expm1l): Return argument unchanged when small but not
6595         subnormal.
6596
6597         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
6598         include macro name.
6599         (_FP_UNPACK_RAW_1_P): Likewise.
6600         (_FP_PACK_RAW_1): Likewise.
6601         (_FP_PACK_RAW_1_P): Likewise.
6602         (_FP_MUL_MEAT_1_wide): Likewise.
6603         (_FP_MUL_MEAT_DW_1_hard): Likewise.
6604         (_FP_MUL_MEAT_1_hard): Likewise.
6605         (_FP_DIV_MEAT_1_imm): Likewise.
6606         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
6607         (_FP_DIV_MEAT_1_udiv): Likewise.
6608         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
6609         (_FP_UNPACK_RAW_2): Likewise.
6610         (_FP_UNPACK_RAW_2_P): Likewise.
6611         (_FP_PACK_RAW_2): Likewise.
6612         (_FP_PACK_RAW_2_P): Likewise.
6613         (_FP_MUL_MEAT_DW_2_wide): Likewise.
6614         (_FP_MUL_MEAT_2_wide): Likewise.
6615         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
6616         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
6617         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
6618         (_FP_MUL_MEAT_2_gmp): Likewise.
6619         (_FP_DIV_MEAT_2_udiv): Likewise.
6620         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
6621         (_FP_FRAC_SRL_4): Likewise.
6622         (_FP_FRAC_SRST_4): Likewise.
6623         (_FP_FRAC_SRS_4): Likewise.
6624         (_FP_UNPACK_RAW_4): Likewise.
6625         (_FP_UNPACK_RAW_4_P): Likewise.
6626         (_FP_PACK_RAW_4): Likewise.
6627         (_FP_PACK_RAW_4_P): Likewise.
6628         (_FP_MUL_MEAT_DW_4_wide): Likewise.
6629         (_FP_MUL_MEAT_4_wide): Likewise.
6630         (_FP_MUL_MEAT_4_gmp): Likewise.
6631         (umul_ppppmnnn): Likewise.
6632         (_FP_DIV_MEAT_4_udiv): Likewise.
6633         (__FP_FRAC_ADD_4): Likewise.
6634         (__FP_FRAC_SUB_3): Likewise.
6635         (__FP_FRAC_SUB_4): Likewise.
6636         (__FP_FRAC_DEC_3): Likewise.
6637         (__FP_FRAC_DEC_4): Likewise.
6638         (__FP_FRAC_ADDI_4): Likewise.
6639         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
6640         (_FP_FRAC_SRL_8): Likewise.
6641         (_FP_FRAC_SRS_8): Likewise.
6642
6643         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
6644         include macro name.
6645         (FP_UNPACK_RAW_EP): Likewise.
6646         (FP_PACK_RAW_E): Likewise.
6647         (FP_PACK_RAW_EP): Likewise.
6648         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
6649         (_FP_ISSIGNAN): Likewise.
6650         (_FP_ADD_INTERNAL): Likewise.
6651         (_FP_FMA): Likewise.
6652         (_FP_CMP): Likewise.
6653         (_FP_SQRT): Likewise.
6654         (_FP_TO_INT): Likewise.
6655         (_FP_FROM_INT): Likewise.
6656         (FP_EXTEND): Likewise.
6657         (_FP_DIV_MEAT_N_loop): Likewise.
6658
6659 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
6660
6661         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
6662         throughout.
6663
6664 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
6665
6666         [BZ #17097]
6667         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
6668         result with correct sign in case of exponents that produce
6669         overflow except for X very close to 1.
6670
6671 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
6672
6673         mktime: merge #if/#ifdef usage from glibc
6674         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
6675         as that works with both Glibc's and Gnulib's style.
6676         See thread starting at Siddhesh Poyarekar's bug report at:
6677         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
6678
6679 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
6680
6681         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
6682         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
6683         * sysdeps/tile/tilegx/memmove.c: Remove file.
6684
6685 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
6686
6687         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
6688         abi-name definition.
6689         * scripts/soversions.awk: Do not handle or generate ABI lines.
6690         * shlib-versions: Remove ABI entries.
6691         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
6692         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
6693
6694 2014-06-27  Roland McGrath  <roland@hack.frob.com>
6695
6696         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
6697         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
6698         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
6699         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
6700         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
6701         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
6702         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
6703         Moved ...
6704         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
6705         ... here.
6706         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
6707         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
6708         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
6709         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
6710         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
6711         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
6712         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
6713         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
6714         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
6715         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
6716         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
6717         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
6718         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
6719         Moved ...
6720         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
6721         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
6722         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
6723         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
6724         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
6725         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
6726         Moved ...
6727         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
6728         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
6729         Moved ...
6730         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
6731         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
6732         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
6733         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
6734         Moved ...
6735         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
6736         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
6737         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
6738         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
6739         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
6740         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
6741         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
6742         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
6743         Moved ...
6744         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
6745         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
6746         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
6747         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
6748         Moved ...
6749         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
6750         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
6751         Moved ...
6752         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
6753         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
6754         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
6755         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
6756         Moved ...
6757         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
6758         ... here.
6759         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
6760         Identical file removed.
6761         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
6762         Moved ...
6763         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
6764         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
6765         Identical file removed.
6766         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
6767         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
6768         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
6769         Moved ...
6770         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
6771         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
6772         Identical file removed.
6773         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
6774         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
6775         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
6776         Identical file removed.
6777         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
6778         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
6779         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
6780         Identical file removed.
6781         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
6782         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
6783         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
6784         Identical file removed.
6785         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
6786         Moved ...
6787         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
6788         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
6789         Identical file removed.
6790         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
6791         Moved ...
6792         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
6793         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
6794         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
6795         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
6796         Identical file removed.
6797         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
6798         Moved ...
6799         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
6800         ... here.
6801         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
6802         Identical file removed.
6803         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
6804         Moved ...
6805         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
6806         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
6807         Identical file removed.
6808         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
6809         Moved ...
6810         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
6811         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
6812         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
6813         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
6814         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
6815         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
6816         Moved ...
6817         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
6818         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
6819         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
6820
6821         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
6822         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
6823         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
6824         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
6825         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
6826
6827 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
6828
6829         [BZ #17092]
6830         * nscd/nscd.c (monitor_child): Return exit status of child
6831         instead of return value from wait syscall.
6832
6833 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
6834
6835         * configure.ac (libc_commonpagesize): Remove variable.
6836         (libc_relro_required): Likewise.
6837         (libc_cv_z_relro): Remove configure test.
6838         * configure: Regenerated.
6839         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
6840         variable.
6841         (libc_relro_required): Likewise.
6842         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
6843         (libc_relro_required): Likewise.
6844         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
6845         (libc_relro_required): Likewise.
6846         * sysdeps/arm/preconfigure: Regenerated.
6847         * sysdeps/ia64/preconfigure: Remove file.
6848         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
6849         variable.
6850         (libc_relro_required): Likewise.
6851
6852         [BZ #16561]
6853         [BZ #16562]
6854         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
6855         (__ieee754_yn): Set FE_TONEAREST mode internally and then
6856         recompute overflowing results in original rounding mode.
6857         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
6858         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
6859         recompute overflowing results in original rounding mode.
6860         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
6861         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
6862         recompute overflowing results in original rounding mode.
6863         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
6864         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
6865         recompute overflowing results in original rounding mode.
6866         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
6867         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
6868         recompute overflowing results in original rounding mode.
6869         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
6870         (libc_feholdsetround_ctx): New macro.
6871         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
6872         * sysdeps/i386/fpu/libm-test-ulps: Update.
6873         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
6874
6875 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
6876
6877         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
6878         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
6879         corresponding .cpsetup call.
6880
6881 2014-06-26  Roland McGrath  <roland@hack.frob.com>
6882
6883         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
6884         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
6885         * sysdeps/arm/Makefile [$(subdir) = csu]
6886         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
6887         (static-only-routines): Add aeabi_read_tp here.
6888         (shared-only-routines): Add libc-aeabi_read_tp here.
6889         (CFLAGS-libc-start.c): Add -fexceptions here.
6890         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
6891         (sysdep_routines, static-only-routines, shared-only-routines):
6892         Don't add to these here.
6893         (CFLAGS-libc-start.c): Likewise.
6894
6895         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
6896         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
6897         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
6898         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
6899         * sysdeps/arm/Makefile [$(subdir) = rt]
6900         (librt-sysdep_routines, librt-shared-only-routines):
6901         Append rt-aeabi_unwind_cpp_pr1 here.
6902         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
6903         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
6904         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
6905         (libpthread-sysdep_routines, libpthread-shared-only-routines):
6906         Append nptl-aeabi_unwind_cpp_pr1 here.
6907         (tests): Filter out tst-cleanupx4 here.
6908         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
6909         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
6910         Don't do those here.
6911
6912 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
6913
6914         * scripts/list-sources.sh: Do not handle ports specially.
6915
6916 2014-06-26  Roland McGrath  <roland@hack.frob.com>
6917
6918         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
6919         * sysdeps/arm/feupdateenv.c: Likewise.
6920
6921         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
6922
6923 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
6924
6925         * manual/texinfo.tex: Update to version 2014-05-05.10 with
6926         trailing whitespace removed.
6927         * scripts/config.guess: Update to version 2014-03-23.
6928         * scripts/config.sub: Update to version 2014-05-01
6929         * scripts/install-sh: Update to version 2013-12-25.23.
6930         * scripts/move-if-change: Update from gnulib.
6931
6932 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
6933
6934         * debug/memmove_chk.c: Remove pagecopy.h include.
6935
6936 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
6937
6938         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
6939         identical to gnulib mktime.
6940
6941 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
6942
6943         * configure.ac: Do not test for machine being rs6000.  Do not test
6944         for powerpc*-*soft.
6945         * configure: Regenerated.
6946
6947         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
6948         test.
6949         * configure: Regenerated.
6950         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
6951         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
6952         Remove configure test.
6953         * sysdeps/arm/configure: Regenerated.
6954         * sysdeps/nptl/configure.ac: Do not check
6955         libc_cv_asm_cfi_directives.
6956         * sysdeps/nptl/configure: Regenerated.
6957         * sysdeps/x86_64/nptl/configure.ac: Remove file.
6958         * sysdeps/x86_64/nptl/configure: Remove generated file.
6959         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
6960         unconditional.
6961         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
6962
6963 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
6964
6965         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
6966         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
6967         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
6968         it is defined.
6969
6970         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
6971         instead of whether it is defined.
6972         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
6973         * sysdeps/hppa/dl-machine.h: Likewise.
6974         * sysdeps/ia64/dl-machine.h: Likewise.
6975         * sysdeps/m68k/dl-machine.h: Likewise.
6976         * sysdeps/microblaze/dl-machine.h: Likewise.
6977         * sysdeps/mips/dl-machine.: Likewise.
6978         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
6979         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
6980         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
6981         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
6982         * sysdeps/sh/dl-machine.h: Likewise.
6983         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
6984         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
6985         * sysdeps/tile/dl-machine.h: Likewise.
6986         * sysdeps/x86_64/dl-machine.h: Likewise.
6987
6988         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
6989         code.
6990         (verify_persistent_db): Likewise.
6991
6992 2014-06-26  Roland McGrath  <roland@hack.frob.com>
6993
6994         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
6995         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
6996         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
6997         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
6998         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
6999         Moved ...
7000         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
7001         ... here.
7002         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
7003         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
7004         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
7005         Identical file removed.
7006         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
7007         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
7008         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
7009         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
7010         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
7011         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
7012         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
7013         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
7014         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
7015         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
7016         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
7017         Moved ...
7018         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
7019         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
7020         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
7021         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
7022         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
7023         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
7024         Moved ...
7025         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
7026         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
7027         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
7028         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
7029         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
7030         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
7031         Identical file removed.
7032         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
7033         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
7034         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
7035         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
7036         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
7037         Moved ...
7038         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
7039         ... here.
7040         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
7041         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
7042         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
7043         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
7044         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
7045         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
7046         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
7047         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
7048         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
7049         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
7050         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
7051         Moved ...
7052         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
7053         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
7054         Moved ...
7055         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
7056         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
7057         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
7058         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
7059         Moved ...
7060         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
7061         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
7062         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
7063
7064         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
7065         folded into ...
7066         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
7067         * sysdeps/unix/sysv/linux/s390/Versions
7068         (libpthread: GLIBC_2.19): New version set.
7069         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
7070         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
7071         (librt: GLIBC_2.3.3): New version set.
7072         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
7073         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
7074         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
7075         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
7076         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
7077         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
7078         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
7079         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
7080         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
7081         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
7082         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
7083         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
7084         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
7085         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
7086         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
7087         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
7088         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
7089         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
7090         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
7091         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
7092         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
7093         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
7094         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
7095         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
7096         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
7097         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
7098         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
7099         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
7100         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
7101         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
7102         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
7103         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
7104         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
7105         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
7106         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
7107         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
7108         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
7109         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
7110         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
7111         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
7112         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
7113         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
7114         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
7115         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
7116         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
7117
7118         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
7119         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
7120         (__libc_vfork): Define the function under this name.
7121         [!NOT_IN_libc] (__vfork): Make this an alias.
7122         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
7123         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
7124         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
7125         (__libc_vfork): Define the function under this name.
7126         [!NOT_IN_libc] (__vfork): Make this an alias.
7127         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
7128         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
7129         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
7130         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
7131         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
7132         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
7133
7134         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
7135         code that was previously under [RESET_PID].
7136         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
7137         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
7138         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
7139
7140         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
7141         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
7142         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
7143         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
7144         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
7145         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
7146         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
7147         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
7148         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
7149         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
7150         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
7151         Moved ...
7152         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
7153         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
7154         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
7155         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
7156         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
7157         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
7158         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
7159         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
7160         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
7161         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
7162         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
7163         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
7164         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
7165         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
7166         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
7167         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
7168         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
7169         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
7170         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
7171         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
7172         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
7173         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
7174         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
7175         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
7176         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
7177         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
7178         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
7179         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
7180         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
7181
7182 2014-06-25  Roland McGrath  <roland@hack.frob.com>
7183
7184         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
7185         that was previously under [RESET_PID].
7186         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
7187
7188 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
7189
7190         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
7191         not undefine and redefine.
7192         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
7193         [O_CLOEXEC]: Make code unconditional.
7194         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
7195         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
7196         <kernel-features.h>.
7197         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
7198         conditional variable definition.
7199         (shm_open) [O_CLOEXEC]: Make code unconditional.
7200         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
7201         code.
7202
7203         * configure.ac (USE_REGPARMS): Don't define here.
7204         * configure: Regenerated.
7205         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
7206         * sysdeps/i386/configure: Regenerated.
7207
7208         * nptl/createthread.c: Don't include kernel-features.h.
7209         * nptl/pthread_cancel.c: Likewise.
7210         * nptl/pthread_condattr_setclock.c: Likewise.
7211         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
7212         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
7213         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
7214         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
7215         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
7216         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
7217         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
7218         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
7219         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
7220         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
7221         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
7222         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
7223         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
7224         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
7225         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
7226         * nscd/gai.c: Likewise.
7227         * nss/nss_db/db-open.c: Likewise.
7228         * sysdeps/generic/ldsodefs.h: Likewise.
7229         * sysdeps/sh/nptl/tls.h: Likewise.
7230         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
7231         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
7232         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
7233         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
7234         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
7235         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
7236         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
7237         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
7238         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
7239         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
7240         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
7241         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
7242         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
7243         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
7244         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
7245         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
7246         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
7247         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
7248         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
7249         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
7250         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
7251         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
7252         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
7253         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
7254         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
7255         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
7256         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
7257         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
7258         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
7259         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
7260         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
7261         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
7262         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
7263         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
7264         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
7265         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
7266         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
7267         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
7268         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
7269         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
7270         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
7271         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
7272         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
7273         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
7274         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
7275         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
7276         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
7277         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
7278         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
7279         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
7280         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
7281         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
7282         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
7283         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
7284         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
7285         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
7286         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
7287         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
7288         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
7289         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
7290         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
7291         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
7292         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
7293         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
7294         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
7295         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
7296         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
7297         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
7298         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
7299         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
7300         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
7301         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
7302         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
7303         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
7304         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
7305         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
7306         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
7307         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
7308         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
7309         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
7310         * sysdeps/unix/sysv/linux/pread.c: Likewise.
7311         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
7312         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
7313         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
7314         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
7315         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
7316         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
7317         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
7318         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
7319         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
7320         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
7321         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
7322         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
7323         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
7324         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
7325         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
7326         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
7327         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
7328         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
7329         * sysdeps/unix/sysv/linux/system.c: Likewise.
7330         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
7331         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
7332         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
7333         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
7334         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
7335         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
7336         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
7337
7338         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
7339         * configure: Regenerated.
7340         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
7341
7342         * configure.ac (base_machine): Do not set specially for particular
7343         machines here.
7344         * configure: Regenerated.
7345         * sysdeps/powerpc/preconfigure: Move machine and base_machine
7346         settings from configure.ac.
7347         * sysdeps/i386/preconfigure: New file.
7348         * sysdeps/s390/preconfigure: Likewise.
7349         * sysdeps/sh/preconfigure: Likewise.
7350         * sysdeps/sparc/preconfigure: Likewise.
7351
7352 2014-06-25  Roland McGrath  <roland@hack.frob.com>
7353
7354         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
7355         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
7356         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
7357         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
7358         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
7359         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
7360         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
7361         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
7362         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
7363         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
7364         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
7365         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
7366         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
7367         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
7368         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
7369         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
7370         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
7371         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
7372         * sysdeps/sparc/sparc64/Makefile: ... appended here.
7373
7374         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
7375         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
7376         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
7377         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
7378         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
7379         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
7380         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
7381         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
7382         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
7383         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
7384         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
7385         * sysdeps/sparc/sparc32/sem_post.c: ... here.
7386         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
7387         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
7388         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
7389         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
7390         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
7391         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
7392         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
7393         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
7394         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
7395         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
7396         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
7397         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
7398         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
7399         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
7400         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
7401         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
7402         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
7403         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
7404         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
7405         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
7406         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
7407         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
7408         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
7409         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
7410         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
7411         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
7412
7413         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
7414         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
7415         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
7416         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
7417         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
7418         Moved ...
7419         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
7420         ... here.
7421         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
7422         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
7423         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
7424         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
7425         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
7426         Moved ...
7427         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
7428         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
7429         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
7430         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
7431         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
7432         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
7433         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
7434         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
7435         Moved ...
7436         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
7437         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
7438         Moved ...
7439         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
7440         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
7441         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
7442         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
7443         Moved ...
7444         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
7445         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
7446         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
7447         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
7448         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
7449         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
7450         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
7451         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
7452         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
7453         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
7454         Moved ...
7455         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
7456         ... here.
7457         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
7458         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
7459         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
7460         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
7461         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
7462         Moved ...
7463         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
7464         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
7465         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
7466         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
7467         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
7468         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
7469         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
7470         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
7471         Moved ...
7472         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
7473         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
7474         Moved ...
7475         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
7476         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
7477         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
7478         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
7479         Moved ...
7480         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
7481         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
7482         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
7483         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
7484         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
7485
7486 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
7487
7488         * timezone/checktab.awk: Update from tzcode 2014e.
7489         * timezone/private.h: Likewise.
7490         * timezone/tzfile.h: Likewise.
7491         * timezone/zdump.c: Likewise.
7492         * timezone/zic.c: Likewise.
7493
7494         * sysdeps/unix/sysv/linux/kernel-features.h
7495         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
7496         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
7497         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
7498         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
7499         Remove conditional code.
7500
7501 2014-06-25  Will Newton  <will.newton@linaro.org>
7502
7503         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
7504         (_dl_arm_cap_flags): Add HWCAP2 values.
7505         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
7506         (_DL_HWCAP_COUNT): Increase to 37.
7507         (_DL_HWCAP_LAST): New define.
7508         (_DL_HWCAP2_LAST): New define.
7509         (_dl_procinfo): Add support for printing
7510         AT_HWCAP2 entries.
7511         (_dl_string_hwcap): Use _dl_hwcap_string.
7512
7513 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7514
7515         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7516
7517 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
7518
7519         * README: Do not mention ports directory.
7520
7521         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
7522         Remove macro.
7523         * sysdeps/unix/sysv/linux/futimes.c: Do not include
7524         <kernel-features.h>.
7525         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
7526         conditional variable definition.
7527         (__futimes): Update comment.
7528         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
7529         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
7530
7531         [BZ #16560]
7532         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
7533         arguments close to 0.
7534         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
7535         Likewise.
7536         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
7537         Likewise.
7538         * math/auto-libm-test-in: Add more tests of exp10.
7539         * math/auto-libm-test-out: Regenerated.
7540         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7541
7542         * sysdeps/unix/sysv/linux/kernel-features.h
7543         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
7544         * sysdeps/unix/sysv/linux/readv.c: Do not include
7545         <kernel-features.h>.
7546         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
7547         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
7548         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
7549         unconditional.
7550         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
7551         conditional code.
7552         * sysdeps/unix/sysv/linux/writev.c: Do not include
7553         <kernel-features.h>.
7554         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
7555         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
7556         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
7557         unconditional.
7558         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
7559         conditional code.
7560
7561 2014-06-25  Will Newton  <will.newton@linaro.org>
7562
7563         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
7564         comment changes throughout the file.  Remove checks
7565         for HAVE_*_H definitions that are not required.
7566         (__gen_tempname): Call abort if an unknown kind value is
7567         passed.
7568
7569 2014-06-25  Andreas Schwab  <schwab@suse.de>
7570
7571         [BZ #17086]
7572         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
7573         scalbln, scalblnf, scalblnl in libc.
7574
7575 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
7576
7577         [BZ #17086]
7578         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
7579         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
7580         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
7581
7582 2014-06-24  Roland McGrath  <roland@hack.frob.com>
7583
7584         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
7585         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
7586         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
7587         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
7588         Update #include.
7589         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
7590         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
7591         Update #include.
7592         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
7593         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
7594         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
7595         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
7596         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
7597         * sysdeps/x86/bits/pthreadtypes.h: ... here.
7598         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
7599         * sysdeps/x86/bits/semaphore.h: ... here.
7600         * sysdeps/x86/nptl/elide.h: Moved ...
7601         * sysdeps/x86/elide.h: ... here.
7602         * sysdeps/x86_64/nptl/Implies: File removed.
7603         * sysdeps/i386/nptl/Implies: File removed.
7604
7605 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
7606
7607         [BZ #16539]
7608         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
7609         return the argument for normal arguments with exponent below -64.
7610         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
7611         Likewise.
7612         * math/auto-libm-test-in: Add another test of expm1.
7613         * math/auto-libm-test-out: Regenerated.
7614
7615         [BZ #16287]
7616         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
7617         calling __erfcl for arguments at least 16.
7618         * math/auto-libm-test-in: Add more tests of erf.
7619         * math/auto-libm-test-out: Regenerated.
7620
7621         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
7622         individual architectures.
7623         * sysdeps/unix/sysv/linux/configure: Regenerated.
7624         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
7625         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
7626         * sysdeps/unix/sysv/linux/powerpc/configure.ac
7627         (ldd_rewrite_script): Define variable.
7628         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
7629         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
7630         file.
7631         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
7632         generated file.
7633         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
7634         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
7635         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
7636         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
7637         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
7638         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
7639         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
7640         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
7641
7642 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
7643
7644         [BZ #17084]
7645         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
7646         Rename member __data.d to __data.__elision_data.
7647
7648 2014-06-24  Wilco  <wdijkstr@arm.com>
7649
7650         * NEWS: Add 16918 to fixed bug list.
7651
7652 2014-06-24  Wilco  <wdijkstr@arm.com>
7653
7654         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
7655
7656 2014-06-24  Wilco  <wdijkstr@arm.com>
7657
7658         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
7659         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
7660         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
7661         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
7662         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
7663         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
7664         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
7665         Use _FPU_MASK_RM.
7666
7667 2014-06-24  Wilco  <wdijkstr@arm.com>
7668
7669         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
7670
7671 2014-06-24  Wilco  <wdijkstr@arm.com>
7672
7673         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
7674         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
7675         * sysdeps/arm/fesetround.c (fesetround): Remove space.
7676         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
7677
7678 2014-06-24  Wilco  <wdijkstr@arm.com>
7679
7680         [BZ #16918]
7681         * sysdeps/arm/feupdateenv.c (feupdateenv):
7682         Rewrite to reduce FPSCR accesses and fix return value.
7683
7684 2014-06-24  Wilco  <wdijkstr@arm.com>
7685
7686         * sysdeps/arm/fclrexcpt.c (feclearexcept):
7687         Optimize to avoid unnecessary FPSCR writes.
7688         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
7689         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
7690         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
7691         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
7692
7693 2014-06-24  Wilco  <wdijkstr@arm.com>
7694
7695         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
7696         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
7697         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
7698         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
7699         Call libc_fetestexcept_vfp.
7700         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
7701         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
7702         __SOFTFP__ ifdef so that they can be built for softfp.
7703
7704 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
7705
7706         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
7707         argument type signed char.
7708
7709         * Makerules (check-abi): Dump diff of symlist if the test
7710         fails.
7711
7712 2014-06-23  Roland McGrath  <roland@hack.frob.com>
7713
7714         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
7715         using abort.
7716
7717         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
7718         Remove unused variable ST.
7719
7720 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
7721
7722         [BZ #16354]
7723         [BZ #17061]
7724         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
7725         small arguments before calling __expm1.
7726         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
7727         small arguments before calling __expm1f.
7728         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
7729         small arguments before calling __expm1l.
7730         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
7731         Likewise.
7732         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
7733         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
7734         spurious underflow for some cosh tests.
7735         * math/auto-libm-test-out: Regenerated.
7736         * sysdeps/i386/fpu/libm-test-ulps: Update.
7737
7738         [BZ #17050]
7739         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
7740         (__ieee754_y1): Set errno if return value overflows.
7741         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
7742         (__ieee754_y1f): Set errno if return value overflows.
7743         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
7744         (__ieee754_y1l): Set errno if return value overflows.
7745         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
7746         (__ieee754_y1l): Set errno if return value overflows.
7747         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
7748         * math/auto-libm-test-out: Regenerated.
7749
7750         * math/gen-auto-libm-tests.c: Document use of
7751         ignore-zero-inf-sign.
7752         (input_flag_type): Add value flag_ignore_zero_inf_sign.
7753         (input_flags): Add ignore-zero-inf-sign.
7754         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
7755         * math/gen-libm-test.pl (generate_testfile): Handle
7756         ignore-zero-inf-sign.
7757         * math/auto-libm-test-in: Mark some cpow tests with
7758         ignore-zero-inf-sign and some with xfail-rounding.
7759         * math/auto-libm-test-out: Regenerated.
7760         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
7761         * sysdeps/i386/fpu/libm-test-ulps: Update.
7762         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7763
7764         [BZ #16315]
7765         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
7766         overflowing or underflowing operations take place with sign of
7767         result.
7768         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
7769         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
7770         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
7771         (__ieee754_pow): Recompute overflowing and underflowing results in
7772         original rounding mode.
7773         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
7774         (__powl_helper): Allow negative argument X and scale negated value
7775         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
7776         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
7777         overflowing or underflowing operations take place with sign of
7778         result.
7779         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
7780         Include <math.h>.
7781         * math/auto-libm-test-in: Add more tests of pow.
7782         * math/auto-libm-test-out: Regenerated.
7783         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
7784         (pow_tonearest_test_data): Remove.
7785         (pow_test_tonearest): Likewise.
7786         (pow_towardzero_test_data): Likewise.
7787         (pow_test_towardzero): Likewise.
7788         (pow_downward_test_data): Likewise.
7789         (pow_test_downward): Likewise.
7790         (pow_upward_test_data): Likewise.
7791         (pow_test_upward): Likewise.
7792         (main): Don't call removed functions.
7793         * sysdeps/i386/fpu/libm-test-ulps: Update.
7794         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7795
7796 2014-06-23  Roland McGrath  <roland@hack.frob.com>
7797
7798         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
7799         Moved ...
7800         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
7801         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7802         Moved ...
7803         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
7804         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
7805         Moved ...
7806         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
7807         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
7808         Moved ...
7809         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
7810         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
7811         File removed.
7812         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
7813         File removed.
7814         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
7815         File removed.
7816         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
7817         File removed.
7818         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
7819         File removed.
7820         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
7821         File removed.
7822         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
7823         File removed.
7824         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
7825         File removed.
7826         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
7827         File removed.
7828         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
7829         File removed.
7830         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
7831         File removed.
7832         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
7833         File removed.
7834         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
7835         Moved ...
7836         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
7837         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
7838         Moved ...
7839         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
7840         ... here.
7841         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
7842         Moved ...
7843         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
7844         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
7845         Moved ...
7846         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
7847         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
7848         Moved ...
7849         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
7850         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
7851         Moved ...
7852         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
7853         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
7854         Moved ...
7855         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
7856         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
7857         Moved ...
7858         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
7859         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
7860         Moved ...
7861         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
7862         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
7863         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
7864         ... here.
7865         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
7866         Moved ...
7867         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
7868         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
7869         Moved ...
7870         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
7871         ... here.
7872         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
7873         Moved ...
7874         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
7875         ... here.
7876         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
7877         Moved ...
7878         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
7879         ... here.
7880         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
7881         Moved ...
7882         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
7883         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
7884         Moved ...
7885         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
7886         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
7887         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
7888         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
7889         Moved ...
7890         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
7891         ... here.
7892         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
7893         Moved ...
7894         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
7895         ... here.
7896         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
7897         Moved ...
7898         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
7899         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
7900         Moved ...
7901         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
7902         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
7903         Moved ...
7904         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
7905         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7906         Moved ...
7907         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
7908         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
7909         Moved ...
7910         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
7911         ... here.
7912         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
7913         Moved ...
7914         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
7915         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
7916         Moved ...
7917         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
7918         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
7919         Moved ...
7920         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
7921         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
7922         Moved ...
7923         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
7924         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
7925         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
7926         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
7927         Moved ...
7928         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
7929         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
7930         Moved ...
7931         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
7932         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
7933         Moved ...
7934         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
7935         ... here.
7936         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
7937         Moved ...
7938         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
7939         ... here.
7940         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
7941         Moved ...
7942         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
7943         ... here.
7944         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
7945         Moved ...
7946         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
7947         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
7948         Moved ...
7949         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
7950         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
7951         Moved ...
7952         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
7953         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
7954         Moved ...
7955         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
7956         ... here.
7957         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
7958         Moved ...
7959         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
7960         ... here.
7961         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
7962         Moved ...
7963         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
7964         ... here.
7965         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
7966         Moved ...
7967         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
7968         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
7969         Moved ...
7970         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
7971
7972 2014-06-23  Will Newton  <will.newton@linaro.org>
7973             Wilco  <wdijkstr@arm.com>
7974
7975         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
7976         implementation.  Include get-rounding-mode.h.
7977         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
7978         [!libc_feholdsetround_noex_ctx]: Define
7979         libc_feholdsetround_noex_ctx.
7980         [!libc_feholdsetround_noexf_ctx]: Define
7981         libc_feholdsetround_noexf_ctx.
7982         [!libc_feholdsetround_noexl_ctx]: Define
7983         libc_feholdsetround_noexl_ctx.
7984         (libc_feholdsetround_ctx): New function.
7985         (libc_feresetround_ctx): New function.
7986         (libc_feholdsetround_noex_ctx): New function.
7987         (libc_feresetround_noex_ctx): New function.
7988
7989 2014-06-23  Roland McGrath  <roland@hack.frob.com>
7990
7991         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
7992         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
7993         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
7994         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
7995         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
7996         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
7997
7998         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
7999         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
8000         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
8001         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
8002         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
8003         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
8004         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
8005         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
8006         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
8007         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
8008         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
8009         Moved ...
8010         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
8011         ... here.
8012         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
8013         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
8014         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
8015         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
8016         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
8017         Moved ...
8018         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
8019         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
8020         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
8021         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
8022         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
8023         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
8024         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
8025         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
8026         Moved ...
8027         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
8028         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
8029         Moved ...
8030         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
8031         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
8032         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
8033         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
8034         Moved ...
8035         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
8036         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
8037         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
8038         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
8039         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
8040         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
8041         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
8042         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
8043         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
8044         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
8045         Moved ...
8046         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
8047         ... here.
8048         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
8049         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
8050         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
8051         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
8052         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
8053         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
8054         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
8055         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
8056         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
8057         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
8058         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
8059         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
8060         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
8061         Moved ...
8062         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
8063         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
8064         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
8065         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
8066         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
8067         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
8068         Moved ...
8069         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
8070         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
8071         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
8072         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
8073         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
8074
8075         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
8076         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
8077         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
8078         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
8079         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
8080         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
8081         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
8082         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
8083         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
8084         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
8085         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
8086         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
8087         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
8088         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
8089         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
8090         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
8091         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
8092         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
8093         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
8094         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
8095         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
8096         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
8097         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
8098         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
8099         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
8100         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
8101         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
8102         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
8103
8104 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
8105
8106         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
8107         (FALLOC_FL_COLLAPSE_RANGE): New macro.
8108         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
8109         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
8110         (IPV6_PMTUDISC_INTERFACE): Likewise.
8111         (IPV6_PMTUDISC_OMIT): Likewise.
8112
8113 2014-06-23  Andreas Schwab  <schwab@suse.de>
8114
8115         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
8116         Remove unused errout label.
8117
8118 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8119
8120         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
8121         macro: hardware supports Vector Crypto instructions.
8122
8123 2014-06-23  Will Newton  <will.newton@linaro.org>
8124
8125         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
8126         rather than __builtin_expect.
8127
8128         * elf/dl-lookup.c (undefined_msg): Remove variable.
8129         (_dl_lookup_symbol_x): Replace undefined_msg with string
8130         literal.
8131
8132         * elf/dl-lookup.c (do_lookup_unique): New function.
8133         (do_lookup_x): Move STB_GNU_UNIQUE handling code
8134         to a separate function.
8135
8136 2014-06-23  Andreas Schwab  <schwab@suse.de>
8137
8138         [BZ #17079]
8139         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
8140         before reading the next line.
8141
8142 2014-06-23  Will Newton  <will.newton@linaro.org>
8143
8144         * test-skeleton.c (signal_handler): Use printf and %m
8145         rather than perror.  Use printf rather than fprintf to
8146         stderr.  Use puts rather than fputs to stderr.
8147         (main): Likewise.
8148
8149 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
8150
8151         * nscd/nscd.c (thread_info_t): Remove typedef.
8152         (thread_info): Remove variable.
8153
8154 2014-06-21  Allan McRae  <allan@archlinux.org>
8155
8156         * NEWS: Mention CVE-2014-4043.
8157
8158 2014-06-20  Roland McGrath  <roland@hack.frob.com>
8159
8160         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
8161         * nptl/smp.h: ... here.
8162
8163         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
8164
8165         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
8166         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
8167         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
8168         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
8169
8170         * nptl/allocatestack.c: Include <stack-aliasing.h>.
8171         * nptl/stack-aliasing.h: New file.
8172         * sysdeps/i386/i686/stack-aliasing.h: New file.
8173         * sysdeps/i386/i686/nptl/Makefile: File removed.
8174         * sysdeps/x86_64/stack-aliasing.h: New file.
8175         * sysdeps/x86_64/nptl/Makefile
8176         (CFLAGS-pthread_create.c): Variable removed.
8177
8178         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
8179         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
8180         old file.
8181         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
8182         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
8183         old file.
8184
8185 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
8186
8187         * sysdeps/unix/sysv/linux/arm/kernel-features.h
8188         (__ASSUME_SIGFRAME_V2): Remove macro.
8189         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
8190         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
8191         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
8192         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
8193         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
8194         Declare as function.  Remove conditional macro definitions.
8195         (__default_rt_sa_restorer): Likewise.
8196         (__default_sa_restorer_v1): Remove declaration.
8197         (__default_sa_restorer_v2): Likewise.
8198         (__default_rt_sa_restorer_v1): Likewise.
8199         (__default_rt_sa_restorer_v2): Likewise.
8200         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
8201         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
8202         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
8203
8204 2014-06-20  Roland McGrath  <roland@hack.frob.com>
8205
8206         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
8207         (libpthread-routines): Add sysdep.
8208         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
8209         * sysdeps/unix/sysv/linux/sparc/Versions
8210         (libpthread: GLIBC_2.3.3): New version set.
8211         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
8212         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
8213         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
8214         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
8215         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
8216         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
8217         Moved ...
8218         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
8219         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
8220         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
8221         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
8222         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
8223         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
8224         * sysdeps/sparc/nptl/sem_init.c: ... here.
8225         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
8226         * sysdeps/sparc/nptl/sem_post.c: ... here.
8227         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
8228         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
8229         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
8230         * sysdeps/sparc/nptl/sem_wait.c: ... here.
8231         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
8232         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
8233         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
8234         (libpthread-routines): Add cpu_relax.
8235         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
8236         File removed.
8237         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
8238         (librt: GLIBC_2.3.3): New version set.
8239         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
8240         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
8241         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
8242         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
8243         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
8244         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
8245         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
8246         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
8247         Moved ...
8248         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
8249         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
8250         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
8251         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
8252         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
8253         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
8254         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
8255         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
8256         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
8257         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
8258         Moved ...
8259         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
8260         Update #include.
8261         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
8262         Moved ...
8263         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
8264         Update #include.
8265         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
8266         Moved ...
8267         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
8268         Update #include.
8269         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
8270         Moved ...
8271         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
8272         Update #include.
8273         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
8274         Moved ...
8275         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
8276         Update #include.
8277         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
8278         Moved ...
8279         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
8280         Update #include.
8281         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
8282         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
8283         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
8284         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
8285         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
8286         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
8287         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
8288         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
8289         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
8290         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
8291         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
8292         Moved ...
8293         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
8294         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
8295         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
8296         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
8297         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
8298
8299 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
8300
8301         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
8302         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
8303         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
8304         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
8305         * nscd/nscd.c: Likewise.
8306         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
8307         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
8308         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
8309         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
8310
8311         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
8312         <kernel-features.h>.
8313         (init_mq_netlink): Remove conditional have_sock_cloexec
8314         definitions.  Remove code conditional on have_sock_cloexec < 0.
8315         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
8316         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
8317         * sysdeps/unix/sysv/linux/opensock.c: Do not include
8318         <kernel-features.h>.
8319         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
8320         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
8321
8322 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
8323
8324         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
8325         Add tests for memset_chk and memset.
8326
8327         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
8328         with AVX2_Usable.
8329
8330 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
8331
8332         [BZ #16046]
8333         * elf/tst-dl-iter-static.c: New file.
8334         * elf/Makefile (tests-static): Add tst-dl-iter-static.
8335
8336         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
8337         error.
8338
8339 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
8340
8341         * sysdeps/unix/sysv/linux/kernel-features.h
8342         (__ASSUME_F_GETOWN_EX): Remove macro.
8343         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
8344         <kernel-features.h>.
8345         (miss_F_GETOWN_EX): Remove variable or macro.
8346         (do_fcntl): Do not check miss_F_GETOWN_EX.
8347         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
8348
8349         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
8350         Remove macro.
8351         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
8352         [!__ASSUME_AT_RANDOM]: Remove conditional code.
8353         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
8354
8355         * sysdeps/unix/sysv/linux/kernel-features.h
8356         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
8357         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
8358         [ADJ_OFFSET_SS_READ]: Make code unconditional.
8359         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
8360
8361 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
8362
8363         [BZ #17075]
8364         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
8365         Fix calculation of the symbol's value.
8366         * sysdeps/arm/tst-armtlsdescloc.c: New file.
8367         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
8368         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
8369         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
8370         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
8371         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
8372         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
8373         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
8374         (modules-names): Add `tst-armtlsdescmod',
8375         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
8376         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
8377         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
8378         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
8379         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
8380         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
8381         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
8382         ($(objpfx)tst-armtlsdescloc): New dependency.
8383         ($(objpfx)tst-armtlsdescextnow): Likewise.
8384         ($(objpfx)tst-armtlsdescextlazy): Likewise.
8385         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
8386         TLS scheme support.
8387         * sysdeps/arm/configure: Regenerate.
8388
8389 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
8390
8391         * include/fcntl.h (__atfct_seterrno): Remove prototype.
8392         (__atfct_seterrno_2): Likewise.
8393         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
8394         <kernel-features.h>.
8395         (__ASSUME_ATFCTS): Do not undefine and redefine.
8396         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
8397         (__have_atfcts): Remove conditional definition.
8398         (__fxstatat([__NR_fstatat64]: Make code unconditional.
8399         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
8400         unreachable if [__ASSUME_ATFCTS].
8401         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
8402         not undefine and redefine.
8403         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
8404         <kernel-features.h>.
8405         (faccessat) [__NR_faccessat]: Make code unconditional.
8406         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
8407         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
8408         <kernel-features.h>.
8409         (fchmodat) [__NR_fchmodat]: Make code unconditional.
8410         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
8411         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
8412         <kernel-features.h>.
8413         (fchownat) [__NR_fchownat]: Make code unconditional.
8414         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
8415         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
8416         <kernel-features.h>.
8417         (futimesat) [__NR_futimesat]: Make code unconditional.
8418         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
8419         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
8420         <kernel-features.h>.
8421         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
8422         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
8423         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
8424         <kernel-features.h>.
8425         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
8426         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
8427         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
8428         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
8429         <kernel-features.h>.
8430         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
8431         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
8432         * sysdeps/unix/sysv/linux/linkat.c: Do not include
8433         <kernel-features.h>.
8434         (linkat) [__NR_linkat]: Make code unconditional.
8435         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
8436         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
8437         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
8438         <kernel-features.h>.
8439         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
8440         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
8441         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
8442         <kernel-features.h>.
8443         (mkdirat) [__NR_mkdirat]: Make code unconditional.
8444         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
8445         * sysdeps/unix/sysv/linux/openat.c: Do not include
8446         <kernel-features.h>.
8447         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
8448         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
8449         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
8450         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
8451         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
8452         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
8453         <kernel-features.h>.
8454         (readlinkat) [__NR_readlinkat]: Make code unconditional.
8455         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
8456         result of INLINE_SYSCALL directly, not via int variable.
8457         * sysdeps/unix/sysv/linux/renameat.c: Do not include
8458         <kernel-features.h>.
8459         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
8460         (renameat) [__NR_renameat]: Make code unconditional.
8461         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
8462         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
8463         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
8464         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
8465         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
8466         (__ASSUME_ATFCTS): Do not undefine and redefine.
8467         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
8468         <kernel-features.h>.
8469         (symlinkat) [__NR_symlinkat]: Make code unconditional.
8470         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
8471         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
8472         <kernel-features.h>.
8473         (unlinkat) [__NR_unlinkat]: Make code unconditional.
8474         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
8475         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
8476         (__ASSUME_ATFCTS): Do not undefine and redefine.
8477         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
8478         <kernel-features.h>.
8479         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
8480         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
8481         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
8482         <kernel-features.h>.
8483         (__xmknodat) [__NR_mknodat]: Make code unconditional.
8484         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
8485
8486 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
8487
8488         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
8489
8490 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
8491
8492         [BZ #17069]
8493         * posix/regcomp.c (parse_reg_exp): Deallocate partially
8494         constructed tree before returning error.
8495         * posix/bug-regexp36.c: Expand test case.
8496
8497 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
8498
8499         [BZ #6803]
8500         * math/libm-test.inc (scalbln_test_date):
8501         Add errno expectations.
8502         * math/w_scalblnf.c: New File.
8503         Add wrapper which checks for setting errno to ERANGE.
8504         Add weak_alias for corresponding scalbln function.
8505         * math/w_scalbln.c: Likewise.
8506         * math/w_scalblnl.c: Likewise.
8507         * math/Makefile (libm-calls): Add w_scalbln.
8508         * sysdeps/ieee754/flt-32/s_scalblnf.c:
8509         Remove weak_alias for corresponding scalbln function.
8510         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
8511         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
8512         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
8513         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
8514         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
8515         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
8516         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
8517         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
8518         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
8519         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
8520         Remove long_double_symbol for scalblnl function in libm, libc.
8521         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
8522         Add wrapper which checks for setting errno to ERANGE.
8523         Add long_double_symbol for scalblnl function in libm, libc.
8524         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
8525         Remove long_double_symbol for scalblnl in libm.
8526         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
8527         Add wrapper which checks for setting errno to ERANGE.
8528         Add long_double_symbol for scalblnl function in libm.
8529         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
8530         Do not use wrapper because of own implementation.
8531
8532 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
8533
8534         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
8535         3 bytes for __pad1 for x32.
8536         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
8537
8538 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
8539             H.J. Lu  <hongjiu.lu@intel.com>
8540
8541         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
8542         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
8543         * sysdeps/x86_64/multiarch/memset.S: Likewise.
8544         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
8545         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
8546
8547 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
8548
8549         [BZ #17069]
8550         * posix/regcomp.c (parse_expression): Deallocate partially
8551         constructed tree before returning error.
8552         * posix/Makefile.c (tests): Add bug-regex36.
8553         (generated): Add bug-regex36.mtrace.
8554         (tests-special): Add $(objpfx)bug-regex36-mem.out
8555         (bug-regex36-ENV): New variable.
8556         ($(objpfx)bug-regex36-mem.out): New rule.
8557         * posix/bug-regex36.c: New file.
8558
8559 2014-06-19  Will Newton  <will.newton@linaro.org>
8560
8561         * malloc/malloc.c (systrim): If extra is zero then return
8562         early.
8563
8564 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
8565
8566         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
8567
8568 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
8569
8570         * sysdeps/aarch64/strchr.S: New file.
8571
8572 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
8573
8574         [BZ #17022]
8575         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
8576         from arguments -2 or below.
8577         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
8578         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
8579
8580 2014-06-18  Andreas Schwab  <schwab@suse.de>
8581
8582         [BZ #17062]
8583         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
8584         of a bracket expr not to run off the end of the string.
8585         * posix/Makefile (tests): Add tst-fnmatch3.
8586         * posix/tst-fnmatch3.c: New file.
8587
8588 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
8589
8590         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
8591         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
8592         [$(cross-compiling) = no]: Likewise.
8593         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
8594         [$(cross-compiling) = no]: Likewise.
8595
8596 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8597
8598         [BZ #17031]
8599         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
8600         double, adjusted for any remainder from the high double.
8601         * math/libm-test.inc (nearbyint): Add tests.
8602         (rint): Likewise.
8603
8604 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8605
8606         * nptl/sysdeps/powerpc/Makefile: Moved ...
8607         * sysdeps/powerpc/nptl/Makefile: ... here.
8608         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
8609         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
8610         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
8611         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
8612         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
8613         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
8614         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
8615         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
8616         * nptl/sysdeps/powerpc/tls.h: Moved ...
8617         * sysdeps/powerpc/nptl/tls.h: ... here.
8618
8619 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
8620
8621         [BZ #16681]
8622         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
8623         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
8624         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
8625         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
8626         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
8627         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
8628         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
8629         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
8630         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
8631
8632 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
8633
8634         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
8635
8636 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
8637
8638         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
8639         defined operator.
8640
8641         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
8642         $TIMEOUTFACTOR.
8643
8644 2014-06-16  Florian Weimer  <fweimer@redhat.com>
8645
8646         [BZ #17058]
8647         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
8648         non-executed part of the test.
8649
8650 2014-06-16  Andreas Schwab  <schwab@suse.de>
8651
8652         * string/bits/string2.h (strdup, strndup): Update feature guard.
8653
8654 2014-06-14  David S. Miller  <davem@davemloft.net>
8655
8656         * sysdeps/sparc/fpu/libm-test-ulps: Update.
8657
8658 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
8659
8660         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
8661         that was previously under [RESET_PID].
8662         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
8663
8664         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
8665         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
8666         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
8667         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
8668         (__libc_vfork): New strong alias.
8669         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
8670
8671 2014-06-14 Andi Kleen  <ak@linux.intel.com>
8672
8673         * sysdeps/generic/elide.h: New file.
8674
8675 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
8676
8677         * Makefile (installed-headers): Adjust path of pthread.h header.
8678
8679 2014-06-13  Roland McGrath  <roland@hack.frob.com>
8680
8681         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
8682         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
8683         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
8684         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
8685
8686         * nptl/sysdeps/s390/Makefile: Moved ...
8687         * sysdeps/s390/nptl/Makefile: ... here.
8688         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
8689         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
8690         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
8691         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
8692         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
8693         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
8694         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
8695         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
8696         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
8697         * sysdeps/s390/nptl/pthreaddef.h: ... here.
8698         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
8699         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
8700         * nptl/sysdeps/s390/tls.h: Moved ...
8701         * sysdeps/s390/nptl/tls.h: ... here.
8702
8703         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
8704         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
8705
8706 2014-06-13  David S. Miller  <davem@davemloft.net>
8707
8708         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
8709         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
8710         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
8711         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
8712         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
8713         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
8714         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
8715         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
8716         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
8717         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
8718         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
8719         Remove RESET_PID cpp guards.
8720         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
8721         Remove RESET_PID cpp guards.
8722         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
8723
8724 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
8725
8726         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
8727         __sp to uintptr_t.
8728
8729 2014-06-13  Andi Kleen  <ak@linux.intel.com>
8730
8731         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
8732         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
8733         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
8734         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
8735         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
8736         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
8737         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
8738         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
8739         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
8740         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
8741         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
8742         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
8743         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
8744         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
8745         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
8746         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
8747         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
8748         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
8749         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
8750         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
8751
8752         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
8753         (pthread_rwlock_rdlock): Add elision.
8754         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
8755         (pthread_rwlock_wrlock): Add elision.
8756         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
8757         (pthread_rwlock_trywrlock): Add elision.
8758         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
8759         (pthread_rwlock_tryrdlock): Add elision.
8760         * nptl/pthread_rwlock_unlock.c: Include elide.h.
8761         (pthread_rwlock_tryrdlock): Add elision unlock.
8762         * nptl/sysdeps/pthread/pthread.h:
8763         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
8764         (PTHREAD_RWLOCK_INITIALIZER,
8765         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
8766         Handle new elision field.
8767         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
8768         * sysdeps/arm/nptl/bits/pthreadtypes.h
8769         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8770         * sysdeps/sh/nptl/bits/pthreadtypes.h
8771         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8772         * sysdeps/tile/nptl/bits/pthreadtypes.h
8773         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8774         * sysdeps/a/nptl/bits/pthreadtypes.h
8775         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8776         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
8777         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8778         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
8779         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8780         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
8781         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8782         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
8783         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8784         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
8785         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8786         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
8787         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8788         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
8789         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8790         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
8791         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8792         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
8793         (elision_init): Set try_xbegin to zero when no RTM.
8794         * sysdeps/x86/nptl/bits/pthreadtypes.h
8795         (pthread_rwlock_t): Change __pad1 to __rwelision.
8796         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8797
8798 2014-06-13  Andi Kleen  <ak@linux.intel.com>
8799
8800         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
8801         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
8802         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
8803         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
8804
8805 2014-06-13  Meador Inge  <meadori@codesourcery.com>
8806
8807         [BZ #16996]
8808         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
8809         that the cached result has been set before returning it.
8810
8811 2014-06-12  Roland McGrath  <roland@hack.frob.com>
8812
8813         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
8814         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
8815         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
8816         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
8817         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
8818         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
8819
8820         * nptl/sysdeps/sparc/Makefile: Moved ...
8821         * sysdeps/sparc/nptl/Makefile: ... here.
8822         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
8823         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
8824         * nptl/sysdeps/sparc/tls.h: Moved ...
8825         * sysdeps/sparc/nptl/tls.h: ... here.
8826         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
8827         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
8828         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
8829         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
8830         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
8831         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
8832         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
8833         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
8834         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
8835         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
8836         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
8837         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
8838         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
8839         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
8840         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
8841         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
8842         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
8843         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
8844         Update #include.
8845         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
8846         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
8847         Update #include.
8848         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
8849         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
8850         Update #include.
8851         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
8852         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
8853         Update #include.
8854
8855         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
8856
8857         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
8858         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
8859
8860         * sysdeps/pthread/posix-timer.h: Include <list.h>.
8861         (struct list_links): Type removed.
8862         (struct thread_node, struct timer_node): Replace struct list_links
8863         with struct list_head.
8864         (list_unlink_ip): Likewise.
8865         * sysdeps/pthread/timer_routines.c
8866         (timer_free_list, thread_free_list, thread_active_list): Likewise.
8867         (list_append, list_insbefore): Likewise.
8868         (list_init): Function removed.
8869         (thread_init, init_module): Use INIT_LIST_HEAD instead.
8870         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
8871         * sysdeps/pthread/Makefile: ... here, new file.
8872
8873         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
8874         * sysdeps/nptl/Implies: ... here.
8875         * sysdeps/unix/sysv/linux/Implies: Add nptl.
8876         * nptl/sysdeps/pthread/list.h: Moved ...
8877         * include/list.h: ... here.
8878         * nptl/sysdeps/pthread/createthread.c: Moved ...
8879         * nptl/createthread.c: ... here.
8880         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
8881         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
8882         * nptl/pt-longjmp.c: ... here.
8883         * nptl/sysdeps/pthread/Makefile: Moved ...
8884         * sysdeps/nptl/Makefile: ... here.
8885         * nptl/sysdeps/pthread/Subdirs: Moved ...
8886         * sysdeps/nptl/Subdirs: ... here.
8887         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
8888         * sysdeps/nptl/aio_misc.h: ... here.
8889         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
8890         * sysdeps/nptl/bits/libc-lock.h: ... here.
8891         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
8892         * sysdeps/nptl/bits/libc-lockP.h: ... here.
8893         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
8894         * sysdeps/nptl/bits/stdio-lock.h: ... here.
8895         * nptl/sysdeps/pthread/configure: Moved ...
8896         * sysdeps/nptl/configure: ... here.
8897         * nptl/sysdeps/pthread/configure.ac: Moved ...
8898         * sysdeps/nptl/configure.ac: ... here.
8899         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
8900         * sysdeps/nptl/gai_misc.h: ... here.
8901         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
8902         * sysdeps/nptl/librt-cancellation.c: ... here.
8903         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
8904         * sysdeps/nptl/malloc-machine.h: ... here.
8905         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
8906         * sysdeps/nptl/pthread-functions.h: ... here.
8907         * nptl/sysdeps/pthread/pthread.h: Moved ...
8908         * sysdeps/nptl/pthread.h: ... here.
8909         * nptl/sysdeps/pthread/setxid.h: Moved ...
8910         * sysdeps/nptl/setxid.h: ... here.
8911         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
8912         * sysdeps/nptl/sigfillset.c: ... here.
8913         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
8914         * sysdeps/nptl/tcb-offsets.h: ... here.
8915         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
8916         * sysdeps/nptl/tst-mqueue8x.c: ... here.
8917         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
8918         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
8919         * nptl/sysdeps/pthread/allocalim.h: Moved ...
8920         * sysdeps/pthread/allocalim.h: ... here.
8921         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
8922         * sysdeps/pthread/bits/sigthread.h: ... here.
8923         * nptl/sysdeps/pthread/flockfile.c: Moved ...
8924         * sysdeps/pthread/flockfile.c: ... here.
8925         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
8926         * sysdeps/pthread/ftrylockfile.c: ... here.
8927         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
8928         * sysdeps/pthread/funlockfile.c: ... here.
8929         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
8930         * sysdeps/pthread/posix-timer.h: ... here.
8931         * nptl/sysdeps/pthread/timer_create.c: Moved ...
8932         * sysdeps/pthread/timer_create.c: ... here.
8933         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
8934         * sysdeps/pthread/timer_delete.c: ... here.
8935         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
8936         * sysdeps/pthread/timer_getoverr.c: ... here.
8937         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
8938         * sysdeps/pthread/timer_gettime.c: ... here.
8939         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
8940         * sysdeps/pthread/timer_routines.c: ... here.
8941         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
8942         * sysdeps/pthread/timer_settime.c: ... here.
8943         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
8944         * sysdeps/pthread/tst-timer.c: ... here.
8945         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
8946         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
8947
8948         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
8949         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
8950
8951         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
8952         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
8953         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
8954         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
8955         Update #include target.
8956         * nptl/sysdeps/i386/i686/Makefile: Moved ...
8957         * sysdeps/i386/i686/nptl/Makefile: ... here.
8958         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
8959         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
8960         Update #include target.
8961         * nptl/sysdeps/i386/i686/tls.h: Moved ...
8962         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
8963         * nptl/sysdeps/i386/Makefile: Moved ...
8964         * sysdeps/i386/nptl/Makefile: ... here.
8965         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
8966         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
8967         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
8968         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
8969         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
8970         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
8971         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
8972         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
8973         * sysdeps/i386/nptl/pthreaddef.h: ... here.
8974         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
8975         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
8976         * nptl/sysdeps/i386/tls.h: Moved ...
8977         * sysdeps/i386/nptl/tls.h: ... here.
8978
8979         * sysdeps/sh/Makefile [$(subdir) = csu]
8980         (gen-as-const-headers): Add tcb-offsets.sym.
8981         * nptl/sysdeps/sh/Makefile: File removed.
8982         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
8983         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
8984         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
8985         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
8986         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
8987         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
8988         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
8989         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
8990         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
8991         * sysdeps/sh/nptl/pthreaddef.h: ... here.
8992         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
8993         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
8994         * nptl/sysdeps/sh/tls.h: Moved ...
8995         * sysdeps/sh/nptl/tls.h: ... here.
8996         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
8997         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
8998         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
8999         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
9000         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
9001         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
9002         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
9003         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
9004         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
9005         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
9006         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
9007         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
9008         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
9009         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
9010         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
9011         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
9012         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
9013         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
9014         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
9015         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
9016         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
9017         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
9018         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
9019         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
9020         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
9021         Moved ...
9022         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
9023         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
9024         Moved ...
9025         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
9026         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
9027         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
9028         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
9029         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
9030         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
9031         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
9032         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
9033         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
9034         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
9035         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
9036         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
9037         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
9038         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
9039         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
9040         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
9041         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
9042         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
9043         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
9044
9045 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
9046
9047         * posix/spawn_faction_addopen.c: Include string.h.
9048
9049 2014-06-11  Roland McGrath  <roland@hack.frob.com>
9050
9051         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
9052         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
9053         * nptl/sysdeps/x86_64/Makefile: Moved ...
9054         * sysdeps/x86_64/nptl/Makefile: ... here.
9055         * nptl/sysdeps/x86_64/configure: Moved ...
9056         * sysdeps/x86_64/nptl/configure: ... here.
9057         * nptl/sysdeps/x86_64/configure.ac: Moved ...
9058         * sysdeps/x86_64/nptl/configure.ac: ... here.
9059         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
9060         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
9061         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
9062         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
9063         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
9064         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
9065         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
9066         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
9067         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
9068         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
9069         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
9070         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
9071         * nptl/sysdeps/x86_64/tls.h: Moved ...
9072         * sysdeps/x86_64/nptl/tls.h: ... here.
9073         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
9074         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
9075         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
9076         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
9077
9078         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
9079
9080 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9081
9082         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9083
9084 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
9085
9086         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
9087         type.
9088         [POSIX] (off_t): Likewise.
9089         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
9090         [POSIX] (S_ISBLK): Require macro.
9091         [POSIX] (S_ISCHR): Likewise.
9092         [POSIX] (S_ISDIR): Likewise.
9093         [POSIX] (S_ISFIFO): Likewise.
9094         [POSIX] (S_ISREG): Likewise.
9095         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
9096         optional-macro.
9097         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
9098         type.
9099         [POSIX] (time_t): Likewise.
9100         [POSIX] (timer_t): Likewise.
9101
9102 2014-06-11  Florian Weimer  <fweimer@redhat.com>
9103
9104         [BZ #17048]
9105         * posix/spawn_int.h (struct __spawn_action): Make the path string
9106         non-const to support deallocation.
9107         * posix/spawn_faction_addopen.c
9108         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
9109         * posix/spawn_faction_destroy.c
9110         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
9111         path in all spawn_do_open actions.
9112         * posix/tst-spawn.c (do_test): Exercise the copy operation in
9113         posix_spawn_file_actions_addopen.
9114
9115 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
9116
9117         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
9118         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
9119         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
9120         conditional code always true.
9121         (__libc_vfork): New alias.
9122
9123 2014-06-11  Roland McGrath  <roland@hack.frob.com>
9124
9125         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
9126         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
9127
9128         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
9129
9130         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
9131         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
9132
9133         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
9134         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
9135
9136         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
9137         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
9138
9139 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
9140
9141         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
9142         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
9143         multiarch strcmp for PPC64.
9144         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
9145         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
9146         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
9147         multiarch optimizations.
9148         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9149         (__libc_ifunc_impl_list): Likewise.
9150
9151 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
9152
9153         * benchtests/scripts/validate_benchout.py: New script.
9154         * benchtests/Makefile (bench-func): Call it.
9155         * benchtests/scripts/benchout.schema.json: New file.
9156
9157 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
9158
9159         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
9160         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
9161         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
9162         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
9163         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
9164         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
9165         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
9166         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
9167         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
9168         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
9169         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
9170         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
9171         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
9172         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
9173         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
9174         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
9175         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
9176         Moved ...
9177         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
9178         ... here.
9179         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
9180         Moved ...
9181         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
9182         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
9183         Moved ...
9184         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
9185         ... here.
9186         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
9187         Moved ...
9188         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
9189         ... here.
9190         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
9191         Moved ...
9192         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
9193         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
9194         Moved ...
9195         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
9196         ... here.
9197         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
9198         Moved ...
9199         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
9200         ... here.
9201         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
9202         Moved ...
9203         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
9204         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
9205         Moved ...
9206         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
9207         ... here.
9208         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
9209         Moved ...
9210         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
9211         ... here.
9212         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
9213         Moved ...
9214         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
9215         ... here.
9216         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
9217         Moved ...
9218         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
9219         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
9220         Moved ...
9221         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
9222         ... here.
9223         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
9224         Moved ...
9225         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
9226         ... here.
9227         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
9228         Moved ...
9229         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
9230         ... here.
9231         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
9232         Moved ...
9233         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
9234         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
9235         Moved ...
9236         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
9237         ... here.
9238         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
9239         Moved ...
9240         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
9241         ... here.
9242         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
9243         Moved ...
9244         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
9245         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
9246         Moved ...
9247         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
9248         ... here.
9249         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
9250         Moved ...
9251         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
9252         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
9253         Moved ...
9254         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
9255         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
9256         Moved ...
9257         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
9258         ... here.
9259         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
9260         Moved ...
9261         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
9262         ... here.
9263         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
9264         Moved ...
9265         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
9266         ... here.
9267         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
9268         Moved ...
9269         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
9270         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
9271         Moved ...
9272         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
9273         ... here.
9274         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
9275         Moved ...
9276         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
9277         ... here.
9278         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
9279         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
9280         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
9281         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
9282         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
9283         Moved ...
9284         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
9285         ... here.
9286         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
9287         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
9288         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
9289         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
9290         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
9291         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
9292         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
9293         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
9294         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
9295         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
9296         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
9297         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
9298         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
9299         Moved ...
9300         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
9301         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
9302         Moved ...
9303         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
9304         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
9305         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
9306         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
9307         Moved ...
9308         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
9309         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
9310         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
9311         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
9312         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
9313         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
9314         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
9315
9316 2014-06-10  Wilco  <wdijkstr@arm.com>
9317
9318         * math/test-fenv-return.c: New file.
9319         * math/Makefile: Add new test test-fenv-return.
9320
9321 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
9322
9323         [BZ #17042]
9324         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
9325         when x - 1 is zero.
9326         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
9327         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
9328         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
9329         0.0L for an argument of 1.0L.
9330         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
9331         Likewise.
9332         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
9333         value when x - 1 is zero.
9334         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
9335         * sysdeps/i386/fpu/libm-test-ulps: Update.
9336         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9337
9338 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
9339
9340         [BZ #15119]
9341         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
9342
9343 2014-06-09  Roland McGrath  <roland@hack.frob.com>
9344
9345         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
9346         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
9347
9348 2014-06-09  Roland McGrath  <roland@hack.frob.com>
9349
9350         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
9351         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
9352
9353         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
9354         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
9355
9356         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
9357         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
9358
9359         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
9360         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
9361
9362         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
9363         if not already defined.
9364         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
9365         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
9366         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
9367         (TLS_INIT_TP): Use it.
9368         (TLS_DEFINE_INIT_TP): New macro.
9369         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
9370
9371 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
9372
9373         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
9374         constant.
9375         [POSIX] (IXANY): Likewise.
9376         [POSIX] (OLCUC): Likewise.
9377         [POSIX || POSIX2008] (CBAUD): Do not allow.
9378         [POSIX || POSIX2008] (DEFECHO): Likewise.
9379         [POSIX || POSIX2008] (ECHOCTL): Likewise.
9380         [POSIX || POSIX2008] (ECHOKE): Likewise.
9381         [POSIX || POSIX2008] (ECHOPRT): Likewise.
9382         [POSIX || POSIX2008] (EXTA): Likewise.
9383         [POSIX || POSIX2008] (EXTB): Likewise.
9384         [POSIX || POSIX2008] (FLUSHO): Likewise.
9385         [POSIX || POSIX2008] (LOBLK): Likewise.
9386         [POSIX || POSIX2008] (PENDIN): Likewise.
9387         [POSIX || POSIX2008] (SWTCH): Likewise.
9388         [POSIX || POSIX2008] (VDISCARD): Likewise.
9389         [POSIX || POSIX2008] (VDSUSP): Likewise.
9390         [POSIX || POSIX2008] (VLNEXT): Likewise.
9391         [POSIX || POSIX2008] (VREPRINT): Likewise.
9392         [POSIX || POSIX2008] (VSTATUS): Likewise.
9393         [POSIX || POSIX2008] (VWERASE): Likewise.
9394         (B*): Change to B[0123456789]*.
9395         * conform/data/time.h-data [POSIX || UNIX98]
9396         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
9397         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
9398         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
9399         [POSIX] (tm_*): Do not allow.
9400
9401 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
9402
9403         * Makefile (install): Don't set LANGUAGE.
9404         * Makefile.in (install): Likewise.
9405         * assert/Makefile (test-assert-ENV): Remove variable.
9406         (test-assert-perr-ENV): Likewise.
9407         * elf/Makefile (neededtest4-ENV): Likewise.
9408         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
9409         [$(cross-compiling) = no]: Don't set LANGUAGE.
9410         * io/ftwtest-sh (LANG): Remove variable.
9411         * libio/Makefile (tst-widetext-ENV): Likewise.
9412         * manual/install.texi (Running make install): Don't refer to
9413         environment settings for make install.
9414         * INSTALL: Regenerated.
9415         * nptl/tst-tls6.sh: Don't set LANG.
9416         * posix/globtest.sh (LANG): Remove variable.
9417         * string/Makefile (tester-ENV): Likewise.
9418         (inl-tester-ENV): Likewise.
9419         (noinl-tester-ENV): Likewise.
9420         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
9421         [$(cross-compiling) = no]: Don't set LANGUAGE.
9422         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
9423         without explicit environment settings.
9424
9425 2014-06-06  Roland McGrath  <roland@hack.frob.com>
9426
9427         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
9428         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
9429         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
9430         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
9431
9432 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
9433
9434         * crypt/crypt-private.h [DOS]: Add some includes taken from the
9435         other files in the crypt directory.
9436         * crypt/crypt.c: Remove duplicate includes.
9437         * crypt/crypt-entry.c: Likewise.
9438         * crypt/crypt_util.c: Likewise.
9439
9440 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
9441
9442         * Makeconfig (run-program-env): New variable.
9443         (run-program-prefix-before-env): Likewise.
9444         (run-program-prefix-after-env): Likewise.
9445         (run-program-prefix): Define in terms of new variables.
9446         (built-program-cmd-before-env): New variable.
9447         (built-program-cmd-after-env): Likewise.
9448         (built-program-cmd): Define in terms of new variables.
9449         (test-program-prefix-before-env): New variable.
9450         (test-program-prefix-after-env): Likewise.
9451         (test-program-prefix): Define in terms of new variables.
9452         (test-program-cmd-before-env): New variable.
9453         (test-program-cmd-after-env): Likewise.
9454         (test-program-cmd): Define in terms of new variables.
9455         * Rules (make-test-out): Use $(run-program-env).
9456         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
9457         (help): Do not mention environment variables.  Mention
9458         --timeoutfactor option.
9459         (timeoutfactor): New variable.
9460         (blacklist_exports): Remove function.
9461         (exports): Remove variable.
9462         (command): Do not include ${exports}.
9463         * manual/install.texi (Configuring and compiling): Do not mention
9464         test wrappers preserving environment variables.  Mention that last
9465         assignment to a variable must take precedence.
9466         * INSTALL: Regenerated.
9467         * benchtests/Makefile (run-bench): Use $(run-program-env).
9468         * catgets/Makefile ($(objpfx)test1.cat): Use
9469         $(built-program-cmd-before-env), $(run-program-env) and
9470         $(built-program-cmd-after-env).
9471         ($(objpfx)test2.cat): Do not specify environment variables
9472         explicitly.
9473         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
9474         $(run-program-env) and $(built-program-cmd-after-env).
9475         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
9476         $(run-program-env) and $(test-program-cmd-after-env).
9477         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
9478         explicitly.
9479         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
9480         run_program_env and test_program_cmd_after_env arguments.
9481         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
9482         * elf/tst-pathopt.sh: Use run_program_env argument.
9483         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
9484         $(test-wrapper-env) and $(run-program-env).
9485         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
9486         run_program_env arguments.
9487         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
9488         * intl/Makefile ($(objpfx)tst-gettext.out): Use
9489         $(test-program-prefix-before-env), $(run-program-env) and
9490         $(test-program-prefix-after-env).
9491         ($(objpfx)tst-gettext2.out): Likewise.
9492         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
9493         run_program_env and test_program_prefix_after_env arguments.
9494         * intl/tst-gettext2.sh: Likewise.
9495         * intl/tst-gettext4.sh: Do not set environment variables
9496         explicitly.
9497         * intl/tst-gettext6.sh: Likewise.
9498         * intl/tst-translit.sh: Likewise.
9499         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
9500         $(test-program-prefix-before-env), $(run-program-env) and
9501         $(test-program-prefix-after-env).
9502         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
9503         run_program_env and test_program_prefix_after_env arguments.
9504         * math/Makefile (run-regen-ulps): Use $(run-program-env).
9505         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
9506         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
9507         explicitly with each use of ${test_wrapper_env}.
9508         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
9509         $(test-program-prefix-before-env), $(run-program-env) and
9510         $(test-program-prefix-after-env).
9511         * posix/tst-getconf.sh: Do not set environment variables
9512         explicitly.
9513         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
9514         run_program_env and test_program_prefix_after_env arguments.
9515         * stdio-common/tst-printf.sh: Do not set environment variables
9516         explicitly.
9517         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
9518         $(test-program-prefix-before-env), $(run-program-env) and
9519         $(test-program-prefix-after-env).
9520         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
9521         run_program_env and test_program_prefix_after_env arguments.
9522         Split $test calls into $test_pre and $test.
9523         * timezone/Makefile (build-testdata): Use
9524         $(built-program-cmd-before-env), $(run-program-env) and
9525         $(built-program-cmd-after-env).
9526
9527 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9528
9529         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
9530         strlen for non SHARED builds.
9531
9532 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
9533
9534         * nptl/allocatestack.c (check_list): Inlined function...
9535         (__reclaim_stacks): ... here.
9536
9537 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
9538
9539         [BZ #15698]
9540         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
9541         memory overrun.
9542
9543 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
9544
9545         * Rules (make-test-out): Include
9546         LOCPATH=$(common-objpfx)localedata in default environment.
9547         * debug/Makefile (tst-chk1-ENV): Remove variable.
9548         (tst-chk2-ENV): Likewise.
9549         (tst-chk3-ENV): Likewise.
9550         (tst-chk4-ENV): Likewise.
9551         (tst-chk5-ENV): Likewise.
9552         (tst-chk6-ENV): Likewise.
9553         (tst-lfschk1-ENV): Likewise.
9554         (tst-lfschk2-ENV): Likewise.
9555         (tst-lfschk3-ENV): Likewise.
9556         (tst-lfschk4-ENV): Likewise.
9557         (tst-lfschk5-ENV): Likewise.
9558         (tst-lfschk6-ENV): Likewise.
9559         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
9560         (tst-iconv7-ENV): Likewise.
9561         * intl/Makefile (LOCPATH-ENV): Likewise.
9562         (tst-codeset-ENV): Likewise.
9563         (tst-gettext3-ENV): Likewise.
9564         (tst-gettext5-ENV): Likewise.
9565         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
9566         (tst-fopenloc-ENV): Likewise.
9567         (tst-fgetws-ENV): Remove variable.
9568         (tst-ungetwc1-ENV): Likewise.
9569         (tst-ungetwc2-ENV): Likewise.
9570         (bug-ungetwc2-ENV): Likewise.
9571         (tst-swscanf-ENV): Likewise.
9572         (bug-ftell-ENV): Likewise.
9573         (tst-fgetwc-ENV): Likewise.
9574         (tst-fseek-ENV): Likewise.
9575         (tst-ftell-partial-wide-ENV): Likewise.
9576         (tst-ftell-active-handler-ENV): Likewise.
9577         (tst-ftell-append-ENV): Likewise.
9578         * posix/Makefile (tst-fnmatch-ENV): Likewise.
9579         (tst-regexloc-ENV): Likewise.
9580         (bug-regex1-ENV): Likewise.
9581         (tst-regex-ENV): Likewise.
9582         (tst-regex2-ENV): Likewise.
9583         (bug-regex5-ENV): Likewise.
9584         (bug-regex6-ENV): Likewise.
9585         (bug-regex17-ENV): Likewise.
9586         (bug-regex18-ENV): Likewise.
9587         (bug-regex19-ENV): Likewise.
9588         (bug-regex20-ENV): Likewise.
9589         (bug-regex22-ENV): Likewise.
9590         (bug-regex23-ENV): Likewise.
9591         (bug-regex25-ENV): Likewise.
9592         (bug-regex26-ENV): Likewise.
9593         (bug-regex30-ENV): Likewise.
9594         (bug-regex32-ENV): Likewise.
9595         (bug-regex33-ENV): Likewise.
9596         (bug-regex34-ENV): Likewise.
9597         (bug-regex35-ENV): Likewise.
9598         (tst-rxspencer-ENV): Likewise.
9599         (tst-rxspencer-no-utf8-ENV): Likewise.
9600         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
9601         (tst-sscanf-ENV): Likewise.
9602         (tst-swprintf-ENV): Likewise.
9603         (tst-swscanf-ENV): Likewise.
9604         (test-vfprintf-ENV): Likewise.
9605         (scanf13-ENV): Likewise.
9606         (bug14-ENV): Likewise.
9607         (tst-grouping-ENV): Likewise.
9608         * stdlib/Makefile (tst-strtod-ENV): Likewise.
9609         (tst-strtod3-ENV): Likewise.
9610         (tst-strtod4-ENV): Likewise.
9611         (tst-strtod5-ENV): Likewise.
9612         (testmb2-ENV): Likewise./
9613         * string/Makefile (tst-strxfrm-ENV): Likewise.
9614         (tst-strxfrm2-ENV): Likewise.
9615         (bug-strcoll1-ENV): Likewise.
9616         (test-strcasecmp-ENV): Likewise.
9617         (test-strncasecmp-ENV): Likewise.
9618         * time/Makefile (tst-strptime-ENV): Likewise.
9619         (tst-ftime_l-ENV): Likewise.
9620         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
9621         (tst-mbrtowc-ENV): Likewise.
9622         (tst-wcrtomb-ENV): Likewise.
9623         (tst-mbrtowc2-ENV): Likewise.
9624         (tst-c16c32-1-ENV): Likewise.
9625         (tst-mbsnrtowcs-ENV): Likewise.
9626
9627 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
9628
9629         * manual/resource.texi (How to get information about the memory
9630         subsystem?): Fix typo.
9631         Reported by Peon de la Parra Ivan <peon@keba.com>
9632
9633 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
9634
9635         [BZ #16882]
9636         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
9637         (pthread_spin_lock): Branch out of spin loop to proper location.
9638         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
9639         (pthread_spin_lock): Likewise.
9640
9641         * nptl/tst-spin4.c: New test.
9642         * nptl/Makefile (tests): Add tst-spin4.
9643
9644 2014-06-03  Andreas Schwab  <schwab@suse.de>
9645
9646         [BZ #15946]
9647         * resolv/res_send.c (send_dg): Reload file descriptor after
9648         calling reopen.
9649
9650 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
9651
9652         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
9653
9654 2014-06-03  Richard Henderson  <rth@redhat.com>
9655
9656         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
9657         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
9658         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
9659         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
9660         in the SAVE_PID block.
9661         (__libc_vfork): New alias.
9662         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
9663
9664         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
9665         child in registers, not on the stack.  Remove RESET_PID conditionals.
9666         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
9667
9668 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
9669
9670         * sysdeps/aarch64/libm-test-ulps: Regenerate.
9671
9672 2014-06-03  Wilco  <wdijkstr@arm.com>
9673
9674         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
9675         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
9676         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
9677         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
9678         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
9679         Likewise.
9680
9681 2014-06-03  Wilco  <wdijkstr@arm.com>
9682
9683         * sysdeps/aarch64/fpu/math_private.h
9684         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
9685         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
9686         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
9687         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
9688         Fix declarations.
9689
9690 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
9691
9692         * crypt/crypt-private.h: Include ufc-crypt.h.
9693         (__b64_from_24bit): Declare extern.
9694         * crypt/crypt_util.c(__b64_from_24bit): New function.
9695         (b64t): New static const variable.
9696         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
9697         (b64t): Remove variable.
9698         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
9699         * crypt/sha256-crypt.c: Include crypt-private.h.
9700         (b64t): Remove variable.
9701         (__sha256_crypt_r): Remove b64_from_24bit and replace
9702         with __b64_from_24bit.
9703         * crypt/sha512-crypt.c: Likewise.
9704
9705 2014-06-02  Roland McGrath  <roland@hack.frob.com>
9706
9707         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
9708         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
9709         Label the code __libc_vfork rather than __vfork.
9710         [!NOT_IN_libc] (vfork): Define as weak alias.
9711         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
9712         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
9713         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
9714
9715 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
9716
9717         * malloc/malloc.c (malloc_info): Fix format specifier for
9718         n_mmaps.
9719
9720 2014-06-02  Wilco  <wdijkstr@arm.com>
9721
9722         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
9723         FPCR write.
9724
9725 2014-06-02  Wilco  <wdijkstr@arm.com>
9726
9727         [BZ #17009]
9728         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
9729         Rewrite to reduce FPCR/FPSR accesses.
9730
9731 2014-06-01  David S. Miller  <davem@davemloft.net>
9732
9733         * sysdeps/sparc/fpu/libm-test-ulps: Update.
9734
9735 2014-05-31  David S. Miller  <davem@davemloft.net>
9736
9737         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
9738         to occur in round to nearest mode when |x| >= 2.0
9739
9740 2014-05-30  Richard Henderson  <rth@twiddle.net>
9741
9742         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
9743         (PSEUDO_RET_NOERRNO): Remove.
9744         (ret): Don't redefine.
9745         (ret_NOERRNO): Define in terms of ret.
9746         (ret_ERRVAL): Likewise.
9747
9748         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
9749         use of PSEUDO_RET; perform the error check directly.
9750
9751 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
9752
9753         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
9754         with __int128_t.
9755
9756 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
9757
9758         * malloc/malloc (malloc_info): Fix formatting.
9759
9760 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
9761             Roland McGrath  <roland@hack.frob.com>
9762
9763         * malloc/malloc (malloc_info): Also print mmapped statistics.
9764
9765 2014-05-30  Roland McGrath  <roland@hack.frob.com>
9766
9767         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
9768         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
9769
9770 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
9771
9772         * malloc/malloc.c (malloc_info): Inline mi_arena.
9773
9774 2014-05-29  Richard Henderson  <rth@twiddle.net>
9775
9776         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
9777         Remove comma before expanding ASM_ARGS_##nr.
9778         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
9779         Make _x0 a strict output; make _x8 a strict input; adjust expansion
9780         of ASM_ARGS_##nr.
9781         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
9782         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
9783         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
9784         (ASM_ARGS_1): Add leading comma.
9785
9786         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
9787         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
9788         to __errno_location.
9789         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
9790         Remove the expected plt for __errno_location.
9791
9792         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
9793         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
9794         call to __read_tp.
9795
9796         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
9797         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
9798         it and break it down.
9799         (DOCARGS_0, DOCARGS_1): Do nothing.
9800         (DOCARGS_2): Update to store into the new stack frame.
9801         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
9802         (UNDOCARGS_1): Update to restore from the new stack frame.
9803         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
9804         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
9805
9806         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
9807         (SINGLE_THREAD_P): New parameter for result regno.
9808         (PSEUDO): Update to match; use cbz instead of beq.
9809
9810         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
9811         Use ENTRY to define the _nocancel entry point.  Share the syscall
9812         and syscall error check paths with the cancel path.
9813         (PSEUDO_END): New.
9814
9815         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
9816         whitespace; tabs before and after asm mnemonics.
9817
9818 2014-05-29  Eric Wong  <normalperson@yhbt.net>
9819
9820         [BZ #15132]
9821         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
9822         Call fstat64 or stat64 internally, depending on arguments passed.
9823         Replace stat buffer argument with file descriptor argument.
9824         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
9825         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
9826         Pass fd to __internal_statvfs instead of calling fstat64.
9827         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
9828         Pass fd to __internal_statvfs64 instead of calling fstat64.
9829         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
9830         Pass -1 to __internal_statvfs instead of calling stat64.
9831         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
9832         Pass -1 to __internal_statvfs64 instead of calling stat64.
9833
9834 2014-05-28  Roland McGrath  <roland@hack.frob.com>
9835
9836         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
9837         that was previously under [RESET_PID].
9838         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
9839
9840         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
9841         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
9842
9843 2014-05-27  Roland McGrath  <roland@hack.frob.com>
9844
9845         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
9846
9847         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
9848         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
9849
9850 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
9851
9852         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
9853
9854 2014-05-27  Andreas Schwab  <schwab@suse.de>
9855
9856         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
9857         TLS_INIT_TP macro.
9858         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
9859         * elf/rtld.c (init_tls, dl_main): Likewise.
9860         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
9861         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
9862         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
9863         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
9864         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
9865         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
9866         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
9867         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
9868         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
9869         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
9870         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
9871         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
9872         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
9873         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
9874         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
9875         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
9876         * sysdeps/generic/tls.h: Update description.
9877
9878 2014-05-27  Will Newton  <will.newton@linaro.org>
9879
9880         [BZ #16990]
9881         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
9882         and restore r2 rather than just restoring.
9883
9884 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
9885
9886         [BZ #16724]
9887         * libio/tst-ftell-append.c: New test case.
9888         * libio/Makefile (tests): Add test case.
9889         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
9890         append mode.
9891         * libio/wfileops.c (do_ftell_wide): Likewise.
9892
9893 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9894
9895         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9896
9897         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
9898         ...
9899         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
9900         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
9901         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
9902         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
9903         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
9904         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
9905         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
9906         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
9907         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
9908         Moved ...
9909         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
9910         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
9911         Moved ...
9912         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
9913         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
9914         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
9915         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
9916         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
9917         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
9918         ...
9919         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
9920         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
9921         Moved ...
9922         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
9923         here.
9924         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
9925         ...
9926         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
9927         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
9928         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
9929
9930         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
9931         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
9932         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
9933         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
9934
9935         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
9936         merge into ...
9937         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
9938         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
9939         ...
9940         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
9941         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
9942         ...
9943         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
9944         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
9945         Moved ...
9946         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
9947         here.
9948         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
9949         Moved ...
9950         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
9951         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
9952         Moved ...
9953         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
9954
9955         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
9956         conditional [RESET_PID].
9957         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
9958         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
9959         removed.
9960         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
9961         removed.
9962
9963         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
9964         <tcb-offsets.h>.
9965         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
9966         (__libc_vfork): New strong alias.
9967         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
9968         removed.
9969         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
9970         Removed.
9971
9972         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
9973         <tcb-offsets.h>.
9974         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
9975         (__libc_vfork): New strong alias.
9976         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
9977         removed.
9978         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
9979         removed.
9980
9981 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
9982
9983         * malloc/malloc.c (mi_arena): New function.
9984         (malloc_info): Remove nested function mi_arena. Call non-nosted
9985         function mi_arena.
9986
9987 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9988
9989         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
9990         by insrwi.
9991         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
9992         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
9993         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
9994         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
9995         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
9996         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
9997         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
9998
9999 2014-05-26  Andreas Schwab  <schwab@suse.de>
10000
10001         [BZ #16984]
10002         * locale/programs/repertoire.c (repertoire_read): Add slash
10003         between I18NPATH element and file name.
10004         * locale/programs/locfile.c (locfile_read): Likewise.
10005
10006 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
10007
10008         * nptl/pthread_mutexattr_settype.c
10009         (__pthread_mutexattr_settype):
10010         Disable lock elision for PTHREAD_MUTEX_NORMAL.
10011
10012 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
10013
10014         * nptl/tst-mutex5 (do_test):
10015         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
10016
10017 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
10018
10019         * benchtests/README: Document 'init' directive.
10020         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
10021         BENCH_INIT.
10022         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
10023         (parse_file): Recognize 'init' directive.
10024
10025 2014-05-26  Kyle McMartin  <kyle@redhat.com>
10026
10027         [BZ #16796]
10028         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
10029         alignment of struct pthread.
10030
10031 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
10032
10033         [BZ #16878]
10034         * nscd/netgroupcache.c (addgetnetgrentX): Look for
10035         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
10036         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
10037         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
10038
10039 2014-05-25  Richard Henderson  <rth@twiddle.net>
10040
10041         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
10042         (SINGLE_THREAD_P_PIC): Remove.
10043         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
10044         (SINGLE_THREAD_P_PIC): Remove.
10045
10046         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
10047         branch to syscall error ...
10048         (PSEUDO): ... here.
10049         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
10050         from __local_syscall_error to .Lsyscall_error.
10051         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
10052         (SYSCALL_ERROR): Update label name.
10053
10054         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
10055         Do not use DOARGS/UNDOARGS.
10056         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
10057         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
10058         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
10059         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
10060         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
10061
10062         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
10063         block comment.
10064
10065         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
10066         define if !NOT_IN_libc.
10067         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
10068         define with non-default symbol versions.
10069
10070 2014-05-23  Richard Henderson  <rth@twiddle.net>
10071
10072         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
10073         (vfork, __vfork): Define via compat_symbol.
10074
10075         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
10076         [!HAVE_IFUNC] (vfork_compat): Remove.
10077         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
10078
10079 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
10080
10081         [BZ #16978]
10082         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
10083         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
10084         variable.
10085
10086 2014-05-23  Richard Henderson  <rth@twiddle.net>
10087
10088         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
10089         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
10090         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
10091         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
10092
10093         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
10094         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
10095         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
10096         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
10097         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
10098         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
10099         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
10100         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
10101         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
10102         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
10103         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
10104         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
10105         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
10106         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
10107         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
10108         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
10109         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
10110         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
10111         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
10112         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
10113         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
10114         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
10115         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
10116         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
10117         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
10118         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
10119         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
10120         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
10121         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
10122         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
10123         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
10124         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
10125         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
10126         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
10127         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
10128         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
10129         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
10130         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
10131         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
10132         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
10133         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
10134         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
10135         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
10136         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
10137         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
10138         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
10139         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
10140         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
10141         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
10142         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
10143         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
10144         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
10145         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
10146         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
10147         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
10148         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
10149
10150         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
10151         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
10152         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
10153         before exiting on error.
10154         (__libc_vfork): New strong alias.
10155         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
10156         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
10157
10158         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
10159         that was previously under [RESET_PID].
10160         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
10161
10162         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
10163
10164 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
10165
10166         [BZ #16977]
10167         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
10168         value when x - 1 is zero.
10169         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
10170         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
10171         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
10172         0.0L for an argument of 1.0L.
10173         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
10174         Likewise.
10175         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
10176         value when x - 1 is zero.
10177         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
10178         * sysdeps/i386/fpu/libm-test-ulps: Update.
10179         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10180
10181 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
10182
10183         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
10184         alphasort and versionsort.
10185
10186 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10187
10188         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
10189         macro.
10190         [copysignf]: Likewise.
10191
10192 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
10193
10194         * crypt/md5-crypt.c: Fix formatting.
10195
10196 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
10197
10198         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
10199         (b64_from_24bit): New function.
10200
10201 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10202
10203         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
10204         libc_hidden_builtin_def to ifunc.
10205         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
10206         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
10207
10208 2014-05-21  Roland McGrath  <roland@hack.frob.com>
10209
10210         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
10211         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
10212
10213 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
10214
10215         * nscd/Depend (linuxthreads): Remove.
10216         (nptl): Add.
10217         * resolv/Depend (linuxthreads): Remove.
10218         * rt/Depend (linuxthreads): Remove.
10219
10220         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
10221         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
10222         $(common-objpfx)elf/.
10223         (link-libc-before-gnulib): Likewise.
10224         (elfobjdir): Remove variable.
10225         * Makefile (install): Use $(elf-objpfx) instead of
10226         $(common-objpfx)elf/.
10227         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
10228         $(elfobjdir)/.
10229         (link-libc-deps): Likewise.
10230         ($(common-objpfx)libc.so): Likewise.
10231         ($(common-objpfx)linkobj/libc.so): Likewise.
10232         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
10233         instead of $(common-objpfx)elf/.
10234         (symbolic-link-list): Likewise.
10235         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
10236         [$(cross-compiling) = no]: Likewise.
10237         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
10238         $(elfobjdir)/.
10239         (static-gnulib-arch): Likewise.
10240         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
10241         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
10242         $(common-objpfx)elf/.
10243
10244 2014-05-21  Richard Henderson  <rth@redhat.com>
10245
10246         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
10247         (SINGLE_THREAD_P): Use the correct width load.  Fold
10248         into the ldr offset.
10249
10250         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
10251         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
10252
10253 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
10254
10255         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
10256         (libgcc_s_resume): Use __attribute_used__.
10257         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
10258         Likewise.
10259
10260 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10261
10262         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
10263         optimization when used with float constants.
10264
10265         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10266
10267 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
10268
10269         [BZ #16915]
10270         * locale/nl_langinfo_l.c: Make direct reference to every
10271         _nl_current_CATEGORY symbol.
10272         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
10273         (tests-static): Add tst-langinfo-static.
10274         (tests-special): Add tst-langinfo-static.out.
10275         ($(objpfx)tst-langinfo.out): Redirect output.
10276         ($(objpfx)tst-langinfo-static.out): New.
10277         * localedata/tst-langinfo.sh: Send output to stdout.
10278         * localedata/tst-langinfo-static.c: New file.
10279
10280         [BZ #16965]
10281         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
10282         when the shift amount is modulo the limb size.
10283
10284 2014-05-20  Richard Henderson  <rth@redhat.com>
10285
10286         [BZ #16967]
10287         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
10288         Change type of sa_flags from unsigned int to int.
10289
10290         [BZ #16966]
10291         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
10292
10293         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
10294
10295 2014-05-20  Will Newton  <will.newton@linaro.org>
10296
10297         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
10298         Test the return value of the system call in the nocancel case.
10299
10300 2014-05-20  Will Newton  <will.newton@linaro.org>
10301             Yvan Roux  <yvan.roux@linaro.org>
10302
10303         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
10304         #include of asm/ptrace.h.
10305         (PTRACE_GET_THREAD_AREA): Remove #undef.
10306         (PTRACE_GETHBPREGS): Likewise.
10307         (PTRACE_SETHBPREGS): Likewise.
10308         (struct user_regs_struct): New structure.
10309         (struct user_fpsimd_struct): New structure.
10310         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
10311         #include of asm/ptrace.h and second #include of sys/user.h.
10312         (PTRACE_GET_THREAD_AREA): Remove #undef.
10313         (PTRACE_GETHBPREGS): Likewise.
10314         (PTRACE_SETHBPREGS): Likewise.
10315         (ELF_NGREG): Use new struct user_regs_struct.
10316         (elf_fpregset_t): Use new struct user_fpsimd_struct.
10317
10318 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10319
10320         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
10321         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
10322
10323 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
10324
10325         [BZ #16958]
10326         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
10327         membar to avoid block loads/stores to overlap previous stores.
10328
10329 2014-05-17  Richard Henderson  <rth@redhat.com>
10330
10331         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
10332         Create the __##syscall_name##_nocancel entry point.
10333         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
10334         Remove; let the sysdep-cancel.h code create it.
10335
10336 2014-05-17  David S. Miller  <davem@davemloft.net>
10337
10338         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
10339         Protect with __USE_GNU.
10340         (TIOCSET_TEMPT): Likewise.
10341         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
10342         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
10343         these are already provided in bits/ioctl-types.h
10344
10345 2014-05-16  Roland McGrath  <roland@hack.frob.com>
10346
10347         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
10348         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
10349
10350         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
10351         Use wait4 regardless of [__NR_waitpid].
10352
10353 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
10354
10355         PR libgcc/60166
10356         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
10357         (_FP_NANSIGN_Q): Set the quiet bit.
10358
10359 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
10360
10361         * benchtests/Makefile
10362         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
10363         not $(common-objpfx)math/libm.so.
10364         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
10365         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
10366         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
10367         $(common-objpfx)dlfcn/libdl.so.
10368         ($(objpfx)tst-audit8): Depend on $(libm), not
10369         $(common-objpfx)math/libm.so.
10370         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
10371         not $(common-objpfx)dlfcn/libdl.so.
10372         * math/Makefile
10373         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
10374         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
10375         [$(build-shared) = yes].
10376         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
10377         $(common-objpfx)nptl/libpthread.so.
10378         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
10379         $(common-objpfx)math/libm.so$(libm.so-version) or
10380         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
10381         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
10382         $(common-objpfx)dlfcn/libdl.so.
10383         * setjmp/Makefile (link-libm): Remove variable.
10384         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
10385         * stdio-common/Makefile (link-libm): Remove variable.
10386         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
10387         * stdlib/Makefile (link-libm): Remove variable.
10388         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
10389         ($(objpfx)tst-strtod-round): Likewise.
10390         ($(objpfx)tst-tininess): Likewise.
10391         ($(objpfx)tst-strtod-underflow): Likewise.
10392         ($(objpfx)tst-strtod6): Likewise.
10393         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
10394         $(libdl), not $(common-objpfx)nptl/libpthread.so and
10395         $(common-objpfx)dlfcn/libdl.so.
10396
10397 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10398
10399         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
10400         BSD terminal modes definitions.
10401
10402 2014-05-16  Roland McGrath  <roland@hack.frob.com>
10403
10404         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
10405         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
10406
10407         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
10408         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
10409         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
10410         Don't do #include_next.
10411         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
10412         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
10413         Don't do #include_next.
10414         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
10415         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
10416         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
10417         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
10418
10419 2014-05-16  Allan McRae  <allan@archlinux.org>
10420
10421         * po/sv.po: Update Swedish translation from translation project.
10422
10423         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
10424         in sed expression.
10425
10426 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
10427
10428         [BZ #16917]
10429         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
10430         errno if the TIOCGPTN ioctl fails with an error different than
10431         EINVAL.
10432         * login/tst-ptsname.c: New file.
10433         * login/Makefile (tests): Add tst-ptsname.
10434
10435         [BZ #16943]
10436         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
10437         and prlimit64.
10438
10439 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
10440
10441         [BZ #16849]
10442         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
10443         herrno to return EAI_AGAIN.
10444
10445 2014-05-14  Roland McGrath  <roland@hack.frob.com>
10446
10447         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
10448         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
10449         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
10450         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
10451         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
10452         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
10453         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
10454         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
10455         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
10456         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
10457         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
10458         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
10459         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
10460         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
10461         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
10462         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
10463         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
10464         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
10465         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
10466         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
10467         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
10468         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
10469         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
10470         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
10471         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
10472         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
10473         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
10474         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
10475         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
10476         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
10477         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
10478         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
10479         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
10480         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
10481         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
10482         Moved ...
10483         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
10484         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
10485         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
10486         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
10487         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
10488         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
10489         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
10490         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
10491         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
10492         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
10493         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
10494         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
10495         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
10496         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
10497         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
10498         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
10499         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
10500         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
10501         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
10502         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
10503         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
10504         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
10505         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
10506         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
10507         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
10508         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
10509         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
10510         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
10511         Moved ...
10512         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
10513         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
10514         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
10515         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
10516         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
10517         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
10518         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
10519         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
10520         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
10521         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
10522         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
10523         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
10524         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
10525         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
10526         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
10527         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
10528         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
10529         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
10530         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
10531         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
10532         Moved ...
10533         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
10534         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
10535         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
10536
10537         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
10538         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
10539         (libpthread-sysdep_routines): Add elision-related stuff here instead.
10540         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
10541         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
10542         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
10543         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
10544         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
10545         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
10546         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
10547         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
10548         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
10549         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
10550         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
10551         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
10552         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
10553         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
10554         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
10555         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
10556         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
10557         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
10558         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
10559         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
10560         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
10561         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
10562         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
10563         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
10564         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
10565         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
10566         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
10567         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
10568
10569         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
10570         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
10571
10572         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
10573         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
10574         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
10575         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
10576         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
10577         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
10578         Moved ...
10579         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
10580         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
10581         Moved ...
10582         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
10583         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
10584         Moved ...
10585         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
10586         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
10587         Moved ...
10588         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
10589         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
10590         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
10591         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
10592         Moved ...
10593         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
10594         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
10595         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
10596         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
10597         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
10598         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
10599         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
10600         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
10601         Moved ...
10602         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
10603         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
10604         Moved ...
10605         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
10606         ... here.
10607         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
10608         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
10609         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
10610         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
10611         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
10612         Moved ...
10613         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
10614         ... here.
10615         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
10616         Moved ...
10617         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
10618         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
10619         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
10620         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
10621         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
10622         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
10623         Moved ...
10624         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
10625         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
10626         Moved ...
10627         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
10628         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
10629         Moved ...
10630         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
10631         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
10632         Moved ...
10633         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
10634         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
10635         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
10636         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
10637         Moved ...
10638         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
10639         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
10640         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
10641         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
10642         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
10643         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
10644         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
10645         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
10646         Moved ...
10647         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
10648         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
10649         Moved ...
10650         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
10651         ... here.
10652         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
10653         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
10654         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
10655         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
10656         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
10657         Moved ...
10658         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
10659         ... here.
10660         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
10661         Moved ...
10662         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
10663         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
10664         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
10665         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
10666         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
10667         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
10668         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
10669         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
10670         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
10671         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
10672         Moved ...
10673         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
10674         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
10675         Moved ...
10676         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
10677         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
10678         Moved ...
10679         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
10680         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
10681         Moved ...
10682         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
10683         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
10684         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
10685         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
10686         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
10687         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
10688         Moved ...
10689         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
10690         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
10691         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
10692         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
10693         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
10694         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
10695         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
10696         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
10697         Moved ...
10698         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
10699         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
10700         Moved ...
10701         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
10702         ... here.
10703         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
10704         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
10705         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
10706         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
10707         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
10708         Moved ...
10709         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
10710         ... here.
10711         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
10712         Moved ...
10713         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
10714         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
10715         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
10716         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
10717         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
10718         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
10719         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
10720         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
10721         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
10722         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
10723         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
10724
10725         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
10726         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
10727
10728         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
10729         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
10730
10731         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
10732         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
10733         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
10734         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
10735         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
10736         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
10737         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
10738         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
10739         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
10740         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
10741         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
10742         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
10743         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
10744         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
10745         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
10746         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
10747         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
10748         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
10749         Moved ...
10750         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
10751         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
10752         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
10753         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
10754         Moved ...
10755         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
10756         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
10757         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
10758         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
10759         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
10760         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
10761         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
10762         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
10763         Moved ...
10764         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
10765         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
10766         Moved ...
10767         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
10768         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
10769         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
10770         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
10771         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
10772         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
10773         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
10774         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
10775         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
10776         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
10777         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
10778         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
10779         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
10780         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
10781         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
10782         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
10783         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
10784
10785         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
10786         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
10787         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
10788         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
10789         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
10790
10791         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
10792         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
10793         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
10794         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
10795         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
10796         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
10797         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
10798         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
10799         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
10800         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
10801
10802         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
10803         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
10804
10805         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
10806         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
10807         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
10808         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
10809         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
10810         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
10811         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
10812         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
10813         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
10814         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
10815         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
10816         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
10817         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
10818         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
10819         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
10820         Update #include.
10821         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
10822         Likewise.
10823         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
10824         Likewise.
10825         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
10826         Likewise.
10827         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
10828         Likewise.
10829         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
10830         Likewise.
10831         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
10832         Likewise.
10833         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
10834         Likewise.
10835         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
10836         Likewise.
10837         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
10838         Likewise.
10839         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
10840         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
10841         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
10842         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
10843         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
10844         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
10845         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
10846         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
10847         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
10848         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
10849         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
10850         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
10851         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
10852         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
10853         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
10854
10855         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
10856         that was previously under [RESET_PID].
10857         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
10858         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
10859         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
10860
10861         * sysdeps/i386/nptl/Implies: New file.
10862         * sysdeps/x86_64/nptl/Implies: New file.
10863         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
10864         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
10865         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
10866         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
10867
10868         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
10869         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
10870         (__libc_vfork): New strong alias.
10871         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
10872         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
10873
10874         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
10875         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
10876         (__libc_vfork): New strong alias.
10877         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
10878         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
10879
10880         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
10881         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
10882         (__libc_vfork): New strong alias.
10883         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
10884         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
10885         * nptl/pt-vfork.c: New file.
10886         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
10887         (libpthread: GLIBC_2.20): New version set (empty).
10888
10889 2014-05-14  Will Newton  <will.newton@linaro.org>
10890
10891         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
10892         rather than #if.
10893
10894 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
10895
10896         [BZ #16564]
10897         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
10898         arguments with exponent 65 or above.
10899         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
10900         arguments 0x1p113L or above.
10901         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
10902         to arguments 0x1p107L or above.
10903         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
10904         positive arguments with exponent 65 or above.
10905         * math/auto-libm-test-in: Add more tests of log1p.
10906         * math/auto-libm-test-out: Regenerated.
10907
10908         [BZ #16928]
10909         * math/s_cacos.c (__cacos): Ensure zero real part of result from
10910         non-finite arguments is +0.
10911         * math/s_cacosf.c (__cacosf): Likewise.
10912         * math/s_cacosl.c (__cacosl): Likewise.
10913         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
10914         * sysdeps/i386/fpu/libm-test-ulps: Update.
10915         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10916
10917         [BZ #16927]
10918         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
10919         value.
10920         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
10921         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
10922         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
10923         for explicit high bit of mantissa when testing for argument equal
10924         to 1.
10925         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
10926         * sysdeps/i386/fpu/libm-test-ulps: Update.
10927         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10928
10929         [BZ #16516]
10930         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
10931         (__erf): Scale by 16 instead of 8 in potentially underflowing
10932         case.  Ensure exception if result actually underflows.
10933         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
10934         (__erff): Scale by 16 instead of 8 in potentially underflowing
10935         case.  Ensure exception if result actually underflows.
10936         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
10937         (efx8): Remove variable.
10938         (__erfl): Scale by 16 instead of 8 in potentially underflowing
10939         case.  Ensure exception if result actually underflows.
10940         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
10941         (efx8): Remove variable.
10942         (__erfl): Scale by 16 instead of 8 in potentially underflowing
10943         case.  Ensure exception if result actually underflows.
10944         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
10945         (efx8): Remove variable.
10946         (__erfl): Scale by 16 instead of 8 in potentially underflowing
10947         case.  Ensure exception if result actually underflows.
10948         * math/auto-libm-test-in: Add more tests of erf.
10949         * math/auto-libm-test-out: Regenerated.
10950
10951 2014-05-14  Andreas Schwab  <schwab@suse.de>
10952
10953         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
10954         Remove code conditionalized on USE___THREAD.
10955
10956         * config.h.in (HAVE_PT_CHOWN): Define as 0.
10957         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
10958         not definedness.
10959
10960 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
10961
10962         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
10963         Define unconditionally.
10964         (__ASSUME_O_CLOEXEC): Likewise.
10965         (__ASSUME_SOCK_CLOEXEC): Likewise.
10966         (__ASSUME_IN_NONBLOCK): Likewise.
10967         (__ASSUME_PIPE2): Likewise.
10968         (__ASSUME_EVENTFD2): Likewise.
10969         (__ASSUME_SIGNALFD4): Likewise.
10970         (__ASSUME_DUP3): Likewise.
10971         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
10972         (__ASSUME_DUP3): Do not define.
10973         (__ASSUME_EVENTFD2): Likewise.
10974         (__ASSUME_IN_NONBLOCK): Likewise.
10975         (__ASSUME_O_CLOEXEC): Likewise.
10976         (__ASSUME_PIPE2): Likewise.
10977         (__ASSUME_SIGNALFD4): Likewise.
10978         (__ASSUME_SOCK_CLOEXEC): Likewise.
10979         (__ASSUME_UTIMES): Undefine.
10980         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10981         (__ASSUME_UTIMES): Do not define.
10982         (__ASSUME_O_CLOEXEC): Likewise.
10983         (__ASSUME_SOCK_CLOEXEC): Likewise.
10984         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
10985         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
10986         0x020621].
10987         (__ASSUME_PIPE2): Likewise.
10988         (__ASSUME_EVENTFD2): Likewise.
10989         (__ASSUME_SIGNALFD4): Likewise.
10990         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
10991         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
10992         Do not define.
10993         (__ASSUME_EVENTFD2): Likewise.
10994         (__ASSUME_SIGNALFD4): Likewise.
10995         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
10996         (__ASSUME_32BITUIDS): Likewise.
10997         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
10998         (__ASSUME_IPC64): Likewise.
10999         (__ASSUME_ST_INO_64_BIT): Likewise.
11000         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
11001         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
11002         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
11003         (__ASSUME_UTIMES): Do not define.
11004         (__ASSUME_PSELECT): Likewise.
11005         (__ASSUME_PPOLL): Likewise.
11006         (__ASSUME_O_CLOEXEC): Likewise.
11007         (__ASSUME_SOCK_CLOEXEC): Likewise.
11008         (__ASSUME_IN_NONBLOCK): Likewise.
11009         (__ASSUME_PIPE2): Likewise.
11010         (__ASSUME_EVENTFD2): Likewise.
11011         (__ASSUME_SIGNALFD4): Likewise.
11012         (__ASSUME_DUP3): Likewise.
11013         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
11014         (__ASSUME_UTIMES): Likewise.
11015         (__ASSUME_O_CLOEXEC): Likewise.
11016         (__ASSUME_SOCK_CLOEXEC): Likewise.
11017         (__ASSUME_IN_NONBLOCK): Likewise.
11018         (__ASSUME_PIPE2): Likewise.
11019         (__ASSUME_EVENTFD2): Likewise.
11020         (__ASSUME_SIGNALFD4): Likewise.
11021         (__ASSUME_DUP3): Likewise.
11022         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11023         (__ASSUME_UTIMES): Likewise.
11024         (__ASSUME_O_CLOEXEC): Likewise.
11025         (__ASSUME_SOCK_CLOEXEC): Likewise.
11026         (__ASSUME_IN_NONBLOCK): Likewise.
11027         (__ASSUME_PIPE2): Likewise.
11028         (__ASSUME_EVENTFD2): Likewise.
11029         (__ASSUME_SIGNALFD4): Likewise.
11030         (__ASSUME_DUP3): Likewise.
11031         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
11032         Likewise.
11033         (__ASSUME_UTIMES): Likewise.
11034         (__ASSUME_EVENTFD2): Likewise.
11035         (__ASSUME_SIGNALFD4): Likewise.
11036         * sysdeps/unix/sysv/linux/tile/kernel-features.h
11037         (__ASSUME_O_CLOEXEC): Likewise.
11038         (__ASSUME_SOCK_CLOEXEC): Likewise.
11039         (__ASSUME_IN_NONBLOCK): Likewise.
11040         (__ASSUME_PIPE2): Likewise.
11041         (__ASSUME_EVENTFD2): Likewise.
11042         (__ASSUME_SIGNALFD4): Likewise.
11043         (__ASSUME_DUP3): Likewise.
11044         (__ASSUME_UTIMES): Undefine.
11045
11046         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
11047         feclearexcept.  Remove symbol versioning code.
11048         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
11049         symbol versioning code.
11050         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
11051         symbol versioning code.
11052         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
11053         feupdateenv.  Remove symbol versioning code.
11054         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
11055         fegetexceptflag.  Remove symbol versioning code.
11056         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
11057         fesetexceptflag.  Remove symbol versioning code.
11058         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
11059         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
11060         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
11061         (__posix_fadvise64_l32): Remove prototype.
11062         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
11063         code.
11064
11065 2014-05-13  Roland McGrath  <roland@hack.frob.com>
11066
11067         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
11068         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
11069         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
11070         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
11071
11072 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
11073
11074         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
11075         current working directory
11076
11077 2014-05-13  Roland McGrath  <roland@hack.frob.com>
11078
11079         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
11080         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
11081         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
11082         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
11083         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
11084         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
11085         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
11086         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
11087         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
11088         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
11089         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
11090         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
11091         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
11092         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
11093         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
11094         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
11095         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
11096         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
11097         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
11098         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
11099         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
11100         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
11101         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
11102         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
11103         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
11104         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
11105         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
11106         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
11107         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
11108         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
11109         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
11110         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
11111         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
11112         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
11113         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
11114         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
11115         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
11116         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
11117         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
11118         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
11119         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
11120         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
11121
11122         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
11123         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
11124
11125         * sysdeps/unix/sysv/linux/arm/Makefile
11126         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
11127         Add rt-aeabi_unwind_cpp_pr1.
11128         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
11129         Add nptl-aeabi_unwind_cpp_pr1.
11130         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
11131         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
11132         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
11133         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
11134         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
11135         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
11136
11137         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
11138         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
11139         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
11140         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
11141
11142         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
11143         Deconditionalize the code that was previously under [RESET_PID].
11144         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
11145
11146         * sysdeps/generic/exit-thread.h: New file.
11147         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
11148         * include/unistd.h (__exit_thread): Remove declaration.
11149         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
11150         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
11151         * csu/libc-start.c: Include <exit-thread.h>.
11152         (LIBC_START_MAIN): Pass no argument to __exit_thread.
11153         * nptl/pthread_create.c: Include <exit-thread.h>.
11154         (start_thread): Call __exit_thread in place of __exit_thread_inline.
11155         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
11156         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
11157         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
11158         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
11159         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
11160         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
11161         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
11162         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
11163         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
11164         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
11165         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
11166         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
11167         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
11168         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
11169         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
11170         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
11171
11172 2014-05-13  Andreas Schwab  <schwab@suse.de>
11173
11174         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
11175
11176 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
11177
11178         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
11179         (__ASSUME_UTIMES): Do not condition on kernel version.
11180         (__ASSUME_PSELECT): Define unconditionally.
11181         (__ASSUME_PPOLL): Likewise.
11182         (__ASSUME_ATFCTS): Likewise.
11183         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
11184         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
11185         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
11186         (__ASSUME_UTIMENSAT): Define unconditionally.
11187         (__ASSUME_PRIVATE_FUTEX): Likewise.
11188         (__ASSUME_FALLOCATE): Likewise.
11189         (__ASSUME_O_CLOEXEC): Likewise.
11190         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
11191         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
11192         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
11193         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
11194         (__ASSUME_IN_NONBLOCK): Likewise.
11195         (__ASSUME_PIPE2): Likewise.
11196         (__ASSUME_EVENTFD2): Likewise.
11197         (__ASSUME_SIGNALFD4): Likewise.
11198         (__ASSUME_DUP3): Likewise.
11199         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
11200         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
11201         (__ASSUME_AT_RANDOM): Likewise.
11202         (__ASSUME_PREADV): Likewise.
11203         (__ASSUME_PWRITEV): Likewise.
11204         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
11205         (__ASSUME_F_GETOWN_EX): Define unconditionally.
11206         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
11207         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
11208         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
11209         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
11210         (__ASSUME_O_CLOEXEC): Define unconditionally.
11211         (__ASSUME_PSELECT): Do not undefine conditionally.
11212         (__ASSUME_PPOLL): Likewise.
11213         (__ASSUME_ATFCTS): Likewise.
11214         (__ASSUME_SET_ROBUST_LIST): Likewise.
11215         (__ASSUME_UTIMENSAT): Likewise.
11216         (__ASSUME_FDATASYNC): Define unconditionally.
11217         * sysdeps/unix/sysv/linux/arm/kernel-features.h
11218         (__ASSUME_SIGFRAME_V2): Likewise.
11219         )__ASSUME_EVENTFD2): Likewise.
11220         (__ASSUME_SIGNALFD4): Likewise.
11221         (__ASSUME_PSELECT): Do not undefine conditionally.
11222         (__ASSUME_PPOLL): Likewise.
11223         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
11224         (__ASSUME_PSELECT): Define unconditionally.
11225         (__ASSUME_PPOLL): Likewise.
11226         (__ASSUME_O_CLOEXEC): Likewise.
11227         (__ASSUME_SOCK_CLOEXEC): Likewise.
11228         (__ASSUME_IN_NONBLOCK): Likewise.
11229         (__ASSUME_PIPE2): Likewise.
11230         (__ASSUME_EVENTFD2): Likewise.
11231         (__ASSUME_SIGNALFD4): Likewise.
11232         (__ASSUME_DUP3): Likewise.
11233         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
11234         (__ASSUME_O_CLOEXEC): Likewise.
11235         (__ASSUME_SOCK_CLOEXEC): Likewise.
11236         (__ASSUME_IN_NONBLOCK): Likewise.
11237         (__ASSUME_PIPE2): Likewise.
11238         (__ASSUME_EVENTFD2): Likewise.
11239         (__ASSUME_SIGNALFD4): Likewise.
11240         (__ASSUME_DUP3): Likewise.
11241         * sysdeps/unix/sysv/linux/mips/kernel-features.h
11242         (__ASSUME_EVENTFD2): Likewise.
11243         (__ASSUME_SIGNALFD4): Likewise.
11244         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
11245
11246 2014-05-12  Andreas Schwab  <schwab@suse.de>
11247
11248         [BZ #16932]
11249         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
11250         (_nss_nis_gethostbyname4_r): Return error if item length is larger
11251         than maximum RPC packet size.
11252         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
11253         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
11254         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
11255         (_nss_nis_getservbyport_r): Likewise.
11256
11257 2014-05-12  Will Newton  <will.newton@linaro.org>
11258
11259         * malloc/Makefile (tests): Add tst-mallopt.
11260         * malloc/tst-mallopt.c: New file.
11261
11262 2014-05-09  Roland McGrath  <roland@hack.frob.com>
11263
11264         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
11265         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
11266
11267 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11268
11269         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
11270         (tst-tlsmod6.so): Likewise.
11271
11272 2014-05-09  Roland McGrath  <roland@hack.frob.com>
11273
11274         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
11275
11276 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
11277
11278         [BZ #16064]
11279         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
11280         and <dl-procinfo.h>.
11281         (__fegetenv): Save SSE state in envp->__eip if supported.
11282         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
11283         envp->__eip if supported.
11284         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
11285         and <dl-procinfo.h>.
11286         (__fesetenv): Always set __eip, __cs_selector, __opcode,
11287         __data_offset and __data_selector in environment to 0.  Set SSE
11288         state if supported.
11289         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
11290         test-fenv-sse.
11291         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
11292         -mfpmath=sse.
11293         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
11294
11295 2014-05-09  Will Newton  <will.newton@linaro.org>
11296
11297         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
11298         and libc_relro_required for ARM.
11299         * sysdeps/arm/preconfigure: Regenerate.
11300
11301 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
11302             Stefan Liebler  <stli@linux.vnet.ibm.com>
11303
11304         * config.make.in (enable-lock-elision): New Makefile variable.
11305         * configure.ac: Likewise.
11306         * configure: Regenerate.
11307         * sysdeps/s390/configure.ac:
11308         Add check for gcc transactions support.
11309         * sysdeps/s390/configure: Regenerate.
11310         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
11311         Build elision files if enabled.
11312         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
11313         Add lock elision support for s390.
11314         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
11315         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
11316         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
11317         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
11318         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
11319         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
11320         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
11321         Likewise.
11322         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
11323         Likewise.
11324         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
11325         Likewise.
11326         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
11327         Likewise.
11328         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
11329         (__lll_timedlock_elision, __lll_lock_elision)
11330         (__lll_unlock_elision, __lll_trylock_elision)
11331         (lll_timedlock_elision, lll_lock_elision)
11332         (lll_unlock_elision, lll_trylock_elision): Add.
11333         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
11334         (pthread_mutex_t): Add lock elision support for s390.
11335
11336 2014-05-14  Wilco  <wdijkstr@arm.com>
11337
11338         * sysdeps/arm/fclrexcpt.c: Cleanup.
11339         * sysdeps/arm/fedisblxcpt.c: Cleanup.
11340         * sysdeps/arm/feenablxcpt.c: Cleanup.
11341         * sysdeps/arm/fegetenv.c: Cleanup.
11342         * sysdeps/arm/fegetexcept.c: Cleanup.
11343         * sysdeps/arm/fegetround.c: Cleanup.
11344         * sysdeps/arm/feholdexcpt.c: Cleanup.
11345         * sysdeps/arm/fesetenv.c: Cleanup.
11346         * sysdeps/arm/fesetround.c: Cleanup.
11347         * sysdeps/arm/feupdateenv.c: Cleanup.
11348         * sysdeps/arm/fgetexcptflg.c: Cleanup.
11349         * sysdeps/arm/fraiseexcpt.c: Cleanup.
11350         * sysdeps/arm/fsetexcptflg.c: Cleanup.
11351         * sysdeps/arm/ftestexcept.c: Cleanup.
11352         * sysdeps/arm/get-rounding-mode.h: Cleanup.
11353         * sysdeps/arm/setfpucw.c: Cleanup.
11354
11355 2014-05-09  Will Newton  <will.newton@linaro.org>
11356
11357         * sysdeps/arm/armv7/strcmp.S: New file.
11358         * NEWS: Mention addition of ARMv7 optimized strcmp.
11359
11360 2014-05-08  Roland McGrath  <roland@hack.frob.com>
11361
11362         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
11363         look for %.ac rather than %.in.
11364
11365         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
11366         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
11367         * sysdeps/mach/hurd/configure: Regenerated.
11368         * sysdeps/unix/sysv/linux/configure: Regenerated.
11369
11370         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
11371
11372 2014-05-07  Steve Ellcey  <sellcey@mips.com>
11373
11374         [BZ# 16922]
11375         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
11376         (LONG_SUB): Ditto.
11377         (PTR_SUB): Ditto.
11378
11379 2014-05-07  Andreas Schwab  <schwab@suse.de>
11380
11381         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
11382         when skipping over non-matching result from nscd.
11383
11384 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
11385
11386         [BZ #16876]
11387         * nptl/sockperf.c (client): Check socket return value.
11388
11389         [BZ #16877]
11390         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
11391         nscd security class.
11392
11393 2014-05-06  Roland McGrath  <roland@hack.frob.com>
11394
11395         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
11396         * sysdeps/arm/unwind.h: ... here.
11397
11398 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
11399
11400         [BZ# 16916]
11401         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
11402         Define.
11403
11404 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
11405
11406         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
11407         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
11408         multiarch strncpy for PPC64.
11409         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
11410         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
11411         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
11412         multiarch optimizations.
11413         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
11414         (__libc_ifunc_impl_list): Likewise.
11415         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
11416         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
11417         multiarch stpncpy for PPC64.
11418         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
11419         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
11420
11421 2014-05-06  Andreas Schwab  <schwab@suse.de>
11422
11423         [BZ #16912]
11424         * gmon/mcount.c (_MCOUNT_DECL): Use
11425         atomic_compare_and_exchange_bool_acq instead of
11426         catomic_compare_and_exchange_bool_acq.
11427
11428 2014-05-05  Roland McGrath  <roland@hack.frob.com>
11429
11430         * elf/Makefile (others, install-bin): Remove pldd.
11431         (pldd-modules): Variable removed.
11432         ($(objpfx)pldd): Target removed.
11433         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
11434         (others, install-bin): Append pldd here.
11435         ($(objpfx)pldd): New target.
11436
11437         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
11438         to 0, so the first #if test emitted later doesn't see it undefined.
11439         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
11440         * sysdeps/gnu/errlist.c: Regenerated.
11441
11442 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11443
11444         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
11445         [libc_hidden_builtin_def]: Define to empty value.
11446         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
11447         [libc_hidden_builtin_def]: Likewise.
11448         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
11449         [libc_hidden_builtin_def]: Likewise.
11450         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
11451         [libc_hidden_builtin_def]: Likewise.
11452         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
11453         __redirect_memcpy and define ifunc as default hidden symbol.
11454         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
11455         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
11456
11457 2014-05-04  Adam Conrad  <adconrad@0c3.net>
11458
11459         * locale/iso-4217.def: Reintroduce XDR currency.
11460
11461 2014-05-04  Allan McRae  <allan@archlinux.org>
11462
11463         * po/eo.po: Update Esperanto translation from translation project.
11464
11465 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
11466
11467         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
11468         and FEATURE_INDEX_MAX to 1.
11469         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
11470
11471 2014-05-01  Steve Ellcey  <sellcey@mips.com>
11472
11473         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
11474         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
11475         * iconvdata/big5.c (ONE_DIRECTION): Define.
11476         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
11477         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
11478         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
11479         * iconvdata/cp932.c (ONE_DIRECTION): Define.
11480         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
11481         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
11482         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
11483         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
11484         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
11485         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
11486         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
11487         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
11488         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
11489         * iconvdata/gbk.c (ONE_DIRECTION): Define.
11490         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
11491         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
11492         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
11493         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
11494         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
11495         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
11496         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
11497         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
11498         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
11499         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
11500         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
11501         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
11502         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
11503         * iconvdata/iso646.c (ONE_DIRECTION): Define.
11504         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
11505         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
11506         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
11507         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
11508         * iconvdata/johab.c (ONE_DIRECTION): Define.
11509         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
11510         * iconvdata/sjis.c (ONE_DIRECTION): Define.
11511         * iconvdata/t.61.c (ONE_DIRECTION): Define.
11512         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
11513         * iconvdata/tscii.c (ONE_DIRECTION): Define.
11514         * iconvdata/uhc.c (ONE_DIRECTION): Define.
11515         * iconvdata/unicode.c (ONE_DIRECTION): Define.
11516         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
11517         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
11518         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
11519
11520 2014-05-01  Roland McGrath  <roland@hack.frob.com>
11521
11522         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
11523         (_IO_JUMPS_OFFSET): Define to 0.
11524
11525         * nptl/sysdeps/pthread/bits/libc-lock.h
11526         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
11527         (__libc_lock_define_initialized_recursive): Always define using
11528         initializer.  Modern compilers treat uninitialized (implicit zero) and
11529         explicit zero initializers the same (i.e. put the datum in bss).
11530
11531 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
11532
11533         * nscd/nscd-client.h: Include <string.h>.
11534
11535 2014-05-01  David S. Miller  <davem@davemloft.net>
11536
11537         [BZ #16885]
11538         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
11539         multiple zero bytes exist at the end of a string.
11540         Reported by Aurelien Jarno <aurelien@aurel32.net>
11541
11542         * string/test-strcmp.c (check): Add explicit test for situations where
11543         there are multiple zero bytes after the first.
11544
11545 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
11546
11547         [BZ #16890]
11548         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
11549         when compiling wprintf.
11550         * stdio-common/tstdiomisc.c (t3): New function.
11551         (main): Call it.
11552
11553 2014-05-01  Steve Ellcey  <sellcey@mips.com>
11554
11555         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
11556         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
11557         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
11558         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
11559
11560 2014-05-01  Steve Ellcey  <sellcey@mips.com>
11561
11562         * stdlib/longlong.h: Updated from GCC.
11563
11564 2014-05-01  Will Newton  <will.newton@linaro.org>
11565             Bernard Ogden  <bernie.ogden@linaro.org>
11566
11567         * NEWS: Update fixed bug list.
11568
11569         [BZ #15119]
11570         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
11571
11572 2014-04-30  David S. Miller  <davem@davemloft.net>
11573
11574         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
11575         (libc_feholdexcept_setround_sparc_ctx): New function.
11576         (libc_fesetenv_sparc_ctx): Likewise.
11577         (libc_feupdateenv_sparc_ctx): Likewise.
11578         (libc_feholdsetround_sparc_ctx): Likewise.
11579         (libc_feholdexcept_setround_ctx): Define.
11580         (libc_feholdexcept_setroundf_ctx): Likewise.
11581         (libc_feholdexcept_setroundl_ctx): Likewise.
11582         (libc_fesetenv_ctx): Likewise.
11583         (libc_fesetenvf_ctx): Likewise.
11584         (libc_fesetenvl_ctx): Likewise.
11585         (libc_feupdateenv_ctx): Likewise.
11586         (libc_feupdateenvf_ctx): Likewise.
11587         (libc_feupdateenvl_ctx): Likewise.
11588         (libc_feresetround_ctx): Likewise.
11589         (libc_feresetroundf_ctx): Likewise.
11590         (libc_feresetroundl_ctx): Likewise.
11591         (libc_feholdsetround_ctx): Likewise.
11592         (libc_feholdsetroundf_ctx): Likewise.
11593         (libc_feholdsetroundl_ctx): Likewise.
11594
11595         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
11596         with __USE_GNU instead of XOPEN cpp guards.
11597
11598         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
11599         0.
11600
11601         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
11602         with XOPEN cpp guards.
11603
11604 2014-04-30  Julian Brown  <julian@codesourcery.com>
11605
11606         [BZ #16888]
11607         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
11608         handling.
11609
11610 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
11611
11612         [BZ #9894]
11613         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
11614         Change to 2.6.32.
11615         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
11616         * sysdeps/unix/sysv/linux/configure: Regenerated.
11617         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
11618         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
11619         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
11620         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
11621         * README: Update reference to required Linux kernel version.
11622         * manual/install.texi (Linux): Update reference to required Linux
11623         kernel headers version.
11624         * INSTALL: Regenerated.
11625
11626         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
11627         header inclusion.
11628         [POSIX] (limits.h): Likewise.
11629         [POSIX] (math.h): Likewise.
11630         [POSIX] (sys/wait.h): Likewise.
11631         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
11632         function.
11633         [POSIX] (stddef.h): Do not allow header inclusion.
11634
11635 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11636
11637         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
11638
11639 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
11640
11641         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
11642         Return immediately after lll_futex_wake.
11643
11644 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
11645
11646         [BZ #16791]
11647         * nscd/nscd-client.h (datahead_init_common): Initialize entire
11648         structure.
11649         (datahead_init_pos): Call datahead_init_common early.
11650         (datahead_init_neg): Likewise.
11651
11652         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
11653         datahead_init_neg): New functions.
11654         * nscd/aicache.c (addhstaiX): Use them.
11655         * nscd/grpcache.c (cache_addgr): Likewise.
11656         * nscd/hstcache.c (cache_addhst): Likewise.
11657         * nscd/initgrcache.c (addinitgroupsX): Likewise.
11658         * nscd/netgroupcache.c (do_notfound): Likewise.
11659         (addgetnetgrentX): Likewise.
11660         (addinnetgrX): Likewise.
11661         * nscd/pwdcache.c (cache_addpw): Likewise.
11662         * nscd/servicescache.c (cache_addserv): Likewise.
11663
11664 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
11665             Atsushi Onoe  <atsushi@onoe.org>
11666
11667         [BZ #14308]
11668         [BZ #12994]
11669         [BZ #13651]
11670         * resolv/res_query.c (__libc_res_nsearch): Return if at least
11671         one response is valid.
11672         * resolv/res_send.c (send_dg): Check for validity of other
11673         response if the current response is a referral.
11674
11675 2014-04-29  Steve Ellcey  <sellcey@mips.com>
11676
11677         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
11678
11679 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
11680
11681         [BZ #16823]
11682         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
11683         Always divide by positive zero when computing -Inf result.
11684         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
11685         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
11686
11687 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11688
11689         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
11690         FPSCR if value do not change.
11691         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
11692         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
11693         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
11694         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
11695         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
11696         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
11697         function.
11698
11699 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
11700
11701         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
11702         * sysdeps/unix/sysv/linux/hppa: Move directory from
11703         ports/systeps/unix/sysv/linux/hppa.
11704         * README: Update listing for hppa-*-linux-gnu.
11705
11706 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
11707
11708         [BZ #16754]
11709         * manual/stdio.texi (Hook functions): Fix types of stream hook
11710         functions.
11711         [BZ #16854]
11712         * socket/sys/socket.h: Fix typo in comment.
11713
11714 2014-04-28  Wilco  <wdijkstr@arm.com>
11715
11716         * sysdeps/arm/fenv_private.h: New file.
11717         * sysdeps/arm/math_private.h: New file.
11718         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
11719
11720 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
11721
11722         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
11723         with __int128_t.
11724         (La_x86_64_retval): Likewise.
11725
11726 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
11727
11728         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
11729         fpsr if value didn't change.
11730         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
11731         to fpcr if value didn't change.
11732         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
11733         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
11734         fpsr or fpcr if value didn't change.
11735         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
11736         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
11737         fpcr if value didn't change.
11738         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
11739         to fpsr if value didn't change.
11740
11741 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
11742
11743         * nptl/tst-sem3.c: Use test-skeleton.c
11744         (main): Rename to do_test.  Use return instead of
11745         exit.
11746         * nptl/tst-sem4.c: Use test-skeleton.c
11747         (main): Rename to do_test.
11748
11749 2014-04-22  David S. Miller  <davem@davemloft.net>
11750
11751         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
11752         (struct sigaction): New struct member __glibc_reserved0, change
11753         type of sa_flags to int.
11754
11755 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
11756
11757         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
11758         (COUNT_LEADING_ZEROS_0): Define for AArch64.
11759
11760 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
11761
11762         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
11763         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
11764
11765 2014-04-22  Will Newton  <will.newton@linaro.org>
11766             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
11767
11768         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
11769         (__longjmp): Add longjmp and longjmp_target SystemTap
11770         probes.
11771         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
11772         (__sigsetjmp): Add setjmp SystemTap probe.
11773
11774 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
11775
11776         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
11777         match manual order.
11778
11779 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11780
11781         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
11782
11783         * sysdeps/powerpc/fpu/fenv_private.h
11784         (libc_feholdexcept_setroundl_ctx): Define to
11785         libc_feholdexcept_setround_ppc_ctx.
11786         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
11787         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
11788         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
11789         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
11790
11791 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
11792
11793         * sysdeps/aarch64/math-tests.h: New file.
11794
11795 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
11796
11797         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
11798         New.
11799         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11800         Check and set bit_AVX2_Usable.
11801         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
11802         macro.
11803         (bit_AVX2): Likewise.
11804         (index_AVX2_Usable): Likewise.
11805         (CPUID_AVX2): Likewise.
11806         (HAS_AVX2): Likewise.
11807
11808 2014-04-17  Will Newton  <will.newton@linaro.org>
11809
11810         * manual/setjmp.texi (System V contexts): Add note that
11811         calling setcontext on a context created by a call to a
11812         signal handler is undefined.  Update text to note that
11813         setcontext from a signal handler is possible but not
11814         recommended.
11815
11816         [BZ #16629]
11817         * stdlib/tst-setcontext.c: Include signal.h.
11818         (main): Check that the signal stack before and
11819         after swapcontext is the same.
11820
11821         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
11822         Re-implement to restore registers in user code and avoid
11823         rt_sigreturn system call.
11824
11825 2014-04-17  Wilco  <wdijkstr@arm.com>
11826
11827         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
11828         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
11829         * math/test-fenv.c: Skip exception trap tests on targets which only
11830         support non-stop mode.
11831
11832 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
11833             Wilco Dijkstra  <wilco.dijkstra@arm.com>
11834
11835         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
11836         (libc_feholdsetround_aarch64_ctx)
11837         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
11838         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
11839         (libc_feresetround_ctx, libc_feresetroundf_ctx)
11840         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
11841         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
11842         (libc_feresetround_noexl_ctx): Define.
11843
11844 2014-04-16  Richard Henderson  <rth@redhat.com>
11845
11846         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
11847
11848         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
11849         unwind tables.
11850
11851         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
11852         const from the non-libc, non-ldso copy.
11853
11854         * sysdeps/alpha/libm-test-ulps: Regenerate.
11855
11856 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
11857             Wilco Dijkstra  <wilco.dijkstra@arm.com>
11858
11859         * sysdeps/aarch64/fpu/math_private.h: New file.
11860
11861 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
11862
11863         * sysdeps/aarch64/libm-test-ulps: Regenerate.
11864
11865 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
11866
11867         [BZ #16275]
11868         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
11869         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
11870         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
11871         Intel MPX bound registers before _dl_profile_fixup.
11872         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
11873         registers after _dl_profile_fixup.  Save and restore bound
11874         registers bnd0/bnd1 when calling _dl_call_pltexit.
11875         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
11876         (LR_BND_OFFSET): Likewise.
11877         (LRV_BND0_OFFSET): Likewise.
11878         (LRV_BND1_OFFSET): Likewise.
11879
11880 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11881
11882         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
11883         to...
11884         * sysdeps/mach/hurd/i386/tls.h: ... here.
11885         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
11886         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
11887         fields.
11888
11889 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11890
11891         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
11892
11893 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
11894
11895         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
11896
11897 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
11898
11899         [BZ #14770]
11900         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
11901         * sysdeps/s390/configure: Regenerate.
11902
11903         [BZ #16824]
11904         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
11905         Set round-to-nearest internally to reduce error accumulation.
11906
11907 2014-04-16  Alan Modra  <amodra@gmail.com>
11908
11909         [BZ #16740]
11910         [BZ #16619]
11911         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
11912         * math/libm-test.inc (frexp_test_data): Add tests.
11913         * NEWS: Update fixed bug list.
11914
11915 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
11916
11917         * benchtests/Makefile: Depend on libraries in build directory.
11918         (bench-math): Separate out math tests.
11919         (bench-pthread): Separate out pthread tests.
11920         (bench): Include math and pthread tests.
11921
11922 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
11923
11924         [BZ #16831]
11925         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
11926         _dl_debug_initialize.
11927
11928         * configure.ac: Remove SELinux header check.
11929         * configure: Regenerate.
11930         * nscd/selinux.c (perms): Array of const char* to permission names.
11931         (nscd_request_avc_has_perm): Call security_deny_unknown to find
11932         default policy. Call string_to_security_class and string_to_av_perm to
11933         translate strings. Enforce default policy and call avs_has_perm with
11934         results of translated strings.
11935
11936 2014-04-13  David S. Miller  <davem@davemloft.net>
11937
11938         * sysdeps/sparc/fpu/libm-test-ulps: Update.
11939
11940 2014-04-12  Allan McRae  <allan@archlinux.org>
11941
11942         [BZ #16838]
11943         * manual/string.texi (Collation Functions): Fix qsort argument
11944         order in example.
11945         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
11946
11947 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
11948
11949         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
11950         Make the test a no-op if there are no exceptions defined.
11951
11952 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
11953
11954         * elf/Makefile (tests): make tst-dlopen-aout conditional on
11955         enable-hardcoded-path-in-tests
11956
11957 2014-04-11  Will Newton  <will.newton@linaro.org>
11958
11959         * benchtests/Makefile (extra-objs): Add json-lib.o.
11960         (bench-func): Tidy up JSON output.
11961         * benchtests/bench-skeleton.c: Include json-lib.h.
11962         (main): Use JSON library functions to do output of
11963         benchmark results.
11964         * benchtests/bench-timing-type.c (main): Output the
11965         timing type simply, leaving formatting to the user.
11966         * benchtests/json-lib.c: New file.
11967         * benchtests/json-lib.h: Likewise.
11968
11969 2014-04-11  Torvald Riegel  <triegel@redhat.com>
11970
11971         [BZ #15215]
11972         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
11973         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
11974         memory barriers.  Add comments.
11975         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
11976         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
11977         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
11978         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
11979         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
11980         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
11981
11982 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
11983
11984         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
11985         * sysdeps/s390/s390-64/configure.ac: ... this ...
11986         * sysdeps/s390/configure.ac: ... to here.
11987         * sysdeps/s390/s390-32/configure: Delete file.
11988         * sysdeps/s390/s390-64/configure: Delete file.
11989         * sysdeps/s390/configure: Regenerate.
11990
11991 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
11992
11993         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
11994
11995 2014-04-11  Will Newton  <will.newton@linaro.org>
11996
11997         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
11998         to zero if it is not defined elsewhere.  (mtrim): Test
11999         the value of MALLOC_DEBUG with #if rather than #ifdef.
12000
12001 2014-04-10 Torvald Riegel  <triegel@redhat.com>
12002
12003         * benchtests/pthread_once-inputs: New file.
12004         * benchtests/pthread_once-source.c: New file.
12005         * benchtests/README: Update documentation.
12006
12007 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
12008             H.J. Lu  <hongjiu.lu@intel.com>
12009
12010         [BZ #16275]
12011         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
12012         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
12013         * sysdeps/x86_64/configure: Regenerated.
12014         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
12015         macro.
12016         (REGISTER_SAVE_RAX): Likewise.
12017         (REGISTER_SAVE_RCX): Likewise.
12018         (REGISTER_SAVE_RDX): Likewise.
12019         (REGISTER_SAVE_RSI): Likewise.
12020         (REGISTER_SAVE_RDI): Likewise.
12021         (REGISTER_SAVE_R8): Likewise.
12022         (REGISTER_SAVE_R9): Likewise.
12023         (REGISTER_SAVE_BND0): Likewise.
12024         (REGISTER_SAVE_BND1): Likewise.
12025         (REGISTER_SAVE_BND2): Likewise.
12026         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
12027         bound registers when calling _dl_fixup.
12028
12029 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12030
12031         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
12032         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
12033         of its definition.
12034         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
12035         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
12036         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
12037         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
12038         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
12039         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
12040         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
12041
12042 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
12043
12044         [BZ #15514]
12045         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
12046         pathconf(_PC_NAME_MAX).
12047
12048 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12049
12050         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
12051         Remove macro usage.
12052         (__PTHREAD_SPINS): Move definition to ...
12053         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
12054         (__PTHREAD_SPINS): ... here.
12055         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
12056         (__PTHREAD_SPIN): Likewise.
12057         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
12058         (__PTHREAD_SPIN): Likewise.
12059         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
12060         (__PTHREAD_SPIN): Likewise.
12061         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
12062         (__PTHREAD_SPIN): Likewise.
12063         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
12064         (__PTHREAD_SPIN): Likewise.
12065         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
12066         (__PTHREAD_SPIN): Likewise.
12067         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
12068         (__PTHREAD_SPIN): Likewise.
12069         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
12070         (__PTHREAD_SPIN): Likewise.
12071         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
12072         (__PTHREAD_SPIN): Likewise.
12073         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
12074         (__PTHREAD_SPIN): Likewise.
12075         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
12076         (__PTHREAD_SPIN): Likewise.
12077         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
12078         (__PTHREAD_SPIN): Likewise.
12079
12080         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
12081         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
12082         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
12083         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
12084         imply folder.
12085         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
12086         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
12087         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
12088         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
12089         correct imply path.
12090         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
12091         strlen symbol for non multi-arch builds.
12092         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
12093         missing hidden_def and weak_alias.
12094
12095 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
12096
12097         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
12098
12099 2014-04-07  Will Newton  <will.newton@linaro.org>
12100
12101         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
12102         and contents.  [!_LIBC] Remove #ifndef and contents.
12103         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
12104         * string/memccpy.c (__memccpy): Use ANSI prototype.
12105         * string/memfrob.c (memfrob): Likewise.
12106         * string/strcoll.c (STRCOLL): Likewise.
12107         * string/strlen.c (strlen): Likewise.
12108         * string/strtok.c (STRTOK): Likewise.
12109         * string/strcat.c: Remove unused #include of memcopy.h.
12110         (strcat): Use ANSI prototype.
12111         * string/strchr.c: Remove unused #include of memcopy.h.
12112         (strchr): Use ANSI prototype.
12113         * string/strcmp.c: Remove unused #include of memcopy.h.
12114         (strcmp): Use ANSI prototype.
12115         * string/strcpy.c: Remove unused #include of memcopy.h.
12116         (strcpy): Use ANSI prototype.
12117
12118 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12119
12120         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
12121         * config.make.in (config-extra-cppflags): Set it from
12122         libc_extra_cppflags.
12123         * configure.ac (libc_extra_cflags): Make it accumulate over
12124         configure fragments.
12125         (libc_extra_cppflags): New flag.
12126         * configure. Regenerate.
12127         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
12128         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
12129         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
12130         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
12131
12132         [BZ #16815]
12133         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
12134         result for FE_DOWNWARD rounding mode.
12135         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
12136         Likewise.
12137         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12138
12139 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
12140
12141         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
12142         in function argument name.
12143
12144 2014-04-03  David Svoboda  <svoboda@cert.org>
12145
12146         [BZ #5666]
12147         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
12148         explicitly.
12149
12150 2014-04-03  Roland McGrath  <roland@hack.frob.com>
12151
12152         * elf/dl-unmap-segments.h: New file.
12153         * sysdeps/generic/ldsodefs.h
12154         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
12155         * elf/dl-close.c: Include <dl-unmap-segments.h>.
12156         * elf/dl-fptr.c: Likewise.
12157         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
12158         * sysdeps/aarch64/tlsdesc.c: Likewise.
12159         * sysdeps/arm/tlsdesc.c: Likewise.
12160         * sysdeps/i386/tlsdesc.c: Likewise.
12161         * sysdeps/tile/dl-runtime.c: Likewise.
12162         * sysdeps/x86_64/tlsdesc.c: Likewise.
12163         * elf/dl-load.h: New file.
12164         * elf/dl-load.c: Include it.
12165         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
12166         Macros moved to dl-load.h.
12167         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
12168         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
12169         Use _dl_unmap_segments in place of __munmap.
12170         Break out segment-mapping loop into ...
12171         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
12172
12173 2014-04-03  Will Newton  <will.newton@linaro.org>
12174
12175         * elf/dl-lookup.c (do_lookup_x): Remove comment
12176         referring to nested function and move variable
12177         declarations down to before first use.
12178
12179 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
12180
12181         [BZ #16799]
12182         [BZ #16800]
12183         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
12184         with 0 numerator.
12185         * math/s_catanf.c (__catanf): Likewise.
12186         * math/s_catanh.c (__catanh): Likewise.
12187         * math/s_catanhf.c (__catanhf): Likewise.
12188         * math/s_catanhl.c (__catanhl): Likewise.
12189         * math/s_catanl.c (__catanl): Likewise.
12190         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
12191         by positive zero when computing -Inf result.
12192         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
12193         (catanh_test): Likewise.
12194         * sysdeps/i386/fpu/libm-test-ulps: Update.
12195         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12196
12197         [BZ #16789]
12198         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
12199         instead of using underflowing value in computing result.
12200         * math/s_clog10.c (__clog10): Likewise.
12201         * math/s_clog10f.c (__clog10f): Likewise.
12202         * math/s_clog10l.c (__clog10l): Likewise.
12203         * math/s_clogf.c (__clogf): Likewise.
12204         * math/s_clogl.c (__clogl): Likewise.
12205         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
12206         (clog10_test): Likewise.
12207         * sysdeps/i386/fpu/libm-test-ulps: Update.
12208         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12209
12210 2014-04-02  Alan Modra  <amodra@gmail.com>
12211
12212         [BZ #16739]
12213         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
12214         output when value is near a power of two.  Use int64_t for lx and
12215         remove casts.  Use decimal rather than hex exponent constants.
12216         Don't use long double multiplication when double will suffice.
12217         * math/libm-test.inc (nextafter_test_data): Add tests.
12218         * NEWS: Add 16739 and 16786 to bug list.
12219
12220         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
12221
12222         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
12223
12224 2014-04-01  Will Newton  <will.newton@linaro.org>
12225
12226         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
12227         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
12228
12229 2014-04-01  Florian Weimer  <fweimer@redhat.com>
12230
12231         [BZ #13347]
12232         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
12233         * nptl/tst-setuid2.c: New file.
12234         * nptl/Makefile (xtests): Add tst-setuid2.
12235
12236 2014-04-01  Alan Modra  <amodra@gmail.com>
12237
12238         [BZ #16786]
12239         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
12240
12241 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
12242
12243         [BZ #6803]
12244         [BZ #6804]
12245         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
12246         set errno as appropriate.
12247         * math/w_scalbf.c (__scalbf): Likewise.
12248         * math/w_scalbl.c (__scalbl): Likewise.
12249         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
12250         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
12251         * math/libm-test.inc (scalb_test_data): Add errno expectations.
12252         Add more NaN tests.
12253
12254         [BZ #16349]
12255         * math/w_atan2.c: Include <errno.h>.
12256         (__atan2): Set errno for result underflowing to zero.
12257         * math/w_atan2f.c: Include <errno.h>.
12258         (__atan2f): Set errno for result underflowing to zero.
12259         * math/w_atan2l.c: Include <errno.h>.
12260         (__atan2l): Set errno for result underflowing to zero.
12261         * math/auto-libm-test-in: Don't allow missing errno for some atan2
12262         tests.
12263         * math/auto-libm-test-out: Regenerated.
12264
12265 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12266
12267         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
12268         Encode instruction correctly in little endian.
12269         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
12270         Likewise.
12271         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
12272         Likewise.
12273         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
12274         Likewise.
12275         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
12276         Likewise.
12277
12278 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
12279
12280         [BZ #9894]
12281         * sysdeps/unix/sysv/linux/kernel-features.h
12282         [__sparc__ && !__arch64__ && !__sparc_v9__]
12283         (__ASSUME_SET_ROBUST_LIST): Do not define.
12284         [__sparc__ && !__arch64__ && !__sparc_v9__]
12285         (__ASSUME_FUTEX_LOCK_PI): Likewise.
12286         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
12287         Likewise.
12288         * sysdeps/unix/sysv/linux/arm/kernel-features.h
12289         (__ASSUME_FUTEX_LOCK_PI): Undefine.
12290         (__ASSUME_REQUEUE_PI): Likewise.
12291         (__ASSUME_SET_ROBUST_LIST): Likewise.
12292         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
12293         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
12294         Undefine.
12295         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12296         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
12297         Likewise.
12298         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
12299         Likewise.
12300         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
12301         Likewise.
12302         * sysdeps/unix/sysv/linux/mips/kernel-features.h
12303         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
12304         Undefine.
12305         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
12306         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
12307         Likewise.
12308
12309         [BZ #16648]
12310         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12311         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
12312         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
12313
12314 2014-03-31  Will Newton  <will.newton@linaro.org>
12315
12316         * benchtests/Makefile (bench): Add ffs and ffsll to list
12317         of tests.
12318         * benchtests/ffs-inputs: New file.
12319         * benchtests/ffsll-inputs: Likewise.
12320
12321 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
12322
12323         [BZ #16770]
12324         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
12325         too large before casting to int.
12326         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
12327         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
12328         * math/libm-test.inc (scalb_test_data): Add more tests.
12329
12330 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
12331
12332         * benchtests/Makefile (DETAILED_OPT): New make option.
12333         (bench-func): Run benchmark program with -d if DETAILED_OPT is
12334         set.
12335         * benchtests/bench-skeleton.c: Include stdbool.h.
12336         (main): Store and print timings per input.
12337         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
12338         member to each argument value.
12339         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
12340         (_print_arg_data): Initialize per-input timing to 0.
12341
12342         * benchtests/Makefile (timing-type): New binary.
12343         (bench-clean): Also remove bench-timing-type.
12344         (bench): New target for timing-type.
12345         (bench-func): Print output in JSON format.
12346         * benchtests/bench-skeleton.c (main): Print output in JSON
12347         format.
12348         * benchtests/bench-timing-type.c: New file.
12349         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
12350         (TIMING_PRINT_STATS): Remove.
12351         * benchtests/scripts/bench.py (_print_arg_data): Store variant
12352         name separately.
12353
12354         * benchtests/bench-modf.c: Remove.
12355         * benchtests/modf-inputs: New inputs file.
12356
12357 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
12358
12359         [BZ #16362]
12360         * math/s_clog10.c (M_PI_LOG10E): New macro.
12361         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
12362         imaginary parts are 0.
12363         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
12364         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
12365         imaginary parts are 0.
12366         * math/s_clog10l.c (M_PI_LOG10El): New macro.
12367         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
12368         imaginary parts are 0.
12369         * math/libm-test.inc (clog10_test_data): Update expected results
12370         for when real and imaginary parts are 0.
12371
12372 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
12373
12374         * elf/dl-load.c: Finish conversion of __builtin_expect into
12375         __glibc_{un}likely.
12376
12377 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
12378
12379         [BZ #16348]
12380         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
12381         1+x for argument with exponent below -67.
12382         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
12383         Likewise.
12384         * math/auto-libm-test-in: Add more tests of exp.
12385         * math/auto-libm-test-out: Regenerated.
12386
12387 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
12388
12389         [BZ #16759]
12390         * inet/getnetgrent_r.c (get_nonempty_val): New function.
12391         (nscd_getnetgrent): Use it.
12392
12393         [BZ #16760]
12394         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
12395         of stpcpy.
12396
12397 2014-03-27  Andi Kleen  <ak@linux.intel.com>
12398
12399         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
12400         (lll_robust_lock, lll_cond_lock, lll_timedlock)
12401         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
12402         (lll_robust_unlock): Remove out of line section. Use cfi
12403         intrinsics.
12404         (LLL_STUB_UNWIND_INFO*): Remove.
12405         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
12406         (lll_robust_lock, lll_cond_lock, lll_timedlock)
12407         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
12408         (lll_robust_unlock): Remove out of line section. Use cfi
12409         intrinsics.
12410         (LLL_STUB_UNWIND_INFO*): Remove.
12411
12412 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
12413
12414         [BZ #16758]
12415         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
12416         blank values.
12417
12418 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
12419
12420         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
12421
12422 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
12423
12424         [BZ #16198]
12425         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
12426         fnstenv.
12427         * math/test-fenv-preserve.c: New file.
12428         * math/Makefile (tests): Add test-fenv-preserve.
12429
12430 2014-03-26  Will Newton <will.newton@linaro.org>
12431
12432         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
12433
12434 2014-03-25  Roland McGrath  <roland@hack.frob.com>
12435
12436         * scripts/versionlist.awk: Partition the version sets and emit all
12437         GLIBC_* (sorted) before all others (sorted).
12438
12439 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
12440
12441         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
12442         GLIBC_2.2.5 version.
12443
12444 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12445
12446         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
12447         calls.
12448
12449         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
12450         previous change.
12451
12452         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12453
12454 2014-03-25  Andreas Schwab  <schwab@suse.de>
12455
12456         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
12457         label to be used after in6ailist is initialized.
12458
12459 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12460
12461         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
12462         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
12463
12464 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
12465
12466         [BZ #16357]
12467         [BZ #16599]
12468         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
12469         min_plus_half.
12470         (fp_formats): Update initializers.
12471         (init_fp_formats): Initialize new field.
12472         (output_for_one_input_case): Allow underflow for results up to
12473         min_plus_half.
12474         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
12475         * math/auto-libm-test-in: Don't mark some underflows from asin and
12476         atanh as spurious.
12477         * math/auto-libm-test-out: Regenerated.
12478         * sysdeps/i386/fpu/libm-test-ulps: Update.
12479         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12480
12481 2014-03-25  Andreas Schwab  <schwab@suse.de>
12482
12483         * libio/Makefile (tst-ftell-partial-wide-ENV)
12484         (tst-ftell-active-handler-ENV): Define.
12485
12486 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
12487
12488         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
12489
12490 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
12491
12492         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
12493
12494 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
12495
12496         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
12497         * sysdeps/x86_64/fpu/multiarch/e_exp.c
12498         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
12499
12500 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
12501
12502         [BZ #16634]
12503         * elf/dl-load.c (open_verify): Add mode parameter.
12504         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
12505         (open_path): Change from boolean 'secure' to complete flag 'mode'
12506         (_dl_map_object): Adjust.
12507         * elf/Makefile (tests): Add tst-dlopen-aout.
12508         * elf/tst-dlopen-aout.c: New test.
12509
12510 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
12511
12512         [BZ #16714]
12513         * sysdeps/unix/sysv/linux/s390/bits/stat.h
12514         (struct stat): Rename member pad0 to __glibc_reserved0.
12515
12516         [BZ #16712]
12517         * sysdeps/s390/s390-32/bits/wordsize.h
12518         (__WORDSIZE32_SIZE_ULONG): New define.
12519         * sysdeps/s390/s390-64/bits/wordsize.h
12520         (__WORDSIZE32_SIZE_ULONG): Likewise.
12521         * sysdeps/generic/stdint.h (SIZE_MAX):
12522         Define as UL if __WORDSIZE32_SIZE_ULONG.
12523
12524         [BZ #16713]
12525         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
12526         (__glibc_reserved0): New variable.
12527         (sa_flags): Change type to int.
12528
12529         * posix/Makefile (before-compile): Use += before-compile instead
12530         of a :=.
12531
12532         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
12533         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
12534
12535 2014-03-20  Andreas Schwab  <schwab@suse.de>
12536
12537         [BZ #16743]
12538         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
12539         non-matching result from nscd.
12540
12541 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
12542
12543         * scripts/bench.py: Moved to ...
12544         * benchtests/scripts/bench.py: ... here.
12545         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
12546
12547 2014-03-24  Andreas Schwab  <schwab@suse.de>
12548
12549         [BZ #16002]
12550         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
12551         alloca_account and account alloca use for struct in6ailist.
12552
12553 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
12554
12555         [BZ #16284]
12556         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
12557         rounding mode to recompute results that overflow to infinity or
12558         underflow to zero.
12559         * math/auto-libm-test-in: Don't mark tests as expected to fail for
12560         bug 16284.
12561         * math/auto-libm-test-out: Regenerated.
12562         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
12563         (ccosh_test): Likewise.
12564         (csin_test_data): Use plus_oflow.
12565         (csin_test): Use ALL_RM_TEST.
12566         (csinh_test_data): Use plus_oflow.
12567         (csinh_test): Use ALL_RM_TEST.
12568         * sysdeps/i386/fpu/libm-test-ulps: Update.
12569         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12570
12571 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
12572
12573         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
12574         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
12575         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
12576
12577         [BZ #16731]
12578         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
12579         when x - 1 is zero.
12580         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
12581         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
12582         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
12583         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
12584         argument is 1.
12585         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
12586         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
12587         zero.
12588         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
12589         * sysdeps/i386/fpu/libm-test-ulps: Update.
12590         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12591
12592 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
12593
12594         * scripts/bench.pl: Remove file.
12595         * scripts/bench.py: New benchmark script.
12596         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
12597         * benchtests/README: Mention python dependency.
12598         * scripts/pylintrc: New file.
12599         * scripts/pylint: New file.
12600
12601         * bits/mathdef.h: Use #ifdef instead of #if.
12602         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
12603         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
12604         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
12605         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
12606         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
12607         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
12608
12609 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12610             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
12611
12612         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
12613         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
12614         and strpbrk-ppc64 objects.
12615         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12616         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
12617         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
12618         multiarch strpbrk for POWER7.
12619         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
12620         multiarch strpbrk for PPC64.
12621         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
12622         ifunc selector.
12623         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
12624         strpbrk for POWER7.
12625
12626 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
12627
12628         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
12629         (atan_test): Likewise.
12630         (atanh_test_data): Use NO_TEST_INLINE for two tests.
12631         (atanh_test): Use ALL_RM_TEST.
12632         (atan2_test_data): Likewise.
12633         (cabs_test): Likewise.
12634         (cacosh_test): Likewise.
12635         (carg_test): Likewise.
12636         (casin_test): Likewise.
12637         (casinh_test): Likewise.
12638         (cbrt_test): Likewise.
12639         (csqrt_test): Likewise.
12640         (erf_test): Likewise.
12641         (erfc_test): Likewise.
12642         (pow10_test): Likewise.
12643         (exp2_test): Likewise.
12644         (hypot_test): Likewise.
12645         (j0_test): Likewise.
12646         (j1_test): Likewise.
12647         (lgamma_test): Likewise.
12648         (gamma_test): Likewise.
12649         (sincos_test): Likewise.
12650         (tanh_test): Likewise.
12651         (y0_test): Likewise.
12652         (y1_test): Likewise.
12653         * sysdeps/i386/fpu/libm-test-ulps: Update.
12654         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12655
12656 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12657
12658         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
12659         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
12660         and strcspn-ppc64 objects.
12661         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12662         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
12663         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
12664         multiarch strcspn for POWER7.
12665         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
12666         multiarch strcspn for PPC64.
12667         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
12668         ifunc selector.
12669         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
12670         strcspn for POWER7.
12671
12672 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
12673
12674         * math/gen-libm-test.pl (generate_testfile): Expect only function
12675         name as argument to AUTO_TESTS_* and pass results for all rounding
12676         modes to parse_args.
12677         (parse_auto_input): Separate inputs of automatic tests from
12678         outputs before storing in %auto_tests.
12679         * math/libm-test.inc (acos_test_data): Update call to
12680         AUTO_TESTS_f_f.
12681         (acos_test): Use ALL_RM_TEST.
12682         (acos_tonearest_test_data): Remove.
12683         (acos_test_tonearest): Likewise.
12684         (acos_towardzero_test_data): Likewise.
12685         (acos_test_towardzero): Likewise.
12686         (acos_downward_test_data): Likewise.
12687         (acos_test_downward): Likewise.
12688         (acos_upward_test_data): Likewise.
12689         (acos_test_upward): Likewise.
12690         (acosh_test_data): Update call to AUTO_TESTS_f_f.
12691         (asin_test_data): Likewise.
12692         (asin_test): Use ALL_RM_TEST.
12693         (asin_tonearest_test_data): Remove.
12694         (asin_test_tonearest): Likewise.
12695         (asin_towardzero_test_data): Likewise.
12696         (asin_test_towardzero): Likewise.
12697         (asin_downward_test_data): Likewise.
12698         (asin_test_downward): Likewise.
12699         (asin_upward_test_data): Likewise.
12700         (asin_test_upward): Likewise.
12701         (asinh_test_data): Update call to AUTO_TESTS_f_f.
12702         (atan_test_data): Likewise.
12703         (atanh_test_data): Likewise.
12704         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
12705         (cabs_test_data): Update call to AUTO_TESTS_c_f.
12706         (carg_test_data): Likewise.
12707         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
12708         (ccos_test_data): Update call to AUTO_TESTS_c_c.
12709         (ccosh_test_data): Likewise.
12710         (cexp_test_data): Likewise.
12711         (clog_test_data): Likewise.
12712         (clog10_test_data): Likewise.
12713         (cos_test_data): Update call to AUTO_TESTS_f_f.
12714         (cos_test): Use ALL_RM_TEST.
12715         (cos_tonearest_test_data): Remove.
12716         (cos_test_tonearest): Likewise.
12717         (cos_towardzero_test_data): Likewise.
12718         (cos_test_towardzero): Likewise.
12719         (cos_downward_test_data): Likewise.
12720         (cos_test_downward): Likewise.
12721         (cos_upward_test_data): Likewise.
12722         (cos_test_upward): Likewise.
12723         (cosh_test_data): Update call to AUTO_TESTS_f_f.
12724         (cosh_test): Use ALL_RM_TEST.
12725         (cosh_tonearest_test_data): Remove.
12726         (cosh_test_tonearest): Likewise.
12727         (cosh_towardzero_test_data): Likewise.
12728         (cosh_test_towardzero): Likewise.
12729         (cosh_downward_test_data): Likewise.
12730         (cosh_test_downward): Likewise.
12731         (cosh_upward_test_data): Likewise.
12732         (cosh_test_upward): Likewise.
12733         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
12734         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
12735         (ctan_test_data): Likewise.
12736         (ctan_test): Use ALL_RM_TEST.
12737         (ctan_tonearest_test_data): Remove.
12738         (ctan_test_tonearest): Likewise.
12739         (ctan_towardzero_test_data): Likewise.
12740         (ctan_test_towardzero): Likewise.
12741         (ctan_downward_test_data): Likewise.
12742         (ctan_test_downward): Likewise.
12743         (ctan_upward_test_data): Likewise.
12744         (ctan_test_upward): Likewise.
12745         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
12746         (ctanh_test): Use ALL_RM_TEST.
12747         (ctanh_tonearest_test_data): Remove.
12748         (ctanh_test_tonearest): Likewise.
12749         (ctanh_towardzero_test_data): Likewise.
12750         (ctanh_test_towardzero): Likewise.
12751         (ctanh_downward_test_data): Likewise.
12752         (ctanh_test_downward): Likewise.
12753         (ctanh_upward_test_data): Likewise.
12754         (ctanh_test_upward): Likewise.
12755         (erf_test_data): Update call to AUTO_TESTS_f_f.
12756         (erfc_test_data): Likewise.
12757         (exp_test_data): Likewise.
12758         (exp_test): Use ALL_RM_TEST.
12759         (exp_tonearest_test_data): Remove.
12760         (exp_test_tonearest): Likewise.
12761         (exp_towardzero_test_data): Likewise.
12762         (exp_test_towardzero): Likewise.
12763         (exp_downward_test_data): Likewise.
12764         (exp_test_downward): Likewise.
12765         (exp_upward_test_data): Likewise.
12766         (exp_test_upward): Likewise.
12767         (exp10_test_data): Update call to AUTO_TESTS_f_f.
12768         (exp10_test): Use ALL_RM_TEST.
12769         (exp10_tonearest_test_data): Remove.
12770         (exp10_test_tonearest): Likewise.
12771         (exp10_towardzero_test_data): Likewise.
12772         (exp10_test_towardzero): Likewise.
12773         (exp10_downward_test_data): Likewise.
12774         (exp10_test_downward): Likewise.
12775         (exp10_upward_test_data): Likewise.
12776         (exp10_test_upward): Likewise.
12777         (exp2_test_data): Update call to AUTO_TESTS_f_f.
12778         (expm1_test_data): Likewise.
12779         (expm1_test): Use ALL_RM_TEST.
12780         (expm1_tonearest_test_data): Remove.
12781         (expm1_test_tonearest): Likewise.
12782         (expm1_towardzero_test_data): Likewise.
12783         (expm1_test_towardzero): Likewise.
12784         (expm1_downward_test_data): Likewise.
12785         (expm1_test_downward): Likewise.
12786         (expm1_upward_test_data): Likewise.
12787         (expm1_test_upward): Likewise.
12788         (fma_test_data): Update call to AUTO_TESTS_fff_f.
12789         (fma_test): Use ALL_RM_TEST.
12790         (fma_towardzero_test_data): Remove.
12791         (fma_test_towardzero): Likewise.
12792         (fma_downward_test_data): Likewise.
12793         (fma_test_downward): Likewise.
12794         (fma_upward_test_data): Likewise.
12795         (fma_test_upward): Likewise.
12796         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
12797         (j0_test_data): Update call to AUTO_TESTS_f_f.
12798         (j1_test_data): Likewise.
12799         (jn_test_data): Update call to AUTO_TESTS_if_f.
12800         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
12801         (log_test_data): Update call to AUTO_TESTS_f_f.
12802         (log10_test_data): Likewise.
12803         (log1p_test_data): Likewise.
12804         (log2_test_data): Likewise.
12805         (pow_test_data): Update call to AUTO_TESTS_ff_f.
12806         (pow_tonearest_test_data): Likewise.
12807         (sin_test_data): Update call to AUTO_TESTS_f_f.
12808         (sin_test): Use ALL_RM_TEST.
12809         (sin_tonearest_test_data): Remove.
12810         (sin_test_tonearest): Likewise.
12811         (sin_towardzero_test_data): Likewise.
12812         (sin_test_towardzero): Likewise.
12813         (sin_downward_test_data): Likewise.
12814         (sin_test_downward): Likewise.
12815         (sin_upward_test_data): Likewise.
12816         (sin_test_upward): Likewise.
12817         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
12818         (sinh_test_data): Update call to AUTO_TESTS_f_f.
12819         (sinh_test): Use ALL_RM_TEST.
12820         (sinh_tonearest_test_data): Remove.
12821         (sinh_test_tonearest): Likewise.
12822         (sinh_towardzero_test_data): Likewise.
12823         (sinh_test_towardzero): Likewise.
12824         (sinh_downward_test_data): Likewise.
12825         (sinh_test_downward): Likewise.
12826         (sinh_upward_test_data): Likewise.
12827         (sinh_test_upward): Likewise.
12828         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
12829         (sqrt_test): Use ALL_RM_TEST.
12830         (sqrt_tonearest_test_data): Remove.
12831         (sqrt_test_tonearest): Likewise.
12832         (sqrt_towardzero_test_data): Likewise.
12833         (sqrt_test_towardzero): Likewise.
12834         (sqrt_downward_test_data): Likewise.
12835         (sqrt_test_downward): Likewise.
12836         (sqrt_upward_test_data): Likewise.
12837         (sqrt_test_upward): Likewise.
12838         (tan_test_data): Update call to AUTO_TESTS_f_f.
12839         (tan_test): Use ALL_RM_TEST.
12840         (tan_tonearest_test_data): Remove.
12841         (tan_test_tonearest): Likewise.
12842         (tan_towardzero_test_data): Likewise.
12843         (tan_test_towardzero): Likewise.
12844         (tan_downward_test_data): Likewise.
12845         (tan_test_downward): Likewise.
12846         (tan_upward_test_data): Likewise.
12847         (tan_test_upward): Likewise.
12848         (tanh_test_data): Update call to AUTO_TESTS_f_f.
12849         (tgamma_test_data): Likewise.
12850         (y0_test_data): Likewise.
12851         (y1_test_data): Likewise.
12852         (yn_test_data): Update call to AUTO_TESTS_if_f.
12853         (main): Do not call removed functions.
12854
12855 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
12856
12857         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
12858         (ldexp_test_data): Remove.
12859         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
12860         scalbn_test_data.
12861         (scalb_test): Use ALL_RM_TEST.
12862
12863 2014-03-19  Andreas Schwab  <schwab@suse.de>
12864
12865         * nscd/nscd.service: Also invalidate netgroup cache on reload.
12866
12867 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
12868
12869         [BZ #16649]
12870         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12871         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
12872         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
12873         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12874         (__ASSUME_PREADV): Undefine.
12875         (__ASSUME_PWRITEV): Likewise.
12876
12877 2014-03-18  Roland McGrath  <roland@hack.frob.com>
12878
12879         * bits/mman-linux.h: Add comment about non-Linux use.
12880         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
12881         bits/mman-linux.h resting place.
12882
12883         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
12884         * bits/mman-linux.h: ... here.
12885
12886 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12887
12888         * conform/conformtest.pl: Add standard definition when calling C
12889         preprocessor on data files.
12890         (checknamespace): Remove unused variable.
12891
12892 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
12893
12894         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
12895         minus_oflow, plus_uflow and minus_uflow in expected results.
12896         * math/libm-test.inc (scalbn_test_data): Add more tests of
12897         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
12898         minus_uflow.
12899         (scalbn_test): Use ALL_RM_TEST.
12900         (scalbln_test_data): Add more tests of negative arguments.  Use
12901         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
12902         (scalbln_test): Use ALL_RM_TEST.
12903
12904 2014-03-18  Roland McGrath  <roland@hack.frob.com>
12905
12906         * scripts/abilist.awk: Ignore symbols marked with .hidden.
12907
12908 2014-03-18  Will Newton  <will.newton@linaro.org>
12909
12910         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
12911         inaccurate comment.
12912
12913 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
12914
12915         * Makerules [!subdir] (check-abi): Exit with error status if a
12916         test failed.
12917
12918 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
12919
12920         * math/libm-test.inc (nearbyint_test_data): Include all tests used
12921         for rint.  Include results for all rounding modes.
12922         (nearbyint_test): Use ALL_RM_TEST.
12923         (rint_test_data): Include all tests used for nearbyint.
12924
12925 2014-03-17  Will Newton  <will.newton@linaro.org>
12926
12927         * nptl/sysdeps/pthread/pthread.h: Revert previous
12928         change.
12929
12930         * sysdeps/generic/ldsodefs.h: Revert previous
12931         change.
12932
12933         * libio/genops.c: Revert previous change.
12934         * libio/libioP.h: Likewise.
12935         * stdio-common/vfprintf.c: Likewise.
12936
12937         * sysdeps/generic/math_private.h: Revert previous
12938         change.
12939
12940         * sysdeps/generic/math_private.h: Check whether
12941         HAVE_RM_CTX is defined with #ifdef rather
12942         than #if.
12943
12944         * argp/argp-fmtstream.h: Check whether
12945         __STRICT_ANSI__ is defined with #ifdef rather
12946         than #if.
12947         * argp/argp.h: Likewise.
12948
12949         * libio/genops.c: Check whether
12950         _IO_JUMPS_OFFSET is defined with #ifdef rather
12951         than #if.
12952         * libio/libioP.h: Likewise.
12953         * stdio-common/vfprintf.c: Likewise.
12954
12955         * sysdeps/generic/ldsodefs.h: Check whether
12956         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
12957         than #if.
12958
12959         * nptl/sysdeps/pthread/pthread.h: Check
12960         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
12961         its value.
12962
12963 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
12964
12965         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
12966         setting O_APPEND.
12967         * libio/tst-ftell-active-handler.c (do_append_test): Add a
12968         test case.
12969
12970         [BZ #16680]
12971         * libio/fileops.c (_IO_file_open): Seek to end of file but
12972         don't cache the offset.
12973         (get_file_offset): Remove function.
12974         (do_ftell): Use cached offset when available.
12975         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
12976         don't cache the offset.
12977         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
12978         case.
12979         (do_one_test): Call it.
12980         (do_ftell_test): Fix up expected old offset for a+ mode.
12981         * libio/wfileops.c (do_ftell_wide): Used cached offset when
12982         available.
12983
12984         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
12985         up test status with function return status.
12986         (do_write_test): Likewise.
12987         (do_append_test): Likewise.
12988
12989         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
12990         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
12991         Remove.
12992
12993 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
12994
12995         * math/gen-libm-test.pl (parse_args): Handle results specified for
12996         each rounding mode separately.
12997         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
12998         tests and results from lrint_tonearest_test_data,
12999         lrint_towardzero_test_data, lrint_downward_test_data and
13000         lrint_upward_test_data.
13001         (lrint_test): Use ALL_RM_TEST.
13002         (lrint_tonearest_test_data): Remove.
13003         (lrint_test_tonearest): Likewise.
13004         (lrint_towardzero_test_data): Likewise.
13005         (lrint_test_towardzero): Likewise.
13006         (lrint_downward_test_data): Likewise.
13007         (lrint_test_downward): Likewise.
13008         (lrint_upward_test_data): Likewise.
13009         (lrint_test_upward): Likewise.
13010         (llrint_test_data): Merge in per-rounding-mode tests and results
13011         from llrint_tonearest_test_data, llrint_towardzero_test_data,
13012         llrint_downward_test_data and llrint_upward_test_data.
13013         (llrint_test): Use ALL_RM_TEST.
13014         (llrint_tonearest_test_data): Remove.
13015         (llrint_test_tonearest): Likewise.
13016         (llrint_towardzero_test_data): Likewise.
13017         (llrint_test_towardzero): Likewise.
13018         (llrint_downward_test_data): Likewise.
13019         (llrint_test_downward): Likewise.
13020         (llrint_upward_test_data): Likewise.
13021         (llrint_test_upward): Likewise.
13022         (rint_test_data): Merge in per-rounding-mode tests and results
13023         from rint_tonearest_test_data, rint_towardzero_test_data,
13024         rint_downward_test_data and rint_upward_test_data.  Add
13025         per-rounding-mode results for tests not in those arrays.
13026         (rint_test): Use ALL_RM_TEST.
13027         (rint_tonearest_test_data): Remove.
13028         (rint_test_tonearest): Likewise.
13029         (rint_towardzero_test_data): Likewise.
13030         (rint_test_towardzero): Likewise.
13031         (rint_downward_test_data): Likewise.
13032         (rint_test_downward): Likewise.
13033         (rint_upward_test_data): Likewise.
13034         (rint_test_upward): Likewise.
13035         (main): Don't call removed functions.
13036
13037 2014-03-14  Roland McGrath  <roland@hack.frob.com>
13038
13039         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
13040         "Compiled on ..." crapola.  It is anti-useful.
13041
13042 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
13043
13044         * scripts/evaluate-test.sh: Handle fourth argument to determine
13045         whether test run should stop on failure.
13046         * Makeconfig (stop-on-test-failure): New variable.
13047         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
13048         $(stop-on-test-failure).
13049         * Makefile (tests): Give a summary of results from testing and
13050         exit with failure status if they include an ERROR or FAIL.
13051         (xtests): Likewise.
13052         * manual/install.texi (Configuring and compiling): Mention
13053         stop-on-test-failure=y.
13054         * INSTALL: Regenerated.
13055
13056 2014-03-14  Roland McGrath  <roland@hack.frob.com>
13057
13058         * scripts/versionlist.awk: New file.
13059         * Makerules [$(build-shared) = yes]
13060         (postclean-generated): Add Versions.def, not Versions.def.v and
13061         Versions.def.v.i.
13062         ($(common-objpfx)Versions.def.v.i): Target removed.
13063         ($(common-objpfx)Versions.def): New target.
13064         ($(common-objpfx)Versions.all): Depend on that rather that
13065         $(common-objpfx)Versions.def.v.
13066         * Versions.def: File removed.
13067
13068         * Makeconfig (+gccwarn): Add -Wundef.
13069         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
13070         a dl-sysdep.h breaking its contract.
13071         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
13072         * include/stackinfo.h: New file.
13073         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
13074         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
13075         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
13076         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
13077         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
13078         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
13079         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13080         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13081         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13082         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13083         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13084         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
13085         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13086         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13087         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13088
13089 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13090
13091         [BZ #16707]
13092         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
13093         implementation.
13094         * math/libm-test.inc (round_test_data): Add more tests.
13095
13096         [BZ #16706]
13097         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
13098         implementation.
13099         * math/libm-test.inc (nearbyint_test_data): Add more tests.
13100
13101         [BZ #16701]
13102         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
13103         implementation.
13104         * math/libm-test.inc (ceil_test_data): Add more tests.
13105
13106         * math/libm-test.inc (trunc_test_data): Add more tests related to
13107         BZ#16414.
13108
13109 2014-03-14  Roland McGrath  <roland@hack.frob.com>
13110
13111         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
13112         with #if rather than #ifdef.
13113         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
13114
13115 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
13116
13117         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
13118         first.  Disable AVX-512 GCC support if assembler doesn't support
13119         it.
13120         * sysdeps/x86_64/configure: Regenerated.
13121
13122 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
13123
13124         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
13125         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
13126         (__old_pthread_attr_setstack): Likewise.
13127         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
13128         [!_STACK_GROWS_DOWN]: Likewise.
13129
13130 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
13131
13132         * config.make.in (have-bash2): Delete.
13133         * configure.ac (libc_cv_have_bash2): Delete.
13134         * configure: Regenerate.
13135         * elf/Makefile (common-ldd-rewrite): Rename to ...
13136         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
13137         (sh-ldd-rewrite): Delete.
13138         (bash-ldd-rewrite): Delete.
13139         (have-bash2): Delete checks.
13140         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
13141         ldd-rewrite.
13142
13143         * config.make.in (have-ksh): Delete.
13144         (KSH): Delete.
13145         * configure.ac (libc_cv_have_ksh): Delete.
13146         * configure: Regenerate.
13147
13148         * elf/Makefile: Delete $(have-ksh) check.
13149         ($(objpfx)sotruss): Change KSH to BASH.
13150         * elf/sotruss.ksh: Rename to ...
13151         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
13152         function style to match POSIX.  Drop ksh vim mode setting.
13153
13154         * manual/time.texi (Specifying the Time Zone with TZ): Change
13155         Tuesday to Thursday.
13156
13157         * debug/tst-longjmp_chk2.c: Update header comment.
13158         (stackoverflow_handler): Add comment.  Call assert on pass value.
13159
13160 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
13161
13162         [BZ #16194]
13163         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
13164         (HAVE_AVX512_ASM_SUPPORT): Likewise.
13165         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
13166         (La_x86_64_vector): Add zmm.
13167         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
13168         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
13169         ($(objpfx)tst-audit10): New target.
13170         ($(objpfx)tst-audit10.out): Likewise.
13171         (tst-audit10-ENV): New.
13172         (AVX512-CFLAGS): Likewise.
13173         (CFLAGS-tst-audit10.c): Likewise.
13174         (CFLAGS-tst-auditmod10a.c): Likewise.
13175         (CFLAGS-tst-auditmod10b.c): Likewise.
13176         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
13177         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
13178         * sysdeps/x86_64/configure: Regenerated.
13179         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
13180         AVX-512 zmm register support.
13181         (_dl_x86_64_save_sse): Likewise.
13182         (_dl_x86_64_restore_sse): Likewise.
13183         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
13184         size vector registers.
13185         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
13186         (ZMM_SIZE): Likewise.
13187         * sysdeps/x86_64/tst-audit10.c: New file.
13188         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
13189         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
13190
13191 2014-03-13  Roland McGrath  <roland@hack.frob.com>
13192
13193         * configure.ac (HAVE_EHDR_START): New check.
13194         * configure: Regenerated.
13195         * config.h.in (HAVE_EHDR_START): New #undef.
13196         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
13197         assuming the lowest-addressed segment maps the start of the file.
13198
13199 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
13200
13201         * INSTALL: Regenerated.
13202
13203 2014-03-13  Will Newton  <will.newton@linaro.org>
13204
13205         * manual/setjmp.texi (System V contexts): Improve
13206         clarity and grammar of documentation.
13207
13208 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
13209
13210         [BZ #16381]
13211         * elf/Makefile (tests): Add tst-pie2.
13212         (tests-pie): Add tst-pie2.
13213         * elf/tst-pie2.c: New file.
13214         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
13215         for ET_EXEC.
13216         * elf/rtld.c (map_doit): Load executable as lt_executable.
13217         (dl_main): Likewise.
13218
13219 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
13220
13221         [BZ #16642]
13222         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13223         (__ASSUME_PSELECT): Undefine.
13224
13225 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13226
13227         [BZ #16689]
13228         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
13229         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
13230         static build.
13231         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
13232         selector for static builds.
13233
13234 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
13235
13236         [BZ #16695]
13237         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
13238         key in the buffer.
13239
13240 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13241
13242         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
13243         IFUNC selector for static builds.
13244
13245 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
13246
13247         * sysdeps/mips/math_private.h [__mips_hard_float]
13248         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
13249         libc_feresetround_mips_ctx.
13250         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
13251         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
13252         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
13253
13254         [BZ #16677]
13255         * math/s_nextafter.c (__nextafter): Do not return value from
13256         overflowing computation.
13257         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
13258         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
13259         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
13260         Likewise.
13261         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
13262         Likewise.
13263         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
13264         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
13265
13266 2014-03-11  Roland McGrath  <roland@hack.frob.com>
13267
13268         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
13269         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
13270         Move sfi_sp use from the load-multiple (that no longer sets sp) to
13271         the new mov targetting sp.
13272
13273 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13274
13275         [BZ #16683]
13276         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
13277         Define it for static builds as well.
13278         (NO_BZERO_IMPL): Likewise.
13279
13280 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
13281
13282         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
13283         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
13284         multiarch strspn for PPC64.
13285         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
13286         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
13287         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
13288         (__libc_ifunc_impl_list): Likewise.
13289         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
13290         multiarch optimizations
13291         * string/strspn.c (strspn): Using macro to redefine symbol name.
13292
13293 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
13294             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13295
13296         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
13297         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
13298         multiarch strncat for PPC64.
13299         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
13300         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
13301         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
13302         (__libc_ifunc_impl_list): Likewise.
13303         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
13304         multiarch optimizations
13305
13306 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
13307
13308         [BZ #16639]
13309         * nscd/nscd.service: Make service type forking.
13310
13311 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13312
13313         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
13314         sign in non default rounding modes.
13315         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
13316
13317 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
13318
13319         * math/libm-test.inc (ALL_RM_TEST): New macro.
13320         (ceil_test): Use ALL_RM_TEST.
13321         (cimag_test): Likewise.
13322         (conj_test): Likewise.
13323         (copysign_test): Likewise.
13324         (cproj_test): Likewise.
13325         (creal_test): Likewise.
13326         (fabs_test): Likewise.
13327         (floor_test): Likewise.
13328         (fmax_test): Likewise.
13329         (fmin_test): Likewise.
13330         (fmod_test): Likewise.
13331         (fpclassify_test): Likewise.
13332         (frexp_test): Likewise.
13333         (ilogb_test): Likewise.
13334         (isfinite_test): Likewise.
13335         (finite_test): Likewise.
13336         (isgreater_test): Likewise.
13337         (isgreaterequal_test): Likewise.
13338         (isinf_test): Likewise.
13339         (isless_test): Likewise.
13340         (islessequal_test): Likewise.
13341         (islessgreater_test): Likewise.
13342         (isnan_test): Likewise.
13343         (isnormal_test): Likewise.
13344         (issignaling_test): Likewise.
13345         (isunordered_test): Likewise.
13346         (logb_test): Likewise.
13347         (logb_downward_test_data): Remove.
13348         (logb_test_downward): Likewise.
13349         (lround_test): Use ALL_RM_TEST.
13350         (llround_test): Likewise.
13351         (modf_test): Likewise.
13352         (nexttoward_test): Likewise.
13353         (remainder_test): Likewise.
13354         (drem_test): Likewise.
13355         (remainder_tonearest_test_data): Likewise.
13356         (remainder_test_tonearest): Likewise.
13357         (drem_test_tonearest): Likewise.
13358         (remainder_towardzero_test_data): Likewise.
13359         (remainder_test_towardzero): Likewise.
13360         (drem_test_towardzero): Likewise.
13361         (remainder_downward_test_data): Likewise.
13362         (remainder_test_downward): Likewise.
13363         (drem_test_downward): Likewise.
13364         (remainder_upward_test_data): Likewise.
13365         (remainder_test_upward): Likewise.
13366         (drem_test_upward): Likewise.
13367         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
13368         (round_test): Use ALL_RM_TEST.
13369         (signbit_test): Likewise.
13370         (trunc_test): Likewise.
13371         (significand_test): Likewise.
13372         (main): Don't call removed functions.
13373
13374 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
13375
13376         [BZ #16674]
13377         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
13378         || __USE_XOPEN2K8].
13379         (ILL_ILLOPN): Likewise.
13380         (ILL_ILLADR): Likewise.
13381         (ILL_ILLTRP): Likewise.
13382         (ILL_PRVOPC): Likewise.
13383         (ILL_PRVREG): Likewise.
13384         (ILL_COPROC): Likewise.
13385         (ILL_BADSTK): Likewise.
13386         (FPE_INTDIV): Likewise.
13387         (FPE_INTOVF): Likewise.
13388         (FPE_FLTDIV): Likewise.
13389         (FPE_FLTOVF): Likewise.
13390         (FPE_FLTUND): Likewise.
13391         (FPE_FLTRES): Likewise.
13392         (FPE_FLTINV): Likewise.
13393         (FPE_FLTSUB): Likewise.
13394         (SEGV_MAPERR): Likewise.
13395         (SEGV_ACCERR): Likewise.
13396         (BUS_ADRALN): Likewise.
13397         (BUS_ADRERR): Likewise.
13398         (BUS_OBJERR): Likewise.
13399         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13400         (TRAP_TRACE): Likewise.
13401         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13402         __USE_XOPEN2K8].
13403         (CLD_KILLED): Likewise.
13404         (CLD_DUMPED): Likewise.
13405         (CLD_TRAPPED): Likewise.
13406         (CLD_STOPPED): Likewise.
13407         (CLD_CONTINUED): Likewise.
13408         (POLL_IN): Likewise.
13409         (POLL_OUT): Likewise.
13410         (POLL_MSG): Likewise.
13411         (POLL_ERR): Likewise.
13412         (POLL_PRI): Likewise.
13413         (POLL_HUP): Likewise.
13414         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
13415         Likewise.
13416         (ILL_ILLOPN): Likewise.
13417         (ILL_ILLADR): Likewise.
13418         (ILL_ILLTRP): Likewise.
13419         (ILL_PRVOPC): Likewise.
13420         (ILL_PRVREG): Likewise.
13421         (ILL_COPROC): Likewise.
13422         (ILL_BADSTK): Likewise.
13423         (FPE_INTDIV): Likewise.
13424         (FPE_INTOVF): Likewise.
13425         (FPE_FLTDIV): Likewise.
13426         (FPE_FLTOVF): Likewise.
13427         (FPE_FLTUND): Likewise.
13428         (FPE_FLTRES): Likewise.
13429         (FPE_FLTINV): Likewise.
13430         (FPE_FLTSUB): Likewise.
13431         (SEGV_MAPERR): Likewise.
13432         (SEGV_ACCERR): Likewise.
13433         (BUS_ADRALN): Likewise.
13434         (BUS_ADRERR): Likewise.
13435         (BUS_OBJERR): Likewise.
13436         (BUS_MCEERR_AR): Likewise.
13437         (BUS_MCEERR_AO): Likewise.
13438         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13439         (TRAP_TRACE): Likewise.
13440         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13441         __USE_XOPEN2K8].
13442         (CLD_KILLED): Likewise.
13443         (CLD_DUMPED): Likewise.
13444         (CLD_TRAPPED): Likewise.
13445         (CLD_STOPPED): Likewise.
13446         (CLD_CONTINUED): Likewise.
13447         (POLL_IN): Likewise.
13448         (POLL_OUT): Likewise.
13449         (POLL_MSG): Likewise.
13450         (POLL_ERR): Likewise.
13451         (POLL_PRI): Likewise.
13452         (POLL_HUP): Likewise.
13453         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
13454         (ILL_ILLOPN): Likewise.
13455         (ILL_ILLADR): Likewise.
13456         (ILL_ILLTRP): Likewise.
13457         (ILL_PRVOPC): Likewise.
13458         (ILL_PRVREG): Likewise.
13459         (ILL_COPROC): Likewise.
13460         (ILL_BADSTK): Likewise.
13461         (FPE_INTDIV): Likewise.
13462         (FPE_INTOVF): Likewise.
13463         (FPE_FLTDIV): Likewise.
13464         (FPE_FLTOVF): Likewise.
13465         (FPE_FLTUND): Likewise.
13466         (FPE_FLTRES): Likewise.
13467         (FPE_FLTINV): Likewise.
13468         (FPE_FLTSUB): Likewise.
13469         (SEGV_MAPERR): Likewise.
13470         (SEGV_ACCERR): Likewise.
13471         (BUS_ADRALN): Likewise.
13472         (BUS_ADRERR): Likewise.
13473         (BUS_OBJERR): Likewise.
13474         (BUS_MCEERR_AR): Likewise.
13475         (BUS_MCEERR_AO): Likewise.
13476         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13477         (TRAP_TRACE): Likewise.
13478         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13479         __USE_XOPEN2K8].
13480         (CLD_KILLED): Likewise.
13481         (CLD_DUMPED): Likewise.
13482         (CLD_TRAPPED): Likewise.
13483         (CLD_STOPPED): Likewise.
13484         (CLD_CONTINUED): Likewise.
13485         (POLL_IN): Likewise.
13486         (POLL_OUT): Likewise.
13487         (POLL_MSG): Likewise.
13488         (POLL_ERR): Likewise.
13489         (POLL_PRI): Likewise.
13490         (POLL_HUP): Likewise.
13491         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
13492         Likewise.
13493         (ILL_ILLOPN): Likewise.
13494         (ILL_ILLADR): Likewise.
13495         (ILL_ILLTRP): Likewise.
13496         (ILL_PRVOPC): Likewise.
13497         (ILL_PRVREG): Likewise.
13498         (ILL_COPROC): Likewise.
13499         (ILL_BADSTK): Likewise.
13500         (ILL_BADIADDR): Likewise.
13501         (ILL_BREAK): Likewise.
13502         (FPE_INTDIV): Likewise.
13503         (FPE_INTOVF): Likewise.
13504         (FPE_FLTDIV): Likewise.
13505         (FPE_FLTOVF): Likewise.
13506         (FPE_FLTUND): Likewise.
13507         (FPE_FLTRES): Likewise.
13508         (FPE_FLTINV): Likewise.
13509         (FPE_FLTSUB): Likewise.
13510         (FPE_DECOVF): Likewise.
13511         (FPE_DECDIV): Likewise.
13512         (FPE_DECERR): Likewise.
13513         (FPE_INVASC): Likewise.
13514         (FPE_INVDEC): Likewise.
13515         (SEGV_MAPERR): Likewise.
13516         (SEGV_ACCERR): Likewise.
13517         (SEGV_PSTKOVF): Likewise.
13518         (BUS_ADRALN): Likewise.
13519         (BUS_ADRERR): Likewise.
13520         (BUS_OBJERR): Likewise.
13521         (BUS_MCEERR_AR): Likewise.
13522         (BUS_MCEERR_AO): Likewise.
13523         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13524         (TRAP_TRACE): Likewise.
13525         (TRAP_BRANCH): Likewise.
13526         (TRAP_HWBKPT): Likewise.
13527         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13528         __USE_XOPEN2K8].
13529         (CLD_KILLED): Likewise.
13530         (CLD_DUMPED): Likewise.
13531         (CLD_TRAPPED): Likewise.
13532         (CLD_STOPPED): Likewise.
13533         (CLD_CONTINUED): Likewise.
13534         (POLL_IN): Likewise.
13535         (POLL_OUT): Likewise.
13536         (POLL_MSG): Likewise.
13537         (POLL_ERR): Likewise.
13538         (POLL_PRI): Likewise.
13539         (POLL_HUP): Likewise.
13540         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
13541         (ILL_ILLOPN): Likewise.
13542         (ILL_ILLADR): Likewise.
13543         (ILL_ILLTRP): Likewise.
13544         (ILL_PRVOPC): Likewise.
13545         (ILL_PRVREG): Likewise.
13546         (ILL_COPROC): Likewise.
13547         (ILL_BADSTK): Likewise.
13548         (FPE_INTDIV): Likewise.
13549         (FPE_INTOVF): Likewise.
13550         (FPE_FLTDIV): Likewise.
13551         (FPE_FLTOVF): Likewise.
13552         (FPE_FLTUND): Likewise.
13553         (FPE_FLTRES): Likewise.
13554         (FPE_FLTINV): Likewise.
13555         (FPE_FLTSUB): Likewise.
13556         (SEGV_MAPERR): Likewise.
13557         (SEGV_ACCERR): Likewise.
13558         (BUS_ADRALN): Likewise.
13559         (BUS_ADRERR): Likewise.
13560         (BUS_OBJERR): Likewise.
13561         (BUS_MCEERR_AR): Likewise.
13562         (BUS_MCEERR_AO): Likewise.
13563         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13564         (TRAP_TRACE): Likewise.
13565         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13566         __USE_XOPEN2K8].
13567         (CLD_KILLED): Likewise.
13568         (CLD_DUMPED): Likewise.
13569         (CLD_TRAPPED): Likewise.
13570         (CLD_STOPPED): Likewise.
13571         (CLD_CONTINUED): Likewise.
13572         (POLL_IN): Likewise.
13573         (POLL_OUT): Likewise.
13574         (POLL_MSG): Likewise.
13575         (POLL_ERR): Likewise.
13576         (POLL_PRI): Likewise.
13577         (POLL_HUP): Likewise.
13578         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
13579         (ILL_ILLOPN): Likewise.
13580         (ILL_ILLADR): Likewise.
13581         (ILL_ILLTRP): Likewise.
13582         (ILL_PRVOPC): Likewise.
13583         (ILL_PRVREG): Likewise.
13584         (ILL_COPROC): Likewise.
13585         (ILL_BADSTK): Likewise.
13586         (FPE_INTDIV): Likewise.
13587         (FPE_INTOVF): Likewise.
13588         (FPE_FLTDIV): Likewise.
13589         (FPE_FLTOVF): Likewise.
13590         (FPE_FLTUND): Likewise.
13591         (FPE_FLTRES): Likewise.
13592         (FPE_FLTINV): Likewise.
13593         (FPE_FLTSUB): Likewise.
13594         (SEGV_MAPERR): Likewise.
13595         (SEGV_ACCERR): Likewise.
13596         (BUS_ADRALN): Likewise.
13597         (BUS_ADRERR): Likewise.
13598         (BUS_OBJERR): Likewise.
13599         (BUS_MCEERR_AR): Likewise.
13600         (BUS_MCEERR_AO): Likewise.
13601         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13602         (TRAP_TRACE): Likewise.
13603         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13604         __USE_XOPEN2K8].
13605         (CLD_KILLED): Likewise.
13606         (CLD_DUMPED): Likewise.
13607         (CLD_TRAPPED): Likewise.
13608         (CLD_STOPPED): Likewise.
13609         (CLD_CONTINUED): Likewise.
13610         (POLL_IN): Likewise.
13611         (POLL_OUT): Likewise.
13612         (POLL_MSG): Likewise.
13613         (POLL_ERR): Likewise.
13614         (POLL_PRI): Likewise.
13615         (POLL_HUP): Likewise.
13616         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
13617         (ILL_ILLOPN): Likewise.
13618         (ILL_ILLADR): Likewise.
13619         (ILL_ILLTRP): Likewise.
13620         (ILL_PRVOPC): Likewise.
13621         (ILL_PRVREG): Likewise.
13622         (ILL_COPROC): Likewise.
13623         (ILL_BADSTK): Likewise.
13624         (FPE_INTDIV): Likewise.
13625         (FPE_INTOVF): Likewise.
13626         (FPE_FLTDIV): Likewise.
13627         (FPE_FLTOVF): Likewise.
13628         (FPE_FLTUND): Likewise.
13629         (FPE_FLTRES): Likewise.
13630         (FPE_FLTINV): Likewise.
13631         (FPE_FLTSUB): Likewise.
13632         (SEGV_MAPERR): Likewise.
13633         (SEGV_ACCERR): Likewise.
13634         (BUS_ADRALN): Likewise.
13635         (BUS_ADRERR): Likewise.
13636         (BUS_OBJERR): Likewise.
13637         (BUS_MCEERR_AR): Likewise.
13638         (BUS_MCEERR_AO): Likewise.
13639         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13640         (TRAP_TRACE): Likewise.
13641         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13642         __USE_XOPEN2K8].
13643         (CLD_KILLED): Likewise.
13644         (CLD_DUMPED): Likewise.
13645         (CLD_TRAPPED): Likewise.
13646         (CLD_STOPPED): Likewise.
13647         (CLD_CONTINUED): Likewise.
13648         (POLL_IN): Likewise.
13649         (POLL_OUT): Likewise.
13650         (POLL_MSG): Likewise.
13651         (POLL_ERR): Likewise.
13652         (POLL_PRI): Likewise.
13653         (POLL_HUP): Likewise.
13654         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
13655         (ILL_ILLOPN): Likewise.
13656         (ILL_ILLADR): Likewise.
13657         (ILL_ILLTRP): Likewise.
13658         (ILL_PRVOPC): Likewise.
13659         (ILL_PRVREG): Likewise.
13660         (ILL_COPROC): Likewise.
13661         (ILL_BADSTK): Likewise.
13662         (ILL_DBLFLT): Likewise.
13663         (ILL_HARDWALL): Likewise.
13664         (FPE_INTDIV): Likewise.
13665         (FPE_INTOVF): Likewise.
13666         (FPE_FLTDIV): Likewise.
13667         (FPE_FLTOVF): Likewise.
13668         (FPE_FLTUND): Likewise.
13669         (FPE_FLTRES): Likewise.
13670         (FPE_FLTINV): Likewise.
13671         (FPE_FLTSUB): Likewise.
13672         (SEGV_MAPERR): Likewise.
13673         (SEGV_ACCERR): Likewise.
13674         (BUS_ADRALN): Likewise.
13675         (BUS_ADRERR): Likewise.
13676         (BUS_OBJERR): Likewise.
13677         (BUS_MCEERR_AR): Likewise.
13678         (BUS_MCEERR_AO): Likewise.
13679         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13680         (TRAP_TRACE): Likewise.
13681         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13682         __USE_XOPEN2K8].
13683         (CLD_KILLED): Likewise.
13684         (CLD_DUMPED): Likewise.
13685         (CLD_TRAPPED): Likewise.
13686         (CLD_STOPPED): Likewise.
13687         (CLD_CONTINUED): Likewise.
13688         (POLL_IN): Likewise.
13689         (POLL_OUT): Likewise.
13690         (POLL_MSG): Likewise.
13691         (POLL_ERR): Likewise.
13692         (POLL_PRI): Likewise.
13693         (POLL_HUP): Likewise.
13694         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
13695         (ILL_ILLOPN): Likewise.
13696         (ILL_ILLADR): Likewise.
13697         (ILL_ILLTRP): Likewise.
13698         (ILL_PRVOPC): Likewise.
13699         (ILL_PRVREG): Likewise.
13700         (ILL_COPROC): Likewise.
13701         (ILL_BADSTK): Likewise.
13702         (FPE_INTDIV): Likewise.
13703         (FPE_INTOVF): Likewise.
13704         (FPE_FLTDIV): Likewise.
13705         (FPE_FLTOVF): Likewise.
13706         (FPE_FLTUND): Likewise.
13707         (FPE_FLTRES): Likewise.
13708         (FPE_FLTINV): Likewise.
13709         (FPE_FLTSUB): Likewise.
13710         (SEGV_MAPERR): Likewise.
13711         (SEGV_ACCERR): Likewise.
13712         (BUS_ADRALN): Likewise.
13713         (BUS_ADRERR): Likewise.
13714         (BUS_OBJERR): Likewise.
13715         (BUS_MCEERR_AR): Likewise.
13716         (BUS_MCEERR_AO): Likewise.
13717         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13718         (TRAP_TRACE): Likewise.
13719         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13720         __USE_XOPEN2K8].
13721         (CLD_KILLED): Likewise.
13722         (CLD_DUMPED): Likewise.
13723         (CLD_TRAPPED): Likewise.
13724         (CLD_STOPPED): Likewise.
13725         (CLD_CONTINUED): Likewise.
13726         (POLL_IN): Likewise.
13727         (POLL_OUT): Likewise.
13728         (POLL_MSG): Likewise.
13729         (POLL_ERR): Likewise.
13730         (POLL_PRI): Likewise.
13731         (POLL_HUP): Likewise.
13732         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
13733         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
13734
13735         [BZ #16670]
13736         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
13737         before #include of <time.h>.
13738         [!__USE_XOPEN2K] (__need_timespec): Likewise.
13739         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
13740         (test-xfail-UNIX98/sched.h/conform): Likewise.
13741
13742 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
13743
13744         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
13745         error absence of trapping exception support.
13746         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
13747
13748 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
13749
13750         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
13751         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
13752         * timezone/Makefile (testdata): Move definition above include of
13753         Rules.
13754         (test-zones): New variable.
13755         (tests-special): Add zone files.
13756         (build-testdata): Use $(evaluate-test).
13757
13758         * elf/Makefile (tests-special): Rename tests to end with .out.
13759         ($(objpfx)noload-mem): Likewise.
13760         ($(objpfx)tst-leaks1-mem): Likewise.
13761         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
13762         * iconv/Makefile (xtests-special): Change test-iconvconfig to
13763         $(objpfx)test-iconvconfig.out.
13764         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
13765         set -e inside subshell and redirect output to file.
13766         * iconvdata/Makefile (generated): Rename tests to end with .out.
13767         Correct type.
13768         (tests-special): Rename tests to end with .out.
13769         ($(objpfx)mtrace-tst-loading): Likewise.
13770         * intl/Makefile (generated): Likewise.
13771         (tests-special): Likewise.
13772         ($(objpfx)mtrace-tst-gettext): Likewise.
13773         * misc/Makefile (generated): Likewise.
13774         (tests-special): Likewise.
13775         ($(objpfx)tst-error1-mem): Likewise.
13776         * nptl/Makefile (tests-special): Likewise.
13777         ($(objpfx)tst-stack3-mem): Likewise.
13778         (generated): Likewise.
13779         * posix/Makefile (generated): Likewise.
13780         (tests-special): Likewise.
13781         (xtests-special): Likewise.
13782         ($(objpfx)tst-fnmatch-mem): Likewise.
13783         ($(objpfx)bug-regex2-mem): Likewise.
13784         ($(objpfx)bug-regex14-mem): Likewise.
13785         ($(objpfx)bug-regex21-mem): Likewise.
13786         ($(objpfx)bug-regex31-mem): Likewise.
13787         ($(objpfx)tst-vfork3-mem): Likewise.
13788         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
13789         ($(objpfx)tst-pcre-mem): Likewise.
13790         ($(objpfx)tst-boost-mem): Likewise.
13791         ($(objpfx)bug-ga2-mem): Likewise.
13792         ($(objpfx)bug-glob2-mem): Likewise.
13793         * resolv/Makefile (generate): Likewise.
13794         (tests-special): Likewise.
13795         (xtests-special): Likewise.
13796         (generated): Likewise.
13797         ($(objpfx)mtrace-tst-leaks): Likewise.
13798         ($(objpfx)mtrace-tst-leaks2): Likewise.
13799
13800         * scripts/merge-test-results.sh: New file.
13801         * Makefile (tests-special-notdir): New variable.
13802         (tests): Run merge-test-results.sh.
13803         (xtests): Likewise.
13804         * Rules (tests-special-notdir): New variable.
13805         (xtests-special-notdir): Likewise.
13806         (tests): Run merge-test-results.sh
13807         (xtests): Likewise.
13808
13809         * Makeconfig (test-xfail-name): New variable.
13810         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
13811         compute variable name for expected failures.
13812         * conform/Makefile (conformtest-headers-data): New variable.
13813         (conformtest-standards): Likewise.
13814         (conformtest-headers-ISO): Likewise.
13815         (conformtest-headers-ISO99): Likewise.
13816         (conformtest-headers-ISO11): Likewise.
13817         (conformtest-headers-POSIX): Likewise.
13818         (conformtest-headers-XPG3): Likewise.
13819         (conformtest-headers-XPG4): Likewise.
13820         (conformtest-headers-UNIX98): Likewise.
13821         (conformtest-headers-XOPEN2K): Likewise.
13822         (conformtest-headers-POSIX2008): Likewise.
13823         (conformtest-headers-XOPEN2K8): Likewise.
13824         (conformtest-header-list-base): Likewise.
13825         (conformtest-header-list-tests): Likewise.
13826         (conformtest-header-base): Likewise.
13827         (conformtest-header-tests): Likewise.
13828         (tests-special): Add $(conformtest-header-list-tests).  If
13829         [$(fast-check) && !$(cross-compiling)], add
13830         $(conformtest-header-tests) instead of
13831         $(objpfx)run-conformtest.out.
13832         (generated): Add $(conformtest-header-list-base).  If
13833         [$(fast-check) && !$(cross-compiling)], add
13834         $(conformtest-header-base).  Remove previous setting.
13835         ($(conformtest-header-list-tests)): New target.
13836         (test-xfail-run-conformtest): Remove variable.
13837         ($(objpfx)run-conformtest.out): Remove target.
13838         (test-xfail-ISO11/complex.h/conform): New variable.
13839         (test-xfail-ISO11/stdalign.h/conform): Likewise.
13840         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
13841         (test-xfail-XPG3/varargs.h/conform): Likewise.
13842         (test-xfail-XPG4/varargs.h/conform): Likewise.
13843         (test-xfail-UNIX98/varargs.h/conform): Likewise.
13844         (test-xfail-XPG4/ndbm.h/conform): Likewise.
13845         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
13846         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
13847         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
13848         (test-xfail-XPG3/fcntl.h/conform): Likewise.
13849         (test-xfail-XPG3/ftw.h/conform): Likewise.
13850         (test-xfail-XPG3/grp.h/conform): Likewise.
13851         (test-xfail-XPG3/langinfo.h/conform): Likewise.
13852         (test-xfail-XPG3/limits.h/conform): Likewise.
13853         (test-xfail-XPG3/pwd.h/conform): Likewise.
13854         (test-xfail-XPG3/search.h/conform): Likewise.
13855         (test-xfail-XPG3/signal.h/conform): Likewise.
13856         (test-xfail-XPG3/stdio.h/conform): Likewise.
13857         (test-xfail-XPG3/stdlib.h/conform): Likewise.
13858         (test-xfail-XPG3/string.h/conform): Likewise.
13859         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
13860         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
13861         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
13862         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
13863         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
13864         (test-xfail-XPG3/sys/types.h/conform): Likewise.
13865         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
13866         (test-xfail-XPG3/termios.h/conform): Likewise.
13867         (test-xfail-XPG3/time.h/conform): Likewise.
13868         (test-xfail-XPG3/unistd.h/conform): Likewise.
13869         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
13870         (test-xfail-XPG4/fcntl.h/conform): Likewise.
13871         (test-xfail-XPG4/langinfo.h/conform): Likewise.
13872         (test-xfail-XPG4/netdb.h/conform): Likewise.
13873         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
13874         (test-xfail-XPG4/signal.h/conform): Likewise.
13875         (test-xfail-XPG4/stdio.h/conform): Likewise.
13876         (test-xfail-XPG4/stdlib.h/conform): Likewise.
13877         (test-xfail-XPG4/stropts.h/conform): Likewise.
13878         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
13879         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
13880         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
13881         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
13882         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
13883         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
13884         (test-xfail-XPG4/sys/time.h/conform): Likewise.
13885         (test-xfail-XPG4/sys/types.h/conform): Likewise.
13886         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
13887         (test-xfail-XPG4/termios.h/conform): Likewise.
13888         (test-xfail-XPG4/ucontext.h/conform): Likewise.
13889         (test-xfail-XPG4/unistd.h/conform): Likewise.
13890         (test-xfail-XPG4/utmpx.h/conform): Likewise.
13891         (test-xfail-POSIX/sched.h/conform): Likewise.
13892         (test-xfail-POSIX/signal.h/conform): Likewise.
13893         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
13894         (test-xfail-POSIX/tar.h/conform): Likewise.
13895         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
13896         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
13897         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
13898         (test-xfail-UNIX98/netdb.h/conform): Likewise.
13899         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
13900         (test-xfail-UNIX98/sched.h/conform): Likewise.
13901         (test-xfail-UNIX98/signal.h/conform): Likewise.
13902         (test-xfail-UNIX98/stdio.h/conform): Likewise.
13903         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
13904         (test-xfail-UNIX98/stropts.h/conform): Likewise.
13905         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
13906         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
13907         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
13908         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
13909         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
13910         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
13911         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
13912         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
13913         (test-xfail-UNIX98/unistd.h/conform): Likewise.
13914         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
13915         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
13916         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
13917         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
13918         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
13919         (test-xfail-XOPEN2K/math.h/conform): Likewise.
13920         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
13921         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
13922         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
13923         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
13924         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
13925         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
13926         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
13927         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
13928         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
13929         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
13930         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
13931         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
13932         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
13933         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
13934         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
13935         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
13936         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
13937         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
13938         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
13939         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
13940         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
13941         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
13942         (test-xfail-POSIX2008/signal.h/conform): Likewise.
13943         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
13944         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
13945         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
13946         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
13947         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
13948         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
13949         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
13950         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
13951         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
13952         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
13953         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
13954         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
13955         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
13956         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
13957         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
13958         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
13959         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
13960         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
13961         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
13962         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
13963         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
13964         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
13965         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
13966         (conformtest-cc-flags): Likewise.
13967         ($(conformtest-header-tests): New target.
13968         * conform/check-header-lists.sh: New file.
13969         * conform/run-conformtest.sh: Remove.
13970
13971         * conform/conformtest.pl: Allow ' and \ in values given for
13972         constants.
13973         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
13974         inclusion.
13975         [POSIX] (sys/types.h): Likewise.
13976         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
13977         inclusion.
13978         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
13979         inclusion.
13980         * conform/data/signal.h-data (SIGIO): Remove expectation.
13981         [XPG3] (SIGBUS): Do not expect.
13982         [POSIX || XPG3] (SIGPOLL): Likewise.
13983         [POSIX || XPG3] (SIGPROF): Likewise.
13984         [POSIX || XPG3] (SIGSYS): Likewise.
13985         [XPG3] (SIGTRAP): Likewise.
13986         [POSIX || XPG3] (SIGURG): Likewise.
13987         [POSIX || XPG3] (SIGVTALRM): Likewise.
13988         [POSIX || XPG3] (SIGXCPU): Likewise.
13989         [POSIX || XPG3] (SIGXFSZ): Likewise.
13990         [POSIX] (SA_SIGINFO): Expect.
13991         [XPG3] (siginfo_t): Do not expect type or contents.
13992         [POSIX] (si_pid): Do not expect element.
13993         [POSIX] (si_uid): Likewise.
13994         [POSIX] (si_addr): Likewise.
13995         [POSIX] (si_status): Likewise.
13996         [POSIX] (si_band): Likewise.
13997         [XPG4] (si_value): Likewise.
13998         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
13999         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
14000         [POSIX || XPG3] (ILL_ILLADR): Likewise.
14001         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
14002         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
14003         [POSIX || XPG3] (ILL_PRVREG): Likewise.
14004         [POSIX || XPG3] (ILL_COPROC): Likewise.
14005         [POSIX || XPG3] (ILL_BADSTK): Likewise.
14006         [POSIX || XPG3] (FPE_INTDIV): Likewise.
14007         [POSIX || XPG3] (FPE_INTOVF): Likewise.
14008         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
14009         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
14010         [POSIX || XPG3] (FPE_FLTUND): Likewise.
14011         [POSIX || XPG3] (FPE_FLTRES): Likewise.
14012         [POSIX || XPG3] (FPE_FLTINV): Likewise.
14013         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
14014         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
14015         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
14016         [POSIX || XPG3] (BUS_ADRALN): Likewise.
14017         [POSIX || XPG3] (BUS_ADRERR): Likewise.
14018         [POSIX || XPG3] (BUS_OBJERR): Likewise.
14019         [POSIX || XPG3] (CLD_EXITED): Likewise.
14020         [POSIX || XPG3] (CLD_KILLED): Likewise.
14021         [POSIX || XPG3] (CLD_DUMPED): Likewise.
14022         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
14023         [POSIX || XPG3] (CLD_STOPPED): Likewise.
14024         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
14025         [POSIX || XPG3] (POLL_IN): Likewise.
14026         [POSIX || XPG3] (POLL_OUT): Likewise.
14027         [POSIX || XPG3] (POLL_MSG): Likewise.
14028         [POSIX || XPG3] (POLL_ERR): Likewise.
14029         [POSIX || XPG3] (POLL_PRI): Likewise.
14030         [POSIX || XPG3] (POLL_HUP): Likewise.
14031         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
14032         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
14033         (SIG*): Do not allow.
14034         [XPG3] (si_*): Likewise.
14035         [XPG3] (SI_*): Likewise.
14036         [XPG3 || XPG4] (sigev_*): Likewise.
14037         [XPG3 || XPG4] (SIGEV_*): Likewise.
14038         [XPG3 || XPG4] (sival_*): Likewise.
14039         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
14040         [POSIX || XPG3] (BUS_*): Likewise.
14041         [POSIX || XPG3] (CLD_*): Likewise.
14042         [POSIX || XPG3] (FPE_*): Likewise.
14043         [POSIX || XPG3] (ILL_*): Likewise.
14044         [POSIX || XPG3] (POLL_*): Likewise.
14045         [POSIX || XPG3] (SEGV_*): Likewise.
14046         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
14047         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
14048         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
14049         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
14050         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
14051         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
14052         Specify type and value.
14053         (TVERSLEN): Likewise.
14054         (REGTYPE): Likewise.
14055         (AREGTYPE): Likewise.
14056         (LNKTYPE): Likewise.
14057         (SYMTYPE): Likewise.
14058         (CHRTYPE): Likewise.
14059         (BLKTYPE): Likewise.
14060         (DIRTYPE): Likewise.
14061         (FIFOTYPE): Likewise.
14062         (CONTTYPE): Likewise.
14063         (TSUID): Likewise.
14064         (TSGID): Likewise.
14065         (TSVTX): Likewise.
14066         (TUREAD): Likewise.
14067         (TUWRITE): Likewise.
14068         (TUEXEC): Likewise.
14069         (TGREAD): Likewise.
14070         (TGWRITE): Likewise.
14071         (TGEXEC): Likewise.
14072         (TOREAD): Likewise.
14073         (TOWRITE): Likewise.
14074         (TOEXEC): Likewise.
14075         [POSIX] (TSVTX): Expect constant.
14076
14077 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
14078
14079         * Makefile (tests): Change dependencies to ....
14080         (tests-special): ... additions to this variable.
14081         (tests): Depend on $(tests-special).
14082         * Makerules (check-abi-list): New variable.
14083         (check-abi): Depend on $(check-abi-list).
14084         [$(subdir) = elf] (tests-special): Add
14085         $(objpfx)check-abi-libc.out.
14086         [$(build-shared) = yes && subdir] (tests-special): Add
14087         $(check-abi-list).
14088         [$(build-shared) = yes && subdir] (tests): Do not depend on
14089         check-abi.
14090         * Rules (tests): Depend on $(tests-special).
14091         (xtests): Depend on $(xtests-special).
14092         * catgets/Makefile (tests): Change dependencies to ....
14093         (tests-special): ... additions to this variable.
14094         * conform/Makefile (tests): Change dependencies to ....
14095         (tests-special): ... additions to this variable.
14096         * elf/Makefile (tests): Change dependencies to ....
14097         (tests-special): ... additions to this variable.
14098         * grp/Makefile (tests): Change dependencies to ....
14099         (tests-special): ... additions to this variable.
14100         * iconv/Makefile (xtests): Change dependencies to ....
14101         (xtests-special): ... additions to this variable.
14102         * iconvdata/Makefile (tests): Change dependencies to ....
14103         (tests-special): ... additions to this variable.
14104         * intl/Makefile (tests): Change dependencies to ....
14105         (tests-special): ... additions to this variable.  Also add
14106         $(objpfx)tst-gettext.out.
14107         * io/Makefile (tests): Change dependencies to ....
14108         (tests-special): ... additions to this variable.
14109         * libio/Makefile (tests): Change dependencies to ....
14110         (tests-special): ... additions to this variable.
14111         * malloc/Makefile (tests): Change dependencies to ....
14112         (tests-special): ... additions to this variable.
14113         * misc/Makefile (tests): Change dependencies to ....
14114         (tests-special): ... additions to this variable.
14115         * nptl/Makefile (tests): Change dependencies to ....
14116         (tests-special): ... additions to this variable.
14117         * nptl_db/Makefile (tests): Change dependencies to ....
14118         (tests-special): ... additions to this variable.
14119         * posix/Makefile (tests): Change dependencies to ....
14120         (tests-special): ... additions to this variable.
14121         (xtests): Change dependencies to ....
14122         (xtests-special): ... additions to this variable.
14123         * resolv/Makefile (tests): Change dependencies to ....
14124         (tests-special): ... additions to this variable.
14125         (xtests): Change dependencies to ....
14126         (xtests-special): ... additions to this variable.
14127         * stdio-common/Makefile (tests): Change dependencies to ....
14128         (tests-special): ... additions to this variable.
14129         (do-tst-unbputc): Remove target.
14130         (do-tst-printf): Likewise.
14131         * stdlib/Makefile (tests): Change dependencies to ....
14132         (tests-special): ... additions to this variable.
14133         * string/Makefile (tests): Change dependencies to ....
14134         (tests-special): ... additions to this variable.
14135         * sysdeps/x86/Makefile (tests): Change dependencies to ....
14136         (tests-special): ... additions to this variable.
14137
14138         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
14139         whole file.
14140         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
14141         whole file.
14142         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
14143         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
14144
14145         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
14146         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
14147         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
14148         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
14149         * conform/data/libgen.h-data [XPG3]: Likewise.
14150         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
14151         * conform/data/ndbm.h-data [XPG3]: Likewise.
14152         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
14153         * conform/data/netdb.h-data [XPG3]: Likewise.
14154         * conform/data/netinet/in.h-data [XPG3]: Likewise.
14155         * conform/data/poll.h-data [XPG3]: Likewise.
14156         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
14157         * conform/data/strings.h-data [XPG3]: Likewise.
14158         * conform/data/stropts.h-data [XPG3]: Likewise.
14159         * conform/data/sys/mman.h-data [XPG3]: Likewise.
14160         * conform/data/sys/resource.h-data [XPG3]: Likewise.
14161         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
14162         Likewise.
14163         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
14164         * conform/data/sys/time.h-data [XPG3]: Likewise.
14165         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
14166         * conform/data/sys/uio.h-data [XPG3]: Likewise.
14167         * conform/data/sys/un.h-data [XPG3]: Likewise.
14168         * conform/data/syslog.h-data [XPG3]: Likewise.
14169         * conform/data/ucontext.h-data [XPG3]: Likewise.
14170         * conform/data/utmpx.h-data [XPG3]: Likewise.
14171         * conform/data/varargs.h-data [UNIX98]: Enable file.
14172
14173         * manual/Makefile (INSTALL_INFO): Remove variable setting.
14174
14175         * math/libm-test.inc (struct test_f_f_data): Move expected results
14176         into structure for each rounding mode.
14177         (struct test_ff_f_data): Likewise.
14178         (struct test_ff_f_data_nexttoward): Likewise.
14179         (struct test_fi_f_data): Likewise.
14180         (struct test_fl_f_data): Likewise.
14181         (struct test_if_f_data): Likewise.
14182         (struct test_fff_f_data): Likewise.
14183         (struct test_c_f_data): Likewise.
14184         (struct test_f_f1_data): Likewise.
14185         (struct test_fF_f1_data): Likewise.
14186         (struct test_ffI_f1_data): Likewise.
14187         (struct test_c_c_data): Likewise.
14188         (struct test_cc_c_data): Likewise.
14189         (struct test_f_i_data): Likewise.
14190         (struct test_ff_i_data): Likewise.
14191         (struct test_f_l_data): Likewise.
14192         (struct test_f_L_data): Likewise.
14193         (struct test_fFF_11_data): Likewise.
14194         (RM_): New macro.
14195         (RM_FE_DOWNWARD): Likewise.
14196         (RM_FE_TONEAREST): Likewise.
14197         (RM_FE_TOWARDZERO): Likewise.
14198         (RM_FE_UPWARD): Likewise.
14199         (RUN_TEST_LOOP_f_f): Update references to expected results.
14200         (RUN_TEST_LOOP_2_f): Likewise.
14201         (RUN_TEST_LOOP_fff_f): Likewise.
14202         (RUN_TEST_LOOP_c_f): Likewise.
14203         (RUN_TEST_LOOP_f_f1): Likewise.
14204         (RUN_TEST_LOOP_fF_f1): Likewise.
14205         (RUN_TEST_LOOP_fI_f1): Likewise.
14206         (RUN_TEST_LOOP_ffI_f1): Likewise.
14207         (RUN_TEST_LOOP_c_c): Likewise.
14208         (RUN_TEST_LOOP_cc_c): Likewise.
14209         (RUN_TEST_LOOP_f_i): Likewise.
14210         (RUN_TEST_LOOP_f_i_tg): Likewise.
14211         (RUN_TEST_LOOP_ff_i_tg): Likewise.
14212         (RUN_TEST_LOOP_f_b): Likewise.
14213         (RUN_TEST_LOOP_f_b_tg): Likewise.
14214         (RUN_TEST_LOOP_f_l): Likewise.
14215         (RUN_TEST_LOOP_f_L): Likewise.
14216         (RUN_TEST_LOOP_fFF_11): Likewise.
14217         * math/gen-libm-test.pl (parse_args): Output four copies of
14218         expected results for each test.
14219
14220         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
14221         (__ASSUME_UTIMES): Remove.
14222         * sysdeps/unix/sysv/linux/tile/kernel-features.h
14223         (__ASSUME_UTIMES): Likewise.
14224
14225         * math/gen-auto-libm-tests.c: Update comment on output format.
14226         (output_for_one_input_case): Generate before-rounding and
14227         after-rounding information as conditions on output flags not
14228         floating-point format.
14229         * math/auto-libm-test-out: Regenerated.
14230         * math/gen-libm-test.pl (cond_value): New function.
14231         (or_cond_value): Use cond_value.
14232         (generate_testfile): Handle conditional exceptions.
14233
14234 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
14235
14236         * math/libm-test.inc (max_valid_error): New variable.
14237         (init_max_error): Take new argument specifying whether function
14238         results are exactly determined.  Set max_valid_error and bound
14239         other variables for errors based on this argument.
14240         (set_max_error): Do not record results above max_valid_error.
14241         (check_float_internal): Only accept errors of up to 0.5ulps if
14242         also at most max_valid_error.
14243         (START): Take new argument EXACT and pass it to init_max_error.
14244         (acos_test): Update call to START.
14245         (acos_test_tonearest): Likewise.
14246         (acos_test_towardzero): Likewise.
14247         (acos_test_downward): Likewise.
14248         (acos_test_upward): Likewise.
14249         (acosh_test): Likewise.
14250         (asin_test): Likewise.
14251         (asin_test_tonearest): Likewise.
14252         (asin_test_towardzero): Likewise.
14253         (asin_test_downward): Likewise.
14254         (asin_test_upward): Likewise.
14255         (asinh_test): Likewise.
14256         (atan_test): Likewise.
14257         (atanh_test): Likewise.
14258         (atan2_test): Likewise.
14259         (cabs_test): Likewise.
14260         (cacos_test): Likewise.
14261         (cacosh_test): Likewise.
14262         (carg_test): Likewise.
14263         (casin_test): Likewise.
14264         (casinh_test): Likewise.
14265         (catan_test): Likewise.
14266         (catanh_test): Likewise.
14267         (cbrt_test): Likewise.
14268         (ccos_test): Likewise.
14269         (ccosh_test): Likewise.
14270         (ceil_test): Likewise.
14271         (cexp_test): Likewise.
14272         (cimag_test): Likewise.
14273         (clog_test): Likewise.
14274         (clog10_test): Likewise.
14275         (conj_test): Likewise.
14276         (copysign_test): Likewise.
14277         (cos_test): Likewise.
14278         (cos_test_tonearest): Likewise.
14279         (cos_test_towardzero): Likewise.
14280         (cos_test_downward): Likewise.
14281         (cos_test_upward): Likewise.
14282         (cosh_test): Likewise.
14283         (cosh_test_tonearest): Likewise.
14284         (cosh_test_towardzero): Likewise.
14285         (cosh_test_downward): Likewise.
14286         (cosh_test_upward): Likewise.
14287         (cpow_test): Likewise.
14288         (cproj_test): Likewise.
14289         (creal_test): Likewise.
14290         (csin_test): Likewise.
14291         (csinh_test): Likewise.
14292         (csqrt_test): Likewise.
14293         (ctan_test): Likewise.
14294         (ctan_test_tonearest): Likewise.
14295         (ctan_test_towardzero): Likewise.
14296         (ctan_test_downward): Likewise.
14297         (ctan_test_upward): Likewise.
14298         (ctanh_test): Likewise.
14299         (ctanh_test_tonearest): Likewise.
14300         (ctanh_test_towardzero): Likewise.
14301         (ctanh_test_downward): Likewise.
14302         (ctanh_test_upward): Likewise.
14303         (erf_test): Likewise.
14304         (erfc_test): Likewise.
14305         (exp_test): Likewise.
14306         (exp_test_tonearest): Likewise.
14307         (exp_test_towardzero): Likewise.
14308         (exp_test_downward): Likewise.
14309         (exp_test_upward): Likewise.
14310         (exp10_test): Likewise.
14311         (exp10_test_tonearest): Likewise.
14312         (exp10_test_towardzero): Likewise.
14313         (exp10_test_downward): Likewise.
14314         (exp10_test_upward): Likewise.
14315         (pow10_test): Likewise.
14316         (exp2_test): Likewise.
14317         (expm1_test): Likewise.
14318         (expm1_test_tonearest): Likewise.
14319         (expm1_test_towardzero): Likewise.
14320         (expm1_test_downward): Likewise.
14321         (expm1_test_upward): Likewise.
14322         (fabs_test): Likewise.
14323         (fdim_test): Likewise.
14324         (floor_test): Likewise.
14325         (fma_test): Likewise.
14326         (fma_test_towardzero): Likewise.
14327         (fma_test_downward): Likewise.
14328         (fma_test_upward): Likewise.
14329         (fmax_test): Likewise.
14330         (fmin_test): Likewise.
14331         (fmod_test): Likewise.
14332         (fpclassify_test): Likewise.
14333         (frexp_test): Likewise.
14334         (hypot_test): Likewise.
14335         (ilogb_test): Likewise.
14336         (isfinite_test): Likewise.
14337         (finite_test): Likewise.
14338         (isgreater_test): Likewise.
14339         (isgreaterequal_test): Likewise.
14340         (isinf_test): Likewise.
14341         (isless_test): Likewise.
14342         (islessequal_test): Likewise.
14343         (islessgreater_test): Likewise.
14344         (isnan_test): Likewise.
14345         (isnormal_test): Likewise.
14346         (issignaling_test): Likewise.
14347         (isunordered_test): Likewise.
14348         (j0_test): Likewise.
14349         (j1_test): Likewise.
14350         (jn_test): Likewise.
14351         (ldexp_test): Likewise.
14352         (lgamma_test): Likewise.
14353         (gamma_test): Likewise.
14354         (lrint_test): Likewise.
14355         (lrint_test_tonearest): Likewise.
14356         (lrint_test_towardzero): Likewise.
14357         (lrint_test_downward): Likewise.
14358         (lrint_test_upward): Likewise.
14359         (llrint_test): Likewise.
14360         (llrint_test_tonearest): Likewise.
14361         (llrint_test_towardzero): Likewise.
14362         (llrint_test_downward): Likewise.
14363         (llrint_test_upward): Likewise.
14364         (log_test): Likewise.
14365         (log10_test): Likewise.
14366         (log1p_test): Likewise.
14367         (log2_test): Likewise.
14368         (logb_test): Likewise.
14369         (logb_test_downward): Likewise.
14370         (lround_test): Likewise.
14371         (llround_test): Likewise.
14372         (modf_test): Likewise.
14373         (nearbyint_test): Likewise.
14374         (nextafter_test): Likewise.
14375         (nexttoward_test): Likewise.
14376         (pow_test): Likewise.
14377         (pow_test_tonearest): Likewise.
14378         (pow_test_towardzero): Likewise.
14379         (pow_test_downward): Likewise.
14380         (pow_test_upward): Likewise.
14381         (remainder_test): Likewise.
14382         (drem_test): Likewise.
14383         (remainder_test_tonearest): Likewise.
14384         (drem_test_tonearest): Likewise.
14385         (remainder_test_towardzero): Likewise.
14386         (drem_test_towardzero): Likewise.
14387         (remainder_test_downward): Likewise.
14388         (drem_test_downward): Likewise.
14389         (remainder_test_upward): Likewise.
14390         (drem_test_upward): Likewise.
14391         (remquo_test): Likewise.
14392         (rint_test): Likewise.
14393         (rint_test_tonearest): Likewise.
14394         (rint_test_towardzero): Likewise.
14395         (rint_test_downward): Likewise.
14396         (rint_test_upward): Likewise.
14397         (round_test): Likewise.
14398         (scalb_test): Likewise.
14399         (scalbn_test): Likewise.
14400         (scalbln_test): Likewise.
14401         (signbit_test): Likewise.
14402         (sin_test): Likewise.
14403         (sin_test_tonearest): Likewise.
14404         (sin_test_towardzero): Likewise.
14405         (sin_test_downward): Likewise.
14406         (sin_test_upward): Likewise.
14407         (sincos_test): Likewise.
14408         (sinh_test): Likewise.
14409         (sinh_test_tonearest): Likewise.
14410         (sinh_test_towardzero): Likewise.
14411         (sinh_test_downward): Likewise.
14412         (sinh_test_upward): Likewise.
14413         (sqrt_test): Likewise.
14414         (sqrt_test_tonearest): Likewise.
14415         (sqrt_test_towardzero): Likewise.
14416         (sqrt_test_downward): Likewise.
14417         (sqrt_test_upward): Likewise.
14418         (tan_test): Likewise.
14419         (tan_test_tonearest): Likewise.
14420         (tan_test_towardzero): Likewise.
14421         (tan_test_downward): Likewise.
14422         (tan_test_upward): Likewise.
14423         (tanh_test): Likewise.
14424         (tgamma_test): Likewise.
14425         (trunc_test): Likewise.
14426         (y0_test): Likewise.
14427         (y1_test): Likewise.
14428         (yn_test): Likewise.
14429         (significand_test): Likewise.
14430
14431         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
14432         individual tests in comment.
14433         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
14434         (prev_max_error): New variable.
14435         (prev_real_max_error): Likewise.
14436         (prev_imag_max_error): Likewise.
14437         (compare_ulp_data): Don't refer to test names in comment.
14438         (find_test_ulps): Remove function.
14439         (find_function_ulps): Likewise.
14440         (find_complex_function_ulps): Likewise.
14441         (init_max_error): Take function name as argument.  Look up ulps
14442         for that function.
14443         (print_ulps): Remove function.
14444         (print_max_error): Use prev_max_error instead of calling
14445         find_function_ulps.
14446         (print_complex_max_error): Use prev_real_max_error and
14447         prev_imag_max_error instead of calling find_complex_function_ulps.
14448         (check_float_internal): Take max_ulp parameter instead of calling
14449         find_test_ulps.  Don't call print_ulps.
14450         (check_float): Update call to check_float_internal.
14451         (check_complex): Update calls to check_float_internal.
14452         (START): Pass argument to init_max_error.
14453         * math/gen-libm-test.pl (%results): Don't include "kind"
14454         information.
14455         (parse_ulps): Don't handle ulps of individual tests.
14456         (print_ulps_file): Likewise.
14457         (output_ulps): Likewise.
14458         * math/README.libm-test: Update.
14459         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
14460         individual tests.
14461         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
14462         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
14463         * sysdeps/arm/libm-test-ulps: Likewise.
14464         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
14465         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
14466         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
14467         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
14468         * sysdeps/microblaze/libm-test-ulps: Likewise.
14469         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
14470         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
14471         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
14472         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
14473         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
14474         * sysdeps/sh/libm-test-ulps: Likewise.
14475         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
14476         * sysdeps/tile/libm-test-ulps: Likewise.
14477         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14478
14479 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
14480
14481         * math/libm-test.inc (print_complex_max_error): Check separately
14482         whether real and imaginary errors are within allowed range and
14483         pass 0 to print_complex_function_ulps instead of value within
14484         allowed range.
14485
14486 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
14487
14488         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
14489         formatting.
14490         (get_handles_fopen): Likewise.
14491         (do_write_test): Likewise.
14492
14493         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
14494
14495         * libio/fileops.c (do_ftell): Use cached offset when
14496         available.
14497         * libio/iofwide.c (do_ftell_wide): Likewise.
14498         * libio/iofdopen.c (_IO_new_fdopen): Don't use
14499         _IO_file_attach.
14500         * libio/wfileops.c (_IO_fwide): Don't cache offset.
14501
14502         [BZ #16532]
14503         * libio/libioP.h (get_file_offset): New function.
14504         * libio/fileops.c (get_file_offset): Likewise.
14505         (do_ftell): Likewise.
14506         (_IO_new_file_seekoff): Split out ftell logic.
14507         * libio/wfileops.c (do_ftell_wide): Likewise.
14508         (_IO_wfile_seekoff): Split out ftell logic.
14509         * libio/tst-ftell-active-handler.c: New test case.
14510         * libio/Makefile (tests): Add it.
14511
14512 2014-03-03  Roland McGrath  <roland@hack.frob.com>
14513
14514         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
14515         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
14516
14517 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
14518
14519         [BZ #16639]
14520         * nscd/connections.c (nscd_init): Call do_exit.
14521         (start_threads): Call do_exit and notify_parent.
14522         (begin_drop_privileges): Call do_exit.
14523         (finish_drop_privileges): Likewise.
14524         * nscd/selinux.c (preserve_capabilities): Likewise.
14525         (install_real_capabilities): Likewise.
14526         (nscd_selinux_enabled): Likewise.
14527         (avc_create_thread): Likewise.
14528         (avc_alloc_lock): Likewise.
14529         (nscd_avc_init): Likewise.
14530         * nscd/nscd.c (parent_fd): New static variable.
14531         (main): Create a pipe between parent and child processes.
14532         Skip closing parent_fd.
14533         (monitor_child): New function.
14534         (do_exit): Likewise.
14535         (notify_parent): Likewise.
14536         * nscd/nscd.h (notify_parent): Likewise.
14537         (do_exit): Likewise.
14538
14539 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
14540
14541         * malloc/malloc.c (__libc_calloc): Revert last change.
14542
14543 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14544
14545         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14546
14547 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
14548
14549         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
14550         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
14551         implementation.
14552         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
14553         (__libc_ifunc_impl_list): Likewise.
14554         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
14555         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
14556         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
14557         * string/strrchr.c: Define STRRCHR.
14558
14559 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
14560
14561         * benchtest/bench-strtok.c (simple_strtok): Delete.
14562         (strtok_string): Use as benchmark.
14563         * string/strtok (STRTOK): New macro.
14564
14565 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
14566
14567         * manual/threads.texi: Add header and standard comments to all
14568         functions.
14569
14570         * elf/dl-lookup.c (check_match): New function.
14571         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
14572         (do_lookup_x): Remove nested function check_match. Use non-nested
14573         function check_match.
14574
14575 2014-02-28  Roland McGrath  <roland@hack.frob.com>
14576
14577         * csu/Makefile (generated, before-compile): Use += rather than =.
14578         * catgets/Makefile (generated, generated-dirs): Likewise.
14579         * debug/Makefile (generated): Likewise.
14580         * dlfcn/Makefile (generated): Likewise.
14581         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
14582         * iconvdata/Makefile (before-compile, generated): Likewise.
14583         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
14584         * libio/Makefile (generated): Likewise.
14585         * malloc/Makefile (generated): Likewise.
14586         * manual/Makefile (generated, generated-dirs): Likewise.
14587         * misc/Makefile (generated): Likewise.
14588         * posix/Makefile (generated): Likewise.
14589         * resolv/Makefile (generated): Likewise.
14590         * sunrpc/Makefile (generated, generated-dirs): Likewise.
14591         * timezone/Makefile (generated, generated-dirs): Likewise.
14592
14593         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
14594
14595 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14596
14597         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
14598         power8 implementation.
14599         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
14600         file: POWER8 llround ifunc implementation.
14601         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
14602         (__lllround): Add POWER8 implementation.
14603         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
14604         POWER8 llround implementation.
14605
14606         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
14607         power8 implementation.
14608         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
14609         file: POWER8 llrint ifunc implementation.
14610         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
14611         Add POWER8 implementation.
14612         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
14613         POWER8 llrint implementation.
14614
14615         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
14616         power8 implementation.
14617         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
14618         file: POWER8 finite ifunc implementation.
14619         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
14620         Add POWER8 implementation.
14621         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
14622         Likewise.
14623         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
14624         POWER8 finite implementation.
14625         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
14626
14627         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
14628         power8 implementation.
14629         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
14630         file: POWER8 isinf ifunc implementation.
14631         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
14632         POWER8 implementation.
14633         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
14634         Likewise.
14635         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
14636         isinf implementation.
14637         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
14638
14639         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
14640         (INIT_ARCH): Add hwcap2 initialization.
14641         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
14642         power8 implementation.
14643         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
14644         file: POWER8 isnan ifunc implementation.
14645         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
14646         POWER8 implementation.
14647         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
14648         Likewise.
14649         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
14650         isnan implementation.
14651         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
14652
14653 2014-02-27  Joey Ye  <joey.ye@arm.com>
14654
14655         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
14656         (_FP_NANFRAC_Q): Set to zero.
14657
14658 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
14659
14660         [BZ #16623]
14661         * math/auto-libm-test-in: New test inputs.
14662         * math/auto-libm-test-out: Regenerate.
14663         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
14664         and DA.
14665         (__cos): Likewise.
14666         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
14667
14668 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
14669
14670         * scripts/evaluate-test.sh: Take new argument indicating whether
14671         failure is expected.
14672         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
14673         indicating whether failure is expected.
14674         * conform/Makefile (test-xfail-run-conformtest): New variable.
14675         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
14676         level.
14677         * posix/Makefile (test-xfail-annexc): New variable.
14678         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
14679
14680 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
14681
14682         * argp/Makefile: Include Makeconfig immediately after defining
14683         subdir.
14684         * assert/Makefile: Likewise.
14685         * benchtests/Makefile: Likewise.
14686         * catgets/Makefile: Likewise.
14687         * conform/Makefile: Likewise.
14688         * crypt/Makefile: Likewise.
14689         * csu/Makefile: Likewise.
14690         (all): Remove target.
14691         * ctype/Makefile: Include Makeconfig immediately after defining
14692         subdir.
14693         * debug/Makefile: Likewise.
14694         * dirent/Makefile: Likewise.
14695         * dlfcn/Makefile: Likewise.
14696         * gmon/Makefile: Likewise.
14697         * gnulib/Makefile: Likewise.
14698         * grp/Makefile: Likewise.
14699         * gshadow/Makefile: Likewise.
14700         * hesiod/Makefile: Likewise.
14701         * hurd/Makefile: Likewise.
14702         (all): Remove target.
14703         * iconvdata/Makefile: Include Makeconfig immediately after
14704         defining subdir.
14705         * inet/Makefile: Likewise.
14706         * intl/Makefile: Likewise.
14707         * io/Makefile: Likewise.
14708         * libio/Makefile: Likewise.
14709         (all): Remove target.
14710         * locale/Makefile: Include Makeconfig immediately after defining
14711         subdir.
14712         * login/Makefile: Likewise.
14713         * mach/Makefile: Likewise.
14714         (all): Remove target.
14715         * malloc/Makefile: Include Makeconfig immediately after defining
14716         subdir.
14717         (all): Remove target.
14718         * manual/Makefile: Include Makeconfig immediately after defining
14719         subdir.
14720         * math/Makefile: Likewise.
14721         * misc/Makefile: Likewise.
14722         * nis/Makefile: Likewise.
14723         * nss/Makefile: Likewise.
14724         * po/Makefile: Likewise.
14725         (all): Remove target.
14726         * posix/Makefile: Include Makeconfig immediately after defining
14727         subdir.
14728         * pwd/Makefile: Likewise.
14729         * resolv/Makefile: Likewise.
14730         * resource/Makefile: Likewise.
14731         * rt/Makefile: Likewise.
14732         * setjmp/Makefile: Likewise.
14733         * shadow/Makefile: Likewise.
14734         * signal/Makefile: Likewise.
14735         * socket/Makefile: Likewise.
14736         * soft-fp/Makefile: Likewise.
14737         * stdio-common/Makefile: Likewise.
14738         * stdlib/Makefile: Likewise.
14739         * streams/Makefile: Likewise.
14740         * string/Makefile: Likewise.
14741         * sunrpc/Makefile: Likewise.
14742         (all): Remove target.
14743         * sysvipc/Makefile: Include Makeconfig immediately after defining
14744         subdir.
14745         * termios/Makefile: Likewise.
14746         * time/Makefile: Likewise.
14747         * timezone/Makefile: Likewise.
14748         (all): Remove target.
14749         * wcsmbs/Makefile: Include Makeconfig immediately after defining
14750         subdir.
14751         * wctype/Makefile: Likewise.
14752
14753 2014-02-26  Steve Ellcey  <sellcey@mips.com>
14754
14755         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
14756         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
14757         (libc_feholdexcept_setround_mips): Ditto.
14758         (libc_feholdsetround): New.
14759         (libc_feholdsetroundf): New.
14760         (libc_feholdsetroundl): New.
14761         (libc_feupdateenv_test_mips): New.
14762         (libc_feupdateenv_test): New.
14763         (libc_feupdateenv_testf): New.
14764         (libc_feupdateenv_testl): New.
14765         (libc_feresetround): New.
14766         (libc_feresetroundf): New.
14767         (libc_feresetroundl): New.
14768         (libc_fetestexcept_mips): New.
14769         (libc_fetestexcept): New.
14770         (libc_fetestexceptf): New.
14771         (libc_fetestexceptl): New.
14772         (HAVE_RM_CTX): New.
14773         (libc_feholdexcept_setround_mips_ctx): New.
14774         (libc_feholdexcept_setround_ctx): New.
14775         (libc_feholdexcept_setroundf_ctx): New.
14776         (libc_feholdexcept_setroundl_ctx): New.
14777         (libc_fesetenv_mips_ctx): New.
14778         (libc_fesetenv_ctx): New.
14779         (libc_fesetenv_ctxf): New.
14780         (libc_fesetenv_ctxl): New.
14781         (libc_feupdateenv_mips_ctx): New.
14782         (libc_feupdateenv_ctx): New.
14783         (libc_feupdateenvf_ctx): New.
14784         (libc_feupdateenvl_ctx): New.
14785         (libc_feholdsetround_mips_ctx): New.
14786         (libc_feholdsetround_ctx): New.
14787         (libc_feholdsetroundf_ctx): New.
14788         (libc_feholdsetroundl_ctx): New.
14789         (libc_feresetround_mips_ctx): New.
14790         (libc_feresetround_ctx): New.
14791         (libc_feresetroundf_ctx): New.
14792         (libc_feresetroundl_ctx): New.
14793
14794 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
14795
14796         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
14797
14798         * manual/ipc.texi: New file.
14799         * manual/Makefile (chapters): Add ipc.
14800         * manual/job.texi: Add "Inter-Process Communication" to next.
14801         * manual/process.texi: Add "Inter-Process Communication" to prev.
14802
14803 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14804
14805         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14806
14807 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
14808
14809         * malloc/malloc.c (__libc_calloc): Simplify implementation.
14810
14811         * manual/arith.texi: Fix spaces after sentences.
14812         * manual/charset.texi: Likewise.
14813         * manual/errno.texi: Likewise.
14814         * manual/install.texi: Likewise.
14815         * manual/llio.texi: Likewise.
14816         * manual/locale.texi: Likewise.
14817         * manual/maint.texi: Likewise.
14818         * manual/math.texi: Likewise.
14819         * manual/memory.texi: Likewise.
14820         * manual/message.texi: Likewise.
14821         * manual/probes.texi: Likewise.
14822         * manual/resource.texi: Likewise.
14823         * manual/signal.texi: Likewise.
14824         * manual/socket.texi: Likewise.
14825         * manual/stdio.texi: Likewise.
14826         * manual/string.texi: Likewise.
14827         * manual/time.texi: Likewise.
14828         * manual/users.texi: Likewise.
14829
14830 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
14831
14832         [BZ #16632]
14833         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
14834         _DEFAULT_SOURCE is defined.
14835
14836 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
14837             Carlos O'Donell  <carlos@redhat.com>
14838
14839         [BZ #16613]
14840         * elf/dl-tls.c (_dl_count_modids): New function.
14841         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
14842         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
14843         audit library and increment generation counter.
14844         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
14845         * elf/tst-audit9.c: New file.
14846         * elf/tst-auditmod9a.c: New file.
14847         * elf/tst-auditmod9b.c: New file.
14848         * elf/Makefile: Add rules to build and run tst-audit9.
14849
14850 2014-02-25  Florian Weimer  <fweimer@redhat.com>
14851
14852         [BZ #15347]
14853         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
14854
14855 2014-02-25  Will Newton  <will.newton@linaro.org>
14856
14857         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
14858         (__longjmp): Restore sp and lr before restoring callee
14859         saved registers.  Add longjmp and longjmp_target
14860         SystemTap probe point.
14861         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
14862         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
14863         Define to zero to match jmpbuf layout.
14864         * sysdeps/arm/setjmp.S: Include stap-probe.h.
14865         (__sigsetjmp): Save sp and lr before saving callee
14866         saved registers.  Add setjmp SystemTap probe point.
14867
14868 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
14869
14870         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
14871
14872 2014-02-24  Andreas Schwab  <schwab@suse.de>
14873
14874         [BZ #15804]
14875         * elf/pldd.c (wait_for_ptrace_stop): New function.
14876         (main): Call it after attaching.
14877
14878 2014-02-22  Roland McGrath  <roland@hack.frob.com>
14879
14880         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
14881         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
14882         Versions files is now verboten.
14883         * hurd/Versions (libc: GLIBC_2.0):
14884         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
14885         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
14886         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
14887         * mach/Versions: Likewise.
14888
14889         * csu/Versions: Remove unused %include.
14890         * resolv/Versions: Likewise.
14891
14892 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
14893
14894         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
14895         ($(objpfx)check-local-headers.out): Likewise.
14896         ($(objpfx)begin-end-check.out): Likewise.
14897         * Makerules (check-abi-%.out): Likewise.
14898         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
14899         ($(objpfx)test2.cat): Likewise.
14900         ($(objpfx)de/libc.cat): Likewise.
14901         ($(objpfx)test-gencat.out): Likewise.
14902         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
14903         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
14904         ($(objpfx)noload-mem): Likewise.
14905         ($(objpfx)tst-pathopt.out): Likewise.
14906         ($(objpfx)tst-rtld-load-self.out): Likewise.
14907         ($(objpfx)tst-array1-cmp.out): Likewise.
14908         ($(objpfx)tst-array1-static-cmp.out): Likewise.
14909         ($(objpfx)tst-array2-cmp.out): Likewise.
14910         ($(objpfx)tst-array3-cmp.out): Likewise.
14911         ($(objpfx)tst-array4-cmp.out): Likewise.
14912         ($(objpfx)tst-array5-cmp.out): Likewise.
14913         ($(objpfx)tst-array5-static-cmp.out): Likewise.
14914         ($(objpfx)check-textrel.out): Likewise.
14915         ($(objpfx)check-execstack.out): Likewise.
14916         ($(objpfx)check-localplt.out): Likewise.
14917         ($(objpfx)order2-cmp.out): Likewise.
14918         ($(objpfx)tst-leaks1-mem): Likewise.
14919         ($(objpfx)tst-leaks1-static-mem): Likewise.
14920         ($(objpfx)tst-initorder-cmp.out): Likewise.
14921         ($(objpfx)tst-initorder2-cmp.out): Likewise.
14922         ($(objpfx)tst-unused-dep.out): Likewise.
14923         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
14924         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
14925         * iconv/Makefile (test-iconvconfig): Likewise.
14926         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
14927         ($(objpfx)iconv-test.out): Likewise.
14928         ($(objpfx)tst-tables.out): Likewise.
14929         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
14930         ($(objpfx)tst-gettext.out): Likewise.
14931         ($(objpfx)tst-translit.out): Likewise.
14932         ($(objpfx)tst-gettext2.out): Likewise.
14933         ($(objpfx)tst-gettext4.out): Likewise.
14934         ($(objpfx)tst-gettext6.out): Likewise.
14935         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
14936         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
14937         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
14938         ($(objpfx)tst-fopenloc-mem.out): Likewise.
14939         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
14940         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
14941         * posix/Makefile ($(objpfx)globtest.out): Likewise.
14942         ($(objpfx)wordexp-tst.out): Likewise.
14943         ($(objpfx)annexc.out): Likewise.
14944         ($(objpfx)tst-fnmatch-mem): Likewise.
14945         ($(objpfx)bug-regex2-mem): Likewise.
14946         ($(objpfx)bug-regex14-mem): Likewise.
14947         ($(objpfx)bug-regex21-mem): Likewise.
14948         ($(objpfx)bug-regex31-mem): Likewise.
14949         ($(objpfx)tst-vfork3-mem): Likewise.
14950         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
14951         ($(objpfx)tst-pcre-mem): Likewise.
14952         ($(objpfx)tst-boost-mem): Likewise.
14953         ($(objpfx)tst-getconf.out): Likewise.
14954         ($(objpfx)bug-ga2-mem): Likewise.
14955         ($(objpfx)bug-glob2-mem): Likewise.
14956         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
14957         ($(objpfx)mtrace-tst-leaks2): Likewise.
14958         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
14959         ($(objpfx)tst-printf.out): Likewise.
14960         ($(objpfx)tst-setvbuf1.out): Likewise.
14961         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
14962         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
14963         ($(objpfx)tst-fmtmsg.out): Likewise.
14964         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
14965         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
14966
14967         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
14968         * bits/sigaction.h [__USE_MISC]: Likewise.
14969         * bits/waitstatus.h: Update #endif comments.
14970         * ctype/ctype.h: Likewise.
14971         * dirent/dirent.h: Likewise.
14972         [__USE_MISC]: Remove redundant conditionals.
14973         * grp/grp.h: Update #endif comments.
14974         [__USE_GNU]: Remove redundant conditionals.
14975         [__USE_MISC]: Likewise.
14976         * inet/netinet/in.h [__USE_GNU]: Likewise.
14977         * io/sys/stat.h [__USE_MISC]: Likewise.
14978         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
14979         * libio/bits/stdio.h: Update #endif comments.
14980         [__USE_MISC]: Remove redundant conditionals.
14981         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
14982         * libio/stdio.h: Update #endif comments.
14983         [__USE_MISC]: Remove redundant conditionals.
14984         * math/bits/math-finite.h [__USE_MISC]: Likewise.
14985         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
14986         * math/math.h: Update #else and #endif comments.
14987         [__USE_MISC]: Remove redundant conditionals.
14988         * misc/sys/uio.h: Update #endif comments.
14989         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
14990         * posix/glob.h [__USE_MISC]: Likewise.
14991         * posix/sys/types.h: Update #endif comments.
14992         [__USE_MISC]: Remove redundant conditionals.
14993         * posix/sys/wait.h: Update #endif comments.
14994         [__USE_MISC]: Remove redundant conditionals.
14995         * posix/unistd.h: Update #endif comments.
14996         [__USE_MISC]: Remove redundant conditionals.
14997         * pwd/pwd.h [__USE_GNU]: Likewise.
14998         [__USE_MISC]: Likewise.
14999         * resolv/netdb.h [__USE_GNU]: Likewise.
15000         * signal/signal.h: Update #endif comments.
15001         [__USE_MISC]: Remove redundant conditionals.
15002         * stdlib/stdlib.h: Update #else and #endif comments.
15003         [__USE_MISC]: Remove redundant conditionals.
15004         [__USE_GNU]: Likewise.
15005         * string/bits/string2.h [__USE_MISC]: Likewise.
15006         * string/string.h: Update #endif comments.
15007         [__USE_MISC]: Remove redundant conditionals.
15008         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
15009         Likewise.
15010         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
15011         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
15012         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
15013         Likewise.
15014         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
15015         Likewise.
15016         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
15017         comments.
15018         [__USE_MISC]: Remove redundant conditionals.
15019         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
15020         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
15021         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
15022         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
15023         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
15024         Likewise.
15025         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
15026         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
15027         Likewise.
15028         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
15029         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
15030         Likewise.
15031         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
15032         Likewise.
15033         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
15034         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
15035         Likewise.
15036         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
15037         Likewise.
15038         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
15039         * sysdeps/x86/bits/string.h: Update #endif comments.
15040         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
15041         conditionals.
15042         * time/sys/time.h: Update #endif comments.
15043         * time/time.h: Likewise.
15044         [__USE_MISC]: Remove redundant conditionals.
15045
15046 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
15047
15048         [BZ #16600]
15049         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
15050
15051 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
15052
15053         * Versions.def (librt): Add GLIBC_2.17.
15054
15055 2014-02-21  Adam Conrad  <adconrad@0c3.net>
15056
15057         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
15058         synonym for _SYS_AUXV_H to allow direct inclusion.
15059         * sysdeps/sparc/bits/hwcap.h: Likewise.
15060         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
15061         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
15062         * sysdeps/sparc/sysdep.h: Likewise.
15063
15064 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
15065
15066         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
15067
15068 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
15069
15070         * benchtests/bench-strrchr.c: Print length instead of position.
15071
15072 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
15073
15074         [BZ #16611]
15075         * sysdeps/unix/sysv/linux/kernel-features.h
15076         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
15077         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
15078         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
15079         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
15080         Likewise.
15081         [__i386__ || __powerpc__ || __sh__ || __sparc__]
15082         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
15083         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
15084         (__ASSUME_SENDMMSG): Define instead of using previous
15085         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
15086         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
15087         (__ASSUME_SENDMMSG_SYSCALL): Define.
15088         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
15089         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
15090         Likewise.
15091         * sysdeps/unix/sysv/linux/arm/kernel-features.h
15092         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
15093         Likewise.
15094         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
15095         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
15096         Likewise.
15097         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
15098         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
15099         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
15100         [__ASSUME_SENDMMSG]: Change conditionals to
15101         [__ASSUME_SENDMMSG_SOCKETCALL].
15102         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15103         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
15104         Define.
15105         * sysdeps/unix/sysv/linux/mips/kernel-features.h
15106         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
15107         Likewise.
15108         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
15109         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
15110         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
15111         [!__ASSUME_SENDMMSG]: Change conditional to
15112         [!__ASSUME_SENDMMSG_SOCKETCALL].
15113         * sysdeps/unix/sysv/linux/tile/kernel-features.h
15114         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
15115         Define.
15116
15117         [BZ #16610]
15118         * sysdeps/unix/sysv/linux/kernel-features.h
15119         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
15120         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
15121         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
15122         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
15123         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
15124         [__i386__ || __sparc__]
15125         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
15126         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
15127         (__ASSUME_RECVMMSG): Define instead of using previous
15128         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
15129         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
15130         (__ASSUME_RECVMMSG_SYSCALL): Define.
15131         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
15132         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
15133         Likewise.
15134         * sysdeps/unix/sysv/linux/arm/kernel-features.h
15135         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
15136         Likewise.
15137         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
15138         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
15139         Likewise.
15140         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
15141         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
15142         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
15143         [__ASSUME_RECVMMSG]: Change condition to
15144         [__ASSUME_RECVMMSG_SOCKETCALL].
15145         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15146         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
15147         Define.
15148         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
15149         * sysdeps/unix/sysv/linux/mips/kernel-features.h
15150         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
15151         Likewise.
15152         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
15153         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
15154         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
15155         [!__ASSUME_RECVMMSG]: Change condition to
15156         [!__ASSUME_RECVMMSG_SOCKETCALL].
15157         * sysdeps/unix/sysv/linux/tile/kernel-features.h
15158         (__ASSUME_RECVMMSG_SYSCALL): Define.
15159
15160         [BZ #16609]
15161         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
15162         __powerpc__ || __s390__ || __sh__ || __sparc__]
15163         (__ASSUME_SOCKETCALL): Define.
15164         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
15165         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
15166         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
15167         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
15168         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
15169         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
15170         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
15171         (__ASSUME_ACCEPT4): Define instead of using previous
15172         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
15173         __powerpc__ || __sparc__ || __s390__)] condition.
15174         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
15175         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
15176         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
15177         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
15178         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
15179         [!__ASSUME_ACCEPT4]: Change condition to
15180         [!__ASSUME_ACCEPT4_SOCKETCALL].
15181         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
15182         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
15183         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
15184         * sysdeps/unix/sysv/linux/arm/kernel-features.h
15185         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
15186         __ASSUME_ACCEPT4_SYSCALL.
15187         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
15188         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
15189         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
15190         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
15191         __ASSUME_ACCEPT4_SYSCALL.
15192         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
15193         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
15194         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
15195         [__ASSUME_ACCEPT4]: Change condition to
15196         [__ASSUME_ACCEPT4_SOCKETCALL].
15197         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
15198         (__ASSUME_SOCKETCALL): Define.
15199         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
15200         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15201         (__ASSUME_SOCKETCALL): Define.
15202         (__ASSUME_ACCEPT4): Remove.
15203         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
15204         Define.
15205         * sysdeps/unix/sysv/linux/mips/kernel-features.h
15206         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
15207         Likewise.
15208         * sysdeps/unix/sysv/linux/tile/kernel-features.h
15209         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
15210
15211         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
15212         macro.
15213         (HWCAP_ARM_LPAE): Likewise.
15214         (HWCAP_ARM_EVTSTRM): Likewise.
15215         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
15216         Add vpfd32, lpae and evtstrm.
15217         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
15218         Increase to 22.
15219
15220 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
15221
15222         * math/auto-libm-test-in: Add tests of clog10.
15223         * math/auto-libm-test-out: Regenerated.
15224         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
15225         * sysdeps/i386/fpu/libm-test-ulps: Update.
15226         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15227
15228 2014-02-18  Andreas Schwab  <schwab@suse.de>
15229
15230         [BZ #16574]
15231         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
15232         Store non-zero if the second buffer was newly allocated.
15233         (send_dg): Likewise.
15234         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
15235         to send_vc and send_dg.
15236         (res_nsend): Pass NULL for ansp2_malloced.
15237         * resolv/res_query.c (__libc_res_nquery): Add parameter
15238         answerp2_malloced and pass it down to __libc_res_nsend.
15239         (res_nquery): Pass additional NULL to __libc_res_nquery.
15240         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
15241         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
15242         second answer buffer if answerp2_malloced was set.
15243         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
15244         (__libc_res_nquerydomain): Add parameter
15245         answerp2_malloced and pass it down to __libc_res_nquery.
15246         (res_nquerydomain): Pass additional NULL to
15247         __libc_res_nquerydomain.
15248         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
15249         additional NULL to __libc_res_nsend and __libc_res_nquery.
15250         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
15251         additional NULL to __libc_res_nsearch.
15252         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
15253         parameter of __libc_res_nsearch to check for separately allocated
15254         second buffer.
15255         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
15256         __libc_res_nquery.
15257         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
15258         additional NULL to __libc_res_nquery.
15259         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
15260         __libc_res_nsearch.
15261         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
15262         * include/resolv.h: Update prototypes of __libc_res_nquery,
15263         __libc_res_nsearch, __libc_res_nsend.
15264
15265 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
15266
15267         * math/auto-libm-test-in: Add tests of fma.
15268         * math/auto-libm-test-out: Regenerated.
15269         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
15270         (fma_towardzero_test_data): Likewise.
15271         (fma_downward_test_data): Likewise.
15272         (fma_upward_test_data): Likewise.
15273         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
15274         mpc_mode.
15275         (rounding_modes): Add values for new field.
15276         (func_calc_method): Add value mpfr_fff_f.
15277         (func_calc_desc): Add mpfr_fff_f union field.
15278         (test_function): Add field exact_args.
15279         (FUNC): Add macro argument EXACT_ARGS.
15280         (FUNC_mpfr_f_f): Update call to FUNC.
15281         (FUNC_mpfr_f_f): Likewise.
15282         (FUNC_mpfr_ff_f): Likewise.
15283         (FUNC_mpfr_if_f): Likewise.
15284         (FUNC_mpc_c_f): Likewise.
15285         (FUNC_mpc_c_c): Likewise.
15286         (test_functions): Add fma.  Update calls to FUNC.
15287         (handle_input_arg): Add argument exact_args.
15288         (add_test): Update call to handle_input_arg.
15289         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
15290         (output_for_one_input_case): Update call to calc_generic_results.
15291         Recalculate exact zero results in each rounding mode.
15292
15293         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
15294         non-negative before setting low bit.
15295         * math/auto-libm-test-in: Mark one asin test possibly having
15296         spurious underflow.
15297         * math/auto-libm-test-out: Regenerated.
15298         * sysdeps/i386/fpu/libm-test-ulps: Update.
15299         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15300
15301 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
15302
15303         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
15304         * sysdeps/unix/sysv/linux/microblaze: Move directory from
15305         ports/sysdeps/unix/sysv/linux/microblaze.
15306         * README: Add missing listing for microblaze*-*-linux-gnu.
15307
15308 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
15309
15310         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
15311         duplicate code
15312
15313 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
15314
15315         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
15316         * sysdeps/unix/sysv/linux/ia64: Move directory from
15317         ports/sysdeps/unix/sysv/linux/ia64.
15318         * README: Update listing for ia64-*-linux-gnu.
15319
15320 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
15321             Joseph Myers  <joseph@codesourcery.com>
15322
15323         * Makeconfig (test-name): New variable.
15324         (evaluate-test): Likewise.
15325         * Makerules (do-test-clean): Remove .test-result files.
15326         (common-mostlyclean): Likewise.
15327         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
15328         * scripts/evaluate-test.sh: New file.
15329
15330 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
15331
15332         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
15333         separate $(objpfx)tst-fopenloc-cmp.out and
15334         $(objpfx)tst-fopenloc-mem.out targets.
15335         (tests): Update dependencies.
15336         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
15337         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
15338         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
15339         (tst-rxspencer-no-utf8-ARGS): New variable.
15340         (tst-rxspencer-no-utf8-ENV): Likewise.
15341         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
15342         instead of $(objpfx)tst-rxspencer-mem.
15343         ($(objpfx)tst-rxspencer-mem): Change target to
15344         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
15345         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
15346         * posix/tst-rxspencer-no-utf8.c: New file.
15347
15348         * elf/Makefile ($(objpfx)order.out): Remove rule.
15349         [$(run-built-tests) = yes] (tests): Depend on
15350         $(objpfx)order-cmp.out.
15351         ($(objpfx)order-cmp.out): New rule.
15352         [$(run-built-tests) = yes] (tests): Depend on
15353         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
15354         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
15355         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
15356         $(objpfx)tst-array5-static-cmp.out.
15357         ($(objpfx)tst-array1.out): Remove rule.
15358         ($(objpfx)tst-array1-cmp.out): New rule.
15359         ($(objpfx)tst-array1-static.out): Remove rule.
15360         ($(objpfx)tst-array1-static-cmp.out): New rule.
15361         ($(objpfx)tst-array2.out): Remove rule.
15362         ($(objpfx)tst-array2-cmp.out): New rule.
15363         ($(objpfx)tst-array3.out): Remove rule.
15364         ($(objpfx)tst-array3-cmp.out): New rule.
15365         ($(objpfx)tst-array4.out): Remove rule.
15366         ($(objpfx)tst-array4-cmp.out): New rule.
15367         ($(objpfx)tst-array5.out): Remove rule.
15368         ($(objpfx)tst-array5-cmp.out): New rule.
15369         ($(objpfx)tst-array5-static.out): Remove rule.
15370         ($(objpfx)tst-array5-static-cmp.out): New rule.
15371         [$(run-built-tests) = yes] (tests): Depend on
15372         $(objpfx)order2-cmp.out.
15373         ($(objpfx)order2.out): Remove rule.
15374         ($(objpfx)order2-cmp.out): New rule.
15375         ($(objpfx)tst-initorder.out): Remove rule.
15376         [$(run-built-tests) = yes] (tests): Depend on
15377         $(objpfx)tst-initorder-cmp.out.
15378         ($(objpfx)tst-initorder-cmp.out): New rule.
15379         ($(objpfx)tst-initorder2.out): Remove rule.
15380         [$(run-built-tests) = yes] (tests): Depend on
15381         $(objpfx)tst-initorder2-cmp.out.
15382         ($(objpfx)tst-initorder2-cmp.out): New rule.
15383         [$(run-built-tests) = yes] (tests): Depend on
15384         $(objpfx)tst-unused-dep-cmp.out.
15385         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
15386         ($(objpfx)tst-unused-dep-cmp.out): New rule.
15387         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
15388         on $(objpfx)tst-setvbuf1-cmp.out.
15389         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
15390         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
15391         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
15392         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
15393         ($(objpfx)tst-svc.out): Remove rule.
15394         ($(objpfx)tst-svc-cmp.out): New rule.
15395
15396 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
15397
15398         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
15399         * ctype/ctype.h [__USE_MISC]: Likewise.
15400         * dirent/dirent.h [__USE_MISC]: Likewise.
15401         * grp/grp.h [__USE_MISC]: Likewise.
15402         * io/fcntl.h [__USE_MISC]: Likewise.
15403         * io/sys/stat.h [__USE_MISC]: Likewise.
15404         * libio/stdio.h [__USE_MISC]: Likewise.
15405         * posix/unistd.h [__USE_MISC]: Likewise.
15406         * pwd/pwd.h [__USE_MISC]: Likewise.
15407         * stdlib.h [__USE_MISC]: Likewise.
15408         * string/bits/string2.h [__USE_MISC]: Likewise.
15409         * string/string.h [__USE_MISC]: Likewise.
15410         * time/time.h [__USE_MISC]: Likewise.
15411
15412 2014-02-13  Andreas Schwab  <schwab@suse.de>
15413
15414         [BZ #16574]
15415         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
15416         second answer buffer if it was separately allocated.
15417
15418 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
15419
15420         * sysdeps/mips/math-tests.h: Include <features.h>.
15421         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
15422         (ROUNDING_TESTS_long_double): Do not define.
15423         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
15424         (EXCEPTION_TESTS_long_double): Likewise.
15425         * sysdeps/mips/mips64/libm-test-ulps: Update.
15426
15427         * include/features.h (__USE_BSD): Remove macro definitions.
15428         (__USE_SVID): Likewise.
15429         (_BSD_SOURCE): Likewise.
15430         (_SVID_SOURCE): Likewise.
15431         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
15432         from definition of _DEFAULT_SOURCE.
15433         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
15434         [_DEFAULT_SOURCE].
15435         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
15436         * bits/mman.h [__USE_BSD]: Likewise.
15437         * bits/termios.h [__USE_BSD]: Likewise.
15438         * bits/waitstatus.h [__USE_BSD]: Likewise.
15439         * ctype/ctype.h [__USE_SVID]: Likewise.
15440         * dirent/dirent.h [__USE_BSD]: Likewise.
15441         * grp/grp.h [__USE_SVID]: Likewise.
15442         [__USE_BSD]: Likewise.
15443         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
15444         * io/fcntl.h [__USE_BSD]: Likewise.
15445         * io/ftw.h [__USE_BSD]: Likewise.
15446         * io/sys/stat.h [__USE_BSD]: Likewise.
15447         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
15448         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
15449         * libio/stdio.h [__USE_SVID]: Likewise.
15450         [__USE_BSD]: Likewise.
15451         * math/math.h [__USE_SVID]: Likewise.
15452         [__USE_BSD]: Likewise.
15453         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
15454         * misc/bits/syslog.h [__USE_BSD]: Likewise.
15455         * misc/search.h [__USE_SVID]: Likewise.
15456         * misc/sys/mman.h [__USE_BSD]: Likewise.
15457         * misc/sys/syslog.h [__USE_BSD]: Likewise.
15458         * misc/sys/uio.h [__USE_BSD]: Likewise.
15459         * posix/bits/unistd.h [__USE_BSD]: Likewise.
15460         * posix/glob.h [__USE_BSD]: Likewise.
15461         * posix/regex.h [__USE_BSD]: Likewise.
15462         * posix/sys/types.h [__USE_BSD]: Likewise.
15463         [__USE_SVID]: Likewise.
15464         * posix/sys/utsname.h [__USE_SVID]: Likewise.
15465         * posix/sys/wait.h [__USE_BSD]: Likewise.
15466         [__USE_SVID]: Likewise.
15467         * posix/unistd.h [__USE_BSD]: Likewise.
15468         [__USE_SVID]: Likewise.
15469         * pwd/pwd.h [__USE_SVID]: Likewise.
15470         * resolv/netdb.h [__USE_BSD]: Likewise.
15471         * setjmp/setjmp.h [__USE_BSD]: Likewise.
15472         * signal/signal.h [__USE_BSD]: Likewise.
15473         [__USE_SVID]: Likewise.
15474         * socket/sys/socket.h [__USE_BSD]: Likewise.
15475         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
15476         * stdlib/stdlib.h [__USE_BSD]: Likewise.
15477         [__USE_SVID]: Likewise.
15478         * string/bits/string2.h [__USE_BSD]: Likewise.
15479         [__USE_SVID]: Likewise.
15480         * string/bits/string3.h [__USE_BSD]: Likewise.
15481         * string/endian.h [__USE_BSD]: Likewise.
15482         * string/string.h [__USE_SVID]: Likewise.
15483         [__USE_BSD]: Likewise.
15484         * string/strings.h [__USE_BSD]: Likewise.
15485         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
15486         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
15487         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
15488         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
15489         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
15490         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
15491         Likewise.
15492         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
15493         Likewise.
15494         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
15495         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
15496         Likewise.
15497         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
15498         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
15499         Likewise.
15500         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
15501         Likewise.
15502         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
15503         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
15504         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
15505         Likewise.
15506         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
15507         Likewise.
15508         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
15509         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
15510         * termios/termios.h [__USE_BSD]: Likewise.
15511         * time/sys/time.h [__USE_BSD]: Likewise.
15512         * time/time.h [__USE_BSD]: Likewise.
15513         [__USE_SVID]: Likewise.
15514
15515         * Makefile (subdir_targets): Remove subdir_lint.out.
15516
15517         * stdio-common/Makefile (do-tst-unbputc): Remove target.
15518         (do-tst-printf): Likewise.
15519         (tests): Depend directly on $(objpfx)tst-unbputc.out and
15520         $(objpfx)tst-printf.out.
15521
15522         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
15523
15524         * Makerules (check-abi-%): Change target to
15525         $(objpfx)check-abi-%.out.
15526         (check-abi target): Update dependencies.
15527         (check-abi-pattern variable): Redirect output of diff to $@.
15528         (check-abi variable): Likewise.
15529         * elf/Makefile (check-abi): Update dependencies.
15530
15531         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
15532         unused.
15533         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
15534         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
15535         subnormal range.
15536         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
15537         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
15538         value has largest subnormal exponent.
15539         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
15540         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
15541         * sysdeps/aarch64/soft-fp/sfp-machine.h
15542         (_FP_TININESS_AFTER_ROUNDING): New macro.
15543         * sysdeps/alpha/soft-fp/sfp-machine.h
15544         (_FP_TININESS_AFTER_ROUNDING): Likewise.
15545         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
15546         Likewise.
15547         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
15548         (_FP_TININESS_AFTER_ROUNDING): Likewise.
15549         * sysdeps/mips/soft-fp/sfp-machine.h
15550         (_FP_TININESS_AFTER_ROUNDING): Likewise.
15551         * sysdeps/powerpc/soft-fp/sfp-machine.h
15552         (_FP_TININESS_AFTER_ROUNDING): Likewise.
15553         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
15554         Likewise.
15555         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
15556         (_FP_TININESS_AFTER_ROUNDING): Likewise.
15557         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
15558         (_FP_TININESS_AFTER_ROUNDING): Likewise.
15559         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
15560         Likewise.
15561
15562 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
15563
15564         [BZ #16545]
15565         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
15566         model 1.
15567
15568 2014-02-12  Richard Henderson  <rth@redhat.com>
15569
15570         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
15571         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
15572         * sysdeps/unix/sysv/linux/alpha: Move directory from
15573         ports/sysdeps/unix/sysv/linux/alpha.
15574         * README: Update listing for alpha-*-linux-gnu.
15575
15576 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
15577
15578         * include/features.h: Update comment documenting feature test
15579         macros.
15580         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
15581         _DEFAULT_SOURCE.
15582         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
15583         (_SVID_SOURCE): Likewise.
15584         (_DEFAULT_SOURCE): Update description of default features.
15585         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
15586         with _GNU_SOURCE.
15587         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
15588         (S_ISVTX): Likewise.
15589         * manual/math.texi (Mathematical Constants): Likewise.
15590         * manual/signal.texi (Interrupted Primitives): Likewise.
15591         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
15592         * math/test-matherr.c (_SVID_SOURCE): Do not define.
15593         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
15594         Don't refer to _SVID_SOURCE in warning text.
15595
15596         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15597
15598         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
15599         already defined.
15600         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
15601         * sysdeps/mips/dl-lookup.c: Remove.
15602         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
15603
15604 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
15605
15606         [BZ #16447]
15607         * math/auto-libm-test-in: Add testcase for expl.
15608         * math/auto-libm-test-out: Regenerate.
15609         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
15610         calculation of unsafe.
15611         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
15612
15613 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
15614
15615         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
15616         * sysdeps/unix/sysv/linux/aarch64: Move directory from
15617         ports/sysdeps/unix/sysv/linux/aarch64.
15618         * README: Update listing for aarch64*-*-linux-gnu.
15619
15620 2014-02-11  Will Newton  <will.newton@linaro.org>
15621
15622         * manual/probes.texi (Mathematical Function Probes): Use
15623         "triggered" instead of "hit".
15624
15625         * manual/probes.texi (Internal Probes): Add documentation
15626         of setjmp, longjmp and longjmp_target probes.
15627
15628         * include/stap-probe.h: Add comment about probe argument
15629         format.
15630
15631         * malloc/mtrace.c (attribute_hidden): Remove unused macro
15632         definition.  (tr_where, tr_freehook, tr_mallochook,
15633         tr_reallochook, tr_memalignhook): Use ANSI protoype.
15634
15635 2014-02-11  David S. Miller  <davem@davemloft.net>
15636
15637         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
15638         processing int_tests.
15639
15640 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
15641
15642         * sysdeps/mips: Move directory from ports/sysdeps/mips.
15643         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
15644         * sysdeps/unix/sysv/linux/mips: Move directory from
15645         ports/sysdeps/unix/sysv/linux/mips.
15646         * README: Update listing for mips-*-linux-gnu and
15647         mips64-*-linux-gnu.
15648
15649 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
15650
15651         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
15652         * sysdeps/unix/sysv/linux/m68k: Move directory from
15653         ports/sysdeps/unix/sysv/linux/m68k.
15654         * README: Update listing for m68k-*-linux-gnu.
15655
15656 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
15657
15658         * sysdeps/tile: Move directory from ports/sysdeps/tile.
15659         * sysdeps/unix/sysv/linux/generic: Move directory from
15660         ports/sysdeps/unix/sysv/linux/generic.
15661         * sysdeps/unix/sysv/linux/tile: Move directory from
15662         ports/sysdeps/unix/sysv/linux/tile.
15663         * README: Update listing for tile*-*-linux-gnu.
15664
15665 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
15666
15667         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
15668         __builtin_expect.
15669         * benchtests/bench-memmem.c (simple_memmem): Likewise.
15670         * catgets/open_catalog.c (__open_catalog): Likewise.
15671         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
15672         * debug/confstr_chk.c: Likewise.
15673         * debug/fread_chk.c (__fread_chk): Likewise.
15674         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
15675         * debug/getgroups_chk.c: Likewise.
15676         * debug/mbsnrtowcs_chk.c: Likewise.
15677         * debug/mbsrtowcs_chk.c: Likewise.
15678         * debug/mbstowcs_chk.c: Likewise.
15679         * debug/memcpy_chk.c: Likewise.
15680         * debug/memmove_chk.c: Likewise.
15681         * debug/mempcpy_chk.c: Likewise.
15682         * debug/memset_chk.c: Likewise.
15683         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
15684         * debug/strcat_chk.c (__strcat_chk): Likewise.
15685         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
15686         * debug/strncat_chk.c (__strncat_chk): Likewise.
15687         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
15688         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
15689         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
15690         * debug/wcpncpy_chk.c: Likewise.
15691         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
15692         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
15693         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
15694         * debug/wcsncpy_chk.c: Likewise.
15695         * debug/wcsnrtombs_chk.c: Likewise.
15696         * debug/wcsrtombs_chk.c: Likewise.
15697         * debug/wcstombs_chk.c: Likewise.
15698         * debug/wmemcpy_chk.c: Likewise.
15699         * debug/wmemmove_chk.c: Likewise.
15700         * debug/wmempcpy_chk.c: Likewise.
15701         * debug/wmemset_chk.c: Likewise.
15702         * dirent/scandirat.c (SCANDIRAT): Likewise.
15703         * dlfcn/dladdr1.c (dladdr1): Likewise.
15704         * dlfcn/dladdr.c (dladdr): Likewise.
15705         * dlfcn/dlclose.c (dlclose_doit): Likewise.
15706         * dlfcn/dlerror.c (__dlerror): Likewise.
15707         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
15708         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
15709         * dlfcn/dlopen.c (dlopen_doit): Likewise.
15710         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
15711         * dlfcn/dlsym.c (dlsym_doit): Likewise.
15712         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
15713         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
15714         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
15715         Likewise.
15716         * elf/dl-conflict.c: Likewise.
15717         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
15718         * elf/dl-dst.h: Likewise.
15719         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
15720         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
15721         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
15722         * elf/dl-init.c (call_init, _dl_init): Likewise.
15723         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
15724         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
15725         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
15726         Likewise.
15727         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
15728         Likewise.
15729         * elf/dl-minimal.c (__libc_memalign): Likewise.
15730         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
15731         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
15732         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
15733         * elf/dl-sym.c (do_sym): Likewise.
15734         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
15735         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
15736         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
15737         * elf/dl-writev.h (_dl_writev): Likewise.
15738         * elf/ldconfig.c (search_dir): Likewise.
15739         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
15740         (dl_main): Likewise.
15741         * elf/setup-vdso.h (setup_vdso): Likewise.
15742         * grp/compat-initgroups.c (compat_call): Likewise.
15743         * grp/fgetgrent.c (fgetgrent): Likewise.
15744         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
15745         * grp/putgrent.c (putgrent): Likewise.
15746         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
15747         Likewise.
15748         * hurd/hurdinit.c: Likewise.
15749         * iconvdata/8bit-gap.c (struct): Likewise.
15750         * iconvdata/ansi_x3.110.c : Likewise.
15751         * iconvdata/big5.c : Likewise.
15752         * iconvdata/big5hkscs.c : Likewise.
15753         * iconvdata/cp1255.c: Likewise.
15754         * iconvdata/cp1258.c : Likewise.
15755         * iconvdata/cp932.c : Likewise.
15756         * iconvdata/euc-cn.c: Likewise.
15757         * iconvdata/euc-jisx0213.c : Likewise.
15758         * iconvdata/euc-jp.c: Likewise.
15759         * iconvdata/euc-jp-ms.c : Likewise.
15760         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
15761         * iconvdata/gb18030.c : Likewise.
15762         * iconvdata/gbbig5.c (const): Likewise.
15763         * iconvdata/gbgbk.c: Likewise.
15764         * iconvdata/gbk.c : Likewise.
15765         * iconvdata/ibm1364.c : Likewise.
15766         * iconvdata/ibm930.c : Likewise.
15767         * iconvdata/ibm932.c: Likewise.
15768         * iconvdata/ibm933.c : Likewise.
15769         * iconvdata/ibm935.c : Likewise.
15770         * iconvdata/ibm937.c : Likewise.
15771         * iconvdata/ibm939.c : Likewise.
15772         * iconvdata/ibm943.c: Likewise.
15773         * iconvdata/iso_11548-1.c: Likewise.
15774         * iconvdata/iso-2022-cn.c : Likewise.
15775         * iconvdata/iso-2022-cn-ext.c : Likewise.
15776         * iconvdata/iso-2022-jp-3.c: Likewise.
15777         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
15778         * iconvdata/iso-2022-kr.c : Likewise.
15779         * iconvdata/iso646.c (gconv_end): Likewise.
15780         * iconvdata/iso_6937-2.c : Likewise.
15781         * iconvdata/iso_6937.c : Likewise.
15782         * iconvdata/iso8859-1.c: Likewise.
15783         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
15784         * iconvdata/shift_jisx0213.c : Likewise.
15785         * iconvdata/sjis.c : Likewise.
15786         * iconvdata/t.61.c : Likewise.
15787         * iconvdata/tcvn5712-1.c : Likewise.
15788         * iconvdata/tscii.c: Likewise.
15789         * iconvdata/uhc.c : Likewise.
15790         * iconvdata/unicode.c (gconv_end): Likewise.
15791         * iconvdata/utf-16.c (gconv_end): Likewise.
15792         * iconvdata/utf-32.c (gconv_end): Likewise.
15793         * iconvdata/utf-7.c (base64): Likewise.
15794         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
15795         * iconv/gconv_close.c (__gconv_close): Likewise.
15796         * iconv/gconv_open.c (__gconv_open): Likewise.
15797         * iconv/gconv_simple.c (internal_ucs4_loop_single)
15798         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
15799         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
15800         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
15801         (ucs4le_internal_loop_single): Likewise.
15802         * iconv/iconv.c (iconv): Likewise.
15803         * iconv/iconv_close.c: Likewise.
15804         * iconv/loop.c (SINGLE): Likewise.
15805         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
15806         * include/atomic.h: Likewise.
15807         * inet/inet6_option.c (option_alloc): Likewise.
15808         * intl/bindtextdom.c (set_binding_values): Likewise.
15809         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
15810         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
15811         * intl/localealias.c (read_alias_file): Likewise.
15812         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
15813         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
15814         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
15815         * libio/fmemopen.c (fmemopen): Likewise.
15816         * libio/iofgets.c (_IO_fgets): Likewise.
15817         * libio/iofgets_u.c (fgets_unlocked): Likewise.
15818         * libio/iofgetws.c (fgetws): Likewise.
15819         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
15820         * libio/iogetdelim.c (_IO_getdelim): Likewise.
15821         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
15822         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
15823         * locale/findlocale.c (_nl_find_locale): Likewise.
15824         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
15825         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
15826         Likewise.
15827         * locale/setlocale.c (setlocale): Likewise.
15828         * login/programs/pt_chown.c (main): Likewise.
15829         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
15830         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
15831         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
15832         (mmap, mmap64, mremap, munmap): Likewise.
15833         * math/e_exp2l.c: Likewise.
15834         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
15835         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
15836         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
15837         * math/s_catan.c (__catan): Likewise.
15838         * math/s_catanf.c (__catanf): Likewise.
15839         * math/s_catanh.c (__catanh): Likewise.
15840         * math/s_catanhf.c (__catanhf): Likewise.
15841         * math/s_catanhl.c (__catanhl): Likewise.
15842         * math/s_catanl.c (__catanl): Likewise.
15843         * math/s_ccosh.c (__ccosh): Likewise.
15844         * math/s_ccoshf.c (__ccoshf): Likewise.
15845         * math/s_ccoshl.c (__ccoshl): Likewise.
15846         * math/s_cexp.c (__cexp): Likewise.
15847         * math/s_cexpf.c (__cexpf): Likewise.
15848         * math/s_cexpl.c (__cexpl): Likewise.
15849         * math/s_clog10.c (__clog10): Likewise.
15850         * math/s_clog10f.c (__clog10f): Likewise.
15851         * math/s_clog10l.c (__clog10l): Likewise.
15852         * math/s_clog.c (__clog): Likewise.
15853         * math/s_clogf.c (__clogf): Likewise.
15854         * math/s_clogl.c (__clogl): Likewise.
15855         * math/s_csin.c (__csin): Likewise.
15856         * math/s_csinf.c (__csinf): Likewise.
15857         * math/s_csinh.c (__csinh): Likewise.
15858         * math/s_csinhf.c (__csinhf): Likewise.
15859         * math/s_csinhl.c (__csinhl): Likewise.
15860         * math/s_csinl.c (__csinl): Likewise.
15861         * math/s_csqrt.c (__csqrt): Likewise.
15862         * math/s_csqrtf.c (__csqrtf): Likewise.
15863         * math/s_csqrtl.c (__csqrtl): Likewise.
15864         * math/s_ctan.c (__ctan): Likewise.
15865         * math/s_ctanf.c (__ctanf): Likewise.
15866         * math/s_ctanh.c (__ctanh): Likewise.
15867         * math/s_ctanhf.c (__ctanhf): Likewise.
15868         * math/s_ctanhl.c (__ctanhl): Likewise.
15869         * math/s_ctanl.c (__ctanl): Likewise.
15870         * math/w_pow.c: Likewise.
15871         * math/w_powf.c: Likewise.
15872         * math/w_powl.c: Likewise.
15873         * math/w_scalb.c (sysv_scalb): Likewise.
15874         * math/w_scalbf.c (sysv_scalbf): Likewise.
15875         * math/w_scalbl.c (sysv_scalbl): Likewise.
15876         * misc/error.c (error_tail): Likewise.
15877         * misc/pselect.c (__pselect): Likewise.
15878         * nis/nis_callback.c (__nis_create_callback): Likewise.
15879         * nis/nis_call.c (__nisfind_server): Likewise.
15880         * nis/nis_creategroup.c (nis_creategroup): Likewise.
15881         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
15882         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
15883         * nis/nis_getservlist.c (nis_getservlist): Likewise.
15884         * nis/nis_lookup.c (nis_lookup): Likewise.
15885         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
15886         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
15887         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
15888         * nis/nis_xdr.c (xdr_endpoint): Likewise.
15889         * nis/nss_compat/compat-grp.c (getgrent_next_file)
15890         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
15891         * nis/nss_compat/compat-initgroups.c (add_group)
15892         (internal_getgrent_r): Likewise.
15893         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
15894         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
15895         * nis/nss_compat/compat-spwd.c (getspent_next_file)
15896         (internal_getspnam_r): Likewise.
15897         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
15898         (_nss_nis_getaliasbyname_r): Likewise.
15899         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
15900         (_nss_nis_getntohost_r): Likewise.
15901         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
15902         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
15903         (_nss_nis_getgrgid_r): Likewise.
15904         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
15905         (internal_nis_gethostent_r, internal_gethostbyname2_r)
15906         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
15907         (_nss_nis_gethostbyname4_r): Likewise.
15908         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
15909         (initgroups_netid): Likewise.
15910         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
15911         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
15912         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
15913         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
15914         (_nss_nis_getprotobynumber_r): Likewise.
15915         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
15916         (_nss_nis_getsecretkey): Likewise.
15917         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
15918         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
15919         (_nss_nis_getpwuid_r): Likewise.
15920         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
15921         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
15922         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
15923         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
15924         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
15925         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
15926         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
15927         Likewise.
15928         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
15929         (_nss_nisplus_getntohost_r): Likewise.
15930         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
15931         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
15932         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
15933         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
15934         Likewise.
15935         * nis/nss_nisplus/nisplus-initgroups.c
15936         (_nss_nisplus_initgroups_dyn): Likewise.
15937         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
15938         (_nss_nisplus_getnetbyaddr_r): Likewise.
15939         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
15940         (_nss_nisplus_getprotobynumber_r): Likewise.
15941         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
15942         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
15943         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
15944         Likewise.
15945         * nis/nss_nisplus/nisplus-service.c
15946         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
15947         (_nss_nisplus_getservbyport_r): Likewise.
15948         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
15949         (_nss_nisplus_getspnam_r): Likewise.
15950         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
15951         Likewise.
15952         * nscd/aicache.c (addhstaiX): Likewise.
15953         * nscd/cache.c (cache_search, prune_cache): Likewise.
15954         * nscd/connections.c (register_traced_file, send_ro_fd)
15955         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
15956         (main_loop_epoll): Likewise.
15957         * nscd/grpcache.c (addgrbyX): Likewise.
15958         * nscd/hstcache.c (addhstbyX): Likewise.
15959         * nscd/initgrcache.c (addinitgroupsX): Likewise.
15960         * nscd/mem.c (gc, mempool_alloc): Likewise.
15961         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
15962         (addinnetgrX): Likewise.
15963         * nscd/nscd-client.h (__nscd_acquire_maplock)
15964         (__nscd_drop_map_ref): Likewise.
15965         * nscd/nscd_getai.c (__nscd_getai): Likewise.
15966         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
15967         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
15968         Likewise.
15969         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
15970         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
15971         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
15972         (__nscd_get_map_ref): Likewise.
15973         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
15974         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
15975         Likewise.
15976         * nscd/pwdcache.c (addpwbyX): Likewise.
15977         * nscd/selinux.c (preserve_capabilities): Likewise.
15978         * nscd/servicescache.c (addservbyX): Likewise.
15979         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
15980         * posix/fnmatch.c (fnmatch): Likewise.
15981         * posix/getopt.c (_getopt_internal_r): Likewise.
15982         * posix/glob.c (glob, glob_in_dir): Likewise.
15983         * posix/wordexp.c (exec_comm_child): Likewise.
15984         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
15985         (getanswer_r, gaih_getanswer_slice): Likewise.
15986         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
15987         * resolv/res_init.c: Likewise.
15988         * resolv/res_mkquery.c (res_nmkquery): Likewise.
15989         * resolv/res_query.c (__libc_res_nquery): Likewise.
15990         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
15991         Likewise.
15992         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
15993         * stdio-common/perror.c (perror): Likewise.
15994         * stdio-common/printf_fp.c (___printf_fp): Likewise.
15995         * stdio-common/tmpnam.c (tmpnam): Likewise.
15996         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
15997         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
15998         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
15999         Likewise.
16000         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
16001         * stdlib/putenv.c (putenv): Likewise.
16002         * stdlib/setenv.c (__add_to_environ): Likewise.
16003         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
16004         * stdlib/strtol_l.c (INTERNAL): Likewise.
16005         * string/memmem.c (memmem): Likewise.
16006         * string/strerror.c (strerror): Likewise.
16007         * string/strnlen.c (__strnlen): Likewise.
16008         * string/test-memmem.c (simple_memmem): Likewise.
16009         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
16010         * sunrpc/pm_getport.c (__get_socket): Likewise.
16011         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
16012         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
16013         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
16014         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
16015         Likewise.
16016         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
16017         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
16018         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
16019         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
16020         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
16021         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
16022         Likewise.
16023         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
16024         Likewise.
16025         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
16026         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
16027         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
16028         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
16029         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
16030         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
16031         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
16032         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
16033         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
16034         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
16035         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
16036         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
16037         Likewise.
16038         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
16039         Likewise.
16040         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
16041         Likewise.
16042         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
16043         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
16044         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
16045         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
16046         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
16047         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
16048         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
16049         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
16050         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
16051         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
16052         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
16053         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
16054         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
16055         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
16056         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16057         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
16058         Likewise.
16059         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
16060         Likewise.
16061         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
16062         Likewise.
16063         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
16064         Likewise.
16065         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
16066         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16067         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
16068         Likewise.
16069         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
16070         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
16071         * sysdeps/posix/opendir.c (__opendirat): Likewise.
16072         * sysdeps/posix/sleep.c: Likewise.
16073         * sysdeps/posix/tempname.c: Likewise.
16074         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
16075         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
16076         Likewise.
16077         * sysdeps/powerpc/powerpc32/dl-machine.h
16078         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
16079         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
16080         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
16081         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
16082         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
16083         Likewise.
16084         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
16085         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
16086         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
16087         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
16088         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
16089         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
16090         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
16091         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
16092         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
16093         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
16094         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
16095         (elf_machine_lazy_rel): Likewise.
16096         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
16097         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
16098         (elf_machine_lazy_rel): Likewise.
16099         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
16100         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
16101         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
16102         * sysdeps/unix/grantpt.c (grantpt): Likewise.
16103         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
16104         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
16105         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
16106         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
16107         Likewise.
16108         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
16109         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
16110         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
16111         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
16112         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
16113         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
16114         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
16115         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
16116         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
16117         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
16118         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
16119         Likewise.
16120         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
16121         (__posix_fallocate64_l64): Likewise.
16122         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
16123         (posix_fallocate): Likewise.
16124         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
16125         Likewise.
16126         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
16127         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
16128         (getifaddrs_internal): Likewise.
16129         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
16130         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
16131         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
16132         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
16133         * sysdeps/unix/sysv/linux/posix_fallocate64.c
16134         (__posix_fallocate64_l64): Likewise.
16135         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
16136         Likewise.
16137         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
16138         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
16139         (__get_clockfreq): Likewise.
16140         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
16141         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
16142         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
16143         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
16144         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
16145         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
16146         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
16147         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
16148         Likewise.
16149         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
16150         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
16151         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
16152         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
16153         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
16154         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
16155         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
16156         Likewise.
16157         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
16158         (posix_fallocate): Likewise.
16159         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
16160         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
16161         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
16162         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
16163         (elf_machine_rela, elf_machine_rela_relative)
16164         (elf_machine_lazy_rel): Likewise.
16165         * time/asctime.c (asctime_internal): Likewise.
16166         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
16167         * time/tzset.c (__tzset_parse_tz): Likewise.
16168         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
16169         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
16170         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
16171         * wcsmbs/wcsmbsload.h: Likewise.
16172
16173         [BZ #15894]
16174         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
16175
16176         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
16177         (arena_get2): Remove THREAD_STATS conditionals.
16178         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
16179         (__malloc_stats, int): Likewise.
16180
16181 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
16182
16183         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
16184         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
16185
16186         * manual/setjmp.texi: Fix typos/grammar errors.
16187
16188         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
16189         Only return early when n is <= 0.  Delete unused return statement.
16190
16191         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
16192         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
16193         * debug/tst-longjmp_chk3.c: New file.
16194
16195         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
16196         (test_main): Replace code with set_fortify_handler call.
16197         * debug/test-strcpy_chk.c: Likewise.
16198         * debug/tst-chk1.c: Likewise.
16199         * debug/tst-longjmp_chk.c: Likewise.
16200         * test-skeleton.c: Include fcntl.h & paths.h
16201         (set_fortify_handler): Define.
16202
16203         * debug/tst-longjmp_chk.c: Add header comment and include
16204         ../test-skeleton.c.
16205         (do_test): Mark static.
16206         (TEST_FUNCTION): Define.
16207
16208         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
16209         (IP_PMTUDISC_INTERFACE): Likewise.
16210         (IP_MULTICAST_IF): Likewise.
16211         (IP_MULTICAST_TTL): Likewise.
16212         (IP_MULTICAST_LOOP): Likewise.
16213         (IP_ADD_MEMBERSHIP): Likewise.
16214         (IP_DROP_MEMBERSHIP): Likewise.
16215         (IP_UNBLOCK_SOURCE): Likewise.
16216         (IP_BLOCK_SOURCE): Likewise.
16217         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
16218         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
16219         (IP_MSFILTER): Likewise.
16220         (MCAST_JOIN_GROUP): Likewise.
16221         (MCAST_BLOCK_SOURCE): Likewise.
16222         (MCAST_UNBLOCK_SOURCE): Likewise.
16223         (MCAST_LEAVE_GROUP): Likewise.
16224         (MCAST_JOIN_SOURCE_GROUP): Likewise.
16225         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
16226         (MCAST_MSFILTER): Likewise.
16227         (IP_MULTICAST_ALL): Likewise.
16228         (IP_UNICAST_IF): Likewise.
16229
16230         * timezone/Makefile: Delete $(have-ksh) check.
16231         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
16232         * timezone/tzselect.ksh: Add +x mode bits.
16233
16234         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
16235         (ANON_INODE_FS_MAGIC): Likewise.
16236         (BDEVFS_MAGIC): Likewise.
16237         (BINFMTFS_MAGIC): Likewise.
16238         (BTRFS_TEST_MAGIC): Likewise.
16239         (CRAMFS_MAGIC_WEND): Likewise.
16240         (DEBUGFS_MAGIC): Likewise.
16241         (ECRYPTFS_SUPER_MAGIC): Likewise.
16242         (EXT3_SUPER_MAGIC): Likewise.
16243         (EXT4_SUPER_MAGIC): Likewise.
16244         (FUTEXFS_SUPER_MAGIC): Likewise.
16245         (HOSTFS_SUPER_MAGIC): Likewise.
16246         (HUGETLBFS_MAGIC): Likewise.
16247         (MINIX3_SUPER_MAGIC): Likewise.
16248         (MTD_INODE_FS_MAGIC): Likewise.
16249         (NILFS_SUPER_MAGIC): Likewise.
16250         (OPENPROM_SUPER_MAGIC): Likewise.
16251         (PIPEFS_MAGIC): Likewise.
16252         (PSTOREFS_MAGIC): Likewise.
16253         (QNX6_SUPER_MAGIC): Likewise.
16254         (RAMFS_MAGIC): Likewise.
16255         (REISERFS_SUPER_MAGIC_STRING): Likewise.
16256         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
16257         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
16258         (SECURITYFS_MAGIC): Likewise.
16259         (SELINUX_MAGIC): Likewise.
16260         (SMACK_MAGIC): Likewise.
16261         (SOCKFS_MAGIC): Likewise.
16262         (SQUASHFS_MAGIC): Likewise.
16263         (STACK_END_MAGIC): Likewise.
16264         (TMPFS_MAGIC): Likewise.
16265         (USBDEVICE_SUPER_MAGIC): Likewise.
16266         (V9FS_MAGIC): Likewise.
16267         (XENFS_SUPER_MAGIC): Likewise.
16268         (CRAMFS_MAGIC): Fix typo in comment.
16269         (EXT2_SUPER_MAGIC): Update comment.
16270         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
16271
16272 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
16273
16274         * sysdeps/arm: Move directory from ports/sysdeps/arm.
16275         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
16276         * sysdeps/unix/sysv/linux/arm: Move directory from
16277         ports/sysdeps/unix/sysv/linux/arm.
16278         * README: Update listing for arm-*-linux-gnueabi.
16279
16280         * README: Remove mention of am33.
16281
16282 2014-02-07  Roland McGrath  <roland@hack.frob.com>
16283
16284         * bits/sigset.h (__sigemptyset): Use a statement expression rather
16285         than the comma operator, to avoid "rhs of comma has no effect"
16286         compiler warnings.
16287         (__sigfillset, __sigandset, __sigorset): Likewise.
16288         * include/signal.h (__sigemptyset): Likewise.
16289         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
16290
16291 2014-02-07  Allan McRae  <allan@archlinux.org>
16292
16293         * version.h (RELEASE): Set to "development".
16294         (VERSION): Set to "2.19.90"
16295         * NEWS: Add 2.20 section.
16296
16297 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
16298
16299         [BZ #16529]
16300         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
16301
16302 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
16303
16304         * manual/contrib.texi: Update entry for Carlos O'Donell,
16305         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
16306
16307 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
16308
16309         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
16310
16311         * sysdeps/unix/sysv/linux/kernel-features.h
16312         [__LINUX_KERNEL_VERSION >= 0x020621]
16313         (__ASSUME_PROC_PID_TASK_COMM): Define.
16314
16315 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
16316
16317         [BZ #16398]
16318         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
16319         conversion when destination buffer does not have enough space.
16320         * libio/tst-ftell-partial-wide.c: New test case.
16321         * libio/Makefile (tests): Add tst-ftell-partial-wide.
16322
16323         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
16324         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
16325         Leonard and Allan McRae.
16326
16327 2014-02-04  David S. Miller  <davem@davemloft.net>
16328
16329         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
16330         32-bit.
16331
16332 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16333
16334         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
16335         New file
16336         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
16337         New file
16338         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
16339         New file.
16340         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
16341         New file.
16342         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
16343         New file.
16344         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
16345         New file.
16346         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
16347         New file.
16348         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
16349         New file.
16350         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
16351         New file.
16352         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
16353         New file.
16354         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
16355         New file.
16356         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
16357         New file.
16358         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
16359         New file.
16360
16361 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16362
16363         * nptl/shlib-versions: Change powerpc*le start to 2.17.
16364         * shlib-versions: Likewise.
16365
16366 2014-02-04  Roland McGrath  <roland@hack.frob.com>
16367             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16368
16369         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
16370         (abilist-pattern): New variable, set to %-le.abilist.
16371
16372         * Makerules (abilist-pattern): New variable.
16373         (vpath): Use $(abilist-pattern) in place of %.abilist.
16374         (check-abi-% pattern rule): Likewise.
16375         (check-abi, update-abi): Likewise.
16376
16377 2014-02-04  Eric Wong  <normalperson@yhbt.net>
16378
16379         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16380
16381 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
16382
16383         * manual/startup.texi: Add next, previous, and top entries for
16384         the `Program Arguments' and `Environment Variables' nodes.
16385
16386 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
16387
16388         * manual/macros.texi: Add comments before MTASC-safety macros.
16389
16390         * manual/users.texi: Document MTASC-safety properties.
16391
16392         * manual/threads.texi (pthread_key_create, pthread_key_delete)
16393         (pthread_getspecific, pthread_setspecific): Format with
16394         @deftypefun, and add @safety note.
16395         * manual/signal.texi: Move comments that analyze the above
16396         functions to their home place.
16397
16398 2014-02-03  Allan McRae  <allan@archlinux.org>
16399
16400         * po/sl.po: Update Slovenian translation from translation project.
16401
16402 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
16403
16404         * manual/time.texi (timegm): Add missing blank after @c.
16405         Reported by Joseph Myers <joseph@codesourcery.com>.
16406
16407 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
16408
16409         * manual/check-safety.sh: New.
16410         * manual/Makefile ($(objpfx)stamp-summary): Run it.
16411
16412         * manual/terminal.texi: Document MTASC-safety properties.
16413
16414         * manual/filesys.texi: Document MTASC-safety properties.
16415
16416         * manual/errno.texi: Document MTASC-safety properties.
16417
16418         * manual/intro.texi: Document safety identifiers and
16419         conditionals.
16420
16421         * manual/string.texi (wcstok): Fix prototype.
16422         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
16423
16424         * manual/time.texi: Document MTASC-safety properties.
16425
16426         * manual/string.texi: Document MTASC-safety properties.
16427
16428         * manual/threads.texi: Document MTASC-safety properties.
16429
16430         * manual/stdio.texi: Document MTASC-safety properties.
16431
16432         * manual/syslog.texi: Document MTASC-safety properties.
16433
16434         * manual/sysinfo.texi: Document MTASC-safety properties.
16435
16436         * manual/startup.texi: Document MTASC-safety properties.
16437
16438         * manual/socket.texi: Document MTASC-safety properties.
16439
16440         * manual/signal.texi: Document MTASC-safety properties.
16441
16442 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
16443
16444         * manual/setjmp.texi: Document MTASC-safety properties.
16445
16446         * manual/search.texi: Document MTASC-safety properties.
16447
16448         * manual/resource.texi: Document MTASC-safety properties.
16449
16450         * manual/process.texi: Document MTASC-safety properties.
16451
16452         * manual/platform.texi: Document MTASC-safety properties.
16453
16454         * manual/pipe.texi: Document MTASC-safety properties.
16455
16456         * manual/pattern.texi: Document MTASC-safety properties.
16457
16458         * manual/message.texi: Document MTASC-safety properties.
16459
16460         [BZ #12751]
16461         * manual/memory.texi: Document MTASC-safety properties.
16462
16463         * manual/math.texi: Document MTASC-safety properties.
16464
16465         * manual/locale.texi: Document MTASC-safety properties.
16466
16467         * manual/llio.texi: Document MTASC-safety properties.
16468
16469         * manual/libdl.texi: New.
16470
16471         * manual/lang.texi: Document MTASC-safety properties.
16472
16473         * manual/job.texi: Document MTASC-safety properties.
16474
16475         * manual/getopt.texi: Document MTASC-safety properties.
16476
16477         * manual/ctype.texi: Document MTASC-safety properties.
16478
16479 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
16480
16481         [BZ #16046]
16482         * csu/libc-tls.c (static_map): Remove variable.
16483         (__libc_setup_tls): Use main executable's link map for TLS data.
16484         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
16485         casing for LM_ID_BASE and GL(dl_nns).
16486         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
16487         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
16488         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
16489         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
16490         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
16491         member.
16492         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
16493         l_phnum members.
16494
16495 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
16496
16497         * manual/debug.texi: Document MTASC-safety properties.
16498
16499 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
16500
16501         [BZ #16510]
16502         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
16503         of __x86_64__ when disabling x87 inline functions.
16504
16505 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
16506
16507         * manual/charset.texi: Document MTASC-safety properties.
16508
16509         * manual/crypt.texi: Document MTASC-safety properties.
16510
16511         * manual/conf.texi: Document MTASC-safety properties.
16512
16513         * manual/arith.texi: Document MTASC-safety properties.
16514
16515         * manual/argp.texi: Document MTASC-safety properties.
16516
16517         * manual/macros.texi: Introduce macros to document multi
16518         thread, asynchronous signal and asynchronous cancellation
16519         safety properties.
16520         * manual/intro.texi: Introduce the properties themselves.
16521
16522 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
16523
16524         * sysdeps/sh/sh4/Makefile: New file.
16525
16526 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
16527
16528         * math/gen-libm-test.pl ($srcdir): New variable.
16529         ($auto_input): Use it.
16530
16531 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
16532
16533         [BZ #16506]
16534         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
16535         access beyond array bounds when parsing netgroups file.
16536
16537         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
16538         the old buffer before realloc.
16539
16540 2014-01-27  Allan McRae  <allan@archlinux.org>
16541
16542         * po/fr.po: Update French translation from translation project.
16543
16544 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
16545
16546         * sysdeps/sh/libm-test-ulps: Regenerate.
16547
16548 2014-01-24  David S. Miller  <davem@davemloft.net>
16549
16550         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
16551
16552 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
16553
16554         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
16555         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
16556
16557 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
16558
16559         [BZ #16474]
16560         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
16561         string pointers after reallocation.
16562
16563 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
16564
16565         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
16566         __SH4A__ instead of __SH_FPU_ANY__.
16567
16568 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
16569
16570         * sysdeps/sh/fpu_control.h: New file.
16571         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
16572         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
16573         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
16574         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
16575         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
16576         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
16577         * sysdeps/sh/sys/ucontext.h: Remove.
16578         * sysdeps/sh/sys: Remove directory.
16579
16580 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16581
16582         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
16583         s390/sys/ucontext.h.
16584         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
16585         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
16586
16587 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
16588
16589         [BZ #15605]
16590         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
16591
16592 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16593
16594         [BZ#16431]
16595         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
16596         Adjust the vDSO correctly for internal calls.
16597         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
16598
16599 2014-01-20  Allan McRae  <allan@archlinux.org>
16600
16601         * po/ca.po: Update Catalan translation from translation project.
16602
16603 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
16604
16605         * sysdeps/s390/sotruss-lib.c: New file.
16606
16607 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16608
16609         [BZ#16430]
16610         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
16611         (__GI___gettimeofday): Alias for a different internal symbol to avoid
16612         local calls issues by not having a PLT stub required for IFUNC calls.
16613         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
16614
16615 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
16616
16617         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
16618         * math/test-fpucw-static.c: Likewise.
16619
16620 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
16621
16622         [BZ #16453]
16623         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
16624
16625 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16626
16627         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
16628         implementation for powerpc.
16629
16630 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
16631
16632         [BZ #14782]
16633         * sysdeps/posix/system.c (__libc_system): Do not enable
16634         asynchronous cancellation.
16635
16636 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16637
16638         [BZ #16427]
16639         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
16640         handling only for numbers special also in the IEEE case.
16641
16642 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16643
16644         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
16645
16646 2014-01-11  Allan McRae  <allan@archlinux.org>
16647
16648         * po/bg.po: Update Bulgarian translation from translation project.
16649
16650         * po/de.po: Update German translation from translation project.
16651
16652 2014-01-10  Roland McGrath  <roland@hack.frob.com>
16653
16654         * sysdeps/generic/gcc-compat.h: New file.
16655
16656 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
16657
16658         * benchtests/asin-inputs: Correct slow inputs.
16659         * benchtests/acos-inputs: Likewise.
16660
16661 2014-01-10  Allan McRae  <allan@archlinux.org>
16662
16663         * po:sv.po: Update Swedish translation from translation project.
16664
16665         * po/vi.po: Update Vietnamese translation from translation project.
16666
16667         * po/eo.po: Update Esperanto translation from translation project.
16668
16669         * po/cs.po: Update Czech translation from translation project.
16670
16671         * po/nl.po: Update Dutch translation from translation project.
16672
16673         * po/pl.po: Update Polish translation from translation project.
16674
16675         * po/ru.po: Update Russian translation from translation project.
16676
16677         * po/uk.po: Update Ukrainian translation from translation project.
16678
16679 2014-01-08  Brooks Moses  <bmoses@google.com>
16680
16681         * elf/dl-load.c: Fix comment typo.
16682
16683 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
16684
16685         * po/header.pot: Rename to...
16686         * po/pot.header: ... this.
16687         * po/Makefile: Use pot.header.
16688
16689 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
16690             Maxim Kuvyrkov  <maxim@kugelworks.com>
16691
16692         [BZ #16394]
16693         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
16694         SRC and DEST against LEN.
16695
16696 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16697
16698         [BZ #16414]
16699         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
16700         implementation.
16701         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
16702
16703 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16704
16705         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16706
16707 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
16708
16709         [BZ #16408]
16710         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
16711         for large positive arguments.
16712
16713 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
16714
16715         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
16716
16717         * math/auto-libm-test-in: Mark various tests with
16718         xfail-rounding:ldbl-128ibm.
16719         * math/auto-libm-test-out: Regenerated.
16720
16721         [BZ #16407]
16722         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
16723         Increase overflow threshold.
16724
16725 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
16726
16727         [BZ #14286]
16728         * stdio-common/vfprintf.c: Check for integer overflow.
16729
16730 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16731
16732         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
16733         the first argument and return value of __tls_get_addr_internal.
16734
16735 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16736
16737         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
16738         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
16739
16740 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16741
16742         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
16743         * sysdeps/s390/rtld-global-offsets.sym: New file.
16744         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
16745         GLIBC_2.19 symbol.
16746         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
16747         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
16748         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
16749         ... this.
16750         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
16751         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
16752         ... this.
16753         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
16754         Regenerate.
16755         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
16756         Regenerate.
16757         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
16758         halfs of GPRs for high_gprs contexts.
16759         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
16760         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
16761         field.
16762         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
16763         uc_flags field.
16764         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
16765         64 bit versions:
16766         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
16767         for high GPRs (uc_high_gprs) and for future extensions
16768         (__reserved).
16769         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
16770         for future extensions (__reserved).
16771         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
16772         64 bit versions:
16773         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
16774         SC_HIGHGPRS offset definition.
16775         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
16776         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
16777
16778         * Versions.def: Add GLIBC_2.19 for libpthread.
16779         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
16780         siglongjmp for libpthread with GLIBC_2.19 symver.
16781         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
16782         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
16783         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
16784         * sysdeps/s390/__longjmp.c: New file.
16785         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
16786         * sysdeps/s390/longjmp.c: New file.
16787         * sysdeps/s390/setjmp.S: New file.
16788         * sysdeps/s390/sigjmp.S: New file.
16789         * sysdeps/s390/v1-longjmp.c: New file.
16790         * sysdeps/s390/v1-setjmp.h: New file.
16791         * sysdeps/s390/v1-sigjmp.c: New file.
16792         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
16793         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
16794         GLIBC_2.19 version.
16795         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
16796         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
16797         versioned symbols for ____longjmp_chk.
16798         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
16799         Likewise.
16800         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
16801         Regenerate.
16802         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
16803         Regenerate.
16804         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
16805         Regenerate.
16806         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
16807         Regenerate.
16808         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
16809         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
16810         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
16811         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
16812         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
16813         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
16814         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
16815         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
16816         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
16817         * sysdeps/s390/rtld-__longjmp.c: New file.
16818         * sysdeps/s390/rtld-setjmp.S: New file.
16819
16820 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
16821
16822         [BZ #16400]
16823         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
16824         Return -__logl (x) for small positive arguments without evaluating
16825         a polynomial.
16826
16827 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
16828
16829         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
16830         Rename to ...
16831         (__ptrace_peeksiginfo_args): ... this.
16832         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
16833         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
16834         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
16835
16836 2014-01-06  Allan McRae  <allan@archlinux.org>
16837
16838         * inet/netinet/in.h: Fix typo in comment.
16839
16840 2014-01-05  Andreas Jaeger  <aj@suse.de>
16841
16842         * sysdeps/i386/fpu/libm-test-ulps: Update.
16843
16844 2014-01-05  Allan McRae  <allan@archlinux.org>
16845
16846         * po/libc.pot: Regenerated.
16847
16848         * malloc/memusagestat.c: Fix gettext call formatting.
16849
16850 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
16851
16852         * nscd/nscd.c: Improve usage() output.
16853
16854 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
16855
16856         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
16857         * sysdeps/unix/sysv/linux/configure: Regenerated.
16858         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
16859         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
16860
16861 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
16862
16863         [BZ #16390]
16864         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
16865         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
16866
16867 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16868
16869         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
16870         extra tokens at end of #undef directive.
16871         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
16872         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
16873         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
16874
16875 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
16876
16877         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
16878
16879         * math/auto-libm-test-in: Mark various tests with
16880         xfail-rounding:ldbl-128ibm.
16881         * math/auto-libm-test-out: Regenerated.
16882
16883 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
16884
16885         [BZ #16386]
16886         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
16887         numbers with subnormal high part when calculating exponent.
16888
16889         [BZ #16385]
16890         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
16891         fabs.
16892
16893         [BZ #16384]
16894         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
16895         M_LN2l.
16896         (__ieee754_acoshl): Use __log1pl not __log1p.
16897
16898 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
16899
16900         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
16901         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
16902         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
16903         (grow_heap, heap_trim, _int_new_arena, get_free_list)
16904         (reused_arena, arena_get2): Convert to GNU style.
16905         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
16906         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
16907         (memalign_check, __malloc_set_state): Likewise.
16908         * malloc/mallocbug.c (main): Likewise.
16909         * malloc/malloc.c (__malloc_assert, malloc_init_state)
16910         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
16911         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
16912         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
16913         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
16914         (__posix_memalign, malloc_info): Likewise.
16915         * malloc/malloc.h: Likewise.
16916         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
16917         (mallochook, memalignhook, reallochook, mabort): Likewise.
16918         * malloc/mcheck.h: Likewise.
16919         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
16920         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
16921         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
16922         * malloc/morecore.c (__default_morecore): Likewise.
16923         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
16924         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
16925         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
16926         (print_and_abort): Likewise.
16927         * malloc/obstack.h: Likewise.
16928         * malloc/set-freeres.c (__libc_freeres): Likewise.
16929         * malloc/tst-mallocstate.c (main): Likewise.
16930         * malloc/tst-mtrace.c (main): Likewise.
16931         * malloc/tst-realloc.c (do_test): Likewise.
16932
16933 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
16934
16935         [BZ #16366]
16936         * nscd/netgroupcache.c (do_notfound): New function.
16937         (addgetnetgrentX): Use it.
16938
16939         [BZ # 16365]
16940         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
16941         NSS_STATUS_NOTFOUND.
16942
16943 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
16944
16945         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
16946         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16947
16948 2014-01-01  Allan McRae  <allan@archlinux.org>
16949
16950         * scripts/update-copyrights: Update configure input file suffix.
16951
16952         * NEWS: Update copyright year.
16953         * catgets/gencat.c: Likewise.
16954         * csu/version.c: Likewise.
16955         * debug/catchsegv.sh: Likewise.
16956         * debug/pcprofiledump.c: Likewise.
16957         * debug/xtrace.sh: Likewise.
16958         * elf/ldconfig.c: Likewise.
16959         * elf/ldd.bash.in: Likewise.
16960         * elf/pldd.c: Likewise.
16961         * elf/sotruss.ksh: Likewise.
16962         * elf/sprof.c: Likewise.
16963         * iconv/iconv_prog.c: Likewise.
16964         * iconv/iconvconfig.c: Likewise.
16965         * locale/programs/locale.c: Likewise.
16966         * locale/programs/localedef.c: Likewise.
16967         * login/programs/pt_chown.c: Likewise.
16968         * malloc/memusage.sh: Likewise.
16969         * malloc/memusagestat.c: Likewise.
16970         * malloc/mtrace.pl: Likewise.
16971         * manual/libc.texinfo: Likewise.
16972         * nscd/nscd.c: Likewise.
16973         * nss/getent.c: Likewise.
16974         * nss/makedb.c: Likewise.
16975         * posix/getconf.c: Likewise.
16976         * scripts/test-installation.pl: Likewise.
16977
16978         * All files with FSF copyright notices: Update copyright dates
16979         using scripts/update-copyrights.
16980         * intl/plural.c: Regenerated.
16981         * locale/programs/charmap-kw.h: Likewise.
16982         * locale/programs/locfile-kw.h: Likewise.
16983
16984 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
16985
16986         * sysdeps/unix/sysv/linux/configure: Regenerated.
16987         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
16988         the linux/fanotify.h header.
16989         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
16990         HAVE_LINUX_FANOTIFY_H is defined.
16991
16992 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
16993
16994         * benchtests/cos-inputs: New inputs.
16995         * benchtests/sin-inputs: Likewise.
16996
16997         * benchtests/atan-inputs: New inputs. Fix name of multiple
16998         precision fallback inputs.
16999
17000         * benchtests/atanh-inputs: New inputs.
17001         * benchtests/tanh-inputs: Likewise.
17002
17003         * benchtests/acosh-inputs: New inputs.
17004         * benchtests/asinh-inputs: Likewise.
17005
17006         * benchtests/cosh-inputs: New inputs.
17007         * benchtests/sinh-inputs: Likewise.
17008
17009         * benchtests/acos-inputs: Add more inputs.
17010         * benchtests/asin-inputs: Likewise.
17011
17012 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
17013
17014         [BZ #16375]
17015         * manual/arith.texi: Fix spelling.
17016         * manual/charset.texi: Likewise.
17017         * manual/errno.texi: Likewise.
17018         * manual/filesys.texi: Likewise.
17019         * manual/lang.texi: Likewise.
17020         * manual/llio.texi: Likewise.
17021         * manual/locale.texi: Likewise.
17022         * manual/message.texi: Likewise.
17023         * manual/resource.texi: Likewise.
17024         * manual/search.texi: Likewise.
17025         * manual/setjmp.texi: Likewise.
17026         * manual/stdio.texi: Likewise.
17027         * manual/string.texi: Likewise.
17028         * manual/sysinfo.texi: Likewise.
17029         * manual/time.texi: Likewise.
17030
17031 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
17032
17033         * po/sl.po: New file.
17034
17035 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
17036
17037         * .gitignore: Add core/.gdbinit/.gdb_history.
17038
17039 2013-12-27  Allan McRae  <allan@archlinux.org>
17040
17041         [BZ #16369]
17042         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
17043         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
17044
17045 2013-12-24  Brooks Moses  <bmoses@google.com>
17046
17047         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
17048         all compilers that claim C++98 compliance, not just GCC.
17049         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
17050         Likewise.
17051
17052 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
17053
17054         * NEWS: Restore accidentally deleted bug-fix entries.
17055
17056 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
17057             Ondřej Bílka  <neleai@seznam.cz>
17058
17059         [BZ #15073]
17060         * malloc/malloc.c (_int_free): Perform sanity check only if we
17061         have_lock.
17062
17063 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
17064
17065         [BZ #12986]
17066         * manual/stdio.texi (String Input Conversions): Clarify that character
17067         classes are not supported.
17068
17069 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17070
17071         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17072
17073 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
17074
17075         [BZ #16337]
17076         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
17077         Calculate results for small negative arguments directly rather
17078         than using reflection formula with special underflow handling.
17079
17080         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
17081         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
17082         sysdeps/unix/bsd/bsd4.4/syscalls.list.
17083         (fchflags): Likewise.
17084         (revoke): Likewise.
17085         (setlogin): Likewise.
17086         (sigaltstack): Likewise.
17087         (wait4): Likewise.
17088         (sigblock): Remove.
17089         (sigsetmask): Likewise.
17090         (wait3): Likewise.
17091         (waitpid): Likewise.
17092         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
17093         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
17094         file.
17095         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
17096         * sysdeps/unix/bsd/Makefile: ... here.
17097         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
17098         * sysdeps/unix/bsd/Versions: ... here.
17099         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
17100         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
17101         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
17102         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
17103         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
17104         * sysdeps/unix/bsd/sigblock.c: ... here.
17105         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
17106         * sysdeps/unix/bsd/sigsetmask.c: ... here.
17107         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
17108         * sysdeps/unix/bsd/sigvec.c: ... here.
17109         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
17110         * sysdeps/unix/bsd/tcdrain.c: ... here.
17111         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
17112         * sysdeps/unix/bsd/tcgetattr.c: ... here.
17113         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
17114         * sysdeps/unix/bsd/tcsetattr.c: ... here.
17115         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
17116         * sysdeps/unix/bsd/wait.c: ... here.
17117         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
17118         * sysdeps/unix/bsd/wait3.c: ... here.
17119         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
17120         * sysdeps/unix/bsd/waitpid.c: ... here.
17121
17122 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
17123
17124         [BZ #16356]
17125         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
17126         round-to-nearest for [!USE_AS_EXPM1L].
17127         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
17128         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
17129         more tests of exp and exp10.  Expect some exp10 tests to miss
17130         exceptions or fail in directed rounding modes.
17131         * math/auto-libm-test-out: Regenerated.
17132         * math/libm-test.inc (exp10_tonearest_test_data): New array.
17133         (exp10_test_tonearest): New function.
17134         (exp10_towardzero_test_data): New array.
17135         (exp10_test_towardzero): New function.
17136         (exp10_downward_test_data): New array.
17137         (exp10_test_downward): New function.
17138         (exp10_upward_test_data): New array.
17139         (exp10_test_upward): New function.
17140         (main): Call the new functions.
17141         * sysdeps/i386/fpu/libm-test-ulps: Update.
17142         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17143
17144 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
17145
17146         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
17147         asinh, atan, atan2, atanh, cbrt, cos and cosh.
17148         * math/auto-libm-test-out: Regenerated.
17149         * math/libm-test.inc (acosh_test_data): Add more tests.
17150         (atanh_test_data): Likewise.
17151         (ceil_test_data): Likewise.
17152         (copysign_test_data): Likewise.
17153         * sysdeps/i386/fpu/libm-test-ulps: Update.
17154         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17155
17156         * timezone/checktab.awk: Update from tzcode 2013i.
17157         * timezone/private.h: Likewise.
17158         * timezone/scheck.c: Likewise.
17159         * timezone/tzfile.h: Likewise.
17160         * timezone/tzselect.ksh: Likewise.
17161         * timezone/zdump.c: Likewise.
17162         * timezone/zic.c: Likewise.
17163
17164         * math/auto-libm-test-in: Add tests of cpow.
17165         * math/auto-libm-test-out: Regenerated.
17166         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
17167         * math/gen-auto-libm-tests.c (func_calc_method): Add value
17168         mpc_cc_c.
17169         (func_calc_desc): Add mpc_cc_c union field.
17170         (test_functions): Add cpow.
17171         (special_fill_2pi): New function.
17172         (special_real_inputs): Add 2pi.
17173         (calc_generic_results): Handle mpc_cc_c.
17174         * sysdeps/i386/fpu/libm-test-ulps: Update.
17175         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17176
17177         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
17178         csqrt, ctan and ctanh.
17179         * math/auto-libm-test-out: Regenerated.
17180         * math/libm-test.inc (TEST_COND_x86_64): New macro.
17181         (TEST_COND_x86): Likewise.
17182         (ccos_test_data): Use AUTO_TESTS_c_c.
17183         (ccosh_test_data): Likewise.
17184         (cexp_test_data): Likewise.
17185         (clog_test_data): Likewise.
17186         (csqrt_test_data): Likewise.
17187         (ctan_test_data): Likewise.
17188         (ctan_tonearest_test_data): Likewise.
17189         (ctan_towardzero_test_data): Likewise.
17190         (ctan_downward_test_data): Likewise.
17191         (ctan_upward_test_data): Likewise.
17192         (ctanh_test_data): Likewise.
17193         (ctanh_tonearest_test_data): Likewise.
17194         (ctanh_towardzero_test_data): Likewise.
17195         (ctanh_downward_test_data): Likewise.
17196         (ctanh_upward_test_data): Likewise.
17197         * math/gen-auto-libm-tests.c (func_calc_method): Add value
17198         mpc_c_c.
17199         (func_calc_desc): Add mpc_c_c union field.
17200         (FUNC_mpc_c_c): New macro.
17201         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
17202         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
17203         ctanh.
17204         (special_fill_min_subnorm_p120): New function.
17205         (special_real_inputs): Add min_subnorm_p120.
17206         (calc_generic_results): Handle mpc_c_c.
17207         * sysdeps/i386/fpu/libm-test-ulps: Update.
17208         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17209
17210 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
17211
17212         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
17213         (do_sin_slow): New functions.
17214         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
17215         (cslow2, csloww1, csloww2): Use the new functions.
17216
17217         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
17218         Use M to change sign of result instead of X.  Assume X is
17219         positive.
17220         (csloww1): Likewise.
17221         (__sin): Adjust.
17222         (__cos): Adjust.
17223
17224         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
17225         arguments A and DA.
17226         (__sin): Adjust.
17227         (__cos): Likewise.
17228
17229         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
17230         (__cos): Likewise.
17231         (sloww1): Don't adjust sign of DX.
17232         (csloww1): Likewise.
17233         (sloww2): Use X directly and don't adjust sign of DX.
17234         (csloww2): Likewise.
17235
17236 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
17237
17238         * math/auto-libm-test-in: Add tests of cabs and carg.
17239         * math/auto-libm-test-out: Regenerated.
17240         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
17241         (carg_test_data): Likewise.
17242         * math/gen-auto-libm-tests.c (func_calc_method): Add value
17243         mpc_c_f.
17244         (func_calc_desc): Add mpc_c_f union field.
17245         (test_functions): Add cabs and carg.
17246         (calc_generic_results): Handle mpc_c_f.
17247
17248         * sysdeps/powerpc/powerpc32/libgcc-compat.S
17249         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
17250         as a macro and a compat symbol.
17251         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
17252         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
17253         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
17254         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
17255         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
17256         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
17257         not use .hidden.
17258         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
17259         Likewise.
17260         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
17261         Likewise.
17262         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
17263         Likewise.
17264         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
17265         Likewise.
17266         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
17267         Likewise.
17268         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
17269         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
17270         from GLIBC_2.3.2.
17271
17272 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17273
17274         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17275
17276 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
17277
17278         * manual/texinfo.tex: Update to version 2013-11-26.10 with
17279         trailing whitespace removed.
17280         * scripts/config.guess: Update to version 2013-11-29.
17281         * scripts/config.sub: Update to version 2013-10-01.
17282
17283         * math/auto-libm-test-in: Add tests of sincos.
17284         * math/auto-libm-test-out: Regenerated.
17285         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
17286         * math/gen-auto-libm-tests.c (func_calc_method): Add value
17287         mpfr_f_11.
17288         (func_calc_desc): Add mpfr_f_11 union field.
17289         (test_functions): Add sincos.
17290         (calc_generic_results): Handle mpfr_f_11.
17291         * sysdeps/i386/fpu/libm-test-ulps: Update.
17292         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17293
17294 2013-12-19  Andreas Schwab  <schwab@suse.de>
17295
17296         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
17297         CALL_MCOUNT.
17298         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
17299         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
17300         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
17301
17302 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
17303
17304         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
17305         * sysdeps/i386/fpu/libm-test-ulps: Update.
17306         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17307
17308         [BZ #16293]
17309         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
17310         round-to-nearest mode when using frndint.
17311         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
17312         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
17313         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
17314         Likewise.
17315         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
17316         sinh test to fail.
17317         * math/auto-libm-test-out: Regenerated.
17318         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
17319         (TEST_COND_x86): Likewise.
17320         (expm1_tonearest_test_data): New array.
17321         (expm1_test_tonearest): New function.
17322         (expm1_towardzero_test_data): New array.
17323         (expm1_test_towardzero): New function.
17324         (expm1_downward_test_data): New array.
17325         (expm1_test_downward): New function.
17326         (expm1_upward_test_data): New array.
17327         (expm1_test_upward): New function.
17328         (main): Run the new test functions.
17329         * sysdeps/i386/fpu/libm-test-ulps: Update.
17330         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17331
17332         * include/features.h: Update comment documenting feature test
17333         macros.  Mention _DEFAULT_SOURCE in comment.
17334         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
17335         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
17336         _BSD_SOURCE and _SVID_SOURCE.
17337         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
17338         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
17339         !_SVID_SOURCE]: Likewise.
17340         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
17341         (__USE_POSIX_IMPLICITLY): Define.
17342         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
17343         (_POSIX_SOURCE): Undefine and redefine.
17344         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
17345         (_POSIX_C_SOURCE): Likewise.
17346         * manual/creature.texi (_DEFAULT_SOURCE): Document.
17347         (Feature Test Macros): Update documentation of default features.
17348
17349 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
17350
17351         * benchtests/Makefile: Add bench-strtok.
17352         * benchtests/bench-strtok.c: New file: strtok benchtest.
17353
17354 2013-12-19  Allan McRae  <allan@archlinux.org>
17355
17356         * manual/install.texi: Suppress menu for plain text output.
17357         * INSTALL: Regenerated.
17358
17359 2013-12-18  Brooks Moses  <bmoses@google.com>
17360
17361         [BZ #15846]
17362         * misc/getauxval.c: Include errno.h.
17363         (__getauxval): Set errno to ENOENT if the requested type is not
17364         found.
17365         * misc/sys/auxv.h (getauxval): Document that it may set errno;
17366         don't declare with __attribute_const__.
17367         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
17368         * manual/startup.texi: Document that getauxval sets errno.
17369
17370 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
17371
17372         * math/auto-libm-test-in: Add tests of jn and yn.
17373         * math/auto-libm-test-out: Regenerated.
17374         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
17375         (yn_test_data): Likewise.
17376         * math/gen-auto-libm-tests.c (func_calc_method): Add value
17377         mpfr_if_f.
17378         (func_calc_desc): Add mpfr_if_f union field.
17379         (FUNC_mpfr_if_f): New macro.
17380         (test_functions): Add jn and yn.
17381         (calc_generic_results): Assert type of second input for
17382         mpfr_ff_f.  Handle mpfr_if_f.
17383         (output_for_one_input_case): Disable all checking for arguments
17384         fitting floating-point types in case of an integer argument.
17385         * sysdeps/i386/fpu/libm-test-ulps: Update.
17386         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17387
17388         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
17389         Don't expect fegetround reference in libm.so.
17390
17391 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
17392
17393         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
17394         $(config-cflags-nofma).
17395
17396 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
17397
17398         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
17399         * math/auto-libm-test-out: Regenerated.
17400
17401         [BZ #16338]
17402         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
17403         to determine exponent and adjust argument to have exponent of -1.
17404         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
17405         log2.
17406         * math/auto-libm-test-out: Regenerated.
17407         * sysdeps/i386/fpu/libm-test-ulps: Update.
17408         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17409
17410 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
17411
17412         * manual/probes.texi: Remove cases when per-thread arenas are
17413         disabled.
17414
17415 2013-12-18  Andreas Schwab  <schwab@suse.de>
17416
17417         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
17418         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
17419         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
17420         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
17421         * sysdeps/i386/i686/multiarch/Makefile: Update.
17422         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
17423
17424 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
17425
17426         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
17427         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
17428
17429 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
17430
17431         [BZ #15968]
17432         Support TZ transition times < 00:00:00.
17433         This is needed for version-3 tz-format files; it supports time
17434         stamps past 2037 for America/Godthab (the only entry in the tz
17435         database for which this change is relevant).
17436         * manual/time.texi (TZ Variable): Document transition times
17437         from -167:59:59 through -00:00:01.
17438         * time/tzset.c (tz_rule): Time of day is now signed.
17439         (__tzset_parse_tz): Parse negative time of day.
17440
17441         Document TZ transition times >= 25:00:00.
17442         * manual/time.texi (TZ Variable): Document transition times from
17443         25:00:00 through 167:59:59.  These are already supported, and this
17444         support will help with version-3 tz-format files.
17445
17446         * manual/time.texi (TZ Variable): Modernize North America example
17447         to reflect current (i.e., 2007-and-later) daylight saving rules.
17448
17449         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
17450
17451 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
17452
17453         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
17454         * sysdeps/unix/bsd/bits/stat.h: Likewise.
17455         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
17456         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
17457         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
17458         * sysdeps/unix/bsd/bsdstat.h: Likewise.
17459         * sysdeps/unix/bsd/clock.c: Likewise.
17460         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
17461         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
17462         * sysdeps/unix/bsd/init-posix.c: Likewise.
17463         * sysdeps/unix/bsd/poll.c: Likewise.
17464         * sysdeps/unix/bsd/ptsname.c: Likewise.
17465         * sysdeps/unix/bsd/seekdir.c: Likewise.
17466         * sysdeps/unix/bsd/setegid.c: Likewise.
17467         * sysdeps/unix/bsd/seteuid.c: Likewise.
17468         * sysdeps/unix/bsd/setgid.c: Likewise.
17469         * sysdeps/unix/bsd/setrgid.c: Likewise.
17470         * sysdeps/unix/bsd/setruid.c: Likewise.
17471         * sysdeps/unix/bsd/setsid.c: Likewise.
17472         * sysdeps/unix/bsd/setuid.c: Likewise.
17473         * sysdeps/unix/bsd/sigaction.c: Likewise.
17474         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
17475         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
17476         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
17477         * sysdeps/unix/bsd/telldir.c: Likewise.
17478         * sysdeps/unix/bsd/times.c: Likewise.
17479         * sysdeps/unix/bsd/usleep.c: Likewise.
17480
17481         * misc/Makefile (install-lib): Remove libbsd-compat.a.
17482         ($(objpfx)libbsd-compat.a): Remove rule.
17483
17484         * include/features.h (__FAVOR_BSD): Do not define.
17485         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
17486         features conflicting with POSIX.
17487         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
17488         (_BSD_SOURCE): Remove description of not being a subset of other
17489         feature test macros.
17490         * manual/job.texi (getpgrp): Do not document BSD version.
17491         (getpgid): Do not document by reference to BSD getpgrp.
17492         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
17493         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
17494         * signal/signal.h [__FAVOR_BSD]: Likewise.
17495         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
17496         instead of making contents conditional on [__FAVOR_BSD].
17497         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
17498
17499 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17500
17501         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17502
17503 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
17504
17505         [BZ #16314]
17506         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
17507         values below 2**-450, not 2**-500.
17508         * math/auto-libm-test-in: Don't allow spurious underflow from
17509         hypot.
17510         * math/auto-libm-test-out: Regenerated.
17511
17512         [BZ #16316]
17513         [BZ #16330]
17514         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
17515         values of ha and hb and sort them after adjusting subnormal
17516         arguments.
17517         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
17518         Likewise.
17519         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
17520         values of ea and eb and sort them after adjusting subnormal
17521         arguments.
17522         * math/auto-libm-test-in: Do not expect some hypot tests of
17523         subnormals to fail.  Add more hypot tests.
17524         * math/auto-libm-test-out: Regenerated.
17525
17526 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
17527
17528         [BZ #13304]
17529         * sysdeps/sh/s_fma.c: New file.
17530         * sysdeps/sh/s_fmaf.c: New file.
17531         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
17532         version.
17533         * sysdeps/sh/Implies: Add sh/soft-fp.
17534
17535 2013-12-16  Roland McGrath  <roland@hack.frob.com>
17536
17537         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
17538         level of indirection to members `objname', `errstring', `malloced'.
17539         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
17540         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
17541         it as the __longjmp argument (just pass 1 instead).
17542         (_dl_catch_error): Initialize C with argument pointers and address of
17543         volatile local ERRCODE rather than copying values out of C at return.
17544
17545 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
17546
17547         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
17548         * math/auto-libm-test-out: Regenerated.
17549         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
17550         (hypot_test_data): Likewise.
17551         (pow_test_data): Likewise.
17552         (pow_tonearest_test_data): Likewise.
17553         * math/gen-auto-libm-tests.c (func_calc_method): Add value
17554         mpfr_ff_f.
17555         (func_calc_desc): Add mpfr_ff_f union field.
17556         (FUNC_mpfr_ff_f): New macro.
17557         (test_functions): Add atan2, hypot and pow.
17558         (special_fill_min): New function.
17559         (special_fill_minus_min): Likewise.
17560         (special_fill_min_subnorm): Likewise.
17561         (special_fill_minus_min_subnorm): Likewise.
17562         (special_real_inputs): Add min, -min, min_subnorm and
17563         -min_subnorm.
17564         (calc_generic_results): Handle mpfr_ff_f.
17565         * sysdeps/i386/fpu/libm-test-ulps: Update.
17566         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17567
17568 2013-12-16  Will Newton  <will.newton@linaro.org>
17569
17570         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
17571         (Aligned Memory Blocks): Add documentation for aligned_alloc
17572         and suggest it as an alternative to posix_memalign.
17573         (Hooks for Malloc): Document __memalign_hook is also called
17574         for aligned_alloc.  (Summary of Malloc): Add summary for
17575         aligned alloc.  Document __memalign_hook is also called
17576         for aligned_alloc.
17577
17578 2013-12-16  Will Newton  <will.newton@linaro.org>
17579
17580         * manual/memory.texi (Malloc Examples): Clarify default
17581         alignment documentation.  Suggest posix_memalign rather
17582         than memalign or valloc.
17583         (Aligned Memory Blocks): Remove suggestion to use memalign
17584         or valloc.  Remove obsolete comment about BSD.
17585         Document memalign errno values and mark the function obsolete.
17586         Document posix_memalign returned error codes.  Mark valloc
17587         as obsolete.  (Hooks for Malloc): __memalign_hook is also
17588         called for posix_memalign and valloc.
17589         (Summary of Malloc): Add posix_memalign to function summary.
17590         __memalign_hook is also called for posix_memalign and valloc.
17591
17592 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
17593
17594         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
17595         TAYLOR_SIN.
17596         (__sin): Adjust.
17597         (__cos): Likewise.
17598         (sloww): Use mynumber union.  Expand ternary operator into
17599         if-else statements.
17600         (cslow): use mynumber union.
17601
17602 2013-12-16  Allan McRae  <allan@archlinux.org>
17603
17604         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
17605         * configure: Regenerated.
17606
17607         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
17608
17609         [BZ #14120]
17610         * configure.ac: Added --enable-maintainer-mode. Check for
17611         autoconf when enabled.
17612         * configure: Regenerated.
17613
17614         * nscd/nscd.service: New file.
17615         * nscd/nscd.tmpfiles: New file.
17616
17617 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
17618
17619         [BZ #12100]
17620         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
17621         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
17622         * sysdeps/x86_64/multiarch/strstr.c: ... here.
17623         (strstr): Add __strstr_sse2_unaligned ifunc.
17624         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
17625         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
17626         (strcasestr): Remove __strcasestr_sse42 ifunc.
17627         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
17628         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
17629         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
17630
17631 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
17632
17633         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
17634         * sysdeps/sh/bits/fenv.h: ... here.
17635         * sysdeps/sh/sh4/fpu/bits: Remove directory.
17636
17637 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17638
17639         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
17640
17641         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
17642         hypotf multiarch implementations.
17643         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
17644         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
17645         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
17646         multiarch hypot for PPC64.
17647         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
17648         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
17649         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
17650         multiarch hypotf for PPC64.
17651
17652         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
17653         modff multiarch implementations.
17654         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
17655         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
17656         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
17657         multiarch modf for PPC64.
17658         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
17659         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
17660         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
17661         multiarch modff for PPC64.
17662
17663         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
17664         and logl multiarch implementations.
17665         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
17666         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
17667         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
17668         multiarch logb for PPC64.
17669         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
17670         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
17671         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
17672         multiarch logb for PPC64.
17673         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
17674         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
17675         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
17676         multiarch logb for PPC64.
17677
17678         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
17679         isinff multiarch implementation.
17680         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
17681         file.
17682         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
17683         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
17684         multiarch isinf for PPC64.
17685         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
17686         file.
17687         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
17688         multiarch isinff for PPC64.
17689
17690         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
17691         finitef multiarch implementation.
17692         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
17693         file.
17694         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
17695         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
17696         multiarch finite for PPC64.
17697         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
17698         file.
17699         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
17700         multiarch finitef for PPC64.
17701
17702         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
17703         lrint multiarch implementation.
17704         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
17705         file.
17706         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
17707         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
17708         multiarch llrint for PPC64.
17709         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
17710         multiarch lrint for PPC64.
17711
17712         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
17713         copysignf multiarch implementation.
17714         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
17715         file.
17716         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
17717         file.
17718         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
17719         multiarch copysign for PPC64.
17720         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
17721         multiarch copysignf for PPC64.
17722
17723         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
17724         multiarch implementation.
17725         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
17726         file.
17727         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
17728         file.
17729         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
17730         file.
17731         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
17732         file.
17733         multiarch llround for PPC64.
17734         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
17735         multiarch trunc for PPC64.
17736         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
17737         multiarch truncf for PPC64.
17738
17739         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
17740         multiarch implementation.
17741         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
17742         file.
17743         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
17744         file.
17745         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
17746         file.
17747         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
17748         file.
17749         multiarch llround for PPC64.
17750         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
17751         multiarch round for PPC64.
17752         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
17753         multiarch roundf for PPC64.
17754
17755         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
17756         multiarch implementation.
17757         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
17758         file.
17759         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
17760         file.
17761         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
17762         file.
17763         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
17764         file.
17765         multiarch llround for PPC64.
17766         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
17767         multiarch floor for PPC64.
17768         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
17769         multiarch floorf for PPC64.
17770
17771         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
17772         multiarch implementation.
17773         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
17774         file.
17775         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
17776         file.
17777         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
17778         file.
17779         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
17780         file.
17781         multiarch llround for PPC64.
17782         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
17783         multiarch ceil for PPC64.
17784         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
17785         multiarch ceilf for PPC64.
17786
17787         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
17788         multiarch implementation.
17789         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
17790         file.
17791         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
17792         file.
17793         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
17794         file.
17795         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
17796         multiarch llround for PPC64.
17797         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
17798         multiarch lround for PPC64.
17799
17800         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
17801         multiarch implementation.
17802         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
17803         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
17804         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
17805         file.
17806         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
17807         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
17808         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
17809         multiarch isnan for PPC64.
17810         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
17811         multiarch isnanf for PPC64.
17812
17813         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
17814         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
17815         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
17816         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
17817         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
17818         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
17819
17820         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
17821         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
17822         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
17823         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
17824
17825         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
17826         multiarch implementations.
17827         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17828         (__libc_ifunc_impl_list): Likewise.
17829         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
17830         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
17831         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
17832         multiarch stpcpy for PPC64.
17833
17834         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
17835         multiarch implementations.
17836         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17837         (__libc_ifunc_impl_list): Likewise.
17838         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
17839         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
17840         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
17841         multiarch strcpy for PPC64.
17842
17843         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
17844         redefine function name.
17845         (_wordcopy_fwd_dest_aligned): Likewise.
17846         (_wordcopy_bwd_aligned): Likewise.
17847         (_wordcopy_bwd_dest_aligned): Likewise.
17848         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
17849         multiarch implementations.
17850         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17851         (__libc_ifunc_impl_list): Likewise.
17852         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
17853         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
17854         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
17855         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
17856         multiarch wcscpy for PPC64.
17857
17858         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
17859         multiarch implementations.
17860         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17861         (__libc_ifunc_impl_list): Likewise.
17862         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
17863         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
17864         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
17865         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
17866         multiarch wcscpy for PPC64.
17867
17868         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
17869         multiarch implementations.
17870         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17871         (__libc_ifunc_impl_list): Likewise.
17872         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
17873         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
17874         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
17875         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
17876         multiarch wcsrchr for PPC64.
17877
17878         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
17879         multiarch implementations.
17880         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17881         (__libc_ifunc_impl_list): Likewise.
17882         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
17883         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
17884         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
17885         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
17886         multiarch wcschr for PPC64.
17887
17888         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
17889         multiarch implementations.
17890         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17891         (__libc_ifunc_impl_list): Likewise.
17892         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
17893         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
17894         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
17895         multiarch strchrnul for PPC64.
17896
17897         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
17898         implementations.
17899         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17900         (__libc_ifunc_impl_list): Likewise.
17901         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
17902         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
17903         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
17904         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
17905         strchr for PPC64.
17906
17907         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
17908         implementations.
17909         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17910         (__libc_ifunc_impl_list): Likewise.
17911         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
17912         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
17913         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
17914         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
17915         strncmp for PPC64.
17916
17917         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
17918         multiarch implementations.
17919         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17920         (__libc_ifunc_impl_list): Likewise.
17921         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
17922         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
17923         strncasecmp for PPC64.
17924         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
17925         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
17926         multiarch strncasecmp_l for PPC64.
17927
17928         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
17929         multiarch implementations.
17930         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
17931         (__libc_ifunc_impl_list): Likewise.
17932         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
17933         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
17934         multiarch strcasecmp for PPC64.
17935         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
17936         file.
17937         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
17938         multiarch strcasecmp_l for PPC64.
17939
17940         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
17941         implementations.
17942         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17943         (__libc_ifunc_impl_list): Likewise.
17944         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
17945         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
17946         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
17947         strnlen for PPC64.
17948
17949         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
17950         implementations.
17951         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17952         (__libc_ifunc_impl_list): Likewise.
17953         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
17954         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
17955         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
17956         strlen for PPC64.
17957
17958         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
17959         implementations.
17960         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17961         (__libc_ifunc_impl_list): Likewise.
17962         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
17963         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
17964         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
17965         rawmemrchr for PPC64.
17966
17967         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
17968         implementation.
17969         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17970         (__libc_ifunc_impl_list): Likewise.
17971         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
17972         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
17973         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
17974         memrchr for PPC64.
17975
17976         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
17977         implementation.
17978         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17979         (__libc_ifunc_impl_list): Likewise.
17980         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
17981         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
17982         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
17983         memchr for PPC64.
17984
17985         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
17986         implementation.
17987         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17988         (__libc_ifunc_impl_list): Likewise.
17989         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
17990         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
17991         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
17992         mempcpy for PPC64.
17993
17994         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
17995         avoid cretion of __bzero symbol.
17996         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
17997         Likewise.
17998         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
17999         Likewise.
18000         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
18001         Likewise.
18002         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
18003         multiarch implementations.
18004         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18005         (__libc_ifunc_impl_list): Likewise.
18006         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
18007         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
18008         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
18009         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
18010         bzero for PPC32.
18011         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
18012         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
18013         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
18014         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
18015         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
18016         memset for PPC64.
18017         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
18018
18019         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
18020         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
18021         implementations.
18022         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18023         (__libc_ifunc_impl_list): Likewise.
18024         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
18025         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
18026         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
18027         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
18028         memcmp for PPC64.
18029
18030         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
18031         multiarch for POWER/PPC64.
18032         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
18033         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
18034         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
18035         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
18036         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
18037         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
18038         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
18039         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
18040         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
18041         memcpy for PPC64.
18042
18043         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
18044         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
18045         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
18046         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
18047         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
18048         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
18049         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
18050         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
18051         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
18052         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
18053         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
18054         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
18055         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
18056         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
18057         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
18058         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
18059         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
18060         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
18061         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
18062         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
18063         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
18064         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
18065
18066 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
18067
18068         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
18069
18070 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
18071
18072         * benchtests/Makefile (bench): Add exp2 and log2.
18073         (LDLIBS-bench-exp2): Add -lm.
18074         (LDLIBS-bench-log2): Likewise.
18075         * benchtests/exp2-inputs: New inputs file.
18076         * benchtests/log2-inputs: New inputs file.
18077         * benchtests/log-inputs: Add new inputs.
18078         * benchtests/tan-inputs: Likewise.
18079
18080 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
18081
18082         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
18083         definition...
18084         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
18085         (csloww2): ... from here.
18086
18087         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
18088         instead of structures.
18089         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
18090         (POLYNOMIAL): Likewise.
18091         (TAYLOR_SLOW): Likewise.
18092         (__sin): Likewise.
18093         (__cos): Likewise.
18094         (slow1): Likewise.
18095         (slow2): Likewise.
18096         (sloww): Likewise.
18097         (sloww1); Likewise.
18098         (sloww2): Likewise.
18099         (bsloww1): Likewise.
18100         (bsloww2): Likewise.
18101         (cslow2): Likewise.
18102         (csloww): Likewise.
18103         (csloww1): Likewise.
18104         (csloww2): Likewise.
18105
18106 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
18107
18108         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
18109         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
18110         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
18111         * malloc/hooks.c (realloc_check): Likewise.
18112
18113         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
18114         * malloc/arena.c: Remove PER_THREAD conditional.
18115         [!PER_THREAD]: Remove code.
18116         (ptmalloc_unlock_all2): Likewise.
18117         (ptmalloc_init): Likewise.
18118         (_int_new_arena): Likewise.
18119         (arena_get2): Likewise.
18120         * malloc/hooks.c (__malloc_get_state): Likewise.
18121         (__malloc_set_state): Likewise.
18122         * malloc/malloc.c: Likewise.
18123         (struct malloc_state): Likewise.
18124         (struct malloc_par): Likewise.
18125         (__libc_realloc): Likewise.
18126         (__libc_mallopt): Likewise.
18127
18128 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18129
18130         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
18131
18132 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
18133
18134         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
18135         macro to a function.  Check for zero perturb_byte.
18136         (_int_malloc, _int_free): Remove zero perturb_byte checks.
18137
18138         * malloc/malloc.c: (force_reg): Remove.
18139         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
18140         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
18141         force_reg by atomic_forced_read.
18142         * malloc/arena.c (ptmalloc_init): Likewise.
18143         * malloc/hooks.c (top_check): Likewise.
18144
18145 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18146
18147         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18148
18149 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
18150
18151         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18152
18153 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
18154
18155         * math/auto-libm-test-in: Add tests of lgamma.
18156         * math/auto-libm-test-out: Regenerated.
18157         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
18158         (M_LOG_2_SQRT_PIl): Likewise.
18159         (lgamma_test_data): Use AUTO_TESTS_f_f1.
18160         * math/gen-auto-libm-tests.c (func_calc_method): Add value
18161         mpfr_f_f1.
18162         (func_calc_desc): Add mpfr_f_f1 union field.
18163         (ARGS1): New macro.
18164         (ARGS2): Likewise.
18165         (ARGS3): Likewise.
18166         (ARGS4): Likewise.
18167         (RET1): Likewise.
18168         (RET2): Likewise.
18169         (CALC): Likewise.
18170         (FUNC): Likewise.
18171         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
18172         (test_functions): Add lgamma.
18173         (calc_generic_results): Handle mpfr_f_f1.
18174         * sysdeps/i386/fpu/libm-test-ulps: Update.
18175         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18176
18177 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18178
18179         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
18180         __mpn_add_n for PowerPC64/POWER7.
18181         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
18182         __mpn_sub_n for PowerPC64/POWER7.
18183
18184         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
18185         __mpn_addmul_1 for PowerPC64.
18186         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
18187         __mpn_submul_1 for PowerPC64.
18188         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
18189         for PowerPC64.
18190         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
18191         for PowerPC64.
18192
18193 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
18194
18195         [BZ #15089]
18196         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
18197
18198 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18199
18200         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
18201
18202         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
18203         add multiarch folders.
18204         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
18205         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
18206         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
18207         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
18208         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
18209         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
18210         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
18211         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
18212         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
18213         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
18214         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
18215         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
18216         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
18217         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
18218         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
18219         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
18220         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
18221
18222         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
18223         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
18224         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
18225         New file.
18226         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
18227         New file.
18228         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
18229         multiarch __ieee754_hypot for PowerPC32.
18230         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
18231         New file.
18232         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
18233         New file.
18234         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
18235         multiarch __ieee754_hypotf for PowerPC32.
18236
18237         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
18238         long_double_symbol only if __logbl is defined.
18239         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
18240         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
18241         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
18242         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
18243         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
18244         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
18245         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
18246         path for implementation.
18247         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
18248         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
18249         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
18250         logb, and logbl multiarch implementations for PowerPC32.
18251         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
18252         file.
18253         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
18254         file.
18255         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
18256         multiarch logb for PowerPC32.
18257         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
18258         file.
18259         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
18260         file.
18261         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
18262         multiarch logbf for PowerPC32.
18263         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
18264         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
18265         file.
18266         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
18267         multiarch logbl implementation for PowerPC32.
18268
18269         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
18270         and modff multiarch implementations.
18271         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
18272         New file.
18273         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
18274         New file.
18275         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
18276         multiarch modf for PowerPC32.
18277         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
18278         New file.
18279         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
18280         New file.
18281         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
18282         multiarch modff for PowerPC32.
18283
18284         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
18285         and lrintf multiarch implementations.
18286         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
18287         New file.
18288         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
18289         New file.
18290         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
18291         multiarch lrint for PowerPC32.
18292         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
18293         file: multiarch lrintf for PowerPC32.
18294
18295         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
18296         and lroundf multiarch implementations.
18297         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
18298         New file.
18299         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
18300         New file.
18301         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
18302         New file.
18303         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
18304         multiarch lround for PowerPC32.
18305         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
18306         file: multiarch lroundf for PowerPC32.
18307
18308         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
18309         copysign and copysignf multiarch implementations.
18310         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
18311         New file.
18312         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
18313         New file.
18314         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
18315         file: multiarch copysign for PowerPC32.
18316         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
18317         file: multiarch copysignf for PowerPC32.
18318
18319         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
18320         and truncf multiarch implementations.
18321         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
18322         New file.
18323         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
18324         file.
18325         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
18326         multiarch trunc for PowerPC32.
18327         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
18328         New file.
18329         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
18330         New file.
18331         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
18332         multiarch truncf for PowerPC32.
18333
18334         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
18335         and roundf multiarch implementations.
18336         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
18337         New file.
18338         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
18339         file.
18340         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
18341         multiarch round for PowerPC32.
18342         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
18343         New file.
18344         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
18345         New file.
18346         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
18347         multiarch roundf for PowerPC32.
18348
18349         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
18350         and floorf multiarch implementations.
18351         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
18352         New file.
18353         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
18354         file.
18355         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
18356         multiarch floor for PowerPC32.
18357         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
18358         New file.
18359         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
18360         New file.
18361         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
18362         multiarch floorf for PowerPC32.
18363
18364         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
18365         and ceilf multiarch implementations.
18366         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
18367         New file.
18368         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
18369         file.
18370         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
18371         multiarch ceil for PowerPC32.
18372         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
18373         New file.
18374         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
18375         file.
18376         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
18377         multiarch ceilf for PowerPC32.
18378
18379         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
18380         is defined.
18381         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
18382         FINITEF is defined.
18383         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
18384         and finitef multiarch implementations.
18385         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
18386         New file.
18387         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
18388         file.
18389         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
18390         multiarch finite for PowerPC32.
18391         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
18392         New file.
18393         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
18394         file: multiarch finitef for PowerPC32.
18395
18396         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
18397         and isinff multiarch implementations.
18398         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
18399         file.
18400         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
18401         file.
18402         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
18403         multiarch isinf for PowerPC32.
18404         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
18405         New file.
18406         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
18407         multiarch isinff for PowerPC32.
18408
18409         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
18410         alias when __isnan is defined.
18411         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
18412         and isnanf multiarch implementations.
18413         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
18414         file.
18415         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
18416         file.
18417         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
18418         file.
18419         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
18420         file.
18421         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
18422         multiarch isnan for PowerPC32.
18423         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
18424         New file.
18425         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
18426         New file.
18427         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
18428         multiarch isnanf for PowerPC32.
18429
18430         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
18431         and sqrtf multiarch implementations.
18432         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
18433         file.
18434         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
18435         file.
18436         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
18437         multiarch sqrt for PowerPC32.
18438         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
18439         file.
18440         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
18441         file.
18442         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
18443         multiarch sqrtf for PowerPC32.
18444
18445         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
18446         and llroundf multiarch implementations.
18447         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
18448         New file.
18449         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
18450         New file.
18451         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
18452         New file.
18453         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
18454         file: multiarch llround for PowerPC32.
18455         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
18456         file: multiarch llroundf for PowerPC32.
18457
18458         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
18459         multiarch PowerPC32 fpu implementations.
18460         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
18461         New file.
18462         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
18463         New file.
18464         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
18465         multiarch llrint for PowerPC32.
18466         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
18467         New file.
18468         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
18469         New file.
18470         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
18471         file.
18472
18473         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
18474
18475         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
18476         file.
18477         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
18478         file.
18479         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
18480         file.
18481         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
18482         multiarch wordcopy for PPC32.
18483         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
18484         wordcopy objects.
18485         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18486         (__libc_ifunc_impl_list): Likewise.
18487         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
18488         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
18489         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
18490         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
18491         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
18492         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
18493
18494         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
18495         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
18496         file.
18497         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
18498         file.
18499         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
18500         file.
18501         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
18502         multiarch wcscpy for PPC32.
18503         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
18504         multiarch objects.
18505         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18506         (__libc_ifunc_impl_list): Likewise.
18507         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
18508         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
18509         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
18510         sysdeps/powerpc/power6/wcscpy.c.
18511
18512         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
18513         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
18514         file.
18515         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
18516         file.
18517         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
18518         file.
18519         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
18520         multiarch wcsrchr for PPC32.
18521         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
18522         multiarch objects.
18523         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18524         (__libc_ifunc_impl_list): Likewise.
18525         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
18526         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
18527         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
18528         sysdeps/powerpc/power6/wcsrchr.c.
18529
18530         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
18531         file.
18532         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
18533         file.
18534         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
18535         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
18536         multiarch wcschr for PPc32.
18537         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
18538         multiarch objects.
18539         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18540         (__libc_ifunc_impl_list): Likewise.
18541         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
18542         * sysdeps/powerpc/power6/wcschr.c: ... to here.
18543         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
18544         sysdeps/powerpc/power6/wcschr.c.
18545
18546         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
18547         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
18548         file.
18549         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
18550         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
18551         file: multiarch strchr for PPC32.
18552         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
18553         multiarch objects.
18554         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18555         (__libc_ifunc_impl_list): Likewise.
18556
18557         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
18558         name.
18559         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
18560         file.
18561         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
18562         file.
18563         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
18564         multiarch strchrnul for PPC32.
18565         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
18566         multiarch objects.
18567         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18568         (__libc_ifunc_impl_list): Likewise.
18569
18570         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
18571         file.
18572         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
18573         multiarch strncasecmp for PPC32.
18574         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
18575         file.
18576         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
18577         multiarch strncasecmp_l for PPC32.
18578         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
18579         strncasecmp multiarch objects.
18580         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18581         (__libc_ifunc_impl_list): Likewise.
18582
18583         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
18584         file.
18585         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
18586         multiarch strncasecmp for PPC32.
18587         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
18588         New file.
18589         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
18590         multiarch strcasecmp_l for PPC32.
18591         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
18592         multiarch objects.
18593         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18594         (__libc_ifunc_impl_list): Likewise.
18595
18596         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
18597         file.
18598         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
18599         file.
18600         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
18601         multiarch strncmp for PPC32.
18602         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
18603         multiarch objects.
18604         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18605         (__libc_ifunc_impl_list): Likewise.
18606
18607         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
18608         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
18609         file.
18610         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
18611         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
18612         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
18613         multiarch objects.
18614         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18615         (__libc_ifunc_impl_list): Likewise.
18616
18617         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
18618         file.
18619         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
18620         file.
18621         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
18622         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
18623         multiarch objects.
18624         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18625         (__libc_ifunc_impl_list): Likewise.
18626
18627         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
18628         file.
18629         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
18630         file.
18631         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
18632         multiarch rawmemchr for PPC32.
18633         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
18634         multiarch objects.
18635         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18636         (__libc_ifunc_impl_list): Likewise.
18637
18638         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
18639         file.
18640         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
18641         file.
18642         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
18643         file: memrchr multiarch for PPC32.
18644         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
18645         multiarch objects.
18646         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18647         (__libc_ifunc_impl_list): Likewise.
18648
18649         * string/memchr.c (__memchr): Using macro to redefine symbol name.
18650         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
18651         file.
18652         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
18653         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
18654         multiarch memchr for PPC32.
18655         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
18656         multiarch objects.
18657         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
18658         (__libc_ifunc_impl_list): Likewise.
18659
18660         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
18661         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
18662         file.
18663         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
18664         file.
18665         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
18666         file: multiarch mempcpy for PPC32.
18667         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
18668         multiarch objects.
18669         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
18670         (__libc_ifunc_impl_list): Likewise.
18671
18672         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
18673         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
18674         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
18675         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
18676         multiarch bzero for PPC32.
18677         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
18678         file.
18679         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
18680         file.
18681         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
18682         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
18683         file: multiarch memset for PPC32.
18684         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
18685         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
18686         memset multiarch objects.
18687         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
18688         (__libc_ifunc_impl_list): Likewise.
18689
18690         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
18691         file.
18692         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
18693         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
18694         memcmp for PPC32.
18695         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
18696         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
18697         multiarch objects.
18698         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
18699         (__libc_ifunc_impl_list): Likewise.
18700
18701         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
18702         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
18703         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
18704         file.
18705         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
18706         file.
18707         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
18708         file.
18709         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
18710         multiarch memcpy for PPC32.
18711         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
18712         multiarch objects.
18713         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
18714         (__libc_ifunc_impl_list): Likewise.
18715
18716         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
18717         support multiarch for POWER/PPC32.
18718         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
18719         Likewise.
18720         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
18721         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
18722         Implies file to make multiarch folder appers before the fpu and
18723         default folder for power4 configuration.
18724
18725 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
18726
18727         * scripts/bench.pl: Append volatile keyword to type.
18728
18729 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
18730
18731         * sysdeps/sh/sotruss-lib.c: New file.
18732         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
18733
18734 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18735
18736         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18737
18738 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
18739
18740         [BZ #6810]
18741         * math/w_tgamma.c: Include <errno.h>.
18742         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
18743         * math/w_tgammaf.c: Include <errno.h>.
18744         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
18745         * math/w_tgammal.c: Include <errno.h>.
18746         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
18747         * math/auto-libm-test-in: Do not allow missing errno on tgamma
18748         underflow.  Add more tgamma tests.
18749         * math/auto-libm-test-out: Regenerated.
18750         * sysdeps/i386/fpu/libm-test-ulps: Update.
18751         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18752
18753         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
18754         sin, sinh, tan, tanh, tgamma, y0 and y1.
18755         * math/auto-libm-test-out: Regenerated.
18756         * math/libm-test.inc (TEST_COND_x86_64): New macro.
18757         (TEST_COND_x86): Likewise.
18758         (M_E2l): Remove macro.
18759         (M_E3l): Likewise.
18760         (M_2_SQRT_PIl): Likewise.
18761         (M_SQRT_PIl): Likewise.
18762         (M_1_DIV_El): Likewise.
18763         (log_test_data): Use AUTO_TESTS_f_f.
18764         (log10_test_data): Likewise.
18765         (log1p_test_data): Likewise.
18766         (log2_test_data): Likewise.
18767         (sin_test_data): Likewise.
18768         (sin_tonearest_test_data): Likewise.
18769         (sin_towardzero_test_data): Likewise.
18770         (sin_downward_test_data): Likewise.
18771         (sin_upward_test_data): Likewise.
18772         (sinh_test_data): Likewise.
18773         (sinh_tonearest_test_data): Likewise.
18774         (sinh_towardzero_test_data): Likewise.
18775         (sinh_downward_test_data): Likewise.
18776         (sinh_upward_test_data): Likewise.
18777         (tan_test_data): Likewise.
18778         (tan_tonearest_test_data): Likewise.
18779         (tan_towardzero_test_data): Likewise.
18780         (tan_downward_test_data): Likewise.
18781         (tan_upward_test_data): Likewise.
18782         (tanh_test_data): Likewise.
18783         (tgamma_test_data): Likewise.
18784         (y0_test_data): Likewise.
18785         (y1_test_data): Likewise.
18786         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
18787         (special_real_inputs): Add pi/4.
18788         * sysdeps/i386/fpu/libm-test-ulps: Update.
18789         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18790
18791 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18792
18793         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
18794         "longjmp_target" static probes.
18795         (__longjmp): Rename to __longjmp_symbol.
18796         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
18797         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
18798         on which longjmp to generate.
18799         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
18800         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
18801         probe.
18802         (__sigsetjmp): Rename to __sigsetjmp_symbol.
18803         (__sigjmp_save): Rename to __sigjmp_save_symbol.
18804         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
18805         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
18806         and __sigjmp_save_symbol based on which sigsetjmp to generated.
18807         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
18808         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
18809         __longjmp_symbol based on which __longjmp to generate.
18810         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
18811         probe.
18812         (setjmp): Rename to setjmp_symbol.
18813         (__sigsetjmp): Rename to __sigsetjmp_symbol.
18814         (_setjmp): Rename to _setjmp_symbol.
18815         (__sigsetjmp): Rename to __sigsetjmp_symbol.
18816         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
18817         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
18818         which setjmp to generate.
18819         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
18820         "longjmp_target" static probes.
18821
18822 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
18823
18824         * benchtests/README: Add note about output arguments.
18825         * benchtests/bench-sincos.c: Remove file.
18826         * benchtests/sincos-inputs: New file.
18827         * scripts/bench.pl: Identify output arguments and define
18828         static variables for them.
18829
18830         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
18831
18832         [BZ #15941]
18833         * Makefile (INSTALL): Add install-plain.texi as the primary
18834         dependency.
18835         * manual/install-plain.texi: New file.
18836         * manual/install.texi: Include node directive only for
18837         non-plaintext output.
18838
18839 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
18840
18841         * stdlib/longlong.h: Update from GCC.
18842
18843         [BZ #6807]
18844         [BZ #15901]
18845         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
18846         * math/w_j0f.c (y0f): Likewise.
18847         * math/w_j0l.c (__y0l): Likewise.
18848         * math/w_j1.c (y1): Likewise.
18849         * math/w_j1f.c (y1f): Likewise.
18850         * math/w_j1l.c (__y1l): Likewise
18851         * math/w_jn.c (yn): Likewise.
18852         * math/w_jnf.c (ynf): Likewise.
18853         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
18854         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
18855         value for Bessel function domain errors outside _SVID_ mode.
18856         Adjust sign of return value for yn (negative integer, 0).
18857         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
18858         by zero in return for negative x and set sign appropriately for
18859         negative n.
18860         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
18861         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
18862         * math/libm-test.inc (y0_test_data): Add more tests and adjust
18863         expectations in error cases.
18864         (y1_test_data): Likewise.
18865         (yn_test_data): Likewise.
18866         * sysdeps/i386/fpu/libm-test-ulps: Update.
18867         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18868
18869 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
18870
18871         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
18872         "64" to "64-v1".  Add "64-v2".
18873         (abi-64-options): Rename to ...
18874         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
18875         (abi-64-condition): Rename to ...
18876         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
18877         (abi-64-ld-soname): Rename to ...
18878         (abi-64-v1-ld-soname): ... this.
18879         (abi-64-v2-options): Define.
18880         (abi-64-v2-condition): Likewise.
18881         (abi-64-v2-ld-soname): Likewise.
18882         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
18883         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
18884         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
18885         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
18886         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
18887
18888 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
18889             Alan Modra  <amodra@gmail.com>
18890
18891         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
18892         New versions for use with the ELFv2 ABI.
18893         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
18894         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
18895         declaration.
18896         (struct La_ppc64v2_retval): Likewise.
18897         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
18898         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
18899         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
18900         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
18901         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
18902         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
18903         Do not save or restore CR.
18904         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
18905         (_dl_profile_resolve): Do no save or restore CR.  Support extended
18906         return values for ELFv2 ABI.  Fix location of FPR return registers.
18907         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
18908         updated values for _CALL_ELF == 2.
18909         (La_regs, La_retval, int_retval): Likewise.
18910
18911 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
18912
18913         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
18914         (FRAME_MIN_SIZE_PARM): Likewise.
18915         (FRAME_BACKCHAIN): Likewise.
18916         (FRAME_CR_SAVE): Likewise.
18917         (FRAME_LR_SAVE): Likewise.
18918         (FRAME_TOC_SAVE): Likewise.
18919         (FRAME_PARM_SAVE): Likewise.
18920         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
18921         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
18922         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
18923         (call_mcount_parm_offset): New macro.
18924         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
18925         (PROF): Use symbolic stack frame offsets.
18926         (TAIL_CALL_SYSCALL_ERROR): Likewise.
18927         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
18928         Redefine in terms of FRAME_MIN_SIZE.
18929         (_dl_runtime_resolve): Use symbolic stack frame offsets.
18930         (_dl_profile_resolve): Likewise.  Update comment.
18931         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
18932         symbols stack frame offsets.
18933         (__sigsetjmp): Likewise.
18934         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
18935         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
18936         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
18937         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
18938
18939         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
18940         (FRAME_BACKCHAIN): Remove.
18941         (FRAME_CR_SAVE): Likewise.
18942         (FRAME_LR_SAVE): Likewise.
18943         (FRAME_COMPILER_DW): Likewise.
18944         (FRAME_LINKER_DW): Likewise.
18945         (FRAME_TOC_SAVE): Likewise.
18946         (FRAME_PARM_SAVE): Likewise.
18947         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
18948         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
18949         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
18950         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
18951         (CHECK_SP): Use symbolic stack frame offsets.
18952         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
18953         zone" instead of caller's parameter save area for temp storage.
18954         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
18955         Likewise.  Also, use symbolic stack frame offsets.
18956         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
18957         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
18958         our own stack frame instead of the caller's.
18959         (__socket): Use symbolic stack frame offsets.
18960
18961 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
18962             Alan Modra  <amodra@gmail.com>
18963
18964         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
18965         Define.
18966         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
18967         (PPC64_LOCAL_ENTRY_OFFSET): Define.
18968         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
18969         New function.
18970         (elf_machine_fixup_plt): Call it.
18971         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
18972         reloc arguments.
18973         (elf_machine_rela): Update call to elf_machine_plt_conflict.
18974         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
18975         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
18976         r2 before calling target.
18977
18978 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
18979             Alan Modra  <amodra@gmail.com>
18980
18981         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
18982         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
18983         versions of macros to support ELFv2 ABI.
18984         (LOCALENTRY): New macro.
18985         (ENTRY, EALIGN): Use it.
18986         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
18987         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
18988         fall through into ENTRY entry point.
18989         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
18990         Only define if _CALL_ELF != 2.
18991
18992         (elf_machine_matches_host): Verify ABI version matches.
18993         (RTLD_START): Use LOCALENTRY.
18994         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
18995         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
18996         (PLT_ENTRY_WORDS): New macro.
18997         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
18998         (elf_machine_runtime_setup): Support ELFv2 ABI.
18999         (elf_machine_fixup_plt): Likewise.
19000         (elf_machine_plt_conflict): Likewise.
19001         (resolve_ifunc): Likewise.
19002         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
19003         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
19004         Likewise.
19005         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
19006         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
19007         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
19008         (makecontext): Support ELFv2 ABI.
19009         * elf/elf.h (EF_PPC64_ABI): Define.
19010
19011 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
19012
19013         * sysdeps/powerpc/powerpc64/sysdep.h
19014         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
19015         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
19016         (ENTRY) [ASSEMBLER]: ... but instead here ...
19017         (EALIGN) [ASSEMBLER]: ... and here.
19018         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
19019         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
19020         (ENTRY_2) [!ASSEMBLER]: Use it.
19021         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
19022         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
19023         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
19024         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
19025         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
19026         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
19027         Use PPC64_LOAD_FUNCPTR.
19028
19029         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
19030
19031 2013-12-04  Alan Modra  <amodra@gmail.com>
19032
19033         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
19034         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
19035         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
19036         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
19037
19038         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
19039         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
19040         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
19041         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
19042         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
19043         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
19044
19045 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
19046
19047         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
19048         (__makecontext): Fix incorrect CFI when backtracing out of
19049         context created via makecontext.
19050         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
19051         (__setcontext): Fix incorrect CFI during switch to new context.
19052         (__novec_setcontext): Likewise.
19053
19054 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
19055
19056         [BZ #4772]
19057         * time/strptime_l.c (__strptime_internal): Allow modifiers
19058         in strptime.
19059         * time/tst-strptime.c (day_tests): Add testcase.
19060
19061 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
19062
19063         * scripts/bench.pl: Skip over blank lines.
19064
19065 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
19066
19067         [BZ #926]
19068         * manual/time.texi (Calendar Time): Clarify what timezone functions
19069         use.
19070
19071 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19072
19073         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19074
19075 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
19076
19077         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
19078         implementation.
19079         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
19080         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
19081         * debug/memset_chk.c (__memset_chk): Likewise.
19082         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
19083         * debug/strncpy_chk.c: Likewise.
19084
19085 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
19086
19087         [BZ #15268]
19088         [BZ #15425]
19089         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
19090         (__ieee754_exp): For possibly underflowing results, check size of
19091         result and force underflow exception if required.
19092         * math/auto-libm-test-in: Add more tests of exp.
19093         * math/auto-libm-test-out: Regenerated.
19094         * sysdeps/i386/fpu/libm-test-ulps: Update.
19095         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19096
19097         [BZ #16283]
19098         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
19099         * math/w_exp2f.c (__exp2f): Likewise.
19100         * math/w_exp2l.c (__exp2l): Likewise.
19101         * math/auto-libm-test-in: Do not allow missing errno on exp2
19102         underflow.
19103         * math/auto-libm-test-out: Regenerated.
19104
19105 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
19106
19107         [BZ #16274]
19108         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
19109         handle filename validation.
19110         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
19111         (do_open): Delete.
19112
19113 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
19114
19115         [BZ #6786]
19116         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
19117         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
19118         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
19119         <float.h>.
19120         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
19121         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
19122         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
19123         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
19124         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
19125         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
19126         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
19127         * math/auto-libm-test-in: Don't allow missing errno from erfc.
19128         Add more erfc tests.
19129         * math/auto-libm-test-out: Regenerated.
19130         * sysdeps/i386/fpu/libm-test-ulps: Update.
19131         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19132
19133         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
19134         exp2, expm1, j0 and j1.
19135         * math/auto-libm-test-out: Regenerated.
19136         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
19137         (erfc_test_data): Likewise.
19138         (exp_test_data): Likewise.
19139         (exp_tonearest_test_data): Likewise.
19140         (exp_towardzero_test_data): Likewise.
19141         (exp_downward_test_data): Likewise.
19142         (exp_upward_test_data): Likewise.
19143         (exp10_test_data): Likewise.
19144         (exp2_test_data): Likewise.
19145         (expm1_test_data): Likewise.
19146         (j0_test_data): Likewise.
19147         (j1_test_data): Likewise.
19148         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
19149         (input_flag_type): Add flag_xfail_rounding.
19150         (input_flags): Add xfail-rounding.
19151         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
19152         (output_for_one_input_case): Handle flag_xfail_rounding.
19153         * sysdeps/i386/fpu/libm-test-ulps: Update.
19154         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19155
19156 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
19157
19158         [BZ #16289]
19159         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
19160         division by 0.
19161
19162 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
19163
19164         [BZ #16195]
19165         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
19166         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
19167         (STAP_PROBE0): New macro.
19168         (STAP_PROBE1): Likewise.
19169         (STAP_PROBE2): Likewise.
19170         (STAP_PROBE3): Likewise.
19171         (STAP_PROBE4): Likewise.
19172
19173 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
19174
19175         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
19176
19177 2013-12-02  Steve Ellcey  <sellcey@mips.com>
19178
19179         * benchtests/Makefile (bench): Add sqrt.
19180         (LDLIBS-bench-sqrt): New.
19181         * benchtests/sqrt-input: New.
19182
19183 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
19184
19185         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
19186         (GAIH_EAI): Likewise.
19187         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
19188         (gaih_inet): Likewise.
19189         (getaddrinfo): Don't use GAIH_EAI.
19190
19191         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
19192         (struct gaih): Remove definition.
19193
19194 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
19195
19196         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
19197         Use HERRNOP directly.
19198
19199 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19200
19201         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19202
19203 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
19204
19205         * math/gen-auto-libm-tests.c (test_functions): Add more
19206         single-argument functions.
19207         (special_fill_pi_2): New function.
19208         (special_fill_minus_pi_2): Likewise.
19209         (special_fill_pi_6): Likewise.
19210         (special_fill_minus_pi_6): Likewise.
19211         (special_fill_pi_3): Likewise.
19212         (special_fill_2pi_3): Likewise.
19213         (special_fill_e): Likewise.
19214         (special_fill_1_e): Likewise.
19215         (special_fill_e_minus_1): Likewise.
19216         (special_real_inputs): Add more special inputs.
19217         (output_for_one_input_case): Do not require ERANGE on underflow to
19218         zero if round-to-nearest result does not underflow to zero, unless
19219         exact results required.
19220         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
19221         atan, atanh, cbrt, cos and cosh.
19222         * math/auto-libm-test-out: Regenerated.
19223         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
19224         (acos_tonearest_test_data): Likewise.
19225         (acos_towardzero_test_data): Likewise.
19226         (acos_downward_test_data): Likewise.
19227         (acos_upward_test_data): Likewise.
19228         (acosh_test_data): Likewise.
19229         (asin_test_data): Likewise.
19230         (asin_tonearest_test_data): Likewise.
19231         (asin_towardzero_test_data): Likewise.
19232         (asin_upward_test_data): Likewise.
19233         (asinh_test_data): Likewise.
19234         (atan_test_data): Likewise.
19235         (atanh_test_data): Likewise.
19236         (cbrt_test_data): Likewise.
19237         (cos_test_data): Likewise.
19238         (cos_tonearest_test_data): Likewise.
19239         (cos_towardzero_test_data): Likewise.
19240         (cos_downward_test_data): Likewise.
19241         (cos_upward_test_data): Likewise.
19242         (cosh_test_data): Likewise.
19243         (cosh_tonearest_test_data): Likewise.
19244         (cosh_towardzero_test_data): Likewise.
19245         (cosh_downward_test_data): Likewise.
19246         (cosh_upward_test_data): Likewise.
19247         * sysdeps/i386/fpu/libm-test-ulps: Update.
19248         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19249
19250 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
19251
19252         [BZ #6787]
19253         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
19254         * math/w_exp10f.c (__exp10f): Likewise.
19255         * math/w_exp10l.c (__exp10l): Likewise.
19256         * math/libm-test.inc (exp10_test_data): Add more tests and expect
19257         errno settings in existing tests.
19258
19259         [BZ #14032]
19260         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
19261         precision control set to double precision.
19262         * sysdeps/i386/fpu/w_sqrt.c: New file.
19263         * math/auto-libm-test-in: Add more tests.
19264         * math/auto-libm-test-out: Update.
19265
19266         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
19267         (sqrt_test_tonearest): New function.
19268         (sqrt_towardzero_test_data): New variable.
19269         (sqrt_test_towardzero): New function.
19270         (sqrt_downward_test_data): New variable.
19271         (sqrt_test_downward): New function.
19272         (sqrt_upward_test_data): New variable.
19273         (sqrt_test_upward): New function.
19274         (main): Call the new functions.
19275
19276         * math/gen-auto-libm-tests.c: New file.
19277         * math/auto-libm-test-in: Likewise.
19278         * math/auto-libm-test-out: New generated file.
19279         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
19280         variables.
19281         (%beautify): Add generated representations of zero.
19282         (top level): Set $auto_input and call parse_auto_input.
19283         (beautify): Remove trailing "f" from hex float constants.
19284         (parse_args): Handle XFAIL_TEST.
19285         (convert_condition): New function.
19286         (or_value): Likewise.
19287         (or_cond_value): Likewise.
19288         (generate_testfile): Handle AUTO_TESTS_* lines.
19289         (parse_auto_input): New function.
19290         * math/libm-test.inc (XFAIL_TEST): New macro.
19291         (ERRNO_UNCHANGED): Update value.
19292         (ERRNO_EDOM): Likewise.
19293         (ERRNO_ERANGE): Likewise.
19294         (IGNORE_RESULT): Likewise.
19295         (TEST_COND_flt_32): New macro.
19296         (TEST_COND_dbl_64): Likewise.
19297         (TEST_COND_ldbl_96_intel): Likewise.
19298         (TEST_COND_ldbl_96_m68k): Likewise.
19299         (TEST_COND_ldbl_128): Likewise.
19300         (TEST_COND_ldbl_128ibm): Likewise.
19301         (TEST_COND_long32): Likewise.
19302         (TEST_COND_long64): Likewise.
19303         (TEST_COND_before_rounding): Likewise.
19304         (TEST_COND_after_rounding): Likewise.
19305         (enable_test): Handle XFAIL_TEST flag.
19306         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
19307         with finite results.
19308         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
19309         auto-libm-test-out.
19310
19311 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
19312             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19313
19314         [BZ #16214]
19315         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
19316         __tls_get_addr_internal instead of __tls_get_offset in order to
19317         avoid GOT pointer dependency.  Make rtld export
19318         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
19319         __tls_get_addr since we are a __tls_get_offset platform.
19320         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
19321         GOT pointer being set up before.
19322         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
19323
19324 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
19325
19326         * manual/math.texi (Errors in Math Functions): Document accuracy
19327         goals.
19328
19329         [BZ #15004]
19330         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
19331         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
19332         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
19333         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
19334         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
19335         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
19336         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
19337         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
19338         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
19339         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
19340         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
19341         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
19342         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
19343         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
19344         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
19345         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
19346
19347         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
19348         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
19349         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
19350         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
19351         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
19352         Likewise.
19353         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
19354         Likewise.
19355         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
19356         Likewise.
19357         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
19358         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
19359         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
19360         atomic-feupdateenv and flt-rounds.
19361         * sysdeps/powerpc/nofpu/Versions (libc): Add
19362         __atomic_feholdexcept, __atomic_feclearexcept,
19363         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
19364         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
19365         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
19366         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
19367         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
19368         here.
19369         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
19370         Update.
19371
19372         * manual/arith.texi (FP Exceptions): Document that exceptions may
19373         not be raised when matherr is used.
19374         (Math Error Reporting): Document overflow in directed rounding
19375         modes.  Document that errno may not be set when finite values are
19376         returned on overflow.  Document intent to set errno on underflow
19377         only for underflow to zero.
19378
19379         [BZ #16271]
19380         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
19381         round-to-nearest then adjust result for other rounding modes.
19382         * include/fenv.h (fegetround): Use libm_hidden_proto.
19383         * math/fegetround.c (fegetround): Use libm_hidden_def.
19384         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
19385         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
19386         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
19387         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
19388         Likewise.
19389         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
19390         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
19391         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
19392         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
19393
19394 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
19395
19396         [BZ #16077]
19397         * nss/Versions (libnss_files): Add
19398         _nss_files_gethostbyname3_r.
19399         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
19400         New function.
19401         (HOST_DB_LOOKUP): Remove macro.
19402         (_nss_files_gethostbyname_r): Implement function without the
19403         HOST_DB_LOOKUP macro.
19404         (_nss_files_gethostbyname2_r): Likewise.
19405
19406 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
19407
19408         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
19409
19410 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
19411
19412         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
19413         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
19414         warning.
19415
19416 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19417
19418         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
19419         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
19420         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
19421         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
19422         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
19423         __fe_nomask_env_priv and attribute_hidden.
19424         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
19425         (libc_feupdateenv_test_ppc): Likewise.
19426         (libc_feresetround_ppc): Likewise.
19427         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
19428         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
19429         compat_symbol macro.
19430         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
19431         (__fe_nomask_env): Likewise.
19432         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
19433
19434 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
19435
19436         * string/Makefile: Remove ifunc tests.
19437         * string/test-string.h: Define TEST_IFUNC.
19438         * string/test-bcopy-ifunc.c: Remove.
19439         * string/test-bzero-ifunc.c: Likewise.
19440         * string/test-memccpy-ifunc.c: Likewise.
19441         * string/test-memchr-ifunc.c: Likewise.
19442         * string/test-memcmp-ifunc.c: Likewise.
19443         * string/test-memcpy-ifunc.c: Likewise.
19444         * string/test-memmem-ifunc.c: Likewise.
19445         * string/test-memmove-ifunc.c: Likewise.
19446         * string/test-mempcpy-ifunc.c: Likewise.
19447         * string/test-memrchr-ifunc.c: Likewise.
19448         * string/test-memset-ifunc.c: Likewise.
19449         * string/test-rawmemchr-ifunc.c: Likewise.
19450         * string/test-stpcpy-ifunc.c: Likewise.
19451         * string/test-stpncpy-ifunc.c: Likewise.
19452         * string/test-strcasecmp-ifunc.c: Likewise.
19453         * string/test-strcasestr-ifunc.c: Likewise.
19454         * string/test-strcat-ifunc.c: Likewise.
19455         * string/test-strchr-ifunc.c: Likewise.
19456         * string/test-strchrnul-ifunc.c: Likewise.
19457         * string/test-strcmp-ifunc.c: Likewise.
19458         * string/test-strcpy-ifunc.c: Likewise.
19459         * string/test-strcspn-ifunc.c: Likewise.
19460         * string/test-strlen-ifunc.c: Likewise.
19461         * string/test-strncasecmp-ifunc.c: Likewise.
19462         * string/test-strncat-ifunc.c: Likewise.
19463         * string/test-strncmp-ifunc.c: Likewise.
19464         * string/test-strncpy-ifunc.c: Likewise.
19465         * string/test-strnlen-ifunc.c: Likewise.
19466         * string/test-strpbrk-ifunc.c: Likewise.
19467         * string/test-strrchr-ifunc.c: Likewise.
19468         * string/test-strspn-ifunc.c: Likewise.
19469         * string/test-strstr-ifunc.c: Likewise.
19470
19471 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
19472
19473         * benchtests/Makefile: Remove ifunc tests.
19474         * benchtests/bench-string.h: Define TEST_IFUNC.
19475         * benchtests/bench-bcopy-ifunc.c: Remove.
19476         * benchtests/bench-bzero-ifunc.c: Likewise.
19477         * benchtests/bench-memccpy-ifunc.c: Likewise.
19478         * benchtests/bench-memchr-ifunc.c: Likewise.
19479         * benchtests/bench-memcmp-ifunc.c: Likewise.
19480         * benchtests/bench-memcpy-ifunc.c: Likewise.
19481         * benchtests/bench-memmem-ifunc.c: Likewise.
19482         * benchtests/bench-memmove-ifunc.c: Likewise.
19483         * benchtests/bench-mempcpy-ifunc.c: Likewise.
19484         * benchtests/bench-memrchr-ifunc.c: Likewise.
19485         * benchtests/bench-memset-ifunc.c: Likewise.
19486         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
19487         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
19488         * benchtests/bench-stpcpy-ifunc.c: Likewise.
19489         * benchtests/bench-stpncpy-ifunc.c: Likewise.
19490         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
19491         * benchtests/bench-strcasestr-ifunc.c: Likewise.
19492         * benchtests/bench-strcat-ifunc.c: Likewise.
19493         * benchtests/bench-strchr-ifunc.c: Likewise.
19494         * benchtests/bench-strchrnul-ifunc.c: Likewise.
19495         * benchtests/bench-strcmp-ifunc.c: Likewise.
19496         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
19497         * benchtests/bench-strcpy-ifunc.c: Likewise.
19498         * benchtests/bench-strcspn-ifunc.c: Likewise.
19499         * benchtests/bench-strlen-ifunc.c: Likewise.
19500         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
19501         * benchtests/bench-strncat-ifunc.c: Likewise.
19502         * benchtests/bench-strncmp-ifunc.c: Likewise.
19503         * benchtests/bench-strncpy-ifunc.c: Likewise.
19504         * benchtests/bench-strnlen-ifunc.c: Likewise.
19505         * benchtests/bench-strpbrk-ifunc.c: Likewise.
19506         * benchtests/bench-strrchr-ifunc.c: Likewise.
19507         * benchtests/bench-strsep-ifunc.c: Likewise.
19508         * benchtests/bench-strspn-ifunc.c: Likewise.
19509         * benchtests/bench-strstr-ifunc.c: Likewise.
19510
19511 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
19512
19513         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
19514
19515 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
19516
19517         * resolv/netdb.h: Use __glibc_reserved instead __unused.
19518         * rt/aio.h: Likewise.
19519         * sysdeps/gnu/bits/utmp.h: Likewise.
19520         * sysdeps/gnu/bits/utmpx.h: Likewise.
19521         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
19522         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
19523         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
19524         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
19525         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
19526         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
19527         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
19528         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
19529         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
19530         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
19531         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
19532         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
19533         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
19534         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
19535         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
19536         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
19537         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
19538         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
19539         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
19540         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
19541         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
19542         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
19543         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
19544         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
19545         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
19546         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
19547         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
19548         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
19549         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
19550         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
19551         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
19552         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
19553         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
19554         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
19555         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
19556         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
19557         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
19558         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
19559         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
19560         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
19561         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
19562         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
19563
19564 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
19565
19566         [BZ #16245]
19567         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
19568         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
19569
19570 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
19571
19572         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
19573         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
19574         Likewise.
19575
19576 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19577
19578         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
19579         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
19580         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
19581         (__fesetround): Remove define.
19582         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
19583         rounding and exceptions handling.
19584         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
19585         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
19586         (__fe_nomask_env): Likewise.
19587         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
19588         __fegetround instead of fegetround.
19589         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
19590         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
19591
19592 2013-11-21  Roland McGrath  <roland@hack.frob.com>
19593
19594         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
19595         it's there.
19596
19597         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
19598
19599 2013-11-21  Meador Inge  <meadori@codesourcery.com>
19600
19601         [BZ #11157]
19602         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
19603         (encrypt_r): Likewise.
19604         * malloc/obstack.h (obstack_free): Likewise.
19605         * posix/unistd.h (encrypt): Likewise.
19606
19607 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
19608
19609         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
19610         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
19611         DL_CALL_DT_FINI() that call the functions directly.
19612         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
19613         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
19614         * elf/dl-fini.c: Likewise.
19615
19616 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
19617
19618         * malloc/hooks.c (memalign_check): Add alignment rounding.
19619         * malloc/malloc.c (_mid_memalign): New function.
19620         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
19621         Implement by calling _mid_memalign.
19622         * manual/probes.texi (Memory Allocation Probes): Remove
19623         memory_valloc_retry and memory_pvalloc_retry.
19624
19625 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
19626
19627         * locale/programs/locarchive.c (open_archive): Add const
19628         qualifier to ARCHIVEFNAME and copy default fname to
19629         DEFAULT_FNAME.
19630
19631         [BZ #15601]
19632         * libio/tst-widetext.input: Rename Oriya to Odia.
19633         * locale/iso-639.def: Likewise.
19634
19635         * manual/probes.texi (Mathematical Function Probes): Add
19636         documentation for sin, cos, asin and acos probes.
19637         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
19638         (__sin32): Add slowasin probe.
19639         (__cos32): Add slowacos probe.
19640         (__mpsin): Add slowsin probe.
19641         (__mpcos): Add slowcos probe.
19642
19643 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
19644
19645         [BZ #15483]
19646         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
19647         thread-local __sim_exceptions_thread and global
19648         __sim_exceptions_global.
19649         (__sim_disabled_exceptions): Change to thread-local
19650         __sim_disabled_exceptions_thread and global
19651         __sim_disabled_exceptions_global.
19652         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
19653         and global __sim_round_mode_global.
19654         (__simulate_exceptions): Use thread-local floating-point state and
19655         set global state from it as needed.
19656         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
19657         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
19658         __sim_round_mode_thread.
19659         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
19660         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
19661         and global __sim_exceptions_global.
19662         (__sim_disabled_exceptions): Change to thread-local
19663         __sim_disabled_exceptions_thread and global
19664         __sim_disabled_exceptions_global.
19665         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
19666         and global __sim_round_mode_global.
19667         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
19668         (SIM_SET_GLOBAL): Likewise.
19669         * sysdeps/powerpc/soft-fp/sfp-machine.h
19670         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
19671         __sim_round_mode_thread.
19672         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
19673         __sim_disabled_exceptions_thread.
19674         (__sim_exceptions): Change to __sim_exceptions_thread.
19675         (__sim_disabled_exceptions): Change to
19676         __sim_disabled_exceptions_thread.
19677         (__sim_round_mode): Change to __sim_round_mode_thread.
19678         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
19679         thread-local floating-point state and set global state from it as
19680         needed.
19681         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
19682         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
19683         (__sim_disabled_exceptions): Remove extern declaration.
19684         (feenableexcept): Use thread-local floating-point state and set
19685         global state from it as needed.
19686         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
19687         extern declaration.
19688         (__sim_disabled_exceptions): Likewise.
19689         (__sim_round_mode): Likewise.
19690         (__fegetenv): Use thread-local floating-point state.
19691         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
19692         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
19693         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
19694         floating-point state and set global state from it as needed.
19695         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
19696         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
19697         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
19698         Likewise.
19699         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
19700         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
19701         Likewise.
19702         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
19703         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
19704         Use __sim_round_mode_thread.
19705         * math/test-fenv-tls.c: New file.
19706         * math/Makefile (tests): Add test-fenv-tls.
19707         ($(objpfx)test-fenv-tls): Depend on
19708         $(common-objpfx)nptl/libpthread.so.
19709
19710 2013-11-19  Andreas Schwab  <schwab@suse.de>
19711
19712         * locale/programs/locale.c (show_info): Decode wordarray elements.
19713         * locale/categories.def (LC_MONETARY): Add element for
19714         _NL_MONETARY_CRNCYSTR.
19715         * locale/C-monetary.c (conversion_rate): New variable.
19716         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
19717         element.
19718
19719 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
19720
19721         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
19722         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
19723
19724 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
19725
19726         * elf/Makefile (tst-auxv): New test.
19727         * elf/tst-auxv.c: New
19728         * elf/rtld.c (dl_main): Adjust AT_EXECFN
19729
19730 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
19731
19732         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
19733         (hidden_proto): Caller changed.
19734         (hidden_tls_proto): New macro.
19735         (libc_hidden_tls_proto): Likewise.
19736         (rtld_hidden_tls_proto): Likewise.
19737         (libm_hidden_tls_proto): Likewise.
19738         (libresolv_hidden_tls_proto): Likewise.
19739         (librt_hidden_tls_proto): Likewise.
19740         (libdl_hidden_tls_proto): Likewise.
19741         (libnss_files_hidden_tls_proto): Likewise.
19742         (libnsl_hidden_tls_proto): Likewise.
19743         (libnss_nisplus_hidden_tls_proto): Likewise.
19744         (libutil_hidden_tls_proto): Likewise.
19745
19746 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
19747
19748         [BZ #10253]
19749         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
19750         (decompose_rpath): Defer expansion to fillin_rpath.
19751         (_dl_init_paths): Pass linkmap to fillin_rpath.
19752
19753 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
19754
19755         * benchtests/Makefile: Add strsep.
19756         * benchtests/bench-strsep.c: New file: strsep benchtest.
19757         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
19758
19759 2013-11-18  Andreas Schwab  <schwab@suse.de>
19760
19761         * locale/programs/locale.c (show_info) [case byte]: Check for
19762         '\377' instead of '\177'.
19763         * locale/C-monetary.c (not_available): Always use "\377".
19764         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
19765         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
19766         detect unavailable sign_posn locale elements.
19767         * locale/localeconv.c (__localeconv): For grouping and
19768         mon_grouping handle "\177" and "\377" like no grouping.
19769         (INT_ELEM): New macro.  Use it to set all numeric members.
19770         * locale/programs/ld-monetary.c (monetary_read)
19771         <tok_mon_grouping>: Normalize single -1 to the empty string.
19772         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
19773         Likewise.
19774
19775 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
19776
19777         [BZ #16055]
19778         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
19779         when we match (nil).
19780         * stdio-common/tst-sscanf.c (struct test): Add testcase.
19781
19782 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
19783
19784         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
19785         (NO_TEST_INLINE): Update value.
19786         (ERRNO_UNCHANGED): Likewise.
19787         (ERRNO_EDOM): Likewise.
19788         (ERRNO_ERANGE): Likewise.
19789         (IGNORE_RESULT): Likewise.
19790         (check_float_internal): Check signs of NaN results if
19791         TEST_NAN_SIGN used.
19792         (check_complex): Pass TEST_NAN_SIGN flag through to second
19793         check_float_internal call.
19794         (copysign_test_data): Add tests with quiet NaNs as second
19795         argument.  Use TEST_NAN_SIGN.
19796         (fabs_test_data): Add test of negative quiet NaN argument.  Use
19797         TEST_NAN_SIGN.
19798         (signbit_test_data): Add tests of quiet NaN argument.
19799         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
19800
19801         * math/gen-libm-test.pl (show_exceptions): Take extra argument
19802         $ignore_result.
19803         (parse_args): Handle function results specified as IGNORE.
19804         * math/libm-test.inc (IGNORE_RESULT): New macro.
19805         (check_float_internal): Do not check numerical result if flag
19806         IGNORE_RESULT set.
19807         (check_complex): Pass through IGNORE_RESULT to second
19808         check_float_internal call.
19809         (check_int): Do not check numerical result if flag IGNORE_RESULT
19810         set.
19811         (check_long): Likewise.
19812         (check_bool): Likewise.
19813         (check_longlong): Likewise.
19814         (lrint_test_data): Add tests of infinite and NaN arguments.
19815         (lrint_tonearest_test_data): Likewise.
19816         (lrint_towardzero_test_data): Likewise.
19817         (lrint_downward_test_data): Likewise.
19818         (lrint_upward_test_data): Likewise.
19819         (llrint_test_data): Likewise.
19820         (llrint_tonearest_test_data): Likewise.
19821         (llrint_towardzero_test_data): Likewise.
19822         (llrint_downward_test_data): Likewise.
19823         (llrint_upward_test_data): Likewise.
19824         (lround_test_data): Likewise.
19825         (llround_test_data): Likewise.
19826
19827         * math/libm-test.inc (NO_TEST_INLINE): New macro.
19828         (ERRNO_UNCHANGED): Update value.
19829         (ERRNO_EDOM): Likewise.
19830         (ERRNO_ERANGE): Likewise.
19831         (NO_TEST_INLINE_FLOAT): New macro.
19832         (NO_TEST_INLINE_DOUBLE): Likewise.
19833         (enable_test): New function.
19834         (RUN_TEST_f_f): Check enable_test before running test.
19835         (RUN_TEST_2_f): Likewise.
19836         (RUN_TEST_fff_f): Likewise.
19837         (RUN_TEST_c_f): Likewise.
19838         (RUN_TEST_f_f1): Likewise.
19839         (RUN_TEST_fF_f1): Likewise.
19840         (RUN_TEST_fI_f1): Likewise.
19841         (RUN_TEST_ffI_f1): Likewise.
19842         (RUN_TEST_c_c): Likewise.
19843         (RUN_TEST_cc_c): Likewise.
19844         (RUN_TEST_f_i): Likewise.
19845         (RUN_TEST_f_i_tg): Likewise.
19846         (RUN_TEST_ff_i_tg): Likewise.
19847         (RUN_TEST_f_b): Likewise.
19848         (RUN_TEST_f_b_tg): Likewise.
19849         (RUN_TEST_f_l): Likewise.
19850         (RUN_TEST_f_L): Likewise.
19851         (RUN_TEST_fFF_11): Likewise.
19852         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
19853         conditionals.
19854         (cosh_test_data): Likewise.
19855         (exp_test_data): Likewise.
19856         (expm1_test_data): Likewise.
19857         (hypot_test_data): Likewise.
19858         (pow_test_data): Likewise.
19859         (sinh_test_data): Likewise.
19860         (tanh_test_data): Likewise.
19861         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
19862         flags argument.
19863
19864         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
19865         tests with quiet NaN input and output.
19866         (acosh_test_data): Likewise.
19867         (asin_test_data): Likewise.
19868         (asinh_test_data): Likewise.
19869         (atan_test_data): Likewise.
19870         (atanh_test_data): Likewise.
19871         (atan2_test_data): Likewise.
19872         (cbrt_test_data): Likewise.
19873         (cos_test_data): Likewise.
19874         (cosh_test_data): Likewise.
19875         (erf_test_data): Likewise.
19876         (erfc_test_data): Likewise.
19877         (exp_test_data): Likewise.
19878         (exp10_test_data): Likewise.
19879         (exp2_test_data): Likewise.
19880         (expm1_test_data): Likewise.
19881         (hypot_test_data): Likewise.
19882         (j0_test_data): Likewise.
19883         (j1_test_data): Likewise.
19884         (jn_test_data): Likewise.
19885         (lgamma_test_data): Likewise.
19886         (log_test_data): Likewise.
19887         (log10_test_data): Likewise.
19888         (log1p_test_data): Likewise.
19889         (log2_test_data): Likewise.
19890         (pow_test_data): Likewise.
19891         (scalb_test_data): Likewise.
19892         (sin_test_data): Likewise.
19893         (sincos_test_data): Likewise.
19894         (sinh_test_data): Likewise.
19895         (tan_test_data): Likewise.
19896         (tanh_test_data): Likewise.
19897         (tgamma_test_data): Likewise.
19898         (y0_test_data): Likewise.
19899         (y1_test_data): Likewise.
19900         (yn_test_data): Likewise.
19901
19902         [BZ #16167]
19903         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
19904         argument being NaN and avoid computations with second argument in
19905         that case.
19906         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
19907         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
19908         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
19909
19910 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
19911
19912         * locale/iso-639.def: Add Chitwani Tharu (the).
19913
19914 2013-11-14  Andreas Schwab  <schwab@suse.de>
19915
19916         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
19917         word instead of empty string.
19918
19919 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19920
19921         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
19922         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
19923         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
19924         (__fe_nomask_env): Likewise.
19925
19926 2013-11-13  Steve Ellcey  <sellcey@mips.com>
19927
19928         * benchtests/bench-timing.h: Include time.h.
19929
19930 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
19931
19932         [BZ #15997]
19933         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
19934         to 3.4.0 for x32.
19935         * sysdeps/unix/sysv/linux/configure: Regenerated.
19936
19937 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
19938
19939         [BZ #16151]
19940         * stdlib/strtod_l.c (round_and_return): Do not consider
19941         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
19942         exponent one less than half the least subnormal exponent.
19943         * stdlib/test-strtod-round-data: Add more tests.
19944         * stdlib/tst-strtod-round.c (tests): Regenerated.
19945
19946 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19947
19948         [BZ #14143]
19949         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
19950         (__fe_mask_env): Likewise.
19951         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
19952         libm_hidden_proto and add function prototype.
19953         (__fe_mask_env): Add function prototype.
19954         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
19955         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
19956         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
19957         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
19958         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
19959         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
19960
19961 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
19962
19963         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
19964         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
19965
19966 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
19967
19968         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
19969         of htab_find_slot().
19970
19971 2013-11-11  David S. Miller  <davem@davemloft.net>
19972
19973         [BZ #16150]
19974         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
19975         symbol in the non-vis3 case in static builds.
19976         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
19977         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
19978         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
19979         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
19980
19981 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
19982
19983         [BZ #387]
19984         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
19985         it is empty.
19986
19987 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19988
19989         * benchtests/Makefile: Add bench-strtod.
19990         * benchtests/bench-strtod.c: New file: strtod benchtest
19991
19992 2013-11-11  Andreas Schwab  <schwab@suse.de>
19993
19994         [BZ #16153]
19995         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
19996         terminating NUL in key length.
19997
19998 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19999
20000         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
20001         Add artificial ODP entry for vDSO symbol for PPC64.
20002         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
20003         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
20004
20005 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
20006
20007         [BZ #15374]
20008         * nss/getent.c (services_keys): Recognize services starting with digit.
20009
20010 2013-11-06  David S. Miller  <davem@davemloft.net>
20011
20012         [BZ #15985]
20013         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
20014         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
20015
20016 2013-11-06  Will Newton  <will.newton@linaro.org>
20017
20018         * manual/memory.texi (Malloc Examples): Remove register
20019         keyword from examples.
20020
20021 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
20022
20023         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
20024
20025 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
20026
20027         [BZ #6981]
20028         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
20029         depending on [__GCC_IEC_559 > 0].
20030         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
20031         depending on [__GCC_IEC_559_COMPLEX > 0].
20032
20033 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
20034
20035         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
20036         to iso-639.def.
20037
20038 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
20039
20040         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
20041
20042 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
20043
20044         [BZ #16112]
20045         * malloc/malloc (malloc_info): Do not handle first bin as
20046         special case.
20047
20048 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
20049
20050         * locale/iso-639.def: Add Central Nahuatl (nhn).
20051
20052 2013-11-01  Bruno Haible  <bruno@clisp.org>
20053
20054         [BZ #7003]
20055         * manual/math.texi (BSD Random): Specify range upper bound as
20056         in POSIX.
20057
20058 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
20059
20060         * locale/iso-639.def: Add Meadow Mari (mhr).
20061
20062 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
20063
20064         [BZ #14752], [BZ #15763]
20065         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
20066         Validate name.
20067         * rt/tst_shm.c: Add test for escaping directory.
20068
20069 2013-10-31  Andreas Schwab  <schwab@suse.de>
20070
20071         [BZ #15917]
20072         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
20073         followed by 'x' as part of digit sequence.
20074         * stdio-common/tst-sscanf.c (double_tests2): New tests.
20075
20076 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
20077
20078         [BZ #16037]
20079         * configure.ac: allow GNU Make 4.0 and greater.
20080         * configure: Regenerated.
20081
20082 2013-10-30  Will Newton  <will.newton@linaro.org>
20083
20084         [BZ #16038]
20085         * malloc/hooks.c (memalign_check): Limit alignment to the
20086         maximum representable power of two.
20087         * malloc/malloc.c (__libc_memalign): Likewise.
20088         * malloc/tst-memalign.c (do_test): Add test for very
20089         large alignment values.
20090         * malloc/tst-posix_memalign.c (do_test): Likewise.
20091
20092 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
20093
20094         [BZ #11087]
20095         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
20096         (munmap_chunk): Likewise.
20097         (mremap_chunk): Likewise.
20098
20099 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
20100
20101         [BZ #15799]
20102         * stdlib/div.c (div): Remove obsolete code.
20103         * stdlib/ldiv.c (ldiv): Likewise.
20104         * stdlib/lldiv.c (lldiv): Likewise.
20105
20106 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
20107
20108         [BZ #16071]
20109         * nss/nss_files/files-XXX.c (get_contents_ret): New
20110         enumerator.
20111         (get_contents): New function.
20112         (internal_getent): Use it.  Expand size of LINEBUFLEN.
20113
20114 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
20115
20116         * configure.in: Moved to ...
20117         * configure.ac: ... here. Change reference to configure.in
20118         to configure.ac.
20119         * sysdeps/arm/preconfigure.ac: ... here.
20120         configure.in to configure.ac.
20121         * sysdeps/gnu/configure.in: Moved to ...
20122         * sysdeps/gnu/configure.ac: ... here.
20123         * sysdeps/i386/configure.in: Moved to ...
20124         * sysdeps/i386/configure.ac: ... here.
20125         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
20126         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
20127         * sysdeps/mach/configure.in: Moved to ...
20128         * sysdeps/mach/configure.ac: ... here.
20129         * sysdeps/mach/hurd/configure.in: Moved to ...
20130         * sysdeps/mach/hurd/configure.ac: ... here.
20131         * sysdeps/powerpc/configure.in: Moved to ...
20132         * sysdeps/powerpc/configure.ac: ... here.
20133         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
20134         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
20135         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
20136         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
20137         * sysdeps/s390/s390-32/configure.in: Moved to ...
20138         * sysdeps/s390/s390-32/configure.ac: ... here.
20139         * sysdeps/s390/s390-64/configure.in: Moved to ...
20140         * sysdeps/s390/s390-64/configure.ac: ... here.
20141         * sysdeps/sh/configure.in: Moved to ...
20142         * sysdeps/sh/configure.ac: ... here.
20143         * sysdeps/sparc/configure.in: Moved to ...
20144         * sysdeps/sparc/configure.ac: ... here.
20145         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
20146         * sysdeps/unix/sysv/linux/configure.ac: ... here.
20147         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
20148         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
20149         * sysdeps/x86_64/configure.in: Moved to ...
20150         * sysdeps/x86_64/configure.ac: ... here.
20151         * sysdeps/x86_64/preconfigure.in: Moved to ...
20152         * sysdeps/x86_64/preconfigure.ac: ... here.
20153         * aclocal.m4: Change reference to configure.in to configure.ac.
20154         * config.h.in: Likewise.
20155         * manual/install.texi: Likewise.
20156         * manual/maint.texi: Likewise.
20157         * Makefile: Likewise.
20158         * malloc/Makefile: Likewise.
20159         * nscd/Makefile: Likewise.
20160         * Makeconfig: Change reference to configure.in and
20161         preconfigure.in to configure.ac and preconfigure.ac
20162         respectively.
20163         * INSTALL: Regenerated.
20164         * configure: Likewise.
20165         * sysdeps/gnu/configure: Likewise.
20166         * sysdeps/i386/configure: Likewise.
20167         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
20168         * sysdeps/mach/configure: Likewise.
20169         * sysdeps/mach/hurd/configure: Likewise.
20170         * sysdeps/powerpc/configure: Likewise.
20171         * sysdeps/powerpc/powerpc32/configure: Likewise.
20172         * sysdeps/powerpc/powerpc64/configure: Likewise.
20173         * sysdeps/s390/s390-32/configure: Likewise.
20174         * sysdeps/s390/s390-64/configure: Likewise.
20175         * sysdeps/sh/configure: Likewise.
20176         * sysdeps/sparc/configure: Likewise.
20177         * sysdeps/unix/sysv/linux/configure: Likewise.
20178         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
20179         * sysdeps/x86_64/configure: Likewise.
20180         * sysdeps/x86_64/preconfigure: Likewise.
20181
20182 2013-10-29  Andreas Schwab  <schwab@suse.de>
20183
20184         * stdio-common/Makefile (tst-swscanf-ENV): Define.
20185
20186 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
20187
20188         * benchtests/pow-inputs: Add new inputs.
20189
20190         * benchtests/exp-inputs: Add new inputs.
20191
20192         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
20193         conditional check for return value.
20194         (__cos32): Likewise.
20195
20196 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20197
20198         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
20199         to provide a boost for large inputs with word alignment.
20200         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
20201         implementation based on optimized PPC64 strcpy.
20202         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
20203         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
20204         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
20205         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
20206
20207 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
20208
20209         [BZ #2801]
20210         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
20211
20212 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
20213
20214         [BZ #14876]
20215         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
20216         * time/tst-strptime.c (day_tests): Add testcase.
20217
20218 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
20219
20220         [BZ #14029]
20221         * manual/pattern.texi: Acknowledge that fnmatch can fail.
20222
20223 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
20224
20225         [BZ #16074]
20226         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
20227         MAP_FAILED on error.
20228
20229 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
20230
20231         [BZ #16072]
20232         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
20233         heap for large requests.
20234
20235 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
20236
20237         [BZ #9954]
20238         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
20239         result if the result has no associated interface.
20240         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
20241         interface for all 127.X.Y.Z addresses.
20242
20243 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
20244
20245         * locale/iso-639.def: Add Ligurian (lij)
20246
20247 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
20248
20249         [BZ #15825]
20250         * sunrpc/rpc_main.c: Document rpcgen -5.
20251
20252 2013-10-19  Michael Stahl  <mstahl@redhat.com>
20253
20254         * elf/rtld.c (do_preload): Print the reason why preloading failed.
20255
20256 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
20257
20258         [BZ #10278]
20259         * posix/glob.c: Match only directories when trailing slash is present.
20260         * posix/tst-gnuglob.c (my_opendir): Do not open files.
20261         (main): Add testcase.
20262
20263 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
20264
20265         [BZ #15670]
20266         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
20267
20268 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
20269
20270         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
20271         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
20272         AUTH_DES and cindex for FIPS 140-2.
20273         (DES Encryption): Add cindex FIPS 46-3.
20274
20275         * locale/locarchive.h (struct locarhandle): Add fname.
20276         * locale/programs/localedef.c (main): Pass ARGV[remaining]
20277         if an optional argument was specified to --list-archive,
20278         otherwise NULL.
20279         * locale/programs/locarchive.c (show_archive_content): Take new
20280         argument fname and pass it via ah.fname to open_archive.
20281         * locale/programs/localedef.h: Update decl.
20282         (open_archive): If AH->fname is non-null, open that file
20283         rather than the default file name, and don't ignore ENOENT.
20284         (create_archive): Set AH.fname to NULL.
20285         (delete_locales_from_archive): Likewise.
20286         (add_locales_to_archive): Likewise.
20287         * locale/programs/locfile.c (write_all_categories): Likewise.
20288
20289 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
20290             Aldy Hernandez  <aldyh@redhat.com>
20291
20292         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
20293         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
20294         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
20295         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
20296         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
20297         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
20298         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
20299         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
20300         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
20301         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
20302         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
20303         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
20304         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
20305         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
20306         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
20307         Likewise.
20308         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
20309         Likewise.
20310         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
20311         Likewise.
20312         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
20313         Likewise.
20314         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
20315         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
20316         Likewise.
20317         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
20318         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
20319         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
20320         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
20321         Likewise.
20322         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
20323         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
20324         * sysdeps/powerpc/preconfigure: Likewise.
20325         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
20326         Likewise.
20327         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
20328         Replace contents of file by #include of <fenv_libc.h>.
20329         * sysdeps/powerpc/soft-fp/sfp-machine.h
20330         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
20331         and <sys/prctl.h>.
20332         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
20333         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
20334         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
20335         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
20336         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
20337         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
20338         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
20339         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
20340         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
20341         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
20342         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
20343         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
20344         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
20345         Allow copysignl PLT reference to be missing.
20346
20347 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
20348             Joseph Myers  <joseph@codesourcery.com
20349
20350         [BZ #15948]
20351         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
20352         single character.
20353         (add_to_tablewc): Assert sequence of wide characters is nonempty.
20354
20355 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
20356
20357         * elf/tst-tls-dlinfo.c: Don't include tls.h.
20358         * elf/tst-tls1.c: Likewise.
20359         * elf/tst-tls10.h: Likewise.
20360         * elf/tst-tls14.c: Likewise.
20361         * elf/tst-tls2.c: Likewise.
20362         * elf/tst-tls3.c: Likewise.
20363         * elf/tst-tls4.c: Likewise.
20364         * elf/tst-tls5.c: Likewise.
20365         * elf/tst-tls6.c: Likewise.
20366         * elf/tst-tls7.c: Likewise.
20367         * elf/tst-tls8.c: Likewise.
20368         * elf/tst-tls9.c: Likewise.
20369         * elf/tst-tlsmod1.c: Likewise.
20370         * elf/tst-tlsmod13.c: Likewise.
20371         * elf/tst-tlsmod13a.c: Likewise.
20372         * elf/tst-tlsmod14a.c: Likewise.
20373         * elf/tst-tlsmod16a.c: Likewise.
20374         * elf/tst-tlsmod16b.c: Likewise.
20375         * elf/tst-tlsmod2.c: Likewise.
20376         * elf/tst-tlsmod3.c: Likewise.
20377         * elf/tst-tlsmod4.c: Likewise.
20378         * elf/tst-tlsmod5.c: Likewise.
20379         * elf/tst-tlsmod6.c: Likewise.
20380
20381 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
20382
20383         [BZ #12486]
20384         * malloc/malloc.c: remove checks for statistics.
20385
20386 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
20387
20388         [BZ #15277]
20389         * inet/inet_net.c (inet_network): Detect additional invalid strings.
20390         * inet/tst-network.c: Add testcase.
20391
20392 2013-10-17  Andreas Schwab  <schwab@suse.de>
20393
20394         [BZ #15218]
20395         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
20396         to determine canonical name.
20397
20398 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
20399
20400         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
20401         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
20402         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
20403         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
20404         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
20405         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
20406         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
20407         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
20408         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
20409         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
20410         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
20411         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
20412         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
20413         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
20414         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
20415         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
20416         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
20417         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
20418         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
20419         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
20420         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
20421         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
20422         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
20423         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
20424         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
20425         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
20426         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
20427         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
20428         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
20429         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
20430         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
20431         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
20432         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
20433         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
20434         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
20435         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
20436         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
20437         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
20438         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
20439         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
20440         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
20441         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
20442         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
20443         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
20444         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
20445         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
20446         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
20447         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
20448         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
20449         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
20450         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
20451         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
20452         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
20453         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
20454         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
20455         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
20456         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
20457         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
20458
20459 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
20460
20461         [BZ #16041]
20462         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
20463         make result into a quiet NaN.
20464
20465 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
20466
20467         * soft-fp/adddf3.c: Fix horizontal whitespace.
20468         * soft-fp/addsf3.c: Likewise.
20469         * soft-fp/addtf3.c: Likewise.
20470         * soft-fp/divdf3.c: Likewise.
20471         * soft-fp/divsf3.c: Likewise.
20472         * soft-fp/divtf3.c: Likewise.
20473         * soft-fp/double.h: Likewise.
20474         * soft-fp/eqdf2.c: Likewise.
20475         * soft-fp/eqsf2.c: Likewise.
20476         * soft-fp/eqtf2.c: Likewise.
20477         * soft-fp/extenddftf2.c: Likewise.
20478         * soft-fp/extended.h: Likewise.
20479         * soft-fp/extendsfdf2.c: Likewise.
20480         * soft-fp/extendsftf2.c: Likewise.
20481         * soft-fp/extendxftf2.c: Likewise.
20482         * soft-fp/fixdfdi.c: Likewise.
20483         * soft-fp/fixdfsi.c: Likewise.
20484         * soft-fp/fixdfti.c: Likewise.
20485         * soft-fp/fixsfdi.c: Likewise.
20486         * soft-fp/fixsfsi.c: Likewise.
20487         * soft-fp/fixsfti.c: Likewise.
20488         * soft-fp/fixtfdi.c: Likewise.
20489         * soft-fp/fixtfsi.c: Likewise.
20490         * soft-fp/fixtfti.c: Likewise.
20491         * soft-fp/fixunsdfdi.c: Likewise.
20492         * soft-fp/fixunsdfsi.c: Likewise.
20493         * soft-fp/fixunsdfti.c: Likewise.
20494         * soft-fp/fixunssfdi.c: Likewise.
20495         * soft-fp/fixunssfsi.c: Likewise.
20496         * soft-fp/fixunssfti.c: Likewise.
20497         * soft-fp/fixunstfdi.c: Likewise.
20498         * soft-fp/fixunstfsi.c: Likewise.
20499         * soft-fp/fixunstfti.c: Likewise.
20500         * soft-fp/floatdidf.c: Likewise.
20501         * soft-fp/floatdisf.c: Likewise.
20502         * soft-fp/floatditf.c: Likewise.
20503         * soft-fp/floatsidf.c: Likewise.
20504         * soft-fp/floatsisf.c: Likewise.
20505         * soft-fp/floatsitf.c: Likewise.
20506         * soft-fp/floattidf.c: Likewise.
20507         * soft-fp/floattisf.c: Likewise.
20508         * soft-fp/floattitf.c: Likewise.
20509         * soft-fp/floatundidf.c: Likewise.
20510         * soft-fp/floatundisf.c: Likewise.
20511         * soft-fp/floatunditf.c: Likewise.
20512         * soft-fp/floatunsidf.c: Likewise.
20513         * soft-fp/floatunsisf.c: Likewise.
20514         * soft-fp/floatunsitf.c: Likewise.
20515         * soft-fp/floatuntidf.c: Likewise.
20516         * soft-fp/floatuntisf.c: Likewise.
20517         * soft-fp/floatuntitf.c: Likewise.
20518         * soft-fp/fmadf4.c: Likewise.
20519         * soft-fp/fmasf4.c: Likewise.
20520         * soft-fp/fmatf4.c: Likewise.
20521         * soft-fp/gedf2.c: Likewise.
20522         * soft-fp/gesf2.c: Likewise.
20523         * soft-fp/getf2.c: Likewise.
20524         * soft-fp/ledf2.c: Likewise.
20525         * soft-fp/lesf2.c: Likewise.
20526         * soft-fp/letf2.c: Likewise.
20527         * soft-fp/muldf3.c: Likewise.
20528         * soft-fp/mulsf3.c: Likewise.
20529         * soft-fp/multf3.c: Likewise.
20530         * soft-fp/negdf2.c: Likewise.
20531         * soft-fp/negsf2.c: Likewise.
20532         * soft-fp/negtf2.c: Likewise.
20533         * soft-fp/op-1.h: Likewise.
20534         * soft-fp/op-2.h: Likewise.
20535         * soft-fp/op-4.h: Likewise.
20536         * soft-fp/op-8.h: Likewise.
20537         * soft-fp/op-common.h: Likewise.
20538         * soft-fp/quad.h: Likewise.
20539         * soft-fp/single.h: Likewise.
20540         * soft-fp/soft-fp.h: Likewise.
20541         * soft-fp/sqrtdf2.c: Likewise.
20542         * soft-fp/sqrtsf2.c: Likewise.
20543         * soft-fp/sqrttf2.c: Likewise.
20544         * soft-fp/subdf3.c: Likewise.
20545         * soft-fp/subsf3.c: Likewise.
20546         * soft-fp/subtf3.c: Likewise.
20547         * soft-fp/truncdfsf2.c: Likewise.
20548         * soft-fp/trunctfdf2.c: Likewise.
20549         * soft-fp/trunctfsf2.c: Likewise.
20550         * soft-fp/trunctfxf2.c: Likewise.
20551         * soft-fp/unorddf2.c: Likewise.
20552         * soft-fp/unordsf2.c: Likewise.
20553         * soft-fp/unordtf2.c: Likewise.
20554
20555 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
20556
20557         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
20558         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
20559
20560 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
20561
20562         * elf/dl-libc.c: Clear initfini list after freeing.
20563
20564 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
20565
20566         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
20567         * soft-fp/addsf3.c: Likewise.
20568         * soft-fp/addtf3.c: Likewise.
20569         * soft-fp/divdf3.c: Likewise.
20570         * soft-fp/divsf3.c: Likewise.
20571         * soft-fp/divtf3.c: Likewise.
20572         * soft-fp/double.h: Likewise.
20573         * soft-fp/eqdf2.c: Likewise.
20574         * soft-fp/eqsf2.c: Likewise.
20575         * soft-fp/eqtf2.c: Likewise.
20576         * soft-fp/extenddftf2.c: Likewise.
20577         * soft-fp/extended.h: Likewise.
20578         * soft-fp/extendsfdf2.c: Likewise.
20579         * soft-fp/extendsftf2.c: Likewise.
20580         * soft-fp/extendxftf2.c: Likewise.
20581         * soft-fp/fixdfdi.c: Likewise.
20582         * soft-fp/fixdfsi.c: Likewise.
20583         * soft-fp/fixdfti.c: Likewise.
20584         * soft-fp/fixsfdi.c: Likewise.
20585         * soft-fp/fixsfsi.c: Likewise.
20586         * soft-fp/fixsfti.c: Likewise.
20587         * soft-fp/fixtfdi.c: Likewise.
20588         * soft-fp/fixtfsi.c: Likewise.
20589         * soft-fp/fixtfti.c: Likewise.
20590         * soft-fp/fixunsdfdi.c: Likewise.
20591         * soft-fp/fixunsdfsi.c: Likewise.
20592         * soft-fp/fixunsdfti.c: Likewise.
20593         * soft-fp/fixunssfdi.c: Likewise.
20594         * soft-fp/fixunssfsi.c: Likewise.
20595         * soft-fp/fixunssfti.c: Likewise.
20596         * soft-fp/fixunstfdi.c: Likewise.
20597         * soft-fp/fixunstfsi.c: Likewise.
20598         * soft-fp/fixunstfti.c: Likewise.
20599         * soft-fp/floatdidf.c: Likewise.
20600         * soft-fp/floatdisf.c: Likewise.
20601         * soft-fp/floatditf.c: Likewise.
20602         * soft-fp/floatsidf.c: Likewise.
20603         * soft-fp/floatsisf.c: Likewise.
20604         * soft-fp/floatsitf.c: Likewise.
20605         * soft-fp/floattidf.c: Likewise.
20606         * soft-fp/floattisf.c: Likewise.
20607         * soft-fp/floattitf.c: Likewise.
20608         * soft-fp/floatundidf.c: Likewise.
20609         * soft-fp/floatundisf.c: Likewise.
20610         * soft-fp/floatunsidf.c: Likewise.
20611         * soft-fp/floatunsisf.c: Likewise.
20612         * soft-fp/floatuntidf.c: Likewise.
20613         * soft-fp/floatuntisf.c: Likewise.
20614         * soft-fp/floatuntitf.c: Likewise.
20615         * soft-fp/fmadf4.c: Likewise.
20616         * soft-fp/fmasf4.c: Likewise.
20617         * soft-fp/fmatf4.c: Likewise.
20618         * soft-fp/gedf2.c: Likewise.
20619         * soft-fp/gesf2.c: Likewise.
20620         * soft-fp/getf2.c: Likewise.
20621         * soft-fp/ledf2.c: Likewise.
20622         * soft-fp/lesf2.c: Likewise.
20623         * soft-fp/letf2.c: Likewise.
20624         * soft-fp/muldf3.c: Likewise.
20625         * soft-fp/mulsf3.c: Likewise.
20626         * soft-fp/multf3.c: Likewise.
20627         * soft-fp/negdf2.c: Likewise.
20628         * soft-fp/negsf2.c: Likewise.
20629         * soft-fp/negtf2.c: Likewise.
20630         * soft-fp/op-1.h: Likewise.
20631         * soft-fp/op-2.h: Likewise.
20632         * soft-fp/op-4.h: Likewise.
20633         * soft-fp/op-8.h: Likewise.
20634         * soft-fp/op-common.h: Likewise.
20635         * soft-fp/quad.h: Likewise.
20636         * soft-fp/single.h: Likewise.
20637         * soft-fp/soft-fp.h: Likewise.
20638         * soft-fp/sqrtdf2.c: Likewise.
20639         * soft-fp/sqrtsf2.c: Likewise.
20640         * soft-fp/sqrttf2.c: Likewise.
20641         * soft-fp/subdf3.c: Likewise.
20642         * soft-fp/subsf3.c: Likewise.
20643         * soft-fp/subtf3.c: Likewise.
20644         * soft-fp/truncdfsf2.c: Likewise.
20645         * soft-fp/trunctfdf2.c: Likewise.
20646         * soft-fp/trunctfsf2.c: Likewise.
20647         * soft-fp/trunctfxf2.c: Likewise.
20648         * soft-fp/unorddf2.c: Likewise.
20649         * soft-fp/unordsf2.c: Likewise.
20650         * soft-fp/unordtf2.c: Likewise.
20651
20652 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
20653
20654         [BZ #15672]
20655         * misc/error.c (error_tail): Fix possible buffer overflow.
20656
20657 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
20658
20659         [BZ #13028]
20660         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
20661         address.
20662
20663 2013-10-14  P. J. McDermott  <pj@pehjota.net>
20664
20665         [BZ #832]
20666         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
20667         testing pipefail option.
20668
20669 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
20670
20671         * soft-fp/double.h: Indent preprocessor directives inside #if.
20672         * soft-fp/extended.h: Likewise.
20673         * soft-fp/op-2.h: Likewise.
20674         * soft-fp/op-4.h: Likewise.
20675         * soft-fp/op-common.h: Likewise.
20676         * soft-fp/quad.h: Likewise.
20677         * soft-fp/single.h: Likewise.
20678         * soft-fp/soft-fp.h: Likewise.
20679
20680 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
20681
20682         * iconv/iconv_prog.c: Fix typos.
20683         * stdio-common/psiginfo-data.h: Likewise.
20684
20685 2013-10-12   Reuben Thomas <rrt@sc3d.org>
20686
20687         [BZ #15764]
20688         * locale/setlocale.c: Fix typo.
20689
20690 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
20691
20692         [BZ #16036]
20693         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
20694         signaling NaN arguments.
20695         * soft-fp/unordsf2.c (__unordsf2): Likewise.
20696         * soft-fp/unordtf2.c (__unordtf2): Likewise.
20697
20698         [BZ #14910]
20699         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
20700         unordered operands.
20701         * soft-fp/gesf2.c (__gesf2): Likewise.
20702         * soft-fp/getf2.c (__getf2): Likewise.
20703         * soft-fp/ledf2.c (__ledf2): Likewise.
20704         * soft-fp/lesf2.c (__lesf2): Likewise.
20705         * soft-fp/letf2.c (__letf2): Likewise.
20706
20707         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
20708         * soft-fp/eqsf2.c (__eqsf2): Likewise.
20709         * soft-fp/eqtf2.c (__eqtf2): Likewise.
20710         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
20711         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
20712         * soft-fp/fixdfti.c (__fixdfti): Likewise.
20713         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
20714         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
20715         * soft-fp/fixsfti.c (__fixsfti): Likewise.
20716         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
20717         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
20718         * soft-fp/fixtfti.c (__fixtfti): Likewise.
20719         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
20720         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
20721         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
20722         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
20723         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
20724         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
20725         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
20726         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
20727         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
20728         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
20729         * soft-fp/floatdisf.c (__floatdisf): Likewise.
20730         * soft-fp/floatsisf.c (__floatsisf): Likewise.
20731         * soft-fp/floattidf.c (__floattidf): Likewise.
20732         * soft-fp/floattisf.c (__floattisf): Likewise.
20733         * soft-fp/floattitf.c (__floattitf): Likewise.
20734         * soft-fp/floatundidf.c (__floatundidf): Likewise.
20735         * soft-fp/floatundisf.c (__floatundisf): Likewise.
20736         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
20737         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
20738         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
20739         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
20740         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
20741         * soft-fp/gesf2.c (__gesf2): Likewise.
20742         * soft-fp/getf2.c (__getf2): Likewise.
20743         * soft-fp/ledf2.c (__ledf2): Likewise.
20744         * soft-fp/lesf2.c (__lesf2): Likewise.
20745         * soft-fp/letf2.c (__letf2): Likewise.
20746
20747         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
20748         Undefine and redefine.
20749         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
20750         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
20751         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
20752         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
20753         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
20754         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
20755         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
20756         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
20757         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
20758         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
20759         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
20760         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
20761         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
20762         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
20763         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
20764
20765         [BZ #16032]
20766         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
20767         without decrementing exponent if mantissa >= that for the
20768         denominator, not >.
20769         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
20770         denominator, not >.  Decrement exponent in < case instead of
20771         incrementing in >= case.
20772         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
20773         without decrementing exponent if mantissa >= that for the
20774         denominator, not >.
20775
20776         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
20777         computing saturated result for unsigned overflow.
20778
20779 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
20780             Jeff Law  <law@redhat.com>
20781
20782         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
20783         (atan2Mp): Add systemtap probe marker.
20784         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
20785         (__ieee754_log): Add systemtap probe marker.
20786         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
20787         (atanMp): Add systemtap probe marker.
20788         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
20789         (tanMp): Add systemtap probe marker.
20790         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
20791         (__slowexp): Add systemtap probe marker.
20792         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
20793         (__slowpow): Add systemtap probe marker.
20794         * manual/probes.texi: Document probes.
20795
20796 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
20797
20798         [BZ #15362]
20799         * libio/fileops.c (_IO_new_file_write): Return count of bytes
20800         written.
20801         (_IO_new_file_xsputn): Don't return EOF if nothing has been
20802         written.
20803         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
20804         written to buffer but not flushed.
20805         * libio/iofwrite_u.c:  Likewise.
20806         * libio/iopadn.c:  Return bytes returned even if EOF was
20807         encountered.
20808         * libio/iowpadn.c:  Likewise.
20809         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
20810         if _IO_padn does not write the whole buffer.
20811         [!COMPILE_WPRINTF] (PAD): Likewise.
20812
20813 2013-10-10  David S. Miller  <davem@davemloft.net>
20814
20815         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
20816         directory block.
20817
20818 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
20819
20820         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
20821         instead of FSF address.
20822         * soft-fp/fixdfti.c: Likewise.
20823         * soft-fp/fixsfti.c: Likewise.
20824         * soft-fp/fixtfti.c: Likewise.
20825         * soft-fp/fixunsdfti.c: Likewise.
20826         * soft-fp/fixunssfti.c: Likewise.
20827         * soft-fp/fixunstfti.c: Likewise.
20828         * soft-fp/floattidf.c: Likewise.
20829         * soft-fp/floattisf.c: Likewise.
20830         * soft-fp/floattitf.c: Likewise.
20831         * soft-fp/floatuntidf.c: Likewise.
20832         * soft-fp/floatuntisf.c: Likewise.
20833         * soft-fp/floatuntitf.c: Likewise.
20834         * soft-fp/trunctfxf2.c: Likewise.
20835
20836         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
20837         * soft-fp/fixdfti.c: Likewise.
20838         * soft-fp/fixsfti.c: Likewise.
20839         * soft-fp/fixtfti.c: Likewise.
20840         * soft-fp/fixunsdfti.c: Likewise.
20841         * soft-fp/fixunssfti.c: Likewise.
20842         * soft-fp/fixunstfti.c: Likewise.
20843         * soft-fp/floattidf.c: Likewise.
20844         * soft-fp/floattisf.c: Likewise.
20845         * soft-fp/floattitf.c: Likewise.
20846         * soft-fp/floatuntidf.c: Likewise.
20847         * soft-fp/floatuntisf.c: Likewise.
20848         * soft-fp/floatuntitf.c: Likewise.
20849         * soft-fp/trunctfxf2.c: Likewise.
20850
20851 2013-10-10  David S. Miller  <davem@davemloft.net>
20852
20853         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20854
20855 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
20856
20857         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
20858         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
20859         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
20860         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
20861         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
20862         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
20863         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
20864
20865         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
20866         for NaNs before doing comparisons on argument.
20867         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
20868         Likewise.
20869
20870 2013-10-10  Will Newton  <will.newton@linaro.org>
20871
20872         * malloc/hooks.c (memalign_check): Ensure the value of bytes
20873         passed to _int_memalign does not overflow.
20874
20875 2013-10-10  Torvald Riegel  <triegel@redhat.com>
20876
20877         * scripts/bench.pl: Add include-sources directive.
20878         * benchtests/README: Update documentation.
20879
20880 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
20881
20882         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
20883         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
20884         instead of FP_INIT_ROUNDMODE.
20885         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
20886         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
20887
20888         [BZ #16034]
20889         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
20890         copy class of input value.
20891         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
20892         not handle exceptions.
20893         * soft-fp/negsf2.c (__negsf2): Likewise.
20894         * soft-fp/negtf2.c (__negtf2): Likewise.
20895         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
20896
20897 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
20898
20899         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
20900         semicolon.  From Linux kernel.
20901
20902 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
20903
20904         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
20905
20906 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
20907
20908         [BZ #156]
20909         * manual/socket.texi: Added statement about buffer
20910         for gethostbyname2_r.
20911
20912 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
20913
20914         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
20915         Use .p2align directive instead, throughout.
20916         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
20917         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
20918         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
20919         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
20920         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
20921         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
20922         * sysdeps/x86_64/strchr.S: Likewise.
20923         * sysdeps/x86_64/strrchr.S: Likewise.
20924
20925 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
20926
20927         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
20928
20929         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
20930
20931         * sysdeps/generic/math_private.h (__mpsin1): Remove
20932         declaration.
20933         (__mpcos1): Likewise.
20934         (__mpsin): New argument __range_reduce.
20935         (__mpcos): Likewise.
20936         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
20937         (slow): Use __mpsin and __mpcos.
20938         (slow1): Likewise.
20939         (slow2): Likewise.
20940         (sloww): Likewise.
20941         (sloww1): Likewise.
20942         (sloww2): Likewise.
20943         (bsloww): Likewise.
20944         (bsloww1): Likewise.
20945         (bsloww2): Likewise.
20946         (cslow2): Likewise.
20947         (csloww): Likewise.
20948         (csloww1): Likewise.
20949         (csloww2): Likewise.
20950         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
20951         range_reduce.  Merge in __mpsin1.
20952         (__mpcos): Likewise.
20953         (__mpsin1): Remove.
20954         (__mpcos1): Likewise.
20955
20956 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
20957
20958         * locale/loadlocale.c (_nl_intern_locale_data): Use
20959         LOCFILE_ALIGNED_P.
20960         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
20961         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
20962         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
20963         obstack data is appropriately aligned.
20964         (obstack_int32_grow_fast): Likewise.
20965         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
20966         * locale/programs/locfile.c (add_locale_uint32): Likewise.
20967         (add_locale_uint32_array): Likewise.
20968
20969 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
20970
20971         * benchtests/Makefile: Remove ARGLIST and RET variables.
20972         ($(objpfx)bench-%.c): Pass only function name to the script.
20973         * benchtests/README: Update documentation.
20974         * benchtests/acos-inputs: Add new directives.
20975         * benchtests/acosh-inputs: Likewise.
20976         * benchtests/asin-inputs: Likewise.
20977         * benchtests/asinh-inputs: Likewise.
20978         * benchtests/atan-inputs: Likewise.
20979         * benchtests/atanh-inputs: Likewise.
20980         * benchtests/cos-inputs: Likewise.
20981         * benchtests/cosh-inputs: Likewise.
20982         * benchtests/exp-inputs: Likewise.
20983         * benchtests/log-inputs: Likewise.
20984         * benchtests/pow-inputs: Likewise.
20985         * benchtests/rint-inputs: Likewise.
20986         * benchtests/sin-inputs: Likewise.
20987         * benchtests/sinh-inputs: Likewise.
20988         * benchtests/tan-inputs: Likewise.
20989         * benchtests/tanh-inputs: Likewise.
20990         * scripts/bench.pl: Add support for new directives.
20991
20992 2013-10-07  Alan Modra  <amodra@gmail.com>
20993
20994         * README: Fix careless merge.
20995
20996 2013-10-05  Alan Modra  <amodra@gmail.com>
20997
20998         * NEWS: Mention powerpc64le support and bugs fixed.
20999         * README: Both big-endian and little-endian powerpc64 supported.
21000
21001 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21002
21003         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
21004         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
21005         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
21006         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
21007
21008 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
21009
21010         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
21011         match prototype.
21012
21013 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
21014
21015         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
21016         Move -mhard-float appending from
21017         ports/sysdeps/powerpc/powerpc32/Makefile.
21018         [$(with-fp) = yes] (ASFLAGS): Likewise.
21019         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
21020         * sysdeps/powerpc/nofpu: Move directory from
21021         ports/sysdeps/powerpc/nofpu.
21022         * sysdeps/powerpc/soft-fp: Move directory from
21023         ports/sysdeps/powerpc/soft-fp.
21024         * sysdeps/powerpc/powerpc32/405: Move directory from
21025         ports/sysdeps/powerpc/powerpc32/405.
21026         * sysdeps/powerpc/powerpc32/440: Move directory from
21027         ports/sysdeps/powerpc/powerpc32/440.
21028         * sysdeps/powerpc/powerpc32/464: Move directory from
21029         ports/sysdeps/powerpc/powerpc32/464.
21030         * sysdeps/powerpc/powerpc32/476: Move directory from
21031         ports/sysdeps/powerpc/powerpc32/476.
21032         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
21033         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
21034         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
21035         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
21036         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
21037         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
21038         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
21039         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
21040         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
21041         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
21042         * README: Update for powerpc-*-linux-gnu software floating point
21043         support in libc.
21044
21045         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
21046         case to powerpc/powerpc32*.
21047         * sysdeps/unix/sysv/linux/configure: Regenerated.
21048
21049         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
21050         (_FPU_MASK_OM): Define as 0x04.
21051         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
21052         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
21053         0x00c10080.
21054         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
21055         0x0000003c.
21056         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
21057
21058         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
21059         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
21060         getcontext_e500.
21061         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
21062         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
21063         setcontext_e500.
21064         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
21065         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
21066         and setcontext_e500.
21067
21068 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
21069
21070         * locale/iso-3166.def: Update iso-1366.def and related occurrences
21071
21072 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
21073
21074         * manual/threads.texi (Default Thread Attributes): Fix typo.
21075
21076 2013-10-04  Will Newton  <will.newton@linaro.org>
21077
21078         * malloc/Makefile: Add tst-memalign.
21079         * malloc/tst-memalign.c: New file.
21080
21081         * malloc/tst-posix_memalign.c: Add comments.
21082         (do_test): Add comments and call free on all potentially
21083         allocated pointers. Add space after cast.
21084
21085         * malloc/tst-pvalloc.c: Add comments.
21086         (do_test): Add comments and call free on all potentially
21087         allocated pointers. Remove duplicate check for NULL pointer.
21088         Add space after cast.
21089
21090         * malloc/tst-valloc.c: Add comments.
21091         (do_test): Add comments and call free on all potentially
21092         allocated pointers. Remove duplicate check for NULL pointer.
21093         Add space after cast.
21094
21095 2013-10-04  Alan Modra  <amodra@gmail.com>
21096
21097         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
21098         Use stdint types in rather than __attribute__((mode())).
21099         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
21100
21101 2013-10-04  Alan Modra  <amodra@gmail.com>
21102
21103         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
21104         Correct handling of unaligned relocs for little-endian.
21105         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
21106
21107 2013-10-04  Alan Modra  <amodra@gmail.com>
21108
21109         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
21110         * configure: Regenerate.
21111         * nptl/shlib-versions: Powerpc*le starts at 2.18.
21112         * shlib-versions: Likewise.
21113
21114 2013-10-04  Alan Modra  <amodra@gmail.com>
21115
21116         * string/tester.c (test_memrchr): Increment reported test cycle.
21117
21118 2013-10-04  Alan Modra  <amodra@gmail.com>
21119
21120         * string/test-memcpy.c (do_one_test): When reporting errors, print
21121         string address and don't overrun end of string.
21122
21123 2013-10-04  Alan Modra  <amodra@gmail.com>
21124
21125         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
21126         insrdi.  Make better use of reg selection to speed exit slightly.
21127         Schedule entry path a little better.  Remove useless "are we done"
21128         checks on entry to main loop.  Handle wrapping around zero address.
21129         Correct main loop count.  Handle single left-over word from main
21130         loop inline rather than by using loop_small.  Remove extra word
21131         case in loop_small caused by wrong loop count.  Add little-endian
21132         support.
21133         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
21134         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
21135         cache hint.
21136         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
21137         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
21138         support.  Avoid rlwimi.
21139         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
21140
21141 2013-10-04  Alan Modra  <amodra@gmail.com>
21142
21143         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
21144         insrdi.  Formatting.
21145         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
21146         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
21147         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
21148         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
21149         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
21150         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
21151
21152 2013-10-04  Alan Modra  <amodra@gmail.com>
21153
21154         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
21155         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
21156         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
21157         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
21158         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
21159         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
21160         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
21161         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
21162         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
21163         use of regs.  Use power7 mtocrf.  Tidy function tails.
21164
21165 2013-10-04  Alan Modra  <amodra@gmail.com>
21166
21167         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
21168         Formatting.  Consistently use rXXX register defines or rN defines.
21169         Use early exit labels that avoid restoring unused non-volatile regs.
21170         Make cr field use more consistent with rWORDn compares.  Rename
21171         regs used as shift registers for unaligned loop, using rN defines
21172         for short lifetime/multiple use regs.
21173         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
21174         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
21175         addi 1,1,64 to pop stack frame.  Simplify return value code.
21176         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
21177
21178 2013-10-04  Alan Modra  <amodra@gmail.com>
21179
21180         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
21181         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
21182         rather than rlwimi.
21183         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
21184         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
21185         little-endian support.  Correct typos.
21186         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
21187         rather than rlwimi.
21188         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
21189         in loop and entry code to keep "and." results.
21190         (strchr): Add little-endian support.  Comment.  Move cntlzd
21191         earlier in tail.
21192         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
21193
21194 2013-10-04  Alan Modra  <amodra@gmail.com>
21195
21196         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
21197         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
21198         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
21199         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
21200
21201 2013-10-04  Alan Modra  <amodra@gmail.com>
21202
21203         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
21204         (rTMP): Define as r11.
21205         (strcmp): Add little-endian support.  Optimise tail.
21206         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
21207         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
21208         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
21209         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
21210         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
21211         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
21212         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
21213
21214 2013-10-04  Alan Modra  <amodra@gmail.com>
21215
21216         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
21217         little-endian support.  Remove unnecessary "are we done" tests.
21218         Handle "s" wrapping around zero and extremely large "size".
21219         Correct main loop count.  Handle single left-over word from main
21220         loop inline rather than by using small_loop.  Correct comments.
21221         Delete "zero" tail, use "end_max" instead.
21222         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
21223
21224 2013-10-04  Alan Modra  <amodra@gmail.com>
21225
21226         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
21227         support.  Don't branch over align.
21228         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
21229         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
21230         support.  Rearrange tmp reg use to suit.  Comment.
21231         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
21232
21233 2013-10-04  Alan Modra  <amodra@gmail.com>
21234
21235         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
21236
21237 2013-10-04  Alan Modra  <amodra@gmail.com>
21238
21239         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
21240         conditional form of branch and link when obtaining pc.
21241         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
21242
21243 2013-10-04  Alan Modra  <amodra@gmail.com>
21244
21245         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
21246         HIWORD/LOWORD.
21247         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
21248         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
21249
21250 2013-10-04  Alan Modra  <amodra@gmail.com>
21251
21252         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
21253         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
21254         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
21255         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
21256         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
21257         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
21258         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
21259         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
21260         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
21261         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
21262
21263 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
21264             Alistair Popple <alistair@ozlabs.au.ibm.com>
21265             Alan Modra <amodra@gmail.com>
21266
21267         [BZ #15723]
21268         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
21269         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
21270         _dl_hwcap access for little-endian.
21271         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
21272         destroy vmx regs when saving unaligned.
21273         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
21274         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
21275         destroy vmx regs when saving unaligned.
21276
21277 2013-10-04  Alan Modra  <amodra@gmail.com>
21278
21279         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
21280         Don't use a union to pack hi/low value.
21281
21282 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
21283
21284         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
21285         for little-endian.
21286         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
21287         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
21288         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
21289         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
21290         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
21291
21292 2013-10-04  Alan Modra  <amodra@gmail.com>
21293
21294         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
21295         constants to usual value for .cst8 section, and remove redundant
21296         high address load.
21297         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
21298         constant for 0x1p52.  Load little-endian words of double from
21299         correct stack offsets.
21300
21301 2013-10-04  Alan Modra  <amodra@gmail.com>
21302
21303         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
21304         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
21305         words of double from correct stack offsets.
21306         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
21307         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
21308         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
21309         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
21310         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
21311         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
21312         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
21313         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
21314         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
21315         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
21316         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
21317         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
21318         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
21319         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
21320         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
21321         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
21322         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
21323
21324 2013-10-04  Alan Modra  <amodra@gmail.com>
21325
21326         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
21327         64-bit int/double union.
21328         (_FPU_SETCW): Likewise.
21329         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
21330         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
21331
21332 2013-10-04  Alan Modra  <amodra@gmail.com>
21333
21334         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
21335         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
21336
21337 2013-10-04  Alan Modra  <amodra@gmail.com>
21338
21339         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
21340         use vector int constants.
21341         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
21342
21343 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
21344
21345         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
21346         array with long long.
21347         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
21348         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
21349         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
21350         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
21351         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
21352         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
21353         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
21354         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
21355         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
21356         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
21357         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
21358         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
21359         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
21360
21361 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
21362
21363         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
21364         (__signbit): Likewise.  Correct for little-endian.
21365         (__signbitl): Call __signbit.
21366         (lrint): Correct for little-endian.
21367         (lrintf): Call lrint.
21368
21369 2013-10-04  Alan Modra  <amodra@gmail.com>
21370
21371         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
21372         union 32-bit int array member with 64-bit int array.
21373         (t515, tm256): Double rather than long double.
21374         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
21375
21376 2013-10-04  Alan Modra  <amodra@gmail.com>
21377
21378         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
21379         Delete.
21380         (IEEE854_LONG_DOUBLE_BIAS): Delete.
21381         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
21382         version of math_ldbl.h.
21383
21384 2013-10-04  Alan Modra  <amodra@gmail.com>
21385
21386         [BZ #15734], [BZ #15735]
21387         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
21388         all uses of ieee875 long double macros and unions.  Simplify test
21389         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
21390         ldbl_extract_mantissa value for ix,iy exponents.  Properly
21391         normalize after ldbl_extract_mantissa, and don't add hidden bit
21392         already handled.  Don't treat low word of ieee854 mantissa like
21393         low word of IBM long double and mask off bit when testing for
21394         zero.
21395         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
21396         all uses of ieee875 long double macros and unions.  Simplify tests
21397         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
21398         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
21399         two1022, instead use their values.  Recognise that tests for large
21400         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
21401         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
21402         Rewrite all uses of ieee875 long double macros and unions.  Simplify
21403         test for 0.0L and nan.  Correct negation.
21404         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
21405         ieee875 long double macros and unions.  Correct output for large
21406         magnitude x.  Correct absolute value calculation.
21407         (__erfcl): Likewise.
21408         * math/libm-test.inc: Add tests for errors discovered in IBM long
21409         double versions of fmodl, remainderl, erfl and erfcl.
21410
21411 2013-10-04  Alan Modra  <amodra@gmail.com>
21412
21413         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
21414         all uses of ieee854 long double macros and unions.  Simplify tests
21415         for long doubles that are fully specified by the high double.
21416         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
21417         Likewise.
21418         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
21419         Remove dead code too.
21420         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
21421         (__ieee754_ynl): Likewise.
21422         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
21423         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
21424         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
21425         Remove dead code too.
21426         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
21427         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
21428         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
21429         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
21430         Simplify.
21431         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
21432         Simplify.
21433         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
21434         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
21435         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
21436         Comment on variable precision.
21437         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
21438         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
21439         Likewise.
21440         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
21441         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
21442         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
21443         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
21444         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
21445
21446 2013-10-04  Alan Modra  <amodra@gmail.com>
21447
21448         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
21449         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
21450         all uses of ieee854 long double macros and unions.
21451         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
21452         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
21453         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
21454         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
21455         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
21456         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
21457         Likewise.
21458         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
21459         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
21460         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
21461         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
21462         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
21463         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
21464         Simplify sign and nan test too.
21465         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
21466         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
21467         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
21468         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
21469         Likewise.
21470         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
21471         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
21472         Likewise.
21473         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
21474         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
21475         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
21476         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
21477         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
21478         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
21479
21480 2013-10-04  Alan Modra  <amodra@gmail.com>
21481
21482         * stdio-common/printf_size.c (__printf_size): Don't use
21483         union ieee854_long_double in fpnum union.
21484         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
21485         signbit macro to retrieve sign from long double.
21486         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
21487         retrieve sign from long double.
21488         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
21489         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
21490         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
21491         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
21492         * math/test-misc.c (main): Don't use union ieee854_long_double.
21493
21494 2013-10-04  Alan Modra  <amodra@gmail.com>
21495
21496         [BZ #15680]
21497         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
21498         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
21499         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
21500         calculation.  Remove unnecessary test for denormal exponent.
21501         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
21502         Correct handling of denormals.  Avoid undefined shift behaviour.
21503         Correct normalisation of low mantissa when low double is denormal.
21504         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
21505         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
21506         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
21507         Correct normalisation of low mantissa.  Test for overflow of high
21508         mantissa and normalise.
21509         (ldbl_nearbyint): Use more readable constant for two52.
21510         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
21511         (__mpn_construct_long_double): Fix test for overflow of high
21512         mantissa and correct normalisation.  Avoid undefined shift.
21513
21514 2013-10-04  Alan Modra  <amodra@gmail.com>
21515
21516         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
21517         (union ibm_extended_long_double): Define as an array of ieee754_double.
21518         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
21519         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
21520         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
21521         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
21522         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
21523         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
21524         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
21525         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
21526         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
21527         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
21528         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
21529
21530 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
21531
21532         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
21533         page size instead of calling getpagesize.
21534
21535         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
21536         (LOCFILE_ALIGN_MASK): Likewise.
21537         (LOCFILE_ALIGN_UP): Likewise.
21538         (LOCFILE_ALIGNED_P): Likewise.
21539         * locale/programs/ld-collate.c (collate_output): Use the new
21540         macros instead of __alignof__ (int32_t).
21541         * locale/weight.h (findidx): Likewise.
21542
21543 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
21544
21545         [BZ #431]
21546         * manual/string.texi: Fix strncat and wcsncat.
21547
21548 2013-10-03  Brooks Moses  <bmoses@google.com>
21549
21550         [BZ #15915]
21551         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
21552         * Makerules: ...here, and adjust associated comments.
21553
21554 2013-10-02  Will Newton  <will.newton@linaro.org>
21555
21556         * malloc/Makefile: Add tst-pvalloc.
21557         * malloc/tst-pvalloc.c: New file.
21558
21559 2013-10-02  Will Newton  <will.newton@linaro.org>
21560
21561         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
21562         improve test coverage.
21563
21564 2013-10-02  Will Newton  <will.newton@linaro.org>
21565
21566         * malloc/Makefile: Add tst-posix_memalign.
21567         * malloc/tst-posix_memalign.c: New file.
21568
21569 2013-10-01  Eric Blake  <eblake@redhat.com>
21570
21571         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
21572         Use __THROWNL rather than __THROW on static functions.
21573
21574 2013-09-30  Petr Machata  <pmachata@redhat.com>
21575
21576         * elf/elf.h (R_AARCH64_ABS16): New macro.
21577         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
21578         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
21579         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
21580         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
21581         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
21582         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
21583         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
21584         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
21585         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
21586         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
21587         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
21588         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
21589         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
21590         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
21591         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
21592         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
21593         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
21594         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
21595         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
21596         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
21597         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
21598         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
21599         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
21600         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
21601         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
21602         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
21603         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
21604         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
21605         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
21606         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
21607         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
21608         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
21609         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
21610         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
21611         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
21612         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
21613         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
21614         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
21615         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
21616         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
21617         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
21618         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
21619         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
21620         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
21621         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
21622         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
21623         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
21624         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
21625         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
21626         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
21627         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
21628         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
21629         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
21630         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
21631         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
21632         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
21633         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
21634         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
21635         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
21636         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
21637         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
21638         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
21639         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
21640         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
21641         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
21642         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
21643         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
21644         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
21645         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
21646         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
21647         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
21648         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
21649         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
21650         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
21651         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
21652         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
21653         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
21654         (R_AARCH64_TLSDESC_LDR): Likewise.
21655         (R_AARCH64_TLSDESC_ADD): Likewise.
21656         (R_AARCH64_TLSDESC_CALL): Likewise.
21657
21658 2013-09-30  Andreas Schwab  <schwab@suse.de>
21659
21660         [BZ #15048]
21661         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
21662         the nss database lookup.
21663         * nscd/initgrcache.c (addinitgroupsX): Likewise.
21664         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
21665
21666 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
21667
21668         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
21669
21670 2013-09-28  P. J. McDermott  <pj@pehjota.net>
21671
21672         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
21673         ${Bash-specific parameter/pattern/string} parameter expansion.
21674         * sysdeps/unix/make-syscalls.sh: Likewise.
21675
21676 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
21677
21678         * sysdeps/sh/stackguard-macros.h: New file.
21679
21680 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
21681
21682         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
21683         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
21684         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
21685         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
21686         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
21687         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
21688
21689 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21690
21691         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
21692         Fix thread ID register.
21693
21694 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
21695
21696         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
21697         [POSIX || UNIX98]: Require rather than permitting all symbols from
21698         <time.h>.
21699         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
21700         element of struct sched_param.
21701         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
21702         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
21703         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
21704         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
21705         constant.
21706
21707 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
21708
21709         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
21710         argument calculation.
21711
21712 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
21713
21714         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
21715         Expect macro.
21716         [POSIX] (pthread_attr_t): Do not require type.
21717         [POSIX] (pthread_cond_t): Likewise.
21718         [POSIX] (pthread_condattr_t): Likewise.
21719         [POSIX] (pthread_key_t): Likewise.
21720         [POSIX] (pthread_mutex_t): Likewise.
21721         [POSIX] (pthread_mutexattr_t): Likewise.
21722         [POSIX] (pthread_once_t): Likewise.
21723         [POSIX] (pthread_t): Likewise.
21724         [POSIX-based standards] (pthread_atfork): Expect function.
21725
21726 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
21727             Richard Sandiford  <richard@codesourcery.com>
21728
21729         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
21730         (swap_endianness_p): New extern variable.
21731         (set_big_endian): New inline function.
21732         (maybe_swap_uint32): Likewise.
21733         (maybe_swap_uint32_array): Likewise.
21734         (maybe_swap_uint32_obstack): Likewise.
21735         * locale/programs/locfile.c: Include <stdbool.h>.
21736         (swap_endianness_p): New variable.
21737         (add_locale_uint32): Call maybe_swap_uint32.
21738         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
21739         (write_locale_data): Call maybe_swap_uint32_array.
21740         * locale/programs/ld-collate.c (obstack_int32_grow): Call
21741         maybe_swap_uint32.
21742         (obstack_int32_grow_fast): Likewise.
21743         (output_weightwc): Call maybe_swap_uint32_obstack.
21744         (collate_output): Likewise.
21745         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
21746         (OPT_LITTLE_ENDIAN): Likewise.
21747         (options): Add --little-endian and --big-endian options.
21748         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
21749         * locale/programs/locarchive.c: Include "locfile.h".
21750         (GET): New macro.
21751         (SET): Likewise.
21752         (INC): Likewise.
21753         (create_archive): Use the new macros to access fields of
21754         structures directly mapped from or written to locale archives.
21755         (oldlocrecentcmp): Likewise.
21756         (enlarge_archive): Likewise.
21757         (insert_name): Likewise.
21758         (add_alias): Likewise.
21759         (add_locale): Likewise.
21760         (delete_locales_from_archive): Likewise.
21761         (show_archive_content): Likewise.
21762         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
21763         locale data.
21764
21765 2013-09-24  Roland McGrath  <roland@hack.frob.com>
21766
21767         * manual/freemanuals.texi: Updated from (newly) canonical copy at
21768         http://www.gnu.org/doc/freemanuals.texi.
21769         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
21770
21771 2013-09-24  Will Newton  <will.newton@linaro.org>
21772
21773         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
21774         macro.
21775
21776 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
21777
21778         * locale/hashval.h (compute_hashval): Interpret bytes of key as
21779         unsigned char.
21780
21781 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
21782
21783         * manual/threads.texi (POSIX Threads): Fix a typo.
21784
21785 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
21786
21787         [BZ #14547]
21788         * string/tst-strcoll-overflow.c: New test case.
21789         * string/Makefile (xtests): Add tst-strcoll-overflow.
21790         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
21791         cache if string sizes may cause integer overflow.
21792
21793         [BZ #14547]
21794         * string/strcoll_l.c (coll_seq): New members rule, idx,
21795         save_idx and back_us.
21796         (get_next_seq_nocache): New function.
21797         (do_compare_nocache): New function.
21798         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
21799         when malloc fails.
21800
21801 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
21802
21803         [BZ #15754]
21804         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
21805         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
21806         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
21807
21808         [BZ #15754]
21809         * elf/Makefile (tests): Add tst-ptrguard1.
21810         (tests-static): Add tst-ptrguard1-static.
21811         (tst-ptrguard1-ARGS): Define.
21812         (tst-ptrguard1-static-ARGS): Define.
21813         * elf/tst-ptrguard1.c: New file.
21814         * elf/tst-ptrguard1-static.c: New file.
21815         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
21816         * sysdeps/i386/stackguard-macros.h: Likewise.
21817         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
21818         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
21819         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
21820         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
21821         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
21822         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
21823
21824 2013-09-23  Hector Marco  <hecmargi@upv.es>
21825             Ismael Ripoll  <iripoll@disca.upv.es>
21826             Carlos O'Donell  <carlos@redhat.com>
21827
21828         [BZ #15754]
21829         * sysdeps/generic/stackguard-macros.h: Define
21830         __pointer_chk_guard_local and POINTER_CHK_GUARD.
21831         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
21832         Define __pointer_chk_guard_local.
21833         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
21834         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
21835
21836 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
21837
21838         [BZ #15859]
21839         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
21840
21841 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
21842
21843         * include/string.h (__ffs): Declare as hidden.
21844         * string/ffs.c (__ffs): Define as hidden.
21845         * sysdeps/i386/ffs.c (__ffs): Likewise.
21846         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
21847         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
21848         * sysdeps/s390/ffs.c (__ffs): Likewise.
21849         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
21850
21851 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
21852
21853         * NEWS: Mention malloc probes.
21854
21855         * malloc/arena.c (new_heap): New memory_heap_new probe.
21856         (grow_heap): New memory_heap_more probe.
21857         (shrink_heap): New memory_heap_less probe.
21858         (heap_trim): New memory_heap_free probe.
21859         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
21860         (systrim): New memory_sbrk_less probe.
21861         * manual/probes.texi: Document them.
21862
21863         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
21864         * manual/probes.texi: Document it.
21865
21866         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
21867         (__libc_realloc): Add memory_realloc_retry probe.
21868         (__libc_memalign): Add memory_memalign_retry probe.
21869         (__libc_valloc): Add memory_valloc_retry probe.
21870         (__libc_pvalloc): Add memory_pvalloc_retry probe.
21871         (__libc_calloc): Add memory_calloc_retry probe.
21872         * manual/probes.texi: Document them.
21873
21874         * malloc/arena.c (get_free_list): Add probe
21875         memory_arena_reuse_free_list.
21876         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
21877         and memory_arena_reuse.
21878         (arena_get2) [!PER_THREAD]: Likewise.
21879         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
21880         memory_arena_reuse_realloc.
21881         * manual/probes.texi: Document them.
21882
21883         * malloc/malloc.c (__libc_free): Add
21884         memory_mallopt_free_dyn_thresholds probe.
21885         (__libc_mallopt): Add multiple memory_mallopt probes.
21886         * manual/probes.texi: Document them.
21887
21888         * malloc/malloc.c: Include stap-probe.h.
21889         (__libc_mallopt): Add memory_mallopt probe.
21890         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
21891         * manual/probes.texi: New.
21892         * manual/Makefile (chapters): Add probes.
21893         * manual/threads.texi: Set next node.
21894
21895 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
21896
21897         [BZ #15963, #13985]
21898         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
21899         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
21900         Add `Chinese' to `nan' entry name.
21901
21902 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
21903
21904         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
21905         (POLYNOMIAL): Likewise.
21906         (TAYLOR_SINCOS): Likewise.
21907         (TAYLOR_SLOW): Likewise.
21908         (__sin): Use TAYLOR_SINCOS.
21909         (__cos): Likewise.
21910         (slow): Use TAYLOR_SLOW.
21911         (sloww): Likewise.
21912         (bsloww): Likewise.
21913         (csloww): Likewise.
21914
21915 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
21916
21917         * stdlib/strtod_l.c: Fix buffer overrun.
21918
21919 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
21920
21921         * benchtests/Makefile (bench): Add sincos.
21922         * benchtests/bench-sincos.c: New file.
21923
21924         * math/libm-test.inc (cos_test_data): New test inputs.
21925         (sin_test_data): Likewise.
21926
21927         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
21928         macro.
21929         (__sin): Use it.
21930         (__cos): Likewise.
21931         (slow1): Likewise.
21932         (slow2): Likewise.
21933         (sloww1): Likewise.
21934         (sloww2): Likewise.
21935         (bsloww1): Likewise.
21936         (bsloww2): Likewise.
21937         (cslow2): Likewise.
21938         (csloww1): Likewise.
21939         (csloww2): Likewise.
21940
21941         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
21942         function.
21943         (__sin): Use it.
21944         (__cos): Likewise.
21945
21946         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
21947         gotos.
21948         (__cos): Likewise.
21949
21950 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
21951
21952         * config.h.in (HAVE_MIPS_NAN2008): New macro.
21953         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
21954         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
21955         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
21956         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
21957         * elf/cache.c (print_entry): Handle the new cache flags.
21958
21959 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
21960             Aldy Hernandez  <aldyh@redhat.com>
21961
21962         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
21963         Change condition to [_SOFT_FLOAT].
21964         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
21965         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
21966         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
21967         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
21968         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
21969         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
21970         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
21971         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
21972         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
21973         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
21974         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
21975         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
21976         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
21977         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
21978         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
21979         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
21980         declaration.
21981
21982 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
21983
21984         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
21985         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
21986         (__longjmp): Use LOAD_GP to load saved GPRs.
21987         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
21988         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
21989         (__sigsetjmp): Use SAVE_GP to save GPRs.
21990
21991         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
21992         Do not append -msoft-float.
21993         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
21994
21995 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
21996
21997         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
21998
21999 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
22000
22001         [BZ #15966]
22002         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
22003         (_FPU_GETCW): Use initial "__" on variable and field names but not
22004         on macro parameter name.
22005         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
22006         parentheses around reference to macro parameter.
22007
22008 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
22009
22010         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
22011         prototype.
22012         (ctype_startup): Use uint32_t in cast and sizeof for
22013         ctype->charnames.
22014
22015 2013-09-11  Jia Liu  <proljc@gmail.com>
22016
22017         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
22018         __daddr_t_defined.
22019         [__FreeBSD__]: Likewise.
22020
22021 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
22022
22023         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
22024         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
22025         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
22026         (strchr): Remove __strchr_sse42 ifunc selection.
22027         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
22028         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
22029
22030 2013-09-11  Will Newton  <will.newton@linaro.org>
22031
22032         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
22033         parameter to RES. Remove hardcoded 1000 value.
22034         * benchtests/bench-skeleton.c (main): Pass RES parameter
22035         to TIMING_INIT and multiply result by 1000.
22036
22037 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22038
22039         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22040
22041 2013-09-11  Andreas Schwab  <schwab@suse.de>
22042
22043         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
22044         if not defined.
22045         (O_TMPFILE) [__USE_GNU]: Define.
22046         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
22047         Define.
22048
22049 2013-09-11  Will Newton  <will.newton@linaro.org>
22050
22051         [BZ #15857]
22052         * malloc/malloc.c (__libc_memalign): Check the value of bytes
22053         does not overflow.
22054
22055 2013-09-11  Will Newton  <will.newton@linaro.org>
22056
22057         [BZ #15856]
22058         * malloc/malloc.c (__libc_valloc): Check the value of bytes
22059         does not overflow.
22060
22061 2013-09-11  Will Newton  <will.newton@linaro.org>
22062
22063         [BZ #15855]
22064         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
22065         does not overflow.
22066
22067 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
22068
22069         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
22070         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
22071         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
22072         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
22073         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
22074
22075 2013-09-10  Allan McRae  <allan@archlinux.org>
22076
22077         [BZ #15748]
22078         * manual/arith.texi (Parsing of Floats): Clarify
22079         cross-reference.
22080
22081         [BZ #15849]
22082         * manual/install.texi (Running make install): Mention
22083         --enable-pt-chown.
22084         * INSTALL: Regenerated.
22085
22086 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
22087
22088         * csu/init-first.c (_init): Remove the !SHARED condition around
22089         FPU control word initialization.
22090         * elf/dl-support.c (_dl_fpu_control): New variable.
22091         (_dl_aux_init) <AT_FPUCW>: Initialize it.
22092         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
22093         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
22094         * math/test-fpucw-static.c: New file.
22095         * math/test-fpucw-ieee.c: New file.
22096         * math/test-fpucw-ieee-static.c: New file.
22097         * math/Makefile (tests): Add `test-fpucw-ieee' and
22098         `$(tests-static)'.
22099         (tests-static): New variable.
22100         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
22101         dependency to...
22102         [($(build-shared),yes)]
22103         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
22104         ... this.
22105         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
22106         New dependency.
22107
22108 2013-09-09  Allan McRae  <allan@archlinux.org>
22109
22110         [BZ #15939]
22111         * manual/string.texi (Collation Functions): Fix typo in
22112         strcoll example.
22113         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
22114
22115         [BZ #15893]
22116         * stdlib/isomac.c (get_null_defines): Fix memory leak.
22117
22118         [BZ #15892]
22119         * libio/memstream.c (open_memstream): Fix memory leak.
22120         * libio/wmemstream.c (open_wmemstream): Likewise.
22121
22122         [BZ #15895]
22123         * nscd/netgroupcache.c: Fix nesting of ifdefs.
22124
22125 2013-09-09  Will Newton  <will.newton@linaro.org>
22126
22127         * malloc/Makefile: Add tst-realloc to tests.
22128         * malloc/tst-realloc.c: New file.
22129
22130 2013-09-09  Allan McRae  <allan@archlinux.org>
22131
22132         [BZ #15844]
22133         * COPYING: Update from GNU website to fix FSF address.
22134         * COPYING.LIB: Likewise.
22135
22136 2013-09-06  David S. Miller  <davem@davemloft.net>
22137
22138         * po/zh_TW.po: Update Chinese (traditional) translation from
22139         translation project.
22140
22141 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
22142             Joseph Myers  <joseph@codesourcery.com>
22143
22144         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
22145         "localeinfo.h".
22146         (obstack_chunk_alloc): New macro.
22147         (obstack_chunk_free): Likewise.
22148         (record_offset): New function.
22149         (init_locale_data): Likewise.
22150         (align_locale_data): Likewise.
22151         (add_locale_empty): Likewise.
22152         (add_locale_raw_data): Likewise.
22153         (add_locale_raw_obstack): Likewise.
22154         (add_locale_string): Likewise.
22155         (add_locale_wstring): Likewise.
22156         (add_locale_uint32): Likewise.
22157         (add_locale_uint32_array): Likewise.
22158         (add_locale_char): Likewise.
22159         (start_locale_structure): Likewise.
22160         (end_locale_structure): Likewise.
22161         (start_locale_prelude): Likewise.
22162         (end_locale_prelude): Likewise.
22163         (write_locale_data): Take locale_file structure rather than an
22164         iovec.
22165         * locale/programs/locfile.h: Include "obstack.h".
22166         (struct locale_file): Change to store locale file contents instead
22167         of header.
22168         (init_locale_data): New prototype.
22169         (align_locale_data): Likewise.
22170         (add_locale_empty): Likewise.
22171         (add_locale_raw_data): Likewise.
22172         (add_locale_raw_obstack): Likewise.
22173         (add_locale_string): Likewise.
22174         (add_locale_wstring): Likewise.
22175         (add_locale_uint32): Likewise.
22176         (add_locale_uint32_array): Likewise.
22177         (add_locale_char): Likewise.
22178         (start_locale_structure): Likewise.
22179         (end_locale_structure): Likewise.
22180         (start_locale_prelude): Likewise.
22181         (end_locale_prelude): Likewise.
22182         (write_locale_data): Update prototype.
22183         * locale/programs/3level.h (struct TABLE): Remove result field.
22184         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
22185         Use new locale_file interface.
22186         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
22187         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
22188         * locale/programs/ld-address.c (address_output): Use new
22189         locale_file interface.
22190         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
22191         NO_ADD_LOCALE.
22192         (collate_finish): Don't call collseq_table_finalize.
22193         (collate_output): Use new locale_file interface.
22194         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
22195         in file.
22196         (NO_FINALIZE): Change to NO_ADD_LOCALE.
22197         (TABLE): Move defines earlier in file.
22198         (ELEMENT): Likewise.
22199         (DEFAULT): Likewise.
22200         (wctrans_table_add): Move macro and inline function earlier in
22201         file.
22202         (struct wctype_table): Move type earlier in file.
22203         (add_locale_wctype_table): New static prototype.
22204         (struct locale_ctype_t): Use logical types instead of struct iovec
22205         pointers for members.
22206         (ctype_output): Use new locale_file interface.
22207         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
22208         new locale_file interface.
22209         (allocate_arrays): Update for use of new locale_file interface.
22210         * locale/programs/ld-identification.c (identification_output): Use
22211         new locale_file interface.
22212         * locale/programs/ld-measurement.c (measurement_output): Likewise.
22213         * locale/programs/ld-messages.c (messages_output): Likewise.
22214         * locale/programs/ld-monetary.c (monetary_output): Likewise.
22215         * locale/programs/ld-name.c (name_output): Likewise.
22216         * locale/programs/ld-numeric.c (numeric_output): Likewise.
22217         * locale/programs/ld-paper.c (paper_output): Likewise.
22218         * locale/programs/ld-telephone.c (telephone_output): Likewise.
22219         * locale/programs/ld-time.c (time_output): Likewise.
22220
22221 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22222
22223         * benchtests/Makefile: Add memrchr benchmark.
22224         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
22225         benchmark as memrchr.
22226         * benchtests/bench-memrchr-ifunc.c: New file.
22227         * benchtests/bench-memrchr.c: New file.
22228
22229 2013-09-06   Will Newton  <will.newton@linaro.org>
22230
22231         * benchtests/Makefile (string-bench): Add memcpy.
22232
22233 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
22234             Cong Wang  <amwang@redhat.com>
22235
22236         [BZ #15850]
22237         * sysdeps/unix/sysv/linux/bits/in.h
22238         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
22239         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
22240         before __USE_KERNEL_IPV6_DEFS uses.
22241         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
22242         IPPROTO_BEETPH.
22243         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
22244         sockaddr_in6, or ipv6_mreq.
22245
22246 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22247
22248         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
22249         memory access for final bytes in some large inputs.
22250         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
22251
22252 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22253
22254         * string/test-memrchr.c: New file.
22255         * string/test-memrchr-ifunc.c: New file.
22256         * string/Makefile: Add new memrchr testcase.
22257
22258 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
22259
22260         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
22261         fanotify_init returns EPERM.
22262
22263 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
22264
22265         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
22266         errors.
22267         (top level): Treat second token from macro or constant entries for
22268         allowed headers as allowed.
22269         * include/complex.h: Condition internal declarations on
22270         [!_ISOMAC].
22271         * include/fenv.h: Condition include of <stdbool.h> and internal
22272         declarations on [!_ISOMAC].
22273
22274 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
22275
22276         [BZ #15923]
22277         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
22278
22279 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
22280
22281         * configure.in (--enable-versioning): Remove configure option.
22282         (libc_cv_asm_symver_directive): Remove configure test.
22283         (libc_cv_ld_version_script_option): Likewise.
22284         (VERSIONING): Remove variable and AC_SUBST.
22285         (DO_VERSIONING): Remove AC_DEFINE.
22286         * configure: Regenerated.
22287         * config.h.in (DO_VERSIONING): Remove macro.
22288         * Makerules [$(versioning) = yes]: Change conditionals to
22289         [$(build-shared) = yes].
22290         * config.make.in (versioning): Remove variable.
22291         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
22292         [$(build-shared) = yes].
22293         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
22294         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
22295         * elf/Makefile [$(versioning) = yes]: Change conditionals to
22296         [$(build-shared) = yes].
22297         * extra-lib.mk [$(versioning) = yes]: Likewise.
22298         * hurd/Makefile [$(versioning) = yes]: Likewise.
22299         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
22300         [SHARED].
22301         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
22302         [SHARED].
22303         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
22304         [SHARED && !NO_HIDDEN].
22305         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
22306         [SHARED].
22307         [SHARED && DO_VERSIONING]: Likewise..
22308         * libio/Makefile [$(versioning) = yes]: Change conditionals to
22309         [$(build-shared) = yes].
22310         * manual/install.texi (--disable-versioning): Remove
22311         documentation.
22312         * INSTALL: Regenerated.
22313         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
22314         to [SHARED].
22315         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
22316         [$(build-shared) = yes].
22317         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
22318         * sysdeps/i386/i686/multiarch/strstr-c.c
22319         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
22320         [SHARED && !NO_HIDDEN].
22321         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
22322         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
22323         * sysdeps/powerpc/powerpc32/dl-machine.c
22324         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
22325         * sysdeps/powerpc/powerpc32/sysdep.h
22326         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
22327         to [SHARED && PIC && !NO_HIDDEN].
22328         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
22329         conditional to [SHARED].
22330
22331 2013-09-04   Will Newton  <will.newton@linaro.org>
22332
22333         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
22334         * benchtests/bench-string.h: Include bench-timing.h instead
22335         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
22336         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
22337         call to HP_TIMING_DIFF_INIT.
22338         * benchtests/bench-memccpy.c: Use bench-timing.h macros
22339         instead of hp-timing.h macros.
22340         * benchtests/bench-memchr.c: Likewise.
22341         * benchtests/bench-memcmp.c: Likewise.
22342         * benchtests/bench-memcpy.c: Likewise.
22343         * benchtests/bench-memmem.c: Likewise.
22344         * benchtests/bench-memmove.c: Likewise.
22345         * benchtests/bench-memset.c: Likewise.
22346         * benchtests/bench-rawmemchr.c: Likewise.
22347         * benchtests/bench-strcasecmp.c: Likewise.
22348         * benchtests/bench-strcasestr.c: Likewise.
22349         * benchtests/bench-strcat.c: Likewise.
22350         * benchtests/bench-strchr.c: Likewise.
22351         * benchtests/bench-strcmp.c: Likewise.
22352         * benchtests/bench-strcpy.c: Likewise.
22353         * benchtests/bench-strcpy_chk.c: Likewise.
22354         * benchtests/bench-strlen.c: Likewise.
22355         * benchtests/bench-strncasecmp.c: Likewise.
22356         * benchtests/bench-strncat.c: Likewise.
22357         * benchtests/bench-strncmp.c: Likewise.
22358         * benchtests/bench-strncpy.c: Likewise.
22359         * benchtests/bench-strnlen.c: Likewise.
22360         * benchtests/bench-strpbrk.c: Likewise.
22361         * benchtests/bench-strrchr.c: Likewise.
22362         * benchtests/bench-strspn.c: Likewise.
22363         * benchtests/bench-strstr.c: Likewise.
22364
22365 2013-09-04  Will Newton  <will.newton@linaro.org>
22366
22367         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
22368
22369 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
22370
22371         [BZ #15427]
22372         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
22373         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
22374         * math/libm-test.inc (lgamma_test_data): Add more tests.
22375         * sysdeps/i386/fpu/libm-test-ulps: Update.
22376         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22377
22378 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
22379
22380         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
22381         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
22382         Add ifunc.
22383         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
22384         Add strcmp-sse2-unaligned
22385         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
22386
22387 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
22388
22389         * Versions.def (libc): Add GLIBC_2.19.
22390
22391 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
22392
22393         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
22394         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
22395
22396 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
22397
22398         [BZ #14155]
22399         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
22400         intermediate calculations in recurrence.
22401         (__ieee754_ynf): Likewise.
22402         * math/libm-test.inc (jn_test_data): Do not allow spurious
22403         underflow exception.  Add more tests.
22404         (yn_test_data): Add more tests.
22405         * sysdeps/i386/fpu/libm-test-ulps: Update.
22406         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22407
22408 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
22409
22410         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
22411
22412 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
22413
22414         * csu/init-first.c: Fix then/than typos.
22415         * locale/programs/ld-collate.c: Likewise.
22416         * locale/programs/linereader.h: Likewise.
22417         * manual/charset.texi: Likewise.
22418         * manual/filesys.texi: Likewise.
22419         * manual/stdio.texi: Likewise.
22420         * manual/string.texi: Likewise.
22421         * stdlib/fmtmsg.c: Likewise.
22422         * sysdeps/i386/stpncpy.S: Likewise.
22423         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
22424         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
22425         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
22426         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
22427
22428 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
22429
22430         * elf/dl-open.c: Fix typos.
22431         * iconvdata/gbbig5.c: Likewise.
22432         * iconvdata/iso-2022-jp.c: Likewise.
22433         * iconv/gconv_int.h: Likewise.
22434         * iconv/loop.c: Likewise.
22435         * nis/rpcsvc/nis.h: Likewise.
22436         * resolv/ns_name.c: Likewise.
22437         * stdio-common/vfscanf.c: Likewise.
22438         * streams/stropts.h: Likewise.
22439         * sunrpc/rpc_thread.c: Likewise.
22440         * sysdeps/i386/strpbrk.S: Likewise.
22441         * sysdeps/ieee754/k_standard.c: Likewise.
22442         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
22443         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
22444         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
22445         * sysdeps/mach/hurd/profil.c: Likewise.
22446         * sysdeps/s390/dl-procinfo.h: Likewise.
22447         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
22448         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
22449         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
22450         * sysdeps/x86_64/dl-trampoline.S: Likewise.
22451         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
22452
22453 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
22454
22455         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
22456         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
22457
22458 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
22459
22460         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
22461         aix specific files.
22462         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
22463         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
22464         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
22465         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
22466         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
22467         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
22468         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
22469         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
22470
22471 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
22472             Roland McGrath  <roland@hack.frob.com>
22473
22474         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
22475         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
22476
22477 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22478
22479         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
22480         __executable_start symbol instead of _start.
22481
22482 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
22483
22484         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
22485         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
22486         Move macros to...
22487         * sysdeps/gnu/ldsodefs.h: ... this new file.
22488
22489         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
22490         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
22491         instead of ELFOSABI_LINUX.
22492
22493         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
22494         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
22495         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
22496         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
22497         Likewise.
22498         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
22499         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
22500         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
22501         Likewise.
22502         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
22503         (ibm_extended_long_double): Add ieee_nan member.
22504         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
22505         (do_test): New function.
22506
22507         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
22508         TEST_TRUNC.
22509         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
22510         functions, renamed from truncdfsf_test, trunctfsf_test,
22511         trunctfdf_test.
22512         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
22513         functions.
22514         (do_test): Run all these.
22515
22516 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
22517
22518         * argp/argp-help.c: Fix typos.
22519         * argp/argp-parse.c: Likewise.
22520         * debug/backtracesyms.c: Likewise.
22521         * elf/elf.h: Likewise.
22522         * malloc/malloc.c: Likewise.
22523         * nis/nis_print.c: Likewise.
22524         * resolv/res_comp.c: Likewise.
22525         * stdlib/stdlib.h: Likewise.
22526         * sunrpc/clnt_tcp.c: Likewise.
22527         * sunrpc/clnt_udp.c: Likewise.
22528         * sunrpc/clnt_unix.c: Likewise.
22529         * sysdeps/unix/bsd/ptsname.c: Likewise.
22530         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
22531         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
22532         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
22533         Likewise.
22534         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
22535         Likewise.
22536         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
22537         Likewise.
22538         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
22539
22540 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
22541
22542         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
22543         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
22544
22545 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
22546
22547         [BZ #15897]
22548         * dlfcn/Makefile (tests): Add bug-dl-leaf.
22549         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
22550         ($(objpfx)bug-dl-leaf): New rule.
22551         ($(objpfx)bug-dl-leaf.so): Likewise.
22552         ($(objpfx)bug-dl-leaf.out): Likewise.
22553         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
22554         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
22555         * dlfcn/bug-dl-leaf.c: New test.
22556         * dlfcn/bug-dl-leaf-lib.c: Likewise.
22557         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
22558         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
22559         (dlclose): Likewise.
22560         (dlmopen): Likewise.
22561
22562 2013-08-27  Roland McGrath  <roland@hack.frob.com>
22563
22564         * include/netdb.h [!_ISOMAC]:
22565         Don't include <tls.h>.
22566         (h_errno, __libc_h_errno): Move declaration and macros out of
22567         [_LIBC_REENTRANT].
22568
22569         * include/resolv.h [_RESOLV_H_]:
22570         Don't include <tls.h>.
22571         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
22572         * resolv/res_libc.c: Don't include <tls.h>.
22573         (_res): Use __attribute__ ((nocommon)) in place of
22574         __attribute__ ((section (".bss"))).
22575
22576         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
22577         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
22578
22579         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
22580
22581         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
22582         only under [SIOCGIFCONF && SIOCGIFNETMASK].
22583
22584         * resolv/res_mkquery.c: Include <sys/time.h>.
22585
22586         * inet/ifreq.c: Moved to ...
22587         * sysdeps/unix/ifreq.c: ... here.
22588         * inet/ifreq.c: New file, true stub version.
22589
22590         * socket/sa_len.c: New file.
22591         * socket/Makefile (aux): Add it.
22592         * sysdeps/unix/sysv/linux/Makefile
22593         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
22594         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
22595         and #include <socket/sa_len.c>.
22596         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
22597         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
22598
22599         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
22600         * bits/socket.h: ... here.
22601
22602         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
22603         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
22604         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
22605
22606 2013-08-27  Andreas Schwab  <schwab@suse.de>
22607
22608         [BZ #15736]
22609         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
22610         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
22611         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
22612         * string/test-strcasecmp.c (test_main): Run tests in several
22613         locales.
22614         * string/test-strncasecmp.c (test_main): Likewise.
22615
22616         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
22617         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
22618         to __strcasecmp_nonascii and __strncasecmp_nonascii.
22619         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
22620         (__strncasecmp_ssse3) [PIC]: Likewise.
22621
22622 2013-08-26  Roland McGrath  <roland@hack.frob.com>
22623
22624         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
22625
22626         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
22627         instead of explicitly declaring xdecrypt.
22628         * nis/nss_nis/nis-publickey.c: Likewise.
22629
22630 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
22631
22632         [BZ #15890]
22633         * nscd/aicache.c: Include res_hconf.h.
22634         (addhstaiX): Initialize res_hconf.
22635
22636 2013-08-26  Andreas Schwab  <schwab@suse.de>
22637
22638         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
22639         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
22640
22641 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
22642
22643         * nscd/aicache.c (addhstaiX): Fix indentation.
22644
22645 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
22646
22647         * configure.ac: Quote $build_pt_chown test.
22648         * configure: Regenerated.
22649
22650 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
22651
22652         [BZ #15532]
22653         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
22654         * math/s_cexpf.c (__cexpf): Likewise.
22655         * math/s_cexpl.c (__cexpl): Likewise.
22656         * math/libm-test.inc (cexp_test_data): Correct expected return
22657         value for NaN + i0.  Add another test.
22658
22659 2013-08-22  David S. Miller  <davem@davemloft.net>
22660
22661         * po/ca.po: Update Catalan translation from translation project.
22662         * po/uk.po: Add Ukrainian translations from translation project.
22663
22664 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
22665
22666         [BZ #15797]
22667         * math/s_fdim.c (__fdim): Check for infinite arguments if result
22668         is infinite, not alongside NaN test.
22669         * math/s_fdimf.c (__fdimf): Likewise.
22670         * math/s_fdiml.c (__fdiml): Likewise.
22671         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
22672         errno is unchanged.
22673
22674 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
22675
22676         * argp/argp-help.c: Fix typos.
22677         * crypt/speeds.c: Likewise.
22678         * csu/check_fds.c: Likewise.
22679         * elf/dl-load.c: Likewise.
22680         * elf/dl-open.c: Likewise.
22681         * elf/reldep3.c: Likewise.
22682         * elf/reldep.c: Likewise.
22683         * elf/sprof.c: Likewise.
22684         * iconv/iconv_charmap.c: Likewise.
22685         * iconv/skeleton.c: Likewise.
22686         * iconv/strtab.c: Likewise.
22687         * io/lockf64.c: Likewise.
22688         * libio/libioP.h: Likewise.
22689         * resolv/gai_notify.c: Likewise.
22690         * resolv/ns_name.c: Likewise.
22691         * resolv/ns_samedomain.c: Likewise.
22692         * resolv/res_send.c: Likewise.
22693         * stdlib/random.c: Likewise.
22694         * sunrpc/rpc/xdr.h: Likewise.
22695         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
22696         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
22697         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
22698         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
22699         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
22700         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
22701         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
22702         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
22703         * sysdeps/mach/hurd/check_fds.c: Likewise.
22704         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
22705         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
22706         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
22707         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
22708         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
22709         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
22710         * sysdeps/pthread/aio_notify.c: Likewise.
22711         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
22712         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
22713         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
22714         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
22715         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
22716
22717 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
22718
22719         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
22720         version if bit_Slow_SSE4_2 is set.
22721         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
22722         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
22723
22724 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22725
22726         [BZ #15867]
22727         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
22728         trampoline stack frame information.
22729         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
22730         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
22731         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
22732         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
22733         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
22734         * sysdeps/unix/sysv/linux/powerpc/init-first.c
22735         (_libc_vdso_platform_setup): Initialize the signal trampolines.
22736         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
22737         sa_flags value.
22738         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
22739         interrupting a syscall and set with option SA_SIGINFO.
22740
22741 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
22742
22743         [BZ #15531]
22744         * math/s_cproj.c (__cproj): Only return an infinity if one part of
22745         argument is infinite.
22746         * math/s_cprojf.c (__cprojf): Likewise.
22747         * math/s_cprojl.c (__cprojl): Likewise.
22748         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
22749         * math/libm-test.inc (cproj_test_data): Add more tests.
22750
22751         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
22752
22753         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
22754         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
22755         size.  Use __ffs to determine corresponding shift.
22756
22757 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
22758             Roland McGrath  <roland@hack.frob.com>
22759
22760         * Makefile (INSTALL): Remove trailing blank lines from output of
22761         makeinfo.
22762
22763 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22764
22765         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
22766         Align 32 bit compat elf_greg to 8 bytes.
22767
22768 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
22769
22770         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
22771
22772 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
22773
22774         * string/strcoll_l.c (coll_seq): New structure.
22775         (get_next_seq_cached): New function.
22776         (get_next_seq): New function.
22777         (do_compare): New function.
22778         (STRCOLL): Use GNU style definition.  Simplify implementation
22779         by using get_next_seq, get_next_seq_cached and do_compare.
22780
22781 2013-08-16  Florian Weimer  <fweimer@redhat.com>
22782
22783         [BZ #14699]
22784         CVE-2013-4237
22785         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
22786         member.
22787         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
22788         member.
22789         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
22790         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
22791         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
22792         conditional.
22793         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
22794         GETDENTS_64BIT_ALIGNED.
22795         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
22796         * manual/filesys.texi (Reading/Closing Directory): Document
22797         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
22798         strongly.
22799         * manual/conf.texi (Limits for Files): Add portability note to
22800         NAME_MAX, PATH_MAX.
22801         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
22802
22803 2013-08-13  Andreas Schwab  <schwab@suse.de>
22804
22805         [BZ #15749]
22806         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
22807         of fabs.
22808         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
22809         LDBL_MAX_EXP >= 16384]: Add tests for it.
22810
22811 2013-08-12  David S. Miller  <davem@davemloft.net>
22812
22813         * version.h (RELEASE): Set to "development".
22814         (VERSION): Set to "2.18.90".
22815         * NEWS: Add 2.19 section.
22816
22817 2013-08-03  David S. Miller  <davem@davemloft.net>
22818
22819         * po/ko.po: Update Korean translation from translation project.
22820
22821 2013-08-01  David S. Miller  <davem@davemloft.net>
22822
22823         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
22824         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
22825         Bilka.
22826
22827 2013-07-30  David S. Miller  <davem@davemloft.net>
22828
22829         * po/fr.po: Update French translation from translation project.
22830
22831 2013-07-28  David S. Miller  <davem@davemloft.net>
22832
22833         * po/cs.po: Update Czech translation from translation project.
22834
22835         * po/sv.po: Update Swedish translation from translation project.
22836
22837 2013-07-27  David S. Miller  <davem@davemloft.net>
22838
22839         * po/eo.po: Update Esperanto translation from translation project.
22840
22841         * po/vi.po: Update Vietnamese translation from translation project.
22842
22843         * po/de.po: Update German translation from translation project.
22844
22845 2013-07-26  David S. Miller  <davem@davemloft.net>
22846
22847         * po/bg.po: Update Bulgarian translation from translation project.
22848
22849         * po/nl.po: Update Dutch translation from translation project.
22850         * po/pl.po: Update Polish translation from translation project.
22851         * po/ru.po: Update Russian translation from translation project.
22852
22853 2013-07-24  David S. Miller  <davem@davemloft.net>
22854
22855         * po/libc.pot: Update.
22856
22857 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22858
22859         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
22860         variable page size.
22861         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
22862         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
22863         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
22864
22865 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22866
22867         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
22868
22869 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
22870             Andreas Schwab  <schwab@suse.de>
22871             Roland McGrath  <roland@hack.frob.com>
22872             Joseph Myers  <joseph@codesourcery.com>
22873             Carlos O'Donell  <carlos@redhat.com>
22874
22875         [BZ #15755]
22876         * config.h.in: Define HAVE_PT_CHOWN.
22877         * config.make.in (build-pt-chown): New variable.
22878         * configure.in (--enable-pt_chown): New configure option.
22879         * configure: Regenerate.
22880         * login/Makefile: Include Makeconfig.  Build pt_chown only if
22881         build-pt-chown is enabled.
22882         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
22883         pt_chown to fix pty ownership.
22884         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
22885         CLOSE_ALL_FDS.
22886         * manual/install.texi (Configuring and compiling): Mention
22887         --enable-pt_chown. Add @findex for grantpt.
22888         * INSTALL: Regenerate.
22889
22890 2013-07-20  David S. Miller  <davem@davemloft.net>
22891
22892         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
22893         difference between 32-bit and 64-bit.
22894
22895 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
22896
22897         [BZ #15711]
22898         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
22899         Avoid system header dependency with -ffreestanding.
22900         ($(objpfx)bits/syscall%d): Likewise.
22901
22902 2013-07-13  David S. Miller  <davem@davemloft.net>
22903
22904         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
22905         underflows from atanl/atan2l due to bug 15319.
22906         (casinh_test_data): Likewise.
22907
22908 2013-07-07  David S. Miller  <davem@davemloft.net>
22909
22910         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
22911
22912 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
22913
22914         * sysdeps/i386/fpu/libm-test-ulps: Update.
22915         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22916
22917 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
22918
22919         * configure.in (--enable-lock-elision): Fix message text.
22920         * INSTALL: Regenerate.
22921         * configure: Regenerate.
22922
22923 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22924
22925         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22926
22927 2013-07-03  Andreas Jaeger  <aj@suse.de>
22928
22929         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
22930         define.
22931         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
22932         (ptrace_peeksiginfo_args): Add.
22933         (__ptrace_peeksiginfo_flags): Add.
22934         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
22935         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
22936         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
22937
22938 2013-07-03  Allan McRae  <allan@archlinux.org>
22939
22940         * sysdeps/i386/fpu/libm-test-ulps: Update.
22941
22942 2013-07-02  David S. Miller  <davem@davemloft.net>
22943
22944         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22945
22946 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
22947
22948         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22949
22950 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
22951
22952         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
22953         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22954
22955 2013-07-02  Andi Kleen <ak@linux.intel.com>
22956
22957         * config.h.in (ENABLE_LOCK_ELISION): Add.
22958         * configure.in (--enable-lock-elision): Add option.
22959         * manual/install.texi: Document --enable lock elision.
22960         * configure: Regenerate
22961         * INSTALL: Regenerate.
22962
22963 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
22964
22965         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
22966         SSE4.2 strcasecmp for libc.a.
22967         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
22968
22969 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
22970
22971         [BZ #13304]
22972         * soft-fp/op-common.h (_FP_FMA): New macro.
22973         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
22974         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
22975         (_FP_MUL_MEAT_1_imm): ... here.
22976         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
22977         (_FP_MUL_MEAT_1_wide): ... here.
22978         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
22979         (_FP_MUL_MEAT_1_hard): ... here.
22980         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
22981         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
22982         (_FP_MUL_MEAT_2_wide): ... here.
22983         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
22984         (_FP_MUL_MEAT_2_wide_3mul): ... here.
22985         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
22986         (_FP_MUL_MEAT_2_gmp): ... here.
22987         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
22988         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
22989         (_FP_MUL_MEAT_4_wide): ... here.
22990         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
22991         (_FP_MUL_MEAT_4_gmp): ... here.
22992         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
22993         (_FP_WFRACBITS_DW_S): Likewise.
22994         (_FP_WFRACXBITS_DW_S): Likewise.
22995         (_FP_HIGHBIT_DW_S): Likewise.
22996         (FP_FMA_S): Likewise.
22997         (_FP_FRAC_HIGH_DW_S): Likewise.
22998         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
22999         (_FP_WFRACBITS_DW_D): Likewise.
23000         (_FP_WFRACXBITS_DW_D): Likewise.
23001         (_FP_HIGHBIT_DW_D): Likewise.
23002         (FP_FMA_D): Likewise.
23003         (_FP_FRAC_HIGH_DW_D): Likewise.
23004         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
23005         (_FP_WFRACBITS_DW_E): Likewise.
23006         (_FP_WFRACXBITS_DW_E): Likewise.
23007         (_FP_HIGHBIT_DW_E): Likewise.
23008         (FP_FMA_E): Likewise.
23009         (_FP_FRAC_HIGH_DW_E): Likewise.
23010         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
23011         (_FP_WFRACBITS_DW_Q): Likewise.
23012         (_FP_WFRACXBITS_DW_Q): Likewise.
23013         (_FP_HIGHBIT_DW_Q): Likewise.
23014         (FP_FMA_Q): Likewise.
23015         (_FP_FRAC_HIGH_DW_Q): Likewise.
23016         * soft-fp/fmasf4.c: New file.
23017         * soft-fp/fmadf4.c: Likewise.
23018         * soft-fp/fmatf4.c: Likewise.
23019
23020 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
23021
23022         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
23023         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
23024         Silvermont.
23025         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
23026         macro.
23027         (index_Slow_SSE4_2): Likewise.
23028         (index_Prefer_PMINUB_for_stringop): Likewise.
23029         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
23030         bit_Slow_SSE4_2 is set.
23031         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
23032         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
23033
23034 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
23035
23036         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
23037         rtld_global._dl_hwcap2.
23038         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
23039         POWER8.
23040         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
23041         POWER8 feature descriptions defined in _dl_hwcap2.
23042         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
23043         string handling for POWER8 feature bits.
23044         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
23045         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
23046         _dl_powerpc_cap_flags.
23047         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
23048         * sysdeps/powerpc/rtld-global-offsets.sym
23049         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
23050         _dl_hwcap2 in the rtld_global_ro structure.
23051
23052 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
23053
23054         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
23055         hardware capabilities in support of AT_HWCAP2.
23056         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
23057         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
23058         GLRO(dl_hwcap2).
23059         (_dl_show_auxv): Add support for calling _dl_procinfo to display
23060         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
23061         explicitly the unknown a_type display mechanism is used.
23062         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
23063         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
23064         struct member.
23065         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
23066         to macro prototype for AT_HWCAP2 support.
23067         * sysdeps/i386/dl-procinfo.h: Likewise.
23068         * sysdeps/s390/dl-procinfo.h: Likewise.
23069         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
23070         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
23071         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
23072         return -1 for unknown a_type display fallback.
23073         * sysdeps/sparc/dl-procinfo.h: Likewise.
23074         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
23075         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
23076
23077 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
23078
23079         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
23080         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
23081
23082 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
23083
23084         [BZ #12492]
23085         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
23086         mprotect making __stack_prot writable.
23087
23088 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
23089             Joseph Myers  <joseph@codesourcery.com>
23090
23091         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
23092         as being properly aligned.
23093
23094 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
23095
23096         * dlfcn/modstatic5.c: New file.
23097         * dlfcn/tststatic5.c: New file.
23098         * dlfcn/Makefile (tests): Add tststatic5.
23099         (tests-static): Likewise.
23100         (modules-names): Add modstatic5.
23101         (tststatic5-ENV): New variable.
23102         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
23103
23104         [BZ #15022]
23105         * elf/dl-support.c (_dl_main_map): New variable.
23106         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
23107         (_dl_nns, _dl_load_adds): Set to 1.
23108         (_dl_initial_searchlist): Refer to _dl_main_map.
23109         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
23110         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
23111         call to _dl_get_origin.
23112         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
23113         around call_map.
23114         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
23115         * dlfcn/modstatic3.c: New file.
23116         * dlfcn/tststatic3.c: New file.
23117         * dlfcn/tststatic4.c: New file.
23118         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
23119         (tests-static): Likewise.
23120         (modules-names): Add modstatic3.
23121         (tststatic3-ENV, tststatic4-ENV): New variables.
23122         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
23123         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
23124
23125 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
23126
23127         * configure.in (CC): Require GCC version 4.4 or later.
23128         * configure: Regenerated.
23129         * manual/install.texi (Tools for Compilation): Update GCC version
23130         requirement.
23131         * INSTALL: Regenerated.
23132
23133 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
23134
23135         [BZ #15674]
23136         * string/test-memcmp.c (check2): New.
23137         (main): Call check2.
23138
23139         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
23140
23141 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
23142
23143         [BZ #15022]
23144         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
23145         over to...
23146         (dl_open_worker) [!SHARED]: ... here.
23147
23148 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
23149
23150         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
23151
23152 2013-06-25  Richard Henderson  <rth@redhat.com>
23153
23154         * locale/programs/locarchive.c: Include <libc-internal.h>
23155
23156 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
23157
23158         * manual/texinfo.tex: Update to version 2013-06-21.17, with
23159         trailing whitespace removed.
23160
23161 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
23162
23163         [BZ #10283]
23164         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
23165         * locale/programs/locarchive.c: Include libc-mmap.h.
23166         (prepare_address_space): Take two new outputs (the mmap base and len).
23167         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
23168         values.
23169         (create_archive): Declare new mmap base and len values for
23170         prepare_address_space, and store the result in ah.
23171         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
23172         (enlarge_archive): If ah->mmap_base is not NULL, use that and
23173         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
23174         Declare new mmap base and len values for
23175         prepare_address_space, and store the result in new_ah.
23176         (open_archive): Declare new mmap base and len values for
23177         prepare_address_space, and store the result in ah.
23178         (close_archive): If ah->mmap_base is not NULL, use that and
23179         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
23180         * sysdeps/generic/libc-mmap.h: New file.
23181
23182 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
23183
23184         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
23185         (ALIGN_UP): Likewise.
23186         (PTR_ALIGN_DOWN): Likewise.
23187         (PTR_ALIGN_UP): Likewise.
23188
23189 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
23190
23191         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
23192         entry mapped to PPC_PLATFORM_POWER8.
23193         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
23194         POWER8.
23195         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
23196         (_dl_string_platform): Add case for exporting platform position for
23197         POWER8.
23198         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
23199         search path to sysdeps/powerpc/powerpc32/power8 directory.
23200         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
23201         search path to sysdeps/powerpc/powerpc64/power8 directory.
23202         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
23203         power7 directories.
23204         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
23205         power7 directories.
23206
23207 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
23208
23209         * INSTALL: Regenerate.
23210
23211         * nscd/connections.c (nscd_init): Fix comment.
23212
23213 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
23214
23215         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
23216
23217         [BZ #15667]
23218         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
23219         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
23220
23221 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
23222
23223         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
23224         DL_DST_REQ_STATIC.
23225         (DL_DST_REQ_STATIC): Remove macro.
23226
23227 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
23228
23229         [BZ #7006]
23230         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
23231         with a shift of 0 bits.
23232
23233 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
23234
23235         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
23236         $(tststatic-ENV).
23237
23238 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
23239
23240         [BZ #15655]
23241         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
23242
23243 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23244
23245         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
23246         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
23247         accepts -fno-tree-loop-distribute-patterns.
23248         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
23249         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
23250         recursive call.
23251         * string/memset.c (memset): Likewise.
23252         * string/test-memmove.c (simple_memmove): Disable loop transformation
23253         to library calls.
23254         * string/test-memset.c (simple_memset): Likewise.
23255         * benchtests/bench-memmove.c (simple_memmove): Likewise.
23256         * benchtests/bench-memset.c (simple_memset): Likewise.
23257         * configure: Regenerated.
23258
23259 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
23260
23261         * math/test-misc.c (main): Ignore fesetround failure when failures
23262         of subsequent rounding tests would be ignored.
23263
23264         [BZ #15654]
23265         * math/fedisblxcpt.c (fedisableexcept): Return 0.
23266         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
23267         * math/fegetenv.c (__fegetenv): Return 0.
23268         * math/fegetexcept.c (fegetexcept): Return 0.
23269         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
23270         FE_TONEAREST.
23271         * math/feholdexcpt.c (feholdexcept): Return 0.
23272         * math/fesetenv.c (__fesetenv): Return 0.
23273         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
23274         argument FE_TONEAREST.
23275         * math/feupdateenv.c (__feupdateenv): Return 0.
23276         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
23277
23278 2013-06-18  Roland McGrath  <roland@hack.frob.com>
23279
23280         * elf/rtld-Rules (rtld-compile-command.S): New variable.
23281         (rtld-compile-command.s, rtld-compile-command.c): New variables.
23282         ($(objpfx)rtld-%.os rules): Use them.
23283
23284 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23285
23286         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
23287         fields.
23288
23289 2013-06-17  Roland McGrath  <roland@hack.frob.com>
23290
23291         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
23292         length of target pattern, then descending length of dependency pattern.
23293         * configure.in (AWK): Require gawk 3.1.2 or newer.
23294         * manual/install.texi (Tools for Compilation): Say that we do.
23295         * configure: Regenerated.
23296
23297         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
23298         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
23299         * scripts/sysd-rules.awk: ... this new script.
23300         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
23301         than a glob-style pattern.
23302
23303 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
23304
23305         * math/test-misc.c (main): Do not treat incorrectly rounded
23306         conversions as failure unless ROUNDING_TESTS passes.
23307
23308 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
23309
23310         [BZ #15631]
23311         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
23312         restore exception state around main square root computation, then
23313         check for inexactness explicitly.
23314
23315         * math/libm-test.inc (fma_test_data): Add another test.
23316
23317 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
23318
23319         * manual/threads.texi (Non-POSIX Extensions): New document
23320         node.  Document pthread_getattr_default_np and
23321         pthread_setattr_default_np.
23322
23323         * Versions.def (libpthread): Add GLIBC_2.18.
23324         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
23325         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
23326         Likewise.
23327         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
23328         Likewise.
23329         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
23330         Likewise.
23331         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
23332         Likewise.
23333         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
23334         Likewise.
23335         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
23336         Likewise.
23337         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
23338         Likewise.
23339         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
23340         Likewise.
23341         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
23342         Likewise.
23343
23344 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
23345
23346         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23347         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
23348
23349 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
23350             H.J. Lu  <hjl.tools@gmail.com>
23351
23352         [BZ #15627]
23353         * sysdeps/x86_64/rtld-memset.c: Remove file.
23354         * sysdeps/x86_64/rtld-memset.S: New file.
23355
23356 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
23357
23358         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
23359         (test_in_one_mode): Take arguments for whether the rounding mode
23360         is supported for each floating-point type.
23361         (do_test): Pass new arguments to test_in_one_mode using
23362         ROUNDING_TESTS.
23363
23364 2013-06-13  Roland McGrath  <roland@hack.frob.com>
23365
23366         * posix/tst-waitid.c (do_test): Distinguish different instances of
23367         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
23368         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
23369         before entering the kernel for waitpid.
23370
23371 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
23372
23373         * NEWS: Fix note on clock function precision.  Text by Roland
23374         McGrath.
23375
23376 2013-06-13  Roland McGrath  <roland@hack.frob.com>
23377
23378         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
23379         it into place only when and if the sanity check passes.
23380
23381 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
23382
23383         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
23384         output for whether conversion result is exact.  Take argument
23385         indicating whether type is IBM long double.
23386         (round_for_all): Change need_exact field to ibm_ld.
23387         * stdlib/tst-strtod-round.c (struct exactness): New type.
23388         (struct test): Change bool ld_ok field to struct exactness exact.
23389         (TEST): Update all definitions for change to field.
23390         (tests): Regenerate array contents.
23391         (test_in_one_mode): Take pointer to new field instead of old ld_ok
23392         field value.  Check for IBM long double here.
23393         (do_test): Update calls to test_in_one_mode.
23394
23395 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
23396
23397         [BZ #12515]
23398         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
23399         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
23400
23401 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23402
23403         [BZ #15605]
23404         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
23405         generated by the compiler on loop optimizations.
23406         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
23407         general definitions.
23408
23409 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
23410
23411         * math/bug-nextafter.c: Include <math-tests.h>.
23412         (main): Only test for exceptions if EXCEPTION_TESTS is true for
23413         the relevant type.
23414         * math/bug-nexttoward.c: Include <math-tests.h>.
23415         (main): Only test for exceptions if EXCEPTION_TESTS is true for
23416         the relevant type.
23417         * math/test-misc.c: Include <math-tests.h>.
23418         (main): Only test for exceptions if EXCEPTION_TESTS is true for
23419         the relevant type.
23420
23421 2013-06-12  Andreas Jaeger  <aj@suse.de>
23422
23423         * po/ia.po: Update Interlingua translation from translation
23424         project.
23425
23426 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
23427
23428         * include/fenv.h: Include stdbool.h.
23429         (struct rm_ctx): New structure.
23430         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
23431         Define macro.
23432         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
23433         (SET_RESTORE_ROUNDF): Likewise.
23434         (SET_RESTORE_ROUNDL): Likewise.
23435         (SET_RESTORE_ROUND_NOEX): Likewise.
23436         (SET_RESTORE_ROUND_NOEXF): Likewise.
23437         (SET_RESTORE_ROUND_NOEXL): Likewise.
23438         (SET_RESTORE_ROUND_53BIT): Likewise.
23439         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
23440         (libc_feresetround_noexf_ctx): Likewise.
23441         (libc_feresetround_noexl_ctx): Likewise.
23442         (libc_feholdsetround_53bit_ctx): Likewise.
23443         (libc_feresetround_53bit_ctx): Likewise.
23444         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
23445         (libc_feholdexcept_setround_sse_ctx): New function.
23446         (libc_fesetenv_sse_ctx): Likewise.
23447         (libc_feupdateenv_sse_ctx): Likewise.
23448         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
23449         (libc_feholdexcept_setround_387_ctx): Likewise.
23450         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
23451         (libc_feholdsetround_387_prec_ctx): Likewise.
23452         (libc_feholdsetround_387_ctx): Likewise.
23453         (libc_feholdsetround_387_53bit_ctx): Likewise.
23454         (libc_feholdsetround_sse_ctx): Likewise.
23455         (libc_feresetround_sse_ctx): Likewise.
23456         (libc_feresetround_387_ctx): Likewise.
23457         (libc_feupdateenv_387_ctx): Likewise.
23458         (libc_feholdexcept_setroundf_ctx): Define macro.
23459         (libc_fesetenvf_ctx): Likewise.
23460         (libc_feupdateenvf_ctx): Likewise.
23461         (libc_feholdsetroundf_ctx): Likewise.
23462         (libc_feresetroundf_ctx): Likewise.
23463         (libc_feholdexcept_setround_ctx): Likewise.
23464         (libc_fesetenv_ctx): Likewise.
23465         (libc_feupdateenv_ctx): Likewise.
23466         (libc_feholdsetround_ctx): Likewise.
23467         (libc_feresetround_ctx): Likewise.
23468         (libc_feholdexcept_setroundl_ctx): Likewise.
23469         (libc_feupdateenvl_ctx): Likewise.
23470         (libc_feholdsetroundl_ctx): Likewise.
23471         (libc_feresetroundl_ctx): Likewise.
23472         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
23473         (libc_feresetround_53bit_ctx): Likewise.
23474
23475 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
23476
23477         * locale/iso-639.def: Convert to UTF-8.
23478
23479 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
23480
23481         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
23482         (EXCEPTION_TESTS_double): Likewise.
23483         (EXCEPTION_TESTS_long_double): Likewise.
23484         (EXCEPTION_TESTS): Likewise.
23485         * math/libm-test.inc (test_exceptions): Only test exceptions if
23486         EXCEPTION_TESTS (FLOAT).
23487
23488 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
23489
23490         * benchtests/Makefile (string-bench): Add strcpy_chk and
23491         stpcpy_chk.
23492         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
23493         * benchtests/bench-stpcpy_chk.c: New file.
23494         * benchtests/bench-strcpy_chk-ifunc.c: New file.
23495         * benchtests/bench-strcpy_chk.c: New file.
23496         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
23497         code.
23498         (do_test): Likewise.
23499
23500 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
23501
23502         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
23503         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
23504         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
23505         with tabs where appropriate.
23506         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
23507         dl-procinfo.h.
23508         [PPC_PLATFORM_PPC440]: Likewise.
23509         [PPC_PLATFORM_PPC464]: Likewise.
23510         [PPC_PLATFORM_PPC476]: Likewise.
23511         (_dl_string_platform): Add support for detecting ppc405, ppc440,
23512         ppc464, and ppc476 platform strings merging from ports/
23513         dl-procinfo.h.
23514
23515 2013-06-11  Andreas Schwab  <schwab@suse.de>
23516
23517         [BZ #14991]
23518         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
23519         (from_ucs4_idx): Regenerate.
23520         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
23521         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
23522         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
23523         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
23524         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
23525         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
23526         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
23527         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
23528         from FROM_LOOP and TO_LOOP specific macros.
23529         (BODY): Handle combining characters.
23530         * iconvdata/BIG5HKSCS.irreversible: Update.
23531         * iconvdata/BIG5HKSCS.precomposed: New file.
23532         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
23533         characters.
23534         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
23535
23536 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
23537
23538         * include/sys/time.h: Fix indentation and add copyright header.
23539
23540         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
23541         (do_test): Likewise.
23542         * string/test-memchr.c (do_one_test): Likewise.
23543         (do_test): Likewise.
23544         * string/test-memcmp.c (do_one_test): Likewise.
23545         (do_test): Likewise.
23546         * string/test-memcpy.c (do_one_test): Likewise.
23547         (do_test): Likewise.
23548         * string/test-memmem.c (do_one_test): Likewise.
23549         (do_test): Likewise.
23550         (do_random_tests): Likewise.
23551         * string/test-memmove.c (do_one_test): Likewise.
23552         (do_test): Likewise.
23553         * string/test-memset.c (do_one_test): Likewise.
23554         (do_test): Likewise.
23555         * string/test-rawmemchr.c (do_one_test): Likewise.
23556         (do_test): Likewise.
23557         * string/test-strcasecmp.c (do_one_test): Likewise.
23558         (do_test): Likewise.
23559         * string/test-strcasestr.c (do_one_test): Likewise.
23560         (do_test): Likewise.
23561         * string/test-strcat.c (do_one_test): Likewise.
23562         (do_test): Likewise.
23563         * string/test-strchr.c (do_one_test): Likewise.
23564         (do_test): Likewise.
23565         * string/test-strcmp.c (do_one_test): Likewise.
23566         (do_test): Likewise.
23567         * string/test-strcpy.c (do_one_test): Likewise.
23568         (do_test): Likewise.
23569         * string/test-string.h: Likewise.
23570         (test_init): Likewise.
23571         * string/test-strlen.c (do_one_test): Likewise.
23572         (do_test): Likewise.
23573         * string/test-strncasecmp.c (do_one_test): Likewise.
23574         (do_test): Likewise.
23575         * string/test-strncat.c (do_one_test): Likewise.
23576         (do_test): Likewise.
23577         * string/test-strncmp.c (do_one_test): Likewise.
23578         (do_test_limit): Likewise.
23579         (do_test): Likewise.
23580         * string/test-strncpy.c (do_one_test): Likewise.
23581         (do_test): Likewise.
23582         * string/test-strnlen.c (do_one_test): Likewise.
23583         (do_test): Likewise.
23584         * string/test-strpbrk.c (do_one_test): Likewise.
23585         (do_test): Likewise.
23586         * string/test-strrchr.c (do_one_test): Likewise.
23587         (do_test): Likewise.
23588         * string/test-strspn.c (do_one_test): Likewise.
23589         (do_test): Likewise.
23590         * string/test-strstr.c (do_one_test): Likewise.
23591         (do_test): Likewise.
23592
23593         * benchtests/Makefile (string-bench): Add string benchmarks.
23594         * benchtests/bench-bcopy-ifunc.c: New file.
23595         * benchtests/bench-bcopy.c: New file.
23596         * benchtests/bench-bzero-ifunc.c: New file.
23597         * benchtests/bench-bzero.c: New file.
23598         * benchtests/bench-memccpy-ifunc.c: New file.
23599         * benchtests/bench-memccpy.c: New file.
23600         * benchtests/bench-memchr-ifunc.c: New file.
23601         * benchtests/bench-memchr.c: New file.
23602         * benchtests/bench-memcmp-ifunc.c: New file.
23603         * benchtests/bench-memcmp.c: New file.
23604         * benchtests/bench-memmem-ifunc.c: New file.
23605         * benchtests/bench-memmem.c: New file.
23606         * benchtests/bench-memmove-ifunc.c: New file.
23607         * benchtests/bench-memmove.c: New file.
23608         * benchtests/bench-mempcpy-ifunc.c: New file.
23609         * benchtests/bench-mempcpy.c: New file.
23610         * benchtests/bench-memset-ifunc.c: New file.
23611         * benchtests/bench-memset.c: New file.
23612         * benchtests/bench-rawmemchr-ifunc.c: New file.
23613         * benchtests/bench-rawmemchr.c: New file.
23614         * benchtests/bench-stpcpy-ifunc.c: New file.
23615         * benchtests/bench-stpcpy.c: New file.
23616         * benchtests/bench-stpncpy-ifunc.c: New file.
23617         * benchtests/bench-stpncpy.c: New file.
23618         * benchtests/bench-strcasecmp-ifunc.c: New file.
23619         * benchtests/bench-strcasecmp.c: New file.
23620         * benchtests/bench-strcasestr-ifunc.c: New file.
23621         * benchtests/bench-strcasestr.c: New file.
23622         * benchtests/bench-strcat-ifunc.c: New file.
23623         * benchtests/bench-strcat.c: New file.
23624         * benchtests/bench-strchr-ifunc.c: New file.
23625         * benchtests/bench-strchr.c: New file.
23626         * benchtests/bench-strchrnul-ifunc.c: New file.
23627         * benchtests/bench-strchrnul.c: New file.
23628         * benchtests/bench-strcmp-ifunc.c: New file.
23629         * benchtests/bench-strcmp.c: New file.
23630         * benchtests/bench-strcpy-ifunc.c: New file.
23631         * benchtests/bench-strcpy.c: New file.
23632         * benchtests/bench-strcspn-ifunc.c: New file.
23633         * benchtests/bench-strcspn.c: New file.
23634         * benchtests/bench-strlen-ifunc.c: New file.
23635         * benchtests/bench-strlen.c: New file.
23636         * benchtests/bench-strncasecmp-ifunc.c: New file.
23637         * benchtests/bench-strncasecmp.c: New file.
23638         * benchtests/bench-strncat-ifunc.c: New file.
23639         * benchtests/bench-strncat.c: New file.
23640         * benchtests/bench-strncmp-ifunc.c: New file.
23641         * benchtests/bench-strncmp.c: New file.
23642         * benchtests/bench-strncpy-ifunc.c: New file.
23643         * benchtests/bench-strncpy.c: New file.
23644         * benchtests/bench-strnlen-ifunc.c: New file.
23645         * benchtests/bench-strnlen.c: New file.
23646         * benchtests/bench-strpbrk-ifunc.c: New file.
23647         * benchtests/bench-strpbrk.c: New file.
23648         * benchtests/bench-strrchr-ifunc.c: New file.
23649         * benchtests/bench-strrchr.c: New file.
23650         * benchtests/bench-strspn-ifunc.c: New file.
23651         * benchtests/bench-strspn.c: New file.
23652         * benchtests/bench-strstr-ifunc.c: New file.
23653         * benchtests/bench-strstr.c: New file.
23654
23655         * benchtests/Makefile: Disable parallel execution of targets.
23656         (string-bench): Add memcpy.
23657         (benchset): New variable to store a list of benchmark sets.
23658         (bench-func): Renamed from bench.
23659         (bench-set): New target.
23660         (bench): Depend on bench-func and bench-set.
23661         * benchtests/README: Add section on benchmark sets.
23662         * benchtests/bench-memcpy-ifunc.c: New file.
23663         * benchtests/bench-memcpy.c: New file.
23664         * benchtests/bench-string.h: New file.
23665
23666 2013-06-11  Andreas Schwab  <schwab@suse.de>
23667
23668         [BZ #15577]
23669         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
23670         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
23671         values in the triple.
23672         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
23673         terminator in the group key.
23674
23675 2013-06-11  Andreas Jaeger  <aj@suse.de>
23676
23677         * po/zh_TW.po: Update Chinese (traditional) translation from
23678         translation project.
23679
23680 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
23681
23682         * include/time.h (__clock_gettime): Add libc_hidden_proto.
23683         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
23684         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
23685         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
23686         (clock_getcpuclockid): Likewise.
23687         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
23688         Add weak_alias and libc_hidden_def.
23689         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
23690         * rt/clock_gettime.c (clock_gettime): Rename to
23691         __clock_gettime.  Add weak_alias and libc_hidden_def.
23692         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
23693         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
23694         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
23695         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
23696         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
23697         Likewise.
23698         * rt/clock_settime.c (clock_settime): Rename to
23699         __clock_settime.  Add weak_alias and libc_hidden_def.
23700         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
23701
23702 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
23703
23704         * mach/err_boot.sub: Remove trailing whitespace.
23705         * mach/err_ipc.sub: Likewise.
23706         * mach/err_mach.sub: Likewise.
23707
23708         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
23709         (ROUNDING_TESTS_double): Likewise.
23710         (ROUNDING_TESTS_long_double): Likewise.
23711         (ROUNDING_TESTS): Likewise.
23712         * math/libm-test.inc: Include <math-tests.h>.
23713         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
23714         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
23715         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
23716         (IF_ROUND_INIT_FE_UPWARD): Likewise.
23717
23718 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
23719
23720         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
23721         of assigning.
23722
23723 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
23724
23725         * sysdeps/gnu/errlist.awk: Do not generate space at end of
23726         otherwise empty TRANS lines.
23727         * sysdeps/gnu/errlist.c: Regenerated.
23728
23729         * catgets/gencat.c (error_print): Use (void) in function
23730         definition.
23731         * crypt/crypt_util.c (__init_des): Likewise.
23732         * crypt/speeds.c (Stop): Likewise.
23733         (main): Likewise.
23734         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
23735         * inet/ruserpass.c (token): Likewise.
23736         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
23737         * intl/localealias.c (extend_alias_table): Likewise.
23738         * intl/plural-exp.c (init_germanic_plural): Likewise.
23739         * libio/fcloseall.c (__fcloseall): Likewise.
23740         * libio/genops.c (_IO_flush_all): Likewise.
23741         (_IO_flush_all_linebuffered): Likewise.
23742         (_IO_cleanup): Likewise.
23743         (_IO_iter_begin): Likewise.
23744         (_IO_iter_end): Likewise.
23745         (_IO_list_lock): Likewise.
23746         (_IO_list_unlock): Likewise.
23747         (_IO_list_resetlock): Likewise.
23748         * libio/getchar.c (getchar): Likewise.
23749         * libio/getchar_u.c (getchar_unlocked): Likewise.
23750         * libio/getwchar.c (getwchar): Likewise.
23751         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
23752         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
23753         * login/getpt.c (__getpt): Likewise.
23754         * login/tst-utmp.c (main): Likewise.
23755         * malloc/hooks.c (__malloc_check_init): Likewise.
23756         * malloc/malloc.c (__malloc_stats): Likewise.
23757         * malloc/mtrace.c (tr_break): Likewise.
23758         (mtrace): Likewise.
23759         (muntrace): Likewise.
23760         * misc/fstab.c (endfsent): Likewise.
23761         * misc/getclktck.c (__getclktck): Likewise.
23762         * misc/getdtsz.c (__getdtablesize): Likewise.
23763         * misc/gethostid.c (gethostid): Likewise.
23764         * misc/getpagesize.c (__getpagesize): Likewise.
23765         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
23766         (__get_nprocs): Likewise.
23767         (__get_phys_pages): Likewise.
23768         (__get_avphys_pages): Likewise.
23769         * misc/getttyent.c (getttyent): Likewise.
23770         (setttyent): Likewise.
23771         (endttyent): Likewise.
23772         * misc/getusershell.c (getusershell): Likewise.
23773         (endusershell): Likewise.
23774         (setusershell): Likewise.
23775         (initshells): Likewise.
23776         * misc/hsearch.c (__hdestroy): Likewise.
23777         * misc/sync.c (sync): Likewise.
23778         * misc/syslog.c (closelog_internal): Likewise.
23779         (closelog): Likewise.
23780         * misc/ttyslot.c (ttyslot): Likewise.
23781         * misc/vhangup.c (vhangup): Likewise.
23782         * posix/fork.c (__fork): Likewise.
23783         * posix/getegid.c (__getegid): Likewise.
23784         * posix/geteuid.c (__geteuid): Likewise.
23785         * posix/getgid.c (__getgid): Likewise.
23786         * posix/getpid.c (__getpid): Likewise.
23787         * posix/getppid.c (__getppid): Likewise.
23788         * posix/getuid.c (__getuid): Likewise.
23789         * posix/pause.c (pause): Likewise.
23790         * posix/setpgrp.c (setpgrp): Likewise.
23791         * posix/setsid.c (__setsid): Likewise.
23792         * posix/test-vfork.c (noop): Likewise.
23793         * resolv/gethnamaddr.c (_endhtent): Likewise.
23794         (_gethtent): Likewise.
23795         (ht_endhostent): Likewise.
23796         (gethostent): Likewise.
23797         (dns_service): Likewise.
23798         * stdlib/drand48.c (drand48): Likewise.
23799         * stdlib/lrand48.c (lrand48): Likewise.
23800         * stdlib/mrand48.c (mrand48): Likewise.
23801         * stdlib/rand.c (rand): Likewise.
23802         * stdlib/random.c (__random): Likewise.
23803         * stdlib/setenv.c (clearenv): Likewise.
23804         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
23805         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
23806         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
23807         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
23808         (__get_nprocs): Likewise.
23809         (__get_phys_pages): Likewise.
23810         (__get_avphys_pages): Likewise.
23811         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
23812         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
23813         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
23814         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
23815         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
23816         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
23817         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
23818         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
23819         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
23820         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
23821         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
23822         * sysdeps/mach/hurd/sync.c (sync): Likewise.
23823         * sysdeps/posix/clock.c (clock): Likewise.
23824         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
23825         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
23826         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
23827         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
23828         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
23829         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
23830         (__get_nprocs_conf): Likewise.
23831         (__get_phys_pages): Likewise.
23832         (__get_avphys_pages): Likewise.
23833         * time/clock.c (clock): Likewise.
23834         * time/tzset.c (__tzname_max): Likewise.
23835
23836 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
23837
23838         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
23839         (__bswap_32): Do not use "register".
23840         * crypt/crypt.c (_ufc_doit_r): Likewise.
23841         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
23842         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
23843         * gmon/gmon.c (__monstartup): Likewise.
23844         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
23845         * hurd/hurdmalloc.c (more_memory): Likewise.
23846         (malloc): Likewise.
23847         (free): Likewise.
23848         (realloc): Likewise.
23849         (malloc_fork_prepare): Likewise.
23850         (malloc_fork_parent): Likewise.
23851         (malloc_fork_child): Likewise.
23852         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
23853         (_svcauth_des): Likewise.
23854         * inet/inet_lnaof.c (inet_lnaof): Likewise.
23855         * inet/inet_net.c (inet_network): Likewise.
23856         * inet/inet_netof.c (inet_netof): Likewise.
23857         * inet/rcmd.c (__validuser2_sa): Likewise.
23858         * io/fts.c (fts_open): Likewise.
23859         (fts_load): Likewise.
23860         (fts_close): Likewise.
23861         (fts_read): Likewise.
23862         (fts_children): Likewise.
23863         (fts_build): Likewise.
23864         (fts_stat): Likewise.
23865         (fts_sort): Likewise.
23866         (fts_alloc): Likewise.
23867         (fts_lfree): Likewise.
23868         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
23869         (_IO_file_xsgetn): Likewise.
23870         (_IO_file_xsgetn_mmap): Likewise.
23871         * libio/iofopncook.c (_IO_cookie_read): Likewise.
23872         (_IO_cookie_write): Likewise.
23873         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
23874         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
23875         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
23876         * malloc/obstack.c (_obstack_begin): Likewise.
23877         (_obstack_begin_1): Likewise.
23878         (_obstack_newchunk): Likewise.
23879         (_obstack_allocated_p): Likewise.
23880         (obstack_free): Likewise.
23881         (_obstack_memory_used): Likewise.
23882         * misc/getttyent.c (getttynam): Likewise.
23883         (getttyent): Likewise.
23884         (skip): Likewise.
23885         (value): Likewise.
23886         * misc/getusershell.c (initshells): Likewise.
23887         * misc/syslog.c (__vsyslog_chk): Likewise.
23888         * misc/ttyslot.c (ttyslot): Likewise.
23889         * nis/nis_hash.c (__nis_hash): Likewise.
23890         * posix/fnmatch_loop.c (FCT): Likewise.
23891         * posix/getconf.c (print_all): Likewise.
23892         (main): Likewise.
23893         * posix/getopt.c (exchange): Likewise.
23894         * posix/glob.c (globfree): Likewise.
23895         (prefix_array): Likewise.
23896         (__glob_pattern_type): Likewise.
23897         * resolv/arpa/nameser.h (NS_GET16): Likewise.
23898         (NS_GET32): Likewise.
23899         (NS_PUT16): Likewise.
23900         (NS_PUT32): Likewise.
23901         * resolv/gethnamaddr.c (getanswer): Likewise.
23902         (gethostbyname2): Likewise.
23903         (gethostbyaddr): Likewise.
23904         (_gethtent): Likewise.
23905         (_gethtbyname2): Likewise.
23906         (_gethtbyaddr): Likewise.
23907         * resolv/ns_print.c (dst_s_get_int16): Likewise.
23908         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
23909         * resolv/res_init.c (__res_vinit): Likewise.
23910         (net_mask): Likewise.
23911         * resolv/res_mkquery.c (outchar): Likewise.
23912         (PRINT): Likewise.
23913         * stdio-common/printf_fp.c (outchar): Likewise.
23914         (PRINT): Likewise.
23915         * stdio-common/printf_fphex.c (outchar): Likewise.
23916         (PRINT): Likewise.
23917         * stdio-common/printf_size.c (outchar): Likewise.
23918         (PRINT): Likewise.
23919         * stdio-common/test_rdwr.c (main): Likewise.
23920         * stdio-common/tfformat.c (matches): Likewise.
23921         * stdio-common/vfprintf.c (outchar): Likewise.
23922         (printf_unknown): Likewise.
23923         (buffered_vfprintf): Likewise.
23924         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
23925         * stdio-common/xbug.c (AppendToBuffer): Likewise.
23926         (ReadFile): Likewise.
23927         * stdlib/qsort.c (SWAP): Likewise.
23928         (_quicksort): Likewise.
23929         * stdlib/setenv.c (__add_to_environ): Likewise.
23930         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
23931         * stdlib/strtol_l.c (__strtol_l): Likewise.
23932         * stdlib/tst-strtod.c (main): Likewise.
23933         * stdlib/tst-strtol.c (main): Likewise.
23934         * stdlib/tst-strtoll.c (main): Likewise.
23935         * string/bits/string2.h (__strcmp_cc): Likewise.
23936         (__strcmp_cg): Likewise.
23937         (__strcspn_c1): Likewise.
23938         (__strcspn_c2): Likewise.
23939         (__strcspn_c3): Likewise.
23940         (__strspn_c1): Likewise.
23941         (__strspn_c2): Likewise.
23942         (__strspn_c3): Likewise.
23943         (__strsep_1c): Likewise.
23944         (__strsep_2c): Likewise.
23945         (__strsep_3c): Likewise.
23946         * string/memccpy.c (__memccpy): Likewise.
23947         * string/stpcpy.c (__stpcpy): Likewise.
23948         * string/strcmp.c (strcmp): Likewise.
23949         * string/strrchr.c (strrchr): Likewise.
23950         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
23951         Likewise.
23952         * sysdeps/mach/hurd/getcwd.c
23953         (_hurd_canonicalize_directory_name_internal): Likewise.
23954         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
23955         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
23956         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
23957         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
23958         Likewise, in both definitions.
23959         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
23960         definitions.
23961         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
23962         64] (__bswap_64): Likewise.
23963         * time/test_time.c (main): Likewise.
23964         * time/tzfile.c (__tzfile_read): Likewise.
23965         (__tzfile_compute): Likewise.
23966         * time/tzset.c (__tzset_parse_tz): Likewise.
23967         (tzset_internal): Likewise.
23968         (compute_change): Likewise.
23969         * wcsmbs/wcscat.c (__wcscat): Likewise.
23970         * wcsmbs/wcschr.c (wcschr): Likewise.
23971         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
23972         * wcsmbs/wcscspn.c (wcscspn): Likewise.
23973         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
23974         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
23975         * wcsmbs/wcsspn.c (wcsspn): Likewise.
23976         * wcsmbs/wcsstr.c (wcsstr): Likewise.
23977         * wcsmbs/wmemchr.c (wmemchr): Likewise.
23978         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
23979         * wcsmbs/wmemset.c (wmemset): Likewise.
23980
23981 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
23982
23983         * scripts/config.guess: Update to version 2013-05-16.
23984         * scripts/config.sub: Update to version 2013-04-24.
23985         * scripts/install-sh: Update to version 2011-11-20.07.
23986         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
23987         * scripts/move-if-change: Update to version 2012-01-06 07:23.
23988
23989 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
23990
23991         * debug/fgetws_u_chk.c: Fix leading whitespaces.
23992         * elf/sln.c: Likewise.
23993         * hurd/hurd/ioctl.h: Likewise.
23994         * hurd/hurdmalloc.c: Likewise.
23995         * hurd/xattr.c: Likewise.
23996         * include/shlib-compat.h: Likewise.
23997         * inet/ruserpass.c: Likewise.
23998         * libio/iofgets_u.c: Likewise.
23999         * libio/iofgetws_u.c: Likewise.
24000         * locale/programs/ld-identification.c: Likewise.
24001         * locale/programs/ld-time.c: Likewise.
24002         * mach/msg-destroy.c: Likewise.
24003         * nss/nss_files/files-netgrp.c: Likewise.
24004         * resolv/res_data.c: Likewise.
24005         * soft-fp/op-1.h: Likewise.
24006         * soft-fp/op-2.h: Likewise.
24007         * soft-fp/op-4.h: Likewise.
24008         * soft-fp/op-common.h: Likewise.
24009         * stdio-common/printf_fphex.c: Likewise.
24010         * stdlib/strtod_l.c: Likewise.
24011         * sunrpc/rpc/clnt.h: Likewise.
24012         * sysdeps/generic/framestate.c: Likewise.
24013         * sysdeps/i386/bsd-_setjmp.S: Likewise.
24014         * sysdeps/i386/bsd-setjmp.S: Likewise.
24015         * sysdeps/i386/__longjmp.S: Likewise.
24016         * sysdeps/i386/setjmp.S: Likewise.
24017         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
24018         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
24019         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
24020         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
24021         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
24022         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
24023         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
24024         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
24025         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
24026         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
24027         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
24028         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
24029         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
24030         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
24031         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
24032         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
24033         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
24034         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
24035         * sysdeps/ieee754/support.c: Likewise.
24036         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
24037         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
24038         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
24039         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
24040         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
24041         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
24042         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
24043         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
24044         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
24045         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
24046         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
24047         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
24048         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
24049         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
24050         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
24051         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
24052         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
24053         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
24054
24055 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
24056
24057         * posix/transbug.c: Remove executable mode.
24058
24059 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
24060
24061         * crypt/speeds.c: Remove trailing whitespace.
24062         * dlfcn/default.c: Likewise.
24063         * elf/ifuncdep2.c: Likewise.
24064         * elf/ifuncmain1.c: Likewise.
24065         * elf/ifuncmain1vis.c: Likewise.
24066         * elf/testobj.h: Likewise.
24067         * elf/tst-stackguard1.c: Likewise.
24068         * gmon/sys/gmon.h: Likewise.
24069         * hurd/hurdmsg.c: Likewise.
24070         * hurd/new-fd.c: Likewise.
24071         * hurd/ports-get.c: Likewise.
24072         * iconvdata/ibm1008_420.c: Likewise.
24073         * inet/tst-getni1.c: Likewise.
24074         * inet/tst-getni2.c: Likewise.
24075         * libio/ioungetc.c: Likewise.
24076         * libio/wfiledoalloc.c: Likewise.
24077         * manual/libm-err-tab.pl: Likewise.
24078         * math/w_dremf.c: Likewise.
24079         * misc/ftruncate.c: Likewise.
24080         * posix/bug-glob2.c: Likewise.
24081         * posix/tst-pcre.c: Likewise.
24082         * posix/wait4.c: Likewise.
24083         * resolv/README: Likewise.
24084         * resolv/res_debug.h: Likewise.
24085         * resolv/tst-inet_ntop.c: Likewise.
24086         * setjmp/bug269-setjmp.c: Likewise.
24087         * soft-fp/extended.h: Likewise.
24088         * soft-fp/op-1.h: Likewise.
24089         * soft-fp/op-2.h: Likewise.
24090         * soft-fp/op-4.h: Likewise.
24091         * soft-fp/op-8.h: Likewise.
24092         * soft-fp/testit.c: Likewise.
24093         * stdio-common/bug16.c: Likewise.
24094         * stdlib/random.c: Likewise.
24095         * sunrpc/rpcsvc/rquota.x: Likewise.
24096         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
24097         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
24098         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
24099         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
24100         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
24101         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
24102         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
24103         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
24104         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
24105         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
24106         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
24107         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
24108         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
24109         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
24110         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
24111         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
24112         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
24113         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
24114         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
24115         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
24116         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
24117         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
24118         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
24119         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
24120         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
24121         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
24122         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
24123         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
24124         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
24125         * sysdeps/ieee754/s_lib_version.c: Likewise.
24126         * sysdeps/mach/hurd/check_fds.c: Likewise.
24127         * sysdeps/mach/hurd/getsockname.c: Likewise.
24128         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
24129         * sysdeps/mach/hurd/recvfrom.c: Likewise.
24130         * sysdeps/powerpc/bits/link.h: Likewise.
24131         * sysdeps/powerpc/dl-procinfo.c: Likewise.
24132         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
24133         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
24134         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
24135         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
24136         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
24137         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
24138         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
24139         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
24140         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
24141         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
24142         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
24143         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
24144         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
24145         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
24146         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
24147         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
24148         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
24149         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
24150         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
24151         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
24152         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
24153         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
24154         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
24155         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
24156         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
24157         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
24158         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
24159         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
24160         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
24161         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
24162         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
24163         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
24164         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
24165         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
24166         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
24167         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
24168         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
24169         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
24170         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
24171         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
24172         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
24173         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
24174         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
24175         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
24176         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
24177         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
24178         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
24179         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
24180         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
24181         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
24182         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
24183         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
24184         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
24185         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
24186         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
24187         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
24188         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
24189         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
24190         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
24191         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
24192         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
24193         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
24194         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
24195         * sysdeps/powerpc/sysdep.h: Likewise.
24196         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
24197         * sysdeps/s390/s390-64/sub_n.S: Likewise.
24198         * sysdeps/sh/dl-trampoline.S: Likewise.
24199         * sysdeps/sh/memset.S: Likewise.
24200         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
24201         * sysdeps/sh/strlen.S: Likewise.
24202         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
24203         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
24204         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
24205         * sysdeps/sparc/sparc32/rem.S: Likewise.
24206         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
24207         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
24208         * sysdeps/sparc/sparc32/strchr.S: Likewise.
24209         * sysdeps/sparc/sparc32/udiv.S: Likewise.
24210         * sysdeps/sparc/sparc32/urem.S: Likewise.
24211         * sysdeps/sparc/sparc64/add_n.S: Likewise.
24212         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
24213         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
24214         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
24215         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
24216         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
24217         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
24218         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
24219         * sysdeps/unix/bsd/times.c: Likewise.
24220         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
24221         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
24222         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
24223         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
24224         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
24225         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
24226         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
24227         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
24228         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
24229         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
24230         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
24231         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
24232         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
24233         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
24234         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
24235         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
24236         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
24237         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
24238         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
24239         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
24240         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
24241         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
24242         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
24243         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
24244         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
24245         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
24246         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
24247         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
24248         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
24249         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
24250         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
24251         * sysdeps/x86_64/strcspn.S: Likewise.
24252
24253 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
24254
24255         * locale/C-translit.h: Revert #include <stdint.h> because this is a
24256         generated file.  Regenerate properly from gen-translit.pl.
24257         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
24258         locale/C-translit.h.
24259
24260 2013-06-05  Andreas Schwab  <schwab@suse.de>
24261
24262         [BZ #15100]
24263         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
24264         week as 6 instead of -1.
24265         * time/tst-strptime.c (day_tests): Add test case.
24266
24267 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
24268
24269         * sysdeps/generic/math_private.h
24270         (libc_feholdexcept_setround_53bit): Replace with
24271         libc_feholdsetround_53bit.
24272         (libc_feupdateenv_53bit): Replace with
24273         libc_feresetround_53bit.
24274         (SET_RESTORE_ROUND_53BIT): Adjust.
24275
24276 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
24277
24278         * string/test-strchrnul.c: Add copyright header.
24279
24280         * posix/tst-getaddrinfo4.c: Increase test timeout.
24281
24282 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
24283
24284         [BZ #15536]
24285         * math/libm-test.inc (MAX_EXP): Remove
24286         (MIN_EXP): Define.
24287         (ulp): Use MIN_EXP - MANT_DIG.
24288         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
24289
24290 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
24291
24292         * po/be.po: Revert last change.
24293         * po/zh_CN.po: Likewise.
24294         * po/header.pot: Likewise.
24295
24296 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
24297
24298         * Makefile ($(common-objpfx)linkobj/libc.so): Define
24299         link-libc-deps to empty as target-specific variable.
24300         * Makerules (link-libc-args): New variable.
24301         (libc-for-link): Likewise.
24302         (link-libc-deps): Likewise.
24303         (lib%.so): Depend on $(link-libc-deps).  Link with
24304         $(link-libc-args).
24305         (build-module): Link with $(link-libc-args).
24306         (build-module-asneeded): Likewise.
24307         (build-module-helper-objlist): Filter out $(link-libc-deps) from
24308         list of objects.
24309         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
24310         target-specific variable.
24311         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
24312         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
24313         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
24314         libc.
24315         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
24316         libc and ld.so.
24317         ($(objpfx)libpcprofile.so): Likewise.
24318         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
24319         libc_nonshared.a.
24320         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
24321         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
24322         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
24323         $(link-libc-deps).
24324         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
24325         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
24326         * login/Makefile ($(objpfx)libutil.so): Likewise.
24327         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
24328         * math/Makefile ($(objpfx)libm.so): Likewise.
24329         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
24330         $(objpfx)libnsl.so): Define libc-for-link as target-specific
24331         variable instead of depending directly on libc.
24332         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
24333         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
24334         $(link-libc-deps).
24335         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
24336         libc.
24337         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
24338         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
24339         ($(objpfx)libanl.so): Likewise.
24340         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
24341         ld.so.
24342         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
24343         $(link-libc-deps).
24344         * sysdeps/i386/fpu/Makefile: Remove file.
24345         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
24346         ($(objpfx)libm.so): Remove dependency on ld.so.
24347
24348 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
24349
24350         [BZ # 15553]
24351         * nis/yp_xdr.c (XDRMAXNAME): Define.
24352         (XDRMAXRECORD): Define.
24353         (xdr_domainname): Use XDRMAXNAME.
24354         (xdr_mapname): Likewise.
24355         (xdr_peername): Likewise.
24356         (xdr_keydat): Use XDRMAXRECORD.
24357         (xdr_valdat): Likewise.
24358
24359 2013-05-30  Jeff Law  <law@redhat.com>
24360
24361         [BZ #14256]
24362         * manual/errno.texi (ESTALE): Update to account for more than
24363         just NFS file systems.
24364         * sysdeps/gnu/errlist.c: Regenerated.
24365
24366 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
24367
24368         [BZ #15465]
24369         * elf/Makefile (tests): Add tst-null-argv.
24370         (modules-names):  Add tst-null-argv-lib.
24371         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
24372         (tst-null-argv-ENV): Set environment for tst-null-argv.
24373         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
24374         (RTLD_PROGNAME): New macro.
24375         * elf/tst-null-argv.c: New test case.
24376         * elf/tst-null-argv-lib.c: Library for test case.
24377         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
24378         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
24379         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
24380         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
24381         * elf/dl-init.c (call_init): Likewise.
24382         (_dl_init): Likewise.
24383         * elf/dl-load.c (print_search_path): Likewise.
24384         (_dl_map_object): Likewise.
24385         * elf/dl-lookup.c (do_lookup_x): Likewise.
24386         (add_dependency): Likewise.
24387         (_dl_lookup_symbol_x): Likewise.
24388         (_dl_debug_bindings): Likewise.
24389         * elf/dl-open.c (_dl_show_scope): Likewise.
24390         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
24391         * elf/dl-version.c (match_symbol): Likewise.
24392         (_dl_check_map_versions): Likewise.
24393         * elf/rtld.c (dl_main): Likewise.
24394         (print_unresolved): Use RTLD_PROGNAME.
24395         (print_missing_version): Likewise.
24396         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
24397         (elf_machine_rela): Likewise.
24398         * sysdeps/powerpc/powerpc32/dl-machine.c
24399         (__process_machine_rela): Likewise.
24400         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
24401         Likewise.
24402         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
24403         Likewise.
24404         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
24405         Likewise.
24406         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
24407         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
24408         Likewise.
24409         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
24410         Likewise.
24411         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
24412
24413 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
24414
24415         * po/be.po: Add descriptive title.
24416         * po/zh_CN.po: Likewise.
24417         * po/header.pot: Likewise.
24418
24419 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
24420
24421         * locale/programs/locarchive.c (create_archive): Inlucde fname in
24422         error message.
24423         (enlarge_archive): Likewise.
24424
24425 2013-05-28  Ben North  <ben@redfrontdoor.org>
24426
24427         * manual/arith.texi (frexp): It is the magnitude of the return
24428         value which lies in [0.5, 1), not the return value itself.
24429
24430 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24431
24432         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24433
24434 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
24435
24436         * stdio-common/bug26.c (main): Correct fscanf template.
24437
24438         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
24439         declare _dl_skip_args.
24440
24441         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
24442         Don't declare.
24443
24444         * manual/platform.texi: Add missing @end deftypefun.
24445
24446 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
24447
24448         [BZ #15529]
24449         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
24450         bit of mantissa of 2^16382.
24451         * math/libm-test.inc (hypot_test_data): Add more tests.
24452
24453         * math/libm-test.inc: Add drem and pow10 to list of tested
24454         functions.
24455         (pow10_test): New function.
24456         (drem_test): Likewise.
24457         (drem_test_tonearest): Likewise.
24458         (drem_test_towardzero): Likewise.
24459         (drem_test_downward): Likewise.
24460         (drem_test_upward): Likewise.
24461         (main): Call the new functions.
24462
24463         * math/libm-test.inc (finite_test_data): Remove.
24464         (finite_test): Run tests from isfinite_test_data.
24465         (gamma_test_data): Remove.
24466         (gamma_test): Run tests from lgamma_test_data.
24467         * sysdeps/i386/fpu/libm-test-ulps: Update.
24468         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24469
24470 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24471
24472         * manual/platform.texi: Add PowerPC PPR function set documentation.
24473         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
24474         implementation.
24475
24476 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
24477
24478         * math/libm-test.inc (MAX_EXP): Define.
24479         (ULPDIFF): Define.
24480         (ulp): New function.
24481         (check_float_internal): Use ULPDIFF.
24482         (cpow_test): Disable failing test.
24483         (check_ulp): Test ulp() implemetnation.
24484         (main): Call check_ulp before starting tests.
24485
24486 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
24487
24488         * math/gen-libm-test.pl (generate_testfile): Do not handle
24489         START_DATA and END_DATA.
24490         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
24491         END_DATA.
24492         (acos_tonearest_test_data): Likewise.
24493         (acos_towardzero_test_data): Likewise.
24494         (acos_downward_test_data): Likewise.
24495         (acos_upward_test_data): Likewise.
24496         (acosh_test_data): Likewise.
24497         (asin_test_data): Likewise.
24498         (asin_tonearest_test_data): Likewise.
24499         (asin_towardzero_test_data): Likewise.
24500         (asin_downward_test_data): Likewise.
24501         (asin_upward_test_data): Likewise.
24502         (asinh_test_data): Likewise.
24503         (atan_test_data): Likewise.
24504         (atanh_test_data): Likewise.
24505         (atan2_test_data): Likewise.
24506         (cabs_test_data): Likewise.
24507         (cacos_test_data): Likewise.
24508         (cacosh_test_data): Likewise.
24509         (carg_test_data): Likewise.
24510         (casin_test_data): Likewise.
24511         (casinh_test_data): Likewise.
24512         (catan_test_data): Likewise.
24513         (catanh_test_data): Likewise.
24514         (cbrt_test_data): Likewise.
24515         (ccos_test_data): Likewise.
24516         (ccosh_test_data): Likewise.
24517         (ceil_test_data): Likewise.
24518         (cexp_test_data): Likewise.
24519         (cimag_test_data): Likewise.
24520         (clog_test_data): Likewise.
24521         (clog10_test_data): Likewise.
24522         (conj_test_data): Likewise.
24523         (copysign_test_data): Likewise.
24524         (cos_test_data): Likewise.
24525         (cos_tonearest_test_data): Likewise.
24526         (cos_towardzero_test_data): Likewise.
24527         (cos_downward_test_data): Likewise.
24528         (cos_upward_test_data): Likewise.
24529         (cosh_test_data): Likewise.
24530         (cosh_tonearest_test_data): Likewise.
24531         (cosh_towardzero_test_data): Likewise.
24532         (cosh_downward_test_data): Likewise.
24533         (cosh_upward_test_data): Likewise.
24534         (cpow_test_data): Likewise.
24535         (cproj_test_data): Likewise.
24536         (creal_test_data): Likewise.
24537         (csin_test_data): Likewise.
24538         (csinh_test_data): Likewise.
24539         (csqrt_test_data): Likewise.
24540         (ctan_test_data): Likewise.
24541         (ctan_tonearest_test_data): Likewise.
24542         (ctan_towardzero_test_data): Likewise.
24543         (ctan_downward_test_data): Likewise.
24544         (ctan_upward_test_data): Likewise.
24545         (ctanh_test_data): Likewise.
24546         (ctanh_tonearest_test_data): Likewise.
24547         (ctanh_towardzero_test_data): Likewise.
24548         (ctanh_downward_test_data): Likewise.
24549         (ctanh_upward_test_data): Likewise.
24550         (erf_test_data): Likewise.
24551         (erfc_test_data): Likewise.
24552         (exp_test_data): Likewise.
24553         (exp_tonearest_test_data): Likewise.
24554         (exp_towardzero_test_data): Likewise.
24555         (exp_downward_test_data): Likewise.
24556         (exp_upward_test_data): Likewise.
24557         (exp10_test_data): Likewise.
24558         (exp2_test_data): Likewise.
24559         (expm1_test_data): Likewise.
24560         (fabs_test_data): Likewise.
24561         (fdim_test_data): Likewise.
24562         (finite_test_data): Likewise.
24563         (floor_test_data): Likewise.
24564         (fma_test_data): Likewise.
24565         (fma_towardzero_test_data): Likewise.
24566         (fma_downward_test_data): Likewise.
24567         (fma_upward_test_data): Likewise.
24568         (fmax_test_data): Likewise.
24569         (fmin_test_data): Likewise.
24570         (fmod_test_data): Likewise.
24571         (fpclassify_test_data): Likewise.
24572         (frexp_test_data): Likewise.
24573         (gamma_test_data): Likewise.
24574         (hypot_test_data): Likewise.
24575         (ilogb_test_data): Likewise.
24576         (isfinite_test_data): Likewise.
24577         (isgreater_test_data): Likewise.
24578         (isgreaterequal_test_data): Likewise.
24579         (isinf_test_data): Likewise.
24580         (isless_test_data): Likewise.
24581         (islessequal_test_data): Likewise.
24582         (islessgreater_test_data): Likewise.
24583         (isnan_test_data): Likewise.
24584         (isnormal_test_data): Likewise.
24585         (issignaling_test_data): Likewise.
24586         (isunordered_test_data): Likewise.
24587         (j0_test_data): Likewise.
24588         (j1_test_data): Likewise.
24589         (jn_test_data): Likewise.
24590         (ldexp_test_data): Likewise.
24591         (lgamma_test_data): Likewise.
24592         (lrint_test_data): Likewise.
24593         (lrint_tonearest_test_data): Likewise.
24594         (lrint_towardzero_test_data): Likewise.
24595         (lrint_downward_test_data): Likewise.
24596         (lrint_upward_test_data): Likewise.
24597         (llrint_test_data): Likewise.
24598         (llrint_tonearest_test_data): Likewise.
24599         (llrint_towardzero_test_data): Likewise.
24600         (llrint_downward_test_data): Likewise.
24601         (llrint_upward_test_data): Likewise.
24602         (log_test_data): Likewise.
24603         (log10_test_data): Likewise.
24604         (log1p_test_data): Likewise.
24605         (log2_test_data): Likewise.
24606         (logb_test_data): Likewise.
24607         (logb_downward_test_data): Likewise.
24608         (lround_test_data): Likewise.
24609         (llround_test_data): Likewise.
24610         (modf_test_data): Likewise.
24611         (nearbyint_test_data): Likewise.
24612         (nextafter_test_data): Likewise.
24613         (nexttoward_test_data): Likewise.
24614         (pow_test_data): Likewise.
24615         (pow_tonearest_test_data): Likewise.
24616         (pow_towardzero_test_data): Likewise.
24617         (pow_downward_test_data): Likewise.
24618         (pow_upward_test_data): Likewise.
24619         (remainder_test_data): Likewise.
24620         (remainder_tonearest_test_data): Likewise.
24621         (remainder_towardzero_test_data): Likewise.
24622         (remainder_downward_test_data): Likewise.
24623         (remainder_upward_test_data): Likewise.
24624         (remquo_test_data): Likewise.
24625         (rint_test_data): Likewise.
24626         (rint_tonearest_test_data): Likewise.
24627         (rint_towardzero_test_data): Likewise.
24628         (rint_downward_test_data): Likewise.
24629         (rint_upward_test_data): Likewise.
24630         (round_test_data): Likewise.
24631         (scalb_test_data): Likewise.
24632         (scalbn_test_data): Likewise.
24633         (scalbln_test_data): Likewise.
24634         (signbit_test_data): Likewise.
24635         (sin_test_data): Likewise.
24636         (sin_tonearest_test_data): Likewise.
24637         (sin_towardzero_test_data): Likewise.
24638         (sin_downward_test_data): Likewise.
24639         (sin_upward_test_data): Likewise.
24640         (sincos_test_data): Likewise.
24641         (sinh_test_data): Likewise.
24642         (sinh_tonearest_test_data): Likewise.
24643         (sinh_towardzero_test_data): Likewise.
24644         (sinh_downward_test_data): Likewise.
24645         (sinh_upward_test_data): Likewise.
24646         (sqrt_test_data): Likewise.
24647         (tan_test_data): Likewise.
24648         (tan_tonearest_test_data): Likewise.
24649         (tan_towardzero_test_data): Likewise.
24650         (tan_downward_test_data): Likewise.
24651         (tan_upward_test_data): Likewise.
24652         (tanh_test_data): Likewise.
24653         (tgamma_test_data): Likewise.
24654         (trunc_test_data): Likewise.
24655         (y0_test_data): Likewise.
24656         (y1_test_data): Likewise.
24657         (yn_test_data): Likewise.
24658         (significand_test_data): Likewise.
24659
24660         * math/gen-libm-test.pl (@functions): Remove variable.
24661         (generate_testfile): Don't handle START and END lines.
24662         * math/libm-test.inc (START): New macro.
24663         (END): Likewise.
24664         (END_COMPLEX): Likewise.
24665         (acos_test): Use END macro without arguments.
24666         (acos_test_tonearest): Likewise.
24667         (acos_test_towardzero): Likewise.
24668         (acos_test_downward): Likewise.
24669         (acos_test_upward): Likewise.
24670         (acosh_test): Likewise.
24671         (asin_test): Likewise.
24672         (asin_test_tonearest): Likewise.
24673         (asin_test_towardzero): Likewise.
24674         (asin_test_downward): Likewise.
24675         (asin_test_upward): Likewise.
24676         (asinh_test): Likewise.
24677         (atan_test): Likewise.
24678         (atanh_test): Likewise.
24679         (atan2_test): Likewise.
24680         (cabs_test): Likewise.
24681         (cacos_test): Use END_COMPLEX macro without arguments.
24682         (cacosh_test): Likewise.
24683         (carg_test): Use END macro without arguments.
24684         (casin_test): Use END_COMPLEX macro without arguments.
24685         (casinh_test): Likewise.
24686         (catan_test): Likewise.
24687         (catanh_test): Likewise.
24688         (cbrt_test): Use END macro without arguments.
24689         (ccos_test): Use END_COMPLEX macro without arguments.
24690         (ccosh_test): Likewise.
24691         (ceil_test): Use END macro without arguments.
24692         (cexp_test): Use END_COMPLEX macro without arguments.
24693         (cimag_test): Use END macro without arguments.
24694         (clog_test): Use END_COMPLEX macro without arguments.
24695         (clog10_test): Likewise.
24696         (conj_test): Likewise.
24697         (copysign_test): Use END macro without arguments.
24698         (cos_test): Likewise.
24699         (cos_test_tonearest): Likewise.
24700         (cos_test_towardzero): Likewise.
24701         (cos_test_downward): Likewise.
24702         (cos_test_upward): Likewise.
24703         (cosh_test): Likewise.
24704         (cosh_test_tonearest): Likewise.
24705         (cosh_test_towardzero): Likewise.
24706         (cosh_test_downward): Likewise.
24707         (cosh_test_upward): Likewise.
24708         (cpow_test): Use END_COMPLEX macro without arguments.
24709         (cproj_test): Likewise.
24710         (creal_test): Use END macro without arguments.
24711         (csin_test): Use END_COMPLEX macro without arguments.
24712         (csinh_test): Likewise.
24713         (csqrt_test): Likewise.
24714         (ctan_test): Likewise.
24715         (ctan_test_tonearest): Likewise.
24716         (ctan_test_towardzero): Likewise.
24717         (ctan_test_downward): Likewise.
24718         (ctan_test_upward): Likewise.
24719         (ctanh_test): Likewise.
24720         (ctanh_test_tonearest): Likewise.
24721         (ctanh_test_towardzero): Likewise.
24722         (ctanh_test_downward): Likewise.
24723         (ctanh_test_upward): Likewise.
24724         (erf_test): Use END macro without arguments.
24725         (erfc_test): Likewise.
24726         (exp_test): Likewise.
24727         (exp_test_tonearest): Likewise.
24728         (exp_test_towardzero): Likewise.
24729         (exp_test_downward): Likewise.
24730         (exp_test_upward): Likewise.
24731         (exp10_test): Likewise.
24732         (exp2_test): Likewise.
24733         (expm1_test): Likewise.
24734         (fabs_test): Likewise.
24735         (fdim_test): Likewise.
24736         (finite_test): Likewise.
24737         (floor_test): Likewise.
24738         (fma_test): Likewise.
24739         (fma_test_towardzero): Likewise.
24740         (fma_test_downward): Likewise.
24741         (fma_test_upward): Likewise.
24742         (fmax_test): Likewise.
24743         (fmin_test): Likewise.
24744         (fmod_test): Likewise.
24745         (fpclassify_test): Likewise.
24746         (frexp_test): Likewise.
24747         (gamma_test): Likewise.
24748         (hypot_test): Likewise.
24749         (ilogb_test): Likewise.
24750         (isfinite_test): Likewise.
24751         (isgreater_test): Likewise.
24752         (isgreaterequal_test): Likewise.
24753         (isinf_test): Likewise.
24754         (isless_test): Likewise.
24755         (islessequal_test): Likewise.
24756         (islessgreater_test): Likewise.
24757         (isnan_test): Likewise.
24758         (isnormal_test): Likewise.
24759         (issignaling_test): Likewise.
24760         (isunordered_test): Likewise.
24761         (j0_test): Likewise.
24762         (j1_test): Likewise.
24763         (jn_test): Likewise.
24764         (ldexp_test): Likewise.
24765         (lgamma_test): Likewise.
24766         (lrint_test): Likewise.
24767         (lrint_test_tonearest): Likewise.
24768         (lrint_test_towardzero): Likewise.
24769         (lrint_test_downward): Likewise.
24770         (lrint_test_upward): Likewise.
24771         (llrint_test): Likewise.
24772         (llrint_test_tonearest): Likewise.
24773         (llrint_test_towardzero): Likewise.
24774         (llrint_test_downward): Likewise.
24775         (llrint_test_upward): Likewise.
24776         (log_test): Likewise.
24777         (log10_test): Likewise.
24778         (log1p_test): Likewise.
24779         (log2_test): Likewise.
24780         (logb_test): Likewise.
24781         (logb_test_downward): Likewise.
24782         (lround_test): Likewise.
24783         (llround_test): Likewise.
24784         (modf_test): Likewise.
24785         (nearbyint_test): Likewise.
24786         (nextafter_test): Likewise.
24787         (nexttoward_test): Likewise.
24788         (pow_test): Likewise.
24789         (pow_test_tonearest): Likewise.
24790         (pow_test_towardzero): Likewise.
24791         (pow_test_downward): Likewise.
24792         (pow_test_upward): Likewise.
24793         (remainder_test): Likewise.
24794         (remainder_test_tonearest): Likewise.
24795         (remainder_test_towardzero): Likewise.
24796         (remainder_test_downward): Likewise.
24797         (remainder_test_upward): Likewise.
24798         (remquo_test): Likewise.
24799         (rint_test): Likewise.
24800         (rint_test_tonearest): Likewise.
24801         (rint_test_towardzero): Likewise.
24802         (rint_test_downward): Likewise.
24803         (rint_test_upward): Likewise.
24804         (round_test): Likewise.
24805         (scalb_test): Likewise.
24806         (scalbn_test): Likewise.
24807         (scalbln_test): Likewise.
24808         (signbit_test): Likewise.
24809         (sin_test): Likewise.
24810         (sin_test_tonearest): Likewise.
24811         (sin_test_towardzero): Likewise.
24812         (sin_test_downward): Likewise.
24813         (sin_test_upward): Likewise.
24814         (sincos_test): Likewise.
24815         (sinh_test): Likewise.
24816         (sinh_test_tonearest): Likewise.
24817         (sinh_test_towardzero): Likewise.
24818         (sinh_test_downward): Likewise.
24819         (sinh_test_upward): Likewise.
24820         (sqrt_test): Likewise.
24821         (tan_test): Likewise.
24822         (tan_test_tonearest): Likewise.
24823         (tan_test_towardzero): Likewise.
24824         (tan_test_downward): Likewise.
24825         (tan_test_upward): Likewise.
24826         (tanh_test): Likewise.
24827         (tgamma_test): Likewise.
24828         (trunc_test): Likewise.
24829         (y0_test): Likewise.
24830         (y1_test): Likewise.
24831         (yn_test): Likewise.
24832         (significand_test): Likewise.
24833
24834 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
24835
24836         [BZ #15381]
24837         * libio/genops.c (_IO_no_init): Initialize wide struct info.
24838
24839 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
24840
24841         [BZ #14894]
24842         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
24843         __ppc_mdoio and __ppc_mdoom.
24844         * manual/platform.texi: Document new functions __ppc_yield,
24845         __ppc_mdoio and __ppc_mdoom.
24846
24847 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
24848
24849         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
24850         (main): Mention "tls" pseudo-hwcap is legacy.
24851         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
24852
24853 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
24854
24855         * math/gen-libm-test.pl (parse_args): Output only string of
24856         arguments as text for test name, not full call or descriptions of
24857         tests for extra outputs.
24858         (generate_testfile): Do not pass function name to parse_args.
24859         Generate this_func variable from START.
24860         * math/libm-test.inc (struct test_f_f_data): Rename test_name
24861         field to arg_str.
24862         (struct test_ff_f_data): Likewise.
24863         (test_ff_f_data_nexttoward): Likewise.
24864         (struct test_fi_f_data): Likewise.
24865         (struct test_fl_f_data): Likewise.
24866         (struct test_if_f_data): Likewise.
24867         (struct test_fff_f_data): Likewise.
24868         (struct test_c_f_data): Likewise.
24869         (struct test_f_f1_data): Likewise.  Remove field extra_name.
24870         (struct test_fF_f1_data): Likewise.
24871         (struct test_ffI_f1_data): Likewise.
24872         (struct test_c_c_data): Rename test_name field to arg_str.
24873         (struct test_cc_c_data): Likewise.
24874         (struct test_f_i_data): Likewise.
24875         (struct test_ff_i_data): Likewise.
24876         (struct test_f_l_data): Likewise.
24877         (struct test_f_L_data): Likewise.
24878         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
24879         and extra2_name.
24880         (COMMON_TEST_SETUP): New macro.
24881         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
24882         (COMMON_TEST_CLEANUP): Likewise.
24883         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
24884         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
24885         macros.
24886         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
24887         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
24888         macros.
24889         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
24890         (RUN_TEST_fff_f): Take argument string.  Call new setup and
24891         cleanup macros.
24892         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
24893         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
24894         macros.
24895         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
24896         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
24897         macros.
24898         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
24899         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
24900         cleanup macros.
24901         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
24902         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
24903         cleanup macros.
24904         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
24905         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
24906         cleanup macros.
24907         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
24908         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
24909         macros.
24910         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
24911         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
24912         macros.
24913         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
24914         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
24915         macros.
24916         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
24917         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
24918         cleanup macros.
24919         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
24920         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
24921         cleanup macros.
24922         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
24923         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
24924         macros.
24925         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
24926         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
24927         cleanup macros.
24928         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
24929         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
24930         macros.
24931         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
24932         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
24933         macros.
24934         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
24935         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
24936         cleanup macros.
24937         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
24938
24939 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
24940
24941         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
24942         to _sifields.sigfault.
24943         (si_addr_lsb): Define new macro.
24944         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
24945         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
24946         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
24947
24948 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
24949
24950         [BZ #15441]
24951         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
24952         returns -1.
24953         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
24954         null return -1.
24955         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
24956         loading the domain.
24957
24958 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
24959
24960         * math/gen-libm-test.pl (parse_args): Do not include expected
24961         result in test name.
24962         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
24963         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
24964         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
24965         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
24966         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
24967         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24968
24969 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
24970
24971         * benchtests/Makefile: Sort function entries.
24972
24973         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
24974         tanh, asinh, acosh, atanh.
24975         * benchtests/acos-inputs: New file.
24976         * benchtests/acosh-inputs: New file.
24977         * benchtests/asin-inputs: New file.
24978         * benchtests/asinh-inputs: New file.
24979         * benchtests/atanh-inputs: New file.
24980         * benchtests/cosh-inputs: New file.
24981         * benchtests/log-inputs: New file.
24982         * benchtests/sinh-inputs: New file.
24983         * benchtests/tanh-inputs: New file.
24984
24985 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
24986
24987         [BZ #15339]
24988         * posix/tst-getaddrinfo4.c: New test.
24989         * posix/Makefile (tests): Add it.
24990
24991 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
24992
24993         [BZ #15339]
24994         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
24995         when no services were used.
24996         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
24997         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
24998
24999 2013-05-21  Andreas Schwab  <schwab@suse.de>
25000
25001         [BZ #15014]
25002         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
25003         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
25004         successful.
25005         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
25006         redundant variable declarations and reallocation of buffer when
25007         parsing as IPv6 address.  Always set NSS status when called from
25008         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
25009         buffer too small.  Correct computation of needed size.
25010         * nss/Makefile (tests): Add test-digits-dots.
25011         * nss/test-digits-dots.c: New test.
25012
25013 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
25014
25015         * benchtests/Makefile: Remove instructions for adding
25016         benchmark tests.
25017         * benchtests/README: New file to explain how to execute and
25018         enhance the benchmark tests.
25019
25020 2013-05-21  Andreas Schwab  <schwab@suse.de>
25021
25022         [BZ #15493]
25023         * setjmp/Makefile (tests): Add tst-sigsetjmp.
25024         * setjmp/tst-sigsetjmp.c: New test.
25025
25026 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
25027
25028         * sysdeps/x86_64/memset.S (memset): New implementation.
25029         (__bzero): Likewise.
25030         (__memset_tail): New function.
25031
25032 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
25033
25034         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
25035         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
25036         __memcpy_sse2_unaligned ifunc selection.
25037         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
25038         Add memcpy-sse2-unaligned.S.
25039         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
25040         Add: __memcpy_sse2_unaligned.
25041
25042 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
25043
25044         [BZ #15490]
25045         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
25046         math_force_eval before restoring floating-point envrionment.
25047         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
25048         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
25049         Likewise.
25050         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
25051         <math_private.h>.
25052         (__nearbyintl): Use math_force_eval before restoring
25053         floating-point environment.
25054         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
25055
25056         * math/gen-libm-test.pl (special_functions): Remove.
25057         (parse_args): Don't handle TEST_extra.  Handle functions with no
25058         return value.
25059         * math/libm-test.inc (struct test_sincos_data): Replace with
25060         struct test_fFF_11_data.
25061         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
25062         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
25063         (sincos_test_data): Change element type to struct
25064         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
25065         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
25066         RUN_TEST_LOOP_sincos.
25067         * math/README.libm-test: Don't mention special handling of
25068         individual functions.
25069         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
25070         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
25071         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
25072         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
25073         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
25074         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25075
25076         * math/gen-libm-test.pl (get_variable): Remove function.
25077         (parse_args): Don't show pointer parameters to call in test
25078         names.  Use "extra output N" in test names for extra outputs
25079         rather than naming variables.
25080
25081 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
25082
25083         [BZ #15488]
25084         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
25085         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
25086         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
25087         double tests.
25088         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
25089         disable.
25090         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
25091         check_long_double.
25092
25093         * math/gen-libm-test.pl (@tests): Remove variable.
25094         ($count): Likewise.
25095         (new_test): Remove function.
25096         (show_exceptions): New function.
25097         (special_functions): Use show_exceptions instead of new_test.
25098         (parse_args): Likewise.
25099         (generate_testfile): Pass only function name in generated call to
25100         print_max_error or print_complex_max_error.
25101         (get_ulps): Do not handle complex tests specially.
25102         (output_test): Rename to ...
25103         (get_all_ulps_for_test): ... this.  Return a string rather than
25104         printing to a file.  Require ulps to be present.
25105         (output_ulps): Generate arrays rather than #defines.
25106         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
25107         (struct ulp_data): New type.
25108         (BUILD_COMPLEX_ULP): Remove macro.
25109         (compare_ulp_data): New function.
25110         (find_ulps): Likewise.
25111         (find_test_ulps): Likewise.
25112         (find_function_ulps): Likewise.
25113         (find_complex_function_ulps): Likewise.
25114         (print_max_error): Determine allowed ulps using
25115         find_function_ulps.
25116         (print_complex_max_error): Determine allowed ulps using
25117         find_complex_function_ulps.
25118         (check_float_internal): Determine max ulps using find_test_ulps.
25119         (check_float): Do not take max_ulp parameter.  Update call to
25120         check_float_internal.
25121         (check_complex): Likewise.
25122         (check_int): Do not take max_ulp parameter.
25123         (check_long): Likewise.
25124         (check_bool): Likewise.
25125         (check_longlong): Likewise.
25126         (struct test_f_f_data): Remove max_ulp field.
25127         (struct test_ff_f_data): Likewise.
25128         (struct test_ff_f_data_nexttoward): Likewise.
25129         (struct test_fi_f_data): Likewise.
25130         (struct test_fl_f_data): Likewise.
25131         (struct test_if_f_data): Likewise.
25132         (struct test_fff_f_data): Likewise.
25133         (struct test_c_f_data): Likewise.
25134         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
25135         (struct test_fF_f1_data): Likewise.
25136         (struct test_ffI_f1_data): Likewise.
25137         (struct test_c_c_data): Remove max_ulp field.
25138         (struct test_cc_c_data): Likewise.
25139         (struct test_f_i_data): Likewise.
25140         (struct test_ff_i_data): Likewise.
25141         (struct test_f_l_data): Likewise.
25142         (struct test_f_L_data): Likewise.
25143         (struct test_sincos_data): Likewise.
25144         (RUN_TEST_f_f): Do not handle ulps.
25145         (RUN_TEST_LOOP_f_f): Likewise.
25146         (RUN_TEST_2_f): Likewise.
25147         (RUN_TEST_LOOP_2_f): Likewise.
25148         (RUN_TEST_fff_f): Likewise.
25149         (RUN_TEST_LOOP_fff_f): Likewise.
25150         (RUN_TEST_c_f): Likewise.
25151         (RUN_TEST_LOOP_c_f): Likewise.
25152         (RUN_TEST_f_f1): Likewise.
25153         (RUN_TEST_LOOP_f_f1): Likewise.
25154         (RUN_TEST_fF_f1): Likewise.
25155         (RUN_TEST_LOOP_fF_f1): Likewise.
25156         (RUN_TEST_fI_f1): Likewise.
25157         (RUN_TEST_LOOP_fI_f1): Likewise.
25158         (RUN_TEST_ffI_f1): Likewise.
25159         (RUN_TEST_LOOP_ffI_f1): Likewise.
25160         (RUN_TEST_c_c): Likewise.
25161         (RUN_TEST_LOOP_c_c): Likewise.
25162         (RUN_TEST_cc_c): Likewise.
25163         (RUN_TEST_LOOP_cc_c): Likewise.
25164         (RUN_TEST_f_i): Likewise.
25165         (RUN_TEST_LOOP_f_i): Likewise.
25166         (RUN_TEST_f_i_tg): Likewise.
25167         (RUN_TEST_LOOP_f_i_tg): Likewise.
25168         (RUN_TEST_ff_i_tg): Likewise.
25169         (RUN_TEST_LOOP_ff_i_tg): Likewise.
25170         (RUN_TEST_f_b): Likewise.
25171         (RUN_TEST_LOOP_f_b): Likewise.
25172         (RUN_TEST_f_b_tg): Likewise.
25173         (RUN_TEST_LOOP_f_b_tg): Likewise.
25174         (RUN_TEST_f_l): Likewise.
25175         (RUN_TEST_LOOP_f_l): Likewise.
25176         (RUN_TEST_f_L): Likewise.
25177         (RUN_TEST_LOOP_f_L): Likewise.
25178         (RUN_TEST_sincos): Likewise.
25179         (RUN_TEST_LOOP_sincos): Likewise.
25180
25181 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
25182
25183         [BZ #15480]
25184         [BZ #15485]
25185         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
25186         main case of finite arguments, set rounding mode to FE_TONEAREST
25187         and discard exceptions.
25188         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
25189         exceptions.
25190         (remainder_tonearest_test_data): New variable.
25191         (remainder_test_tonearest): New function.
25192         (remainder_towardzero_test_data): New variable.
25193         (remainder_test_towardzero): New function.
25194         (remainder_downward_test_data): New variable.
25195         (remainder_test_downward): New function.
25196         (remainder_upward_test_data): New variable.
25197         (remainder_test_upward): New function.
25198         (main): Call the new test functions.
25199
25200         * math/libm-test.inc (struct test_f_f1_data): Remove field
25201         extra_init.
25202         (struct test_fF_f1_data): Likewise.
25203         (struct test_ffI_f1_data): Likewise.
25204         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
25205         based on value of EXTRA_EXPECTED.
25206         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
25207         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
25208         EXTRA_VAR based on value of EXTRA_EXPECTED.
25209         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
25210         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
25211         EXTRA_VAR based on value of EXTRA_EXPECTED.
25212         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
25213         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
25214         EXTRA_VAR based on value of EXTRA_EXPECTED.
25215         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
25216         * math/gen-libm-test.pl (parse_args): Don't output initializers
25217         for extra output values.
25218
25219         * math/libm-test.inc (check_int): Expect result to be exactly
25220         equal to expected value and do not handle ulps.
25221         (check_long): Likewise.
25222         (check_longlong): Likewise.
25223
25224         * math/libm-test.inc (ceil_test_data): Test for "inexact"
25225         exceptions.
25226         (cimag_test_data): Likewise.
25227         (conj_test_data): Likewise.
25228         (copysign_test_data): Likewise.
25229         (cproj_test_data): Likewise.
25230         (creal_test_data): Likewise.
25231         (fabs_test_data): Likewise.
25232         (fdim_test_data): Likewise.
25233         (finite_test_data): Likewise.
25234         (floor_test_data): Likewise.
25235         (fmax_test_data): Likewise.
25236         (fmin_test_data): Likewise.
25237         (fmod_test_data): Likewise.
25238         (fpclassify_test_data): Likewise.
25239         (frexp_test_data): Likewise.
25240         (ilogb_test_data): Likewise.
25241         (isfinite_test_data): Likewise.
25242         (isgreater_test_data): Likewise.
25243         (isgreaterequal_test_data): Likewise.
25244         (isinf_test_data): Likewise.
25245         (isless_test_data): Likewise.
25246         (islessequal_test_data): Likewise.
25247         (islessgreater_test_data): Likewise.
25248         (isnan_test_data): Likewise.
25249         (isnormal_test_data): Likewise.
25250         (issignaling_test_data): Likewise.
25251         (isunordered_test_data): Likewise.
25252         (ldexp_test_data): Likewise.
25253         (lrint_test_data): Likewise.
25254         (lrint_test_data) [TEST_FLOAT]: Disable one test.
25255         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
25256         (lrint_tonearest_test_data): Test for "inexact" exceptions.
25257         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
25258         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
25259         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
25260         test input.
25261         (lrint_towardzero_test_data): Test for "inexact" exceptions.
25262         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
25263         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
25264         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
25265         that test input.
25266         (lrint_downward_test_data): Test for "inexact" exceptions.
25267         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
25268         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
25269         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
25270         test input.
25271         (lrint_upward_test_data): Test for "inexact" exceptions.
25272         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
25273         test input.
25274         (llrint_test_data): Test for "inexact" exceptions.
25275         (llrint_test_data) [TEST_FLOAT]: Disable one test.
25276         (llrint_tonearest_test_data): Test for "inexact" exceptions.
25277         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
25278         (llrint_towardzero_test_data): Test for "inexact" exceptions.
25279         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
25280         (llrint_downward_test_data): Test for "inexact" exceptions.
25281         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
25282         (llrint_upward_test_data): Test for "inexact" exceptions.
25283         (logb_test_data): Likewise.
25284         (logb_downward_test_data): Likewise.
25285         (nextafter_test_data): Likewise.
25286         (nexttoward_test_data): Likewise.
25287         (remainder_test_data): Likewise.
25288         (remquo_test_data): Likewise.
25289         (scalbn_test_data): Likewise.
25290         (scalbln_test_data): Likewise.
25291         (signbit_test_data): Likewise.
25292         (sqrt_test_data): Likewise.
25293         (significand_test_data): Likewise.
25294
25295 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
25296
25297         [BZ #15424]
25298         * benchtests/bench-modf.c (struct args): Mark arg0 as
25299         volatile.
25300         * scripts/bench.pl: Mark members of struct args as volatile.
25301
25302 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25303
25304         [BZ # 15497]
25305         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
25306         negative infinity on POWER6 or lower.
25307         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
25308
25309 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
25310
25311         [BZ #15442]
25312         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
25313         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
25314         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
25315         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
25316         (_FP_SETQNAN): New macro.
25317         (_FP_SETQNAN_SEMIRAW): Likewise.
25318         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
25319         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
25320         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
25321         (FP_EXTEND): Use _FP_FRAC_SNANP.
25322         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
25323         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
25324         into account.
25325         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
25326         New macro.
25327         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
25328         Likewise.
25329
25330 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
25331
25332         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
25333         with DIVIDE_BY_ZERO_EXCEPTION.
25334         (gamma_test_data): Likewise.
25335         (lgamma_test_data): Likewise.
25336         (log_test_data): Likewise.
25337         (log10_test_data): Likewise.
25338         (log2_test_data): Likewise.
25339         (tgamma_test_data): Likewise.
25340
25341         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
25342         (acos_test_tonearest): Likewise.
25343         (acos_test_towardzero): Likewise.
25344         (acos_test_downward): Likewise.
25345         (acos_test_upward): Likewise.
25346         (acosh_test): Likewise.
25347         (asin_test): Likewise.
25348         (asin_test_tonearest): Likewise.
25349         (asin_test_towardzero): Likewise.
25350         (asin_test_downward): Likewise.
25351         (asin_test_upward): Likewise.
25352         (asinh_test): Likewise.
25353         (atan_test): Likewise.
25354         (atanh_test): Likewise.
25355         (atan2_test): Likewise.
25356         (cabs_test): Likewise.
25357         (cacos_test): Likewise.
25358         (cacosh_test): Likewise.
25359         (casin_test): Likewise.
25360         (casinh_test): Likewise.
25361         (catan_test): Likewise.
25362         (catanh_test): Likewise.
25363         (cbrt_test): Likewise.
25364         (ccos_test): Likewise.
25365         (ccosh_test): Likewise.
25366         (cexp_test): Likewise.
25367         (clog_test): Likewise.
25368         (clog10_test): Likewise.
25369         (cos_test): Likewise.
25370         (cos_test_tonearest): Likewise.
25371         (cos_test_towardzero): Likewise.
25372         (cos_test_downward): Likewise.
25373         (cos_test_upward): Likewise.
25374         (cosh_test): Likewise.
25375         (cosh_test_tonearest): Likewise.
25376         (cosh_test_towardzero): Likewise.
25377         (cosh_test_downward): Likewise.
25378         (cosh_test_upward): Likewise.
25379         (cpow_test): Likewise.
25380         (csin_test): Likewise.
25381         (csinh_test): Likewise.
25382         (csqrt_test): Likewise.
25383         (ctan_test): Likewise.
25384         (ctan_test_tonearest): Likewise.
25385         (ctan_test_towardzero): Likewise.
25386         (ctan_test_downward): Likewise.
25387         (ctan_test_upward): Likewise.
25388         (ctanh_test): Likewise.
25389         (ctanh_test_tonearest): Likewise.
25390         (ctanh_test_towardzero): Likewise.
25391         (ctanh_test_downward): Likewise.
25392         (ctanh_test_upward): Likewise.
25393         (erf_test): Likewise.
25394         (erfc_test): Likewise.
25395         (exp_test): Likewise.
25396         (exp_test_tonearest): Likewise.
25397         (exp_test_towardzero): Likewise.
25398         (exp_test_downward): Likewise.
25399         (exp_test_upward): Likewise.
25400         (exp10_test): Likewise.
25401         (exp2_test): Likewise.
25402         (expm1_test): Likewise.
25403         (fmod_test): Likewise.
25404         (gamma_test): Likewise.
25405         (hypot_test): Likewise.
25406         (j0_test): Likewise.
25407         (j1_test): Likewise.
25408         (jn_test): Likewise.
25409         (lgamma_test): Likewise.
25410         (log_test): Likewise.
25411         (log10_test): Likewise.
25412         (log1p_test): Likewise.
25413         (log2_test): Likewise.
25414         (logb_test_downward): Likewise.
25415         (pow_test): Likewise.
25416         (pow_test_tonearest): Likewise.
25417         (pow_test_towardzero): Likewise.
25418         (pow_test_downward): Likewise.
25419         (pow_test_upward): Likewise.
25420         (remainder_test): Likewise.
25421         (remquo_test): Likewise.
25422         (sin_test): Likewise.
25423         (sin_test_tonearest): Likewise.
25424         (sin_test_towardzero): Likewise.
25425         (sin_test_downward): Likewise.
25426         (sin_test_upward): Likewise.
25427         (sincos_test): Likewise.
25428         (sinh_test): Likewise.
25429         (sinh_test_tonearest): Likewise.
25430         (sinh_test_towardzero): Likewise.
25431         (sinh_test_downward): Likewise.
25432         (sinh_test_upward): Likewise.
25433         (sqrt_test): Likewise.
25434         (tan_test): Likewise.
25435         (tan_test_tonearest): Likewise.
25436         (tan_test_towardzero): Likewise.
25437         (tan_test_downward): Likewise.
25438         (tan_test_upward): Likewise.
25439         (tanh_test): Likewise.
25440         (tgamma_test): Likewise.
25441         (y0_test): Likewise.
25442         (y1_test): Likewise.
25443         (yn_test): Likewise.
25444
25445         * math/gen-libm-test.pl (adjust_arg): Remove function.
25446         (special_function): Remove argument $in_func.  Only handle
25447         generating output for tables of tests, not inside functions.
25448         (parse_args): Likewise.
25449         (generate_testfile): Remove variable $in_func.  Update call to
25450         parse_args.
25451         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
25452         (MINUS_ZERO_INIT): Rename macro to minus_zero.
25453         (PLUS_INFTY_INIT): Rename macro to plus_infty.
25454         (MINUS_INFTY_INIT): Rename macro to minus_infty.
25455         (QNAN_VALUE_INIT): Rename macro to qnan_value.
25456         (MAX_VALUE_INIT): Rename macro to max_value.
25457         (MIN_VALUE_INIT): Rename macro to min_value.
25458         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
25459         (plus_zero): Remove variable.
25460         (minus_zero): Likewise.
25461         (plus_infty): Likewise.
25462         (minus_infty): Likewise.
25463         (qnan_value): Likewise.
25464         (max_value): Likewise.
25465         (min_value): Likewise.
25466         (min_subnorm_value): Likewise.
25467
25468 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
25469
25470         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
25471         uint64_t or uint32_t usage.
25472         * crypt/sha256-block.c: Likewise.
25473         * crypt/sha256-crypt.c: Likewise.
25474         * crypt/sha256.c: Likewise.
25475         * crypt/sha512-block.c: Likewise.
25476         * crypt/sha512-crypt.c: Likewise.
25477         * crypt/sha512.c: Likewise.
25478         * debug/backtrace-tst.c: Likewise.
25479         * debug/pcprofiledump.c: Likewise.
25480         * elf/cache.c: Likewise.
25481         * elf/dl-cache.c: Likewise.
25482         * elf/dl-misc.c: Likewise.
25483         * elf/dl-profile.c: Likewise.
25484         * elf/dl-support.c: Likewise.
25485         * elf/ldconfig.c: Likewise.
25486         * elf/sprof.c: Likewise.
25487         * iconv/dummy-repertoire.c: Likewise.
25488         * iconv/iconv_charmap.c: Likewise.
25489         * iconv/skeleton.c: Likewise.
25490         * iconvdata/8bit-generic.c: Likewise.
25491         * iconvdata/cp737.h: Likewise.
25492         * iconvdata/cp775.h: Likewise.
25493         * iconvdata/ibm1008.h: Likewise.
25494         * iconvdata/ibm1025.h: Likewise.
25495         * iconvdata/ibm1046.h: Likewise.
25496         * iconvdata/ibm1097.h: Likewise.
25497         * iconvdata/ibm1112.h: Likewise.
25498         * iconvdata/ibm1122.h: Likewise.
25499         * iconvdata/ibm1123.h: Likewise.
25500         * iconvdata/ibm1124.h: Likewise.
25501         * iconvdata/ibm1129.h: Likewise.
25502         * iconvdata/ibm1130.h: Likewise.
25503         * iconvdata/ibm1132.h: Likewise.
25504         * iconvdata/ibm1133.h: Likewise.
25505         * iconvdata/ibm1137.h: Likewise.
25506         * iconvdata/ibm1140.h: Likewise.
25507         * iconvdata/ibm1141.h: Likewise.
25508         * iconvdata/ibm1142.h: Likewise.
25509         * iconvdata/ibm1143.h: Likewise.
25510         * iconvdata/ibm1144.h: Likewise.
25511         * iconvdata/ibm1145.h: Likewise.
25512         * iconvdata/ibm1146.h: Likewise.
25513         * iconvdata/ibm1147.h: Likewise.
25514         * iconvdata/ibm1148.h: Likewise.
25515         * iconvdata/ibm1149.h: Likewise.
25516         * iconvdata/ibm1153.h: Likewise.
25517         * iconvdata/ibm1154.h: Likewise.
25518         * iconvdata/ibm1155.h: Likewise.
25519         * iconvdata/ibm1156.h: Likewise.
25520         * iconvdata/ibm1157.h: Likewise.
25521         * iconvdata/ibm1158.h: Likewise.
25522         * iconvdata/ibm1160.h: Likewise.
25523         * iconvdata/ibm1161.h: Likewise.
25524         * iconvdata/ibm1162.h: Likewise.
25525         * iconvdata/ibm1163.h: Likewise.
25526         * iconvdata/ibm1164.h: Likewise.
25527         * iconvdata/ibm1166.h: Likewise.
25528         * iconvdata/ibm1167.h: Likewise.
25529         * iconvdata/ibm12712.h: Likewise.
25530         * iconvdata/ibm1390.h: Likewise.
25531         * iconvdata/ibm1399.h: Likewise.
25532         * iconvdata/ibm16804.h: Likewise.
25533         * iconvdata/ibm4517.h: Likewise.
25534         * iconvdata/ibm4899.h: Likewise.
25535         * iconvdata/ibm4909.h: Likewise.
25536         * iconvdata/ibm4971.h: Likewise.
25537         * iconvdata/ibm5347.h: Likewise.
25538         * iconvdata/ibm803.h: Likewise.
25539         * iconvdata/ibm856.h: Likewise.
25540         * iconvdata/ibm901.h: Likewise.
25541         * iconvdata/ibm902.h: Likewise.
25542         * iconvdata/ibm9030.h: Likewise.
25543         * iconvdata/ibm9066.h: Likewise.
25544         * iconvdata/ibm921.h: Likewise.
25545         * iconvdata/ibm922.h: Likewise.
25546         * iconvdata/ibm9448.h: Likewise.
25547         * iconvdata/isiri-3342.h: Likewise.
25548         * iconvdata/jis0201.h: Likewise.
25549         * include/link.h: Likewise.
25550         * include/netdb.h: Likewise.
25551         * inet/check_native.c: Likewise.
25552         * inet/check_pf.c: Likewise.
25553         * inet/getipv4sourcefilter.c: Likewise.
25554         * inet/getnameinfo.c: Likewise.
25555         * inet/getsourcefilter.c: Likewise.
25556         * inet/htonl.c: Likewise.
25557         * inet/setipv4sourcefilter.c: Likewise.
25558         * inet/setsourcefilter.c: Likewise.
25559         * inet/test-inet6_opt.c: Likewise.
25560         * inet/tst-network.c: Likewise.
25561         * locale/C-collate.c: Likewise.
25562         * locale/C-ctype.c: Likewise.
25563         * locale/C-time.c: Likewise.
25564         * locale/C-translit.h: Likewise.
25565         * locale/loadarchive.c: Likewise.
25566         * locale/programs/3level.h: Likewise.
25567         * locale/programs/charmap.c: Likewise.
25568         * locale/programs/charmap.h: Likewise.
25569         * locale/programs/ld-address.c: Likewise.
25570         * locale/programs/ld-collate.c: Likewise.
25571         * locale/programs/ld-ctype.c: Likewise.
25572         * locale/programs/ld-identification.c: Likewise.
25573         * locale/programs/ld-measurement.c: Likewise.
25574         * locale/programs/ld-messages.c: Likewise.
25575         * locale/programs/ld-monetary.c: Likewise.
25576         * locale/programs/ld-name.c: Likewise.
25577         * locale/programs/ld-numeric.c: Likewise.
25578         * locale/programs/ld-paper.c: Likewise.
25579         * locale/programs/ld-telephone.c: Likewise.
25580         * locale/programs/ld-time.c: Likewise.
25581         * locale/programs/linereader.c: Likewise.
25582         * locale/programs/locale.c: Likewise.
25583         * locale/programs/locarchive.c: Likewise.
25584         * locale/programs/locfile.h: Likewise.
25585         * locale/programs/repertoire.c: Likewise.
25586         * locale/programs/simple-hash.c: Likewise.
25587         * locale/programs/simple-hash.h: Likewise.
25588         * malloc/memusage.c: Likewise.
25589         * malloc/memusagestat.c: Likewise.
25590         * nis/nis_defaults.c: Likewise.
25591         * nis/nis_hash.c: Likewise.
25592         * nis/nis_print.c: Likewise.
25593         * nis/nis_xdr.c: Likewise.
25594         * nscd/connections.c: Likewise.
25595         * nscd/hstcache.c: Likewise.
25596         * nscd/nscd_gethst_r.c: Likewise.
25597         * nscd/nscd_getserv_r.c: Likewise.
25598         * nscd/nscd_helper.c: Likewise.
25599         * nscd/servicescache.c: Likewise.
25600         * nss/makedb.c: Likewise.
25601         * nss/nss_db/db-XXX.c: Likewise.
25602         * nss/nss_db/db-initgroups.c: Likewise.
25603         * nss/nss_db/db-netgrp.c: Likewise.
25604         * nss/nss_files/files-network.c: Likewise.
25605         * nss/nss_files/files-parse.c: Likewise.
25606         * posix/bug-regex5.c: Likewise.
25607         * posix/fnmatch_loop.c: Likewise.
25608         * posix/regcomp.c: Likewise.
25609         * posix/regexec.c: Likewise.
25610         * posix/tst-rfc3484-2.c: Likewise.
25611         * posix/tst-rfc3484-3.c: Likewise.
25612         * posix/tst-rfc3484.c: Likewise.
25613         * resolv/nss_dns/dns-canon.c: Likewise.
25614         * resolv/nss_dns/dns-network.c: Likewise.
25615         * resolv/res_init.c: Likewise.
25616         * resolv/res_mkquery.c: Likewise.
25617         * resolv/tst-aton.c: Likewise.
25618         * stdlib/cxa_atexit.c: Likewise.
25619         * stdlib/cxa_finalize.c: Likewise.
25620         * stdlib/gen-fpioconst.c: Likewise.
25621         * stdlib/strtol_l.c: Likewise.
25622         * string/tst-endian.c: Likewise.
25623         * sunrpc/auth_des.c: Likewise.
25624         * sunrpc/clnt_udp.c: Likewise.
25625         * sunrpc/rtime.c: Likewise.
25626         * sunrpc/svcauth_des.c: Likewise.
25627         * sunrpc/xdr.c: Likewise.
25628         * sunrpc/xdr_intXX_t.c: Likewise.
25629         * sunrpc/xdr_rec.c: Likewise.
25630         * sysdeps/generic/ldconfig.h: Likewise.
25631         * sysdeps/generic/ldsodefs.h: Likewise.
25632         * sysdeps/generic/memusage.h: Likewise.
25633         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
25634         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
25635         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
25636         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
25637         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
25638         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
25639         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
25640         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
25641         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
25642         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
25643         * sysdeps/posix/getaddrinfo.c: Likewise.
25644         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
25645         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
25646         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
25647         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
25648         * sysdeps/powerpc/test-gettimebase.c: Likewise.
25649         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
25650         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
25651         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
25652         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
25653         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
25654         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
25655         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
25656         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
25657         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
25658         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
25659         * sysdeps/x86_64/dl-tls.h: Likewise.
25660         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
25661         * time/alt_digit.c: Likewise.
25662         * time/era.c: Likewise.
25663         * wcsmbs/tst-c16c32-1.c: Likewise.
25664
25665 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
25666
25667         * math/libm-test.inc (struct test_sincos_data): New type.
25668         (RUN_TEST_LOOP_sincos): New macro.
25669         (sincos_test_data): New variable.
25670         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
25671
25672 2013-05-16  Richard Henderson  <rth@redhat.com>
25673
25674         * math/atest-exp2.c (LIMB64): New macro.
25675         (CONSTSZ): New macro.
25676         (mp_exp1, mp_exp_m1, mp_log2): New variables.
25677         (hexdig): Move ...
25678         (print_mpn_fp): ... to function scope.
25679         (read_mpn_hex): Remove.
25680         (get_log2): Remove.
25681         (exp2_mpn): Use mp_log2.
25682         (main): Use mp_exp1.
25683
25684 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
25685
25686         * math/libm-test.inc: Remove comment about not testing "inexact"
25687         exceptions.
25688         (INEXACT_EXCEPTION): New macro.
25689         (NO_INEXACT_EXCEPTION): Likewise.
25690         (INVALID_EXCEPTION_OK): Update value.
25691         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
25692         (OVERFLOW_EXCEPTION_OK): Likewise.
25693         (UNDERFLOW_EXCEPTION_OK): Likewise.
25694         (IGNORE_ZERO_INF_SIGN): Likewise.
25695         (ERRNO_UNCHANGED): Likewise.
25696         (ERRNO_EDOM): Likewise.
25697         (ERRNO_ERANGE): Likewise.
25698         (test_exceptions): Handle testing "inexact" exceptions.
25699         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
25700         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
25701         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
25702         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
25703         INEXACT_EXCEPTION.
25704         (rint_towardzero_test_data): Likewise.
25705         (rint_downward_test_data): Likewise.
25706         (rint_upward_test_data): Likewise.
25707
25708         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
25709         with OVERFLOW_EXCEPTION.
25710         (exp10_test_data): Likewise.
25711         (exp2_test_data): Likewise.
25712         (expm1_test_data): Likewise.
25713         (lgamma_test_data): Likewise.
25714         (pow_test_data): Likewise.
25715         (tgamma_test_data): Likewise.
25716         (yn_test_data): Remove duplicate test of overflow.
25717
25718         * math/libm-test.inc (struct test_cc_c_data): New type.
25719         (RUN_TEST_LOOP_cc_c): New macro.
25720         (cpow_test_data): New variable.
25721         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
25722
25723         * math/libm-test.inc (struct test_f_L_data): New type.
25724         (RUN_TEST_LOOP_f_L): New macro.
25725         (llrint_test_data): New variable.
25726         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
25727         (llrint_tonearest_test_data): New variable.
25728         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
25729         (llrint_towardzero_test_data): New variable.
25730         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
25731         (llrint_downward_test_data): New variable.
25732         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
25733         (llrint_upward_test_data): New variable.
25734         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
25735         (llround_test_data): New variable.
25736         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
25737
25738 2013-05-13  Peter Collingbourne  <pcc@google.com>
25739
25740         * math/atest-exp2.c (get_log2): Remove const attribute.
25741
25742 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
25743
25744         * math/libm-test.inc (struct test_f_l_data): New type.
25745         (RUN_TEST_LOOP_f_l): New macro.
25746         (lrint_test_data): New variable.
25747         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
25748         (lrint_tonearest_test_data): New variable.
25749         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
25750         (lrint_towardzero_test_data): New variable.
25751         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
25752         (lrint_downward_test_data): New variable.
25753         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
25754         (lrint_upward_test_data): New variable.
25755         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
25756         (lround_test_data): New variable.
25757         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
25758
25759 2013-05-15  Peter Collingbourne  <pcc@google.com>
25760
25761         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
25762         (EXTRACT_WORDS64) Use where appropriate.
25763         (INSERT_WORDS64) Likewise.
25764
25765         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
25766         constraints with x constraints.
25767         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
25768
25769         * malloc/obstack.c (_obstack_compat): Add initializer.
25770
25771 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
25772
25773         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
25774         si_trapno and add si_addr_lsb to _sifields.sigfault.
25775         (si_trapno): Remove macro.
25776         (si_addr_lsb): Define new macro.
25777         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
25778
25779 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
25780
25781         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
25782         instead of TEST_f_l.
25783         (llrint_test_tonearest): Likewise.
25784         (llrint_test_towardzero): Likewise.
25785         (llrint_test_downward): Likewise.
25786         (llrint_test_upward): Likewise.
25787         (llround_test): Likewise.
25788
25789         * math/libm-test.inc (struct test_f_i_data): Add comment.
25790         (RUN_TEST_LOOP_f_b): New macro.
25791         (RUN_TEST_LOOP_f_b_tg): Likewise.
25792         (finite_test_data): New variable.
25793         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
25794         (isfinite_test_data): New variable.
25795         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
25796         (isinf_test_data): New variable.
25797         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
25798         (isnan_test_data): New variable.
25799         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
25800         (isnormal_test_data): New variable.
25801         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
25802         (issignaling_test_data): New variable.
25803         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
25804         (signbit_test_data): New variable.
25805         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
25806
25807         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
25808         with INVALID_EXCEPTION.
25809         (acosh_test_data): Likewise.
25810         (asin_test_data): Likewise.
25811         (atanh_test_data): Likewise.
25812         (fmod_test_data): Likewise.
25813         (log_test_data): Likewise.
25814         (log10_test_data): Likewise.
25815         (log2_test_data): Likewise.
25816         (pow_test_data): Likewise.
25817         (sqrt_test_data): Likewise.
25818         (y0_test_data): Likewise.
25819         (y1_test_data): Likewise.
25820         (yn_test_data): Likewise.
25821
25822         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
25823         function contents.
25824
25825         * math/libm-test.inc (struct test_ff_i_data): New type.
25826         (RUN_TEST_LOOP_ff_i_tg): New macro.
25827         (isgreater_test_data): New variable.
25828         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
25829         (isgreaterequal_test_data): New variable.
25830         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
25831         (isless_test_data): New variable.
25832         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
25833         (islessequal_test_data): New variable.
25834         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
25835         (islessgreater_test_data): New variable.
25836         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
25837         (isunordered_test_data): New variable.
25838         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
25839
25840 2013-05-14  David S. Miller  <davem@davemloft.net>
25841
25842         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25843
25844 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
25845
25846         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
25847
25848         * math/libm-test.inc (struct test_fF_f1_data): Change type of
25849         extra_test to int.
25850         (struct test_f_i_data): Change type of max_ulp to int.
25851
25852         * math/libm-test.inc (test_ffI_f1_data): New type.
25853         (RUN_TEST_LOOP_ffI_f1): New macro.
25854         (remquo_test_data): New variable.
25855         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
25856
25857         * setjmp/tst-setjmp-fp.c: New file.
25858         * setjmp/Makefile (tests): Add tst-setjmp-fp.
25859         (link-libm): New variable.
25860         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
25861
25862         * math/libm-test.inc (struct test_f_i_data): New type.
25863         (RUN_TEST_LOOP_f_i): New macro.
25864         (RUN_TEST_LOOP_f_i_tg): Likewise.
25865         (fpclassify_test_data): New variable.
25866         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
25867         (ilogb_test_data): New variable.
25868         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
25869
25870         * math/libm-test.inc (scalbln_test): Correct function name in END
25871         call.
25872
25873         * math/libm-test.inc (struct test_f_f1_data): Add comment.
25874         (RUN_TEST_LOOP_fI_f1): New macro.
25875         (frexp_test_data): New variable.
25876         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
25877
25878         * math/libm-test.inc (struct test_fF_f1_data): New type.
25879         (RUN_TEST_LOOP_fF_f1): New macro.
25880         (modf_test_data): New variable.
25881         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
25882
25883         * math/libm-test.inc (struct test_f_f1_data): New type.
25884         (RUN_TEST_LOOP_f_f1): New macro.
25885         (gamma_test_data): New variable.
25886         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
25887         (lgamma_test_data): New variable.
25888         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
25889
25890 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
25891
25892         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
25893         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
25894         (main): Comment "tls" pseudo-hwcap.
25895
25896 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
25897
25898         * math/libm-test.inc (struct test_fl_f_data): New type.
25899         (RUN_TEST_LOOP_fl_f): New variable.
25900         (scalbln_test_data): New variable.
25901         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
25902
25903         * math/libm-test.inc (struct test_fi_f_data): New type.
25904         (RUN_TEST_LOOP_fi_f): New macro.
25905         (ldexp_test_data): New variable.
25906         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
25907         (scalbn_test_data): New variable.
25908         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
25909
25910         * math/libm-test.inc (struct test_c_f_data): New type.
25911         (RUN_TEST_LOOP_c_f): New macro.
25912         (cabs_test_data): New variable.
25913         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
25914         (carg_test_data): New variable.
25915         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
25916         (cimag_test_data): New variable.
25917         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
25918         (creal_test_data): New variable.
25919         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
25920
25921         * math/libm-test.inc (struct test_if_f_data): New type.
25922         (RUN_TEST_LOOP_if_f): New macro.
25923         (jn_test_data): New variable.
25924         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
25925         (yn_test_data): New variable.
25926         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
25927
25928         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
25929
25930 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25931
25932         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
25933         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
25934
25935 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
25936
25937         * benchtests/Makefile (CPPFLAGS-nonlib): Add
25938         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
25939         (bench-deps): Add bench-timing.h.
25940         * benchtests-bench-skeleton.c: Include bench-timing.h.
25941         (main): Use TIMING_* macros instead of clock_gettime.
25942         * benchtests/bench-timing.h: New file.
25943
25944         [BZ #14582]
25945         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
25946         Renamed from _LIB_VERSION.
25947         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
25948
25949 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
25950
25951         * math/libm-test.inc (struct test_fff_f_data): New type.
25952         (RUN_TEST_LOOP_fff_f): New macro.
25953         (fma_test_data): New variable.
25954         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
25955         (fma_towardzero_test_data): New variable.
25956         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
25957         (fma_downward_test_data): New variable.
25958         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
25959         (fma_upward_test_data): New variable.
25960         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
25961
25962         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
25963         (struct test_c_c_data): New type.
25964         (RUN_TEST_LOOP_c_c): New macro.
25965         (cacos_test_data): New variable.
25966         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
25967         (cacosh_test_data): New variable.
25968         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
25969         (casin_test_data): New variable.
25970         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
25971         (casinh_test_data): New variable.
25972         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
25973         (catan_test_data): New variable.
25974         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
25975         (catanh_test_data): New variable.
25976         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
25977         (ccos_test_data): New variable.
25978         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
25979         (ccosh_test_data): New variable.
25980         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
25981         (cexp_test_data): New variable.
25982         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
25983         (clog_test_data): New variable.
25984         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
25985         (clog10_test_data): New variable.
25986         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
25987         (conj_test_data): New variable.
25988         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
25989         (cproj_test_data): New variable.
25990         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
25991         (csin_test_data): New variable.
25992         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
25993         (csinh_test_data): New variable.
25994         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
25995         (csqrt_test_data): New variable.
25996         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
25997         (ctan_test_data): New variable.
25998         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
25999         (ctan_tonearest_test_data): New variable.
26000         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
26001         (ctan_towardzero_test_data): New variable.
26002         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
26003         (ctan_downward_test_data): New variable.
26004         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
26005         (ctan_upward_test_data): New variable.
26006         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
26007         (ctanh_test_data): New variable.
26008         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
26009         (ctanh_tonearest_test_data): New variable.
26010         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
26011         (ctanh_towardzero_test_data): New variable.
26012         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
26013         (ctanh_downward_test_data): New variable.
26014         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
26015         (ctanh_upward_test_data): New variable.
26016         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
26017         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
26018         of BUILD_COMPLEX.
26019
26020         * math/libm-test.inc (struct test_ff_f_data): New type.
26021         (struct test_ff_f_data_nexttoward): Likewise.
26022         (RUN_TEST_LOOP_2_f): New macro.
26023         (RUN_TEST_LOOP_ff_f): Likewise.
26024         (atan2_test_data): New variable.
26025         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
26026         (copysign_test_data): New variable.
26027         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
26028         (fdim_test_data): New variable.
26029         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
26030         (fmax_test_data): New variable.
26031         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
26032         (fmin_test_data): New variable.
26033         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
26034         (fmod_test_data): New variable.
26035         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
26036         (hypot_test_data): New variable.
26037         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
26038         (nextafter_test_data): New variable.
26039         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
26040         (nexttoward_test_data): New variable.
26041         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
26042         (pow_test_data): New variable.
26043         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
26044         (pow_tonearest_test_data): New variable.
26045         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
26046         (pow_towardzero_test_data): New variable.
26047         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
26048         (pow_downward_test_data): New variable.
26049         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
26050         (pow_upward_test_data): New variable.
26051         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
26052         (remainder_test_data): New variable.
26053         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
26054         (scalb_test_data): New variable.
26055         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
26056         * sysdeps/i386/fpu/libm-test-ulps: Update.
26057
26058 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
26059
26060         * math/libm-test.inc (fma_test): Use max_value instead of local
26061         variable fltmax.
26062         (nextafter_test): Likewise.
26063
26064         * math/libm-test.inc (acos_towardzero_test_data): New variable.
26065         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26066         (acos_downward_test_data): New variable.
26067         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26068         (acos_upward_test_data): New variable.
26069         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26070         (acosh_test_data): New variable.
26071         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
26072         (asin_test_data): New variable.
26073         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
26074         (asin_tonearest_test_data): New variable.
26075         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26076         (asin_towardzero_test_data): New variable.
26077         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26078         (asin_downward_test_data): New variable.
26079         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26080         (asin_upward_test_data): New variable.
26081         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26082         (asinh_test_data): New variable.
26083         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
26084         (atan_test_data): New variable.
26085         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
26086         (atanh_test_data): New variable.
26087         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
26088         (cbrt_test_data): New variable.
26089         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
26090         (ceil_test_data): New variable.
26091         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
26092         (cos_test_data): New variable.
26093         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
26094         (cos_tonearest_test_data): New variable.
26095         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26096         (cos_towardzero_test_data): New variable.
26097         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26098         (cos_downward_test_data): New variable.
26099         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26100         (cos_upward_test_data): New variable.
26101         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26102         (cosh_test_data): New variable.
26103         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
26104         (cosh_tonearest_test_data): New variable.
26105         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26106         (cosh_towardzero_test_data): New variable.
26107         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26108         (cosh_downward_test_data): New variable.
26109         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26110         (cosh_upward_test_data): New variable.
26111         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26112         (erf_test_data): New variable.
26113         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
26114         (erfc_test_data): New variable.
26115         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
26116         (exp_test_data): New variable.
26117         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
26118         (exp_tonearest_test_data): New variable.
26119         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26120         (exp_towardzero_test_data): New variable.
26121         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26122         (exp_downward_test_data): New variable.
26123         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26124         (exp_upward_test_data): New variable.
26125         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26126         (exp10_test_data): New variable.
26127         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
26128         (exp2_test_data): New variable.
26129         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
26130         (expm1_test_data): New variable.
26131         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
26132         (fabs_test_data): New variable.
26133         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
26134         (floor_test_data): New variable.
26135         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
26136         (j0_test_data): New variable.
26137         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
26138         (j1_test_data): New variable.
26139         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
26140         (log_test_data): New variable.
26141         (log_test): Run tests with RUN_TEST_LOOP_f_f.
26142         (log10_test_data): New variable.
26143         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
26144         (log1p_test_data): New variable.
26145         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
26146         (log2_test_data): New variable.
26147         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
26148         (logb_test_data): New variable.
26149         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
26150         (logb_downward_test_data): New variable.
26151         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26152         (nearbyint_test_data): New variable.
26153         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
26154         (rint_test_data): New variable.
26155         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
26156         (rint_tonearest_test_data): New variable.
26157         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26158         (rint_towardzero_test_data): New variable.
26159         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26160         (rint_downward_test_data): New variable.
26161         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26162         (rint_upward_test_data): New variable.
26163         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26164         (round_test_data): New variable.
26165         (round_test): Run tests with RUN_TEST_LOOP_f_f.
26166         (sin_test_data): New variable.
26167         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
26168         (sin_tonearest_test_data): New variable.
26169         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26170         (sin_towardzero_test_data): New variable.
26171         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26172         (sin_downward_test_data): New variable.
26173         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26174         (sin_upward_test_data): New variable.
26175         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26176         (sinh_test_data): New variable.
26177         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
26178         (sinh_tonearest_test_data): New variable.
26179         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26180         (sinh_towardzero_test_data): New variable.
26181         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26182         (sinh_downward_test_data): New variable.
26183         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26184         (sinh_upward_test_data): New variable.
26185         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26186         (sqrt_test_data): New variable.
26187         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
26188         (tan_test_data): New variable.
26189         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
26190         (tan_tonearest_test_data): New variable.
26191         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26192         (tan_towardzero_test_data): New variable.
26193         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26194         (tan_downward_test_data): New variable.
26195         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26196         (tan_upward_test_data): New variable.
26197         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26198         (tanh_test_data): New variable.
26199         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
26200         (tgamma_test_data): New variable.
26201         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
26202         (trunc_test_data): New variable.
26203         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
26204         (y0_test_data): New variable.
26205         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
26206         (y1_test_data): New variable.
26207         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
26208         (significand_test_data): New variable.
26209         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
26210
26211 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
26212
26213         [BZ #12387]
26214         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
26215
26216 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
26217
26218         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
26219
26220 2013-05-10  Andreas Jaeger  <aj@suse.de>
26221
26222         [BZ #15448]
26223         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
26224         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
26225
26226 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
26227
26228         * math/gen-libm-test.pl (adjust_arg): New function.
26229         (special_functions): Handle generating output in both functions
26230         and arrays.
26231         (parse_args): Likewise.
26232         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
26233         $in_func argument to parse_args.
26234         * math/libm-test.inc (struct test_f_f_data): New type.
26235         (IF_ROUND_INIT_): New macro.
26236         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
26237         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
26238         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
26239         (IF_ROUND_INIT_FE_UPWARD): Likewise.
26240         (ROUND_RESTORE_): Likewise.
26241         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
26242         (ROUND_RESTORE_FE_TONEAREST): Likewise.
26243         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
26244         (ROUND_RESTORE_FE_UPWARD): Likewise.
26245         (RUN_TEST_LOOP_f_f): New macro.
26246         (acos_test_data): New variable.
26247         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
26248         (acos_tonearest_test_data): New variable.
26249         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26250
26251 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
26252
26253         * benchtests/bench-skeleton.c (startup): Fix coding style.
26254
26255 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
26256
26257         [BZ #6809]
26258         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
26259         negative infinity argument.
26260         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
26261         negative infinity argument.
26262         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
26263         negative infinity argument.
26264         * math/libm-test.inc (tgamma_test): Expect errno to be set for
26265         domain errors.
26266
26267 2013-05-10  Florian Weimer  <fweimer@redhat.com>
26268
26269         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
26270         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
26271         * iconv/iconv_prog.c (main): Likewise.
26272         * locale/programs/charmap-dir.c (charmap_readdir)
26273         (fopen_uncompressed): Likewise.
26274         * locale/programs/locfile.c (siblings_uncached)
26275         (write_locale_data): Use lstat64 instead of lstat.
26276         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
26277         stat.
26278
26279 2013-05-10  Andreas Jaeger  <aj@suse.de>
26280
26281         [BZ #15395]
26282         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
26283         localization.
26284         Include <locale.h>.
26285
26286 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
26287
26288         * elf/dl-close.c (_dl_close_worker): Add comments.
26289
26290 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
26291
26292         [BZ #15359]
26293         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
26294         high part of pi/2.
26295         (__ieee754_rem_pio2l): Update comments.
26296
26297         [BZ #15429]
26298         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
26299         high part of pi/2.
26300         (__ieee754_rem_pio2l): Update comments.
26301
26302         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
26303         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
26304
26305         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
26306         M_PI_4l.
26307
26308         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
26309         (M_PI_34_LOG10El): Likewise.
26310         (M_PI2_LOG10El): Likewise.
26311         (M_PI4_LOG10El): Likewise.
26312         (M_PI_LOG10El): Likewise.
26313
26314 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26315
26316         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26317
26318 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
26319
26320         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
26321         (MINUS_ZERO_INIT): Likewise.
26322         (PLUS_INFTY_INIT): Likewise.
26323         (MINUS_INFTY_INIT): Likewise.
26324         (QNAN_VALUE_INIT): Likewise.
26325         (MAX_VALUE_INIT): Likewise.
26326         (MIN_VALUE_INIT): Likewise.
26327         (MIN_SUBNORM_VALUE_INIT): Likewise.
26328         (plus_zero): Initialize with PLUS_ZERO_INIT.
26329         (minus_zero): Initialize with MINUS_ZERO_INIT.
26330         (plus_infty): Initialize with PLUS_INFTY_INIT.
26331         (minus_infty): Initialize with MINUS_INFTY_INIT.
26332         (qnan_value): Initialize with QNAN_VALUE_INIT.
26333         (max_value): Initialize with MAX_VALUE_INIT.
26334         (min_value): Initialize with MIN_VALUE_INIT.
26335         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
26336
26337         * math/libm-test.inc (RUN_TEST_if_f): New macro.
26338         (jn_test): Use TEST_if_f instead of TEST_ff_f.
26339         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
26340         (yn_test): Use TEST_if_f instead of TEST_ff_f.
26341
26342         * math/libm-test.inc (RUN_TEST_f_f): New macro.
26343         (RUN_TEST_2_f): Likewise.
26344         (RUN_TEST_ff_f): Likewise.
26345         (RUN_TEST_fi_f): Likewise.
26346         (RUN_TEST_fl_f): Likewise.
26347         (RUN_TEST_fff_f): Likewise.
26348         (RUN_TEST_c_f): Likewise.
26349         (RUN_TEST_f_f1): Likewise.
26350         (RUN_TEST_fF_f1): Likewise.
26351         (RUN_TEST_fI_f1): Likewise.
26352         (RUN_TEST_ffI_f1): Likewise.
26353         (RUN_TEST_c_c): Likewise.
26354         (RUN_TEST_cc_c): Likewise.
26355         (RUN_TEST_f_i): Likewise.
26356         (RUN_TEST_f_i_tg): Likewise.
26357         (RUN_TEST_ff_i_tg): Likewise.
26358         (RUN_TEST_f_b): Likewise.
26359         (RUN_TEST_f_b_tg): Likewise.
26360         (RUN_TEST_f_l): Likewise.
26361         (RUN_TEST_f_L): Likewise.
26362         (RUN_TEST_sincos): Likewise.
26363         * math/gen-libm-test.pl (new_test): Take new argument to indicate
26364         whether to show exceptions.  Do not include ");\n" in return
26365         value.
26366         (special_functions): Output call to RUN_TEST_sincos instead of
26367         check_float calls.  Update calls to new_test.
26368         (parse_args): Output call to single RUN_TEST_* macro instead of
26369         check_* calls and other assignments.  Update calls to new_test.
26370
26371         [BZ #2546]
26372         [BZ #2560]
26373         [BZ #5159]
26374         [BZ #15426]
26375         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
26376         input to result for tgamma overflow.
26377         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
26378         (gamma_coeff): New variable.
26379         (NCOEFF): New macro.
26380         (gamma_positive): New function.
26381         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
26382         underflow here.  Use gamma_positive instead of exp (lgamma) for
26383         other arguments.
26384         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
26385         (gamma_coeff): New variable.
26386         (NCOEFF): New macro.
26387         (gammaf_positive): New function.
26388         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
26389         underflow here.  Use gamma_positive instead of exp (lgamma) for
26390         other arguments.
26391         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
26392         (gamma_coeff): New variable.
26393         (NCOEFF): New macro.
26394         (gammal_positive): New function.
26395         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
26396         underflow here.  Use gamma_positive instead of exp (lgamma) for
26397         other arguments.
26398         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
26399         (gamma_coeff): New variable.
26400         (NCOEFF): New macro.
26401         (gammal_positive): New function.
26402         (__ieee754_gammal_r): Handle positive infinity, overflow and
26403         underflow here.  Handle NaN the same as positive infinity.  Remove
26404         check x < 0xffffffff for negative integers.  Use gamma_positive
26405         instead of exp (lgamma) for other arguments.
26406         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
26407         (gamma_coeff): New variable.
26408         (NCOEFF): New macro.
26409         (gammal_positive): New function.
26410         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
26411         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
26412         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
26413         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
26414         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
26415         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
26416         * sysdeps/generic/math_private.h (__gamma_productf): New
26417         prototype.
26418         (__gamma_product): Likewise.
26419         (__gamma_productl): Likewise.
26420         * math/Makefile (libm-calls): Add gamma_product.
26421         * math/libm-test.inc (tgamma_test): Add more tests.
26422         * sysdeps/i386/fpu/libm-test-ulps: Update.
26423         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26424
26425 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
26426
26427         * benchtests/bench-skeleton.c (main): Preheat CPU.
26428
26429 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
26430
26431         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
26432
26433 2013-05-07  Roland McGrath  <roland@hack.frob.com>
26434
26435         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
26436         and _dl_skip_args_internal.
26437
26438 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
26439
26440         * manual/message.texi (Message Translation): Talk about users.
26441         Message to key mapping impacts design.
26442
26443 2013-05-06  Roland McGrath  <roland@hack.frob.com>
26444
26445         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
26446
26447         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
26448
26449         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
26450         * sysdeps/wordsize-64/glob64.c: ... here.
26451
26452         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
26453         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
26454         New macros.
26455
26456         * debug/getlogin_r_chk.c: Moved to ...
26457         * login/getlogin_r_chk.c: ... here.
26458         * debug/Makefile (routines): Move getlogin_r_chk to ...
26459         * login/Makefile (routines): ... here.
26460         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
26461         * login/Versions (libc: GLIBC_2.4): ... here.
26462
26463         * io/poll.c (__poll): Renamed from poll.
26464         Add libc_hidden_def.
26465         (poll): Define as weak alias.
26466
26467         * debug/ptsname_r_chk.c: Moved to ...
26468         * login/ptsname_r_chk.c: ... here.
26469         * debug/Makefile (routines): Move ptsname_r_chk to ...
26470         * login/Makefile (routines): ... here.
26471         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
26472         * login/Versions (libc: GLIBC_2.4): ... here.
26473
26474         * posix/getlogin.c: Moved to ...
26475         * login/getlogin.c: ... here.
26476         * posix/getlogin_r.c: Moved to ...
26477         * login/getlogin_r.c: ... here.
26478         * posix/getlogin_r.c: Moved to ...
26479         * login/getlogin_r.c: ... here.
26480         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
26481         * login/Makefile (routines): ... here.
26482         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
26483         * login/Versions (libc: GLIBC_2.0): ... here.
26484
26485         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
26486         (setrlimit): Define as weak alias.
26487
26488         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
26489         Call __ names for open, ftruncate, and close.
26490         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
26491         (truncate): Define as weak alias.
26492
26493 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
26494
26495         * math/gen-libm-test.pl (parse_args): Initialize x before each
26496         test of frexp, modf and remquo.
26497
26498         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
26499         test signgam value.
26500
26501 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26502
26503         [BZ #15418]
26504         [BZ #15419]
26505         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
26506         internal tests.
26507         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
26508
26509 2013-05-06  Roland McGrath  <roland@hack.frob.com>
26510
26511         * elf/dl-writev.h: New file.
26512         * elf/dl-misc.c: Include it.
26513         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
26514         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
26515
26516 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
26517
26518         * math/libm-test.inc (noXFails): Remove variable.
26519         (noXPasses): Likewise.
26520         (BUILD_COMPLEX_INT): Remove macro.
26521         (print_screen): Remove xfail argument.
26522         (print_screen_max_error): Likewise.
26523         (update_stats): Likewise.
26524         (print_max_error): Likewise.  Update calls to other affected
26525         functions.
26526         (print_complex_max_error): Likewise.
26527         (test_single_exception): Update calls to print_screen.
26528         (test_single_errno): Likewise.
26529         (check_float_internal): Remove xfail argument.  Update calls to
26530         other affected functions.
26531         (check_float): Likewise.
26532         (check_complex): Likewise.
26533         (check_int): Likewise.
26534         (check_long): Likewise.
26535         (check_bool): Likewise.
26536         (check_longlong): Likewise.
26537         (main): Don't print noXFails and noXPasses.
26538         * math/gen-libm-test.pl (top level): Don't mention expected
26539         failure handling in comment.
26540         (new_test): Don't handle expected failures.
26541         (parse_args): Don't mention expected failure handling in comment.
26542         (generate_testfile): Don't handle expected failures.
26543         (parse_ulps): Likewise.
26544         (print_ulps_file): Likewise.
26545         (get_failure): Remove function.
26546         (output_test): Don't handle expected failures.
26547         * make/README.libm-test: Don't mention expected failure handling.
26548
26549         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
26550         (minus_zero): Likewise.
26551         (plus_infty): Likewise.
26552         (minus_infty): Likewise.
26553         (qnan_value): Likewise.
26554         (max_value): Likewise.
26555         (min_value): Likewise.
26556         (min_subnorm_value): Likewise.
26557         (initialize): Do not initialize those variables dynamically.
26558
26559 2013-05-03  Roland McGrath  <roland@hack.frob.com>
26560
26561         * io/open.c (__open_2): Moved to ...
26562         * io/open_2.c: ... this new file.
26563         * io/open64.c (__open64_2): Moved to ...
26564         * io/open64_2.c: ... this new file.
26565         * io/openat.c (__openat_2): Moved to ...
26566         * io/openat_2.c: ... this new file.
26567         * io/openat64.c (__openat64_2): Moved to ...
26568         * io/openat64_2.c: ... this new file.
26569         * io/Makefile (routines): Add them.
26570         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
26571         * sysdeps/unix/sysv/linux/open_2.c: File removed.
26572         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
26573         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
26574         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
26575         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
26576         (__openat64): Add hidden_ver.
26577         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
26578         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
26579
26580         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
26581         Separately conditionalize setting of GLRO(dl_sysinfo) so
26582         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
26583         as well, but the actual setting is only under [NEED_DL_SYSINFO].
26584
26585 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26586
26587         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
26588         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
26589         definition.
26590         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
26591         * sysdeps/unix/sysv/linux/powerpc/init-first.c
26592         (_libc_vdso_platform_setup): Add __vdso_time initialization.
26593         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
26594         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
26595
26596 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
26597
26598         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
26599         test signgam value.
26600
26601         * math/libm-test.inc (hypot_test): Do not use
26602         IGNORE_ZERO_INF_SIGN.
26603
26604 2013-05-03  Andreas Jaeger  <aj@suse.de>
26605
26606         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
26607         Linux 3.9.
26608         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
26609         (PF_MAX): Adjust for VSOCK change.
26610
26611 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26612
26613         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26614
26615 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
26616
26617         [BZ #15264]
26618         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
26619         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
26620         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
26621
26622 2013-05-02  David S. Miller  <davem@davemloft.net>
26623
26624         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26625
26626 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
26627
26628         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
26629
26630 2013-05-01  Roland McGrath  <roland@hack.frob.com>
26631
26632         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
26633
26634 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
26635
26636         [BZ #14952]
26637         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
26638         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
26639         Use __attribute__ ((__gnu_inline__)).
26640         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
26641         Don't use __attribute__ ((__gnu_inline__)).
26642
26643 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
26644
26645         [BZ #15423]
26646         * math/s_catan.c (__catan): Handle small real or imaginary part of
26647         input specially to avoid spurious underflow.
26648         * math/s_catanf.c (__catanf): Likewise.
26649         * math/s_catanh.c (__catanh): Likewise.
26650         * math/s_catanhf.c (__catanhf): Likewise.
26651         * math/s_catanhl.c (__catanhl): Likewise.
26652         * math/s_catanl.c (__catanl): Likewise.
26653         * math/libm-test.inc (catan_test): Add more tests.
26654         (catanh_test): Likewise.
26655         * sysdeps/i386/fpu/libm-test-ulps: Update.
26656         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26657
26658 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26659
26660         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26661
26662 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
26663
26664         [BZ #15416]
26665         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
26666         accurately for denominator in atan2.
26667         * math/s_catanf.c (__catanf): Likewise.
26668         * math/s_catanh.c (__catanh): Likewise.
26669         * math/s_catanhf.c (__catanhf): Likewise.
26670         * math/s_catanhl.c (__catanhl): Likewise.
26671         * math/s_catanl.c (__catanl): Likewise.
26672         * math/libm-test.inc (catan_test): Add more tests.
26673         (catanh_test): Likewise.
26674         * sysdeps/i386/fpu/libm-test-ulps: Update.
26675         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26676
26677 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
26678
26679         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
26680
26681         * benchtests/Makefile (bench): Remove slow benchmarks.
26682         * benchtests/atan-inputs: Add slow benchmark inputs.
26683         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
26684         (BENCH_FUNC): Accept variant offset.
26685         (VARIANT): Define.
26686         * benchtests/bench-skeleton.c (main): Run benchmark for each
26687         variant.
26688         * benchtests/cos-inputs: Add slow benchmark inputs.
26689         * benchtests/exp-inputs: Likewise.
26690         * benchtests/pow-inputs: Likewise.
26691         * benchtests/sin-inputs: Likewise.
26692         * benchtests/slowatan-inputs: Remove.
26693         * benchtests/slowatan.c: Remove.
26694         * benchtests/slowcos-inputs: Remove.
26695         * benchtests/slowcos.c: Remove.
26696         * benchtests/slowexp-inputs: Remove.
26697         * benchtests/slowexp.c: Remove.
26698         * benchtests/slowpow-inputs: Remove.
26699         * benchtests/slowpow.c: Remove.
26700         * benchtests/slowsin-inputs: Remove.
26701         * benchtests/slowsin.c: Remove.
26702         * benchtests/slowtan-inputs: Remove.
26703         * benchtests/slowtan.c: Remove.
26704         * benchtests/tan-inputs: Add slow benchmark inputs.
26705         * scripts/bench.pl: Parse comments and directives.
26706
26707         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
26708         in CPPFLAGS.
26709         ($(objpfx)bench-%.c): Remove *-ITER.
26710         * benchtests/bench-modf.c: Remove definition of ITER.
26711         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
26712         (main): Loop for DURATION seconds instead of fixed number of
26713         iterations.
26714         * scripts/bench.pl: Don't expect iterations in parameters.
26715
26716 2013-04-29  Roland McGrath  <roland@hack.frob.com>
26717
26718         * io/fchdir.c (__fchdir): Renamed from fchdir.
26719         (fchdir): Define as weak alias.
26720
26721 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
26722
26723         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
26724         (ERRNO_EDOM): Likewise.
26725         (ERRNO_ERANGE): Likewise.
26726         (noErrnoTests): New variable.
26727         (init_max_error): Set errno to 0.
26728         (test_single_errno): New function.
26729         (test_errno): Likewise.
26730         (check_float_internal): Call test_errno.  Set errno to 0.
26731         (check_complex): Refer to errno tests in comment.
26732         (check_int): Call test_errno.  Set errno to 0.
26733         (check_long): Likewise.
26734         (check_bool): Likewise.
26735         (check_longlong): Likewise.
26736         (cos_test): Use ERRNO_* flags for errno tests instead of
26737         check_int.
26738         (expm1_test): Likewise.
26739         (fmod_test): Likewise.
26740         (ilogb_test): Likewise.
26741         (lgamma_test): Likewise.
26742         (pow_test): Likewise.
26743         (remainder_test): Likewise.
26744         (sin_test): Likewise.
26745         (tan_test): Likewise.
26746         (yn_test): Likewise.
26747         (initialize): Set errno to 0.
26748         (main): Print number of errno tests.
26749         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
26750
26751 2013-04-29  Andreas Jaeger  <aj@suse.de>
26752
26753         [BZ #15084]
26754         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
26755         and RES_USEVC.
26756
26757         [BZ #15085]
26758         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
26759         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
26760         unimplemented.
26761
26762         [BZ #15380]
26763         * stdlib/random.c (__initstate): Return NULL if
26764         __initstate fails.
26765
26766         [BZ #15086]
26767         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
26768         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
26769         RES_SNGLKUPREOP.
26770
26771 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26772
26773         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26774
26775 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
26776
26777         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
26778         of individual tests.
26779         (casin_test): Likewise.
26780         (casinh_test): Likewise.
26781
26782 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
26783
26784         [BZ #15409]
26785         * math/s_catan.c (__catan): Handle arguments with large real or
26786         imaginary part separately without squaring.
26787         * math/s_catanf.c (__catanf): Likewise.
26788         * math/s_catanh.c (__catanh): Likewise.
26789         * math/s_catanhf.c (__catanhf): Likewise.
26790         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
26791         and redefine.
26792         (__catanhl): Handle arguments with large real or imaginary part
26793         separately without squaring.
26794         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
26795         and redefine.
26796         (__catanl): Handle arguments with large real or imaginary part
26797         separately without squaring.
26798         * math/libm-test.inc (catan_test): Add more tests.
26799         (catanh_test): Likewise.
26800         * sysdeps/i386/fpu/libm-test-ulps: Update.
26801         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26802
26803 2013-04-27  Andreas Jaeger  <aj@suse.de>
26804
26805         [BZ #15007]
26806         * stdlib/stdlib.h: Update guards for qecvt.
26807         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
26808         <stdlib.h>.
26809
26810 2013-04-27  Allan McRae  <allan@archlinux.org>
26811
26812         * sysdeps/i386/fpu/libm-test-ulps: Update.
26813
26814 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
26815
26816         [BZ #15406]
26817         * math/s_catan.c: Include <float.h>.
26818         (__catan): Ensure underflow exception occurs for underflowed
26819         result.
26820         * math/s_catanf.c: Include <float.h>.
26821         (__catanf): Ensure underflow exception occurs for underflowed
26822         result.
26823         * math/s_catanh.c: Include <float.h>.
26824         (__catanh): Ensure underflow exception occurs for underflowed
26825         result.
26826         * math/s_catanhf.c: Include <float.h>.
26827         (__catanhf): Ensure underflow exception occurs for underflowed
26828         result.
26829         * math/s_catanhl.c: Include <float.h>.
26830         (__catanhl): Ensure underflow exception occurs for underflowed
26831         result.
26832         * math/s_catanl.c: Include <float.h>.
26833         (__catanl): Ensure underflow exception occurs for underflowed
26834         result.
26835         * math/libm-test.inc (catan_test): Add more tests.
26836         (catanh_test): Likewise.
26837
26838         [BZ #15405]
26839         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
26840         underflowed result.
26841         * math/s_ccoshf.c (__ccoshf): Likewise.
26842         * math/s_ccoshl.c (__ccoshl): Likewise.
26843         * math/s_csin.c (__csin): Likewise.
26844         * math/s_csinf.c (__csinf): Likewise.
26845         * math/s_csinh.c (__csinh): Likewise.
26846         * math/s_csinhf.c (__csinhf): Likewise.
26847         * math/s_csinhl.c (__csinhl): Likewise.
26848         * math/s_csinl.c (__csinl): Likewise.
26849         * math/libm-test.inc (ccos_test): Add more tests.
26850         (ccosh_test): Likewise.
26851         (csin_test): Likewise.
26852         (csinh_test): Likewise.
26853
26854 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26855
26856         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
26857         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
26858         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
26859         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
26860         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
26861         powerpc/power5+/fpu folders.
26862         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
26863
26864
26865 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
26866
26867         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26868
26869 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
26870
26871         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
26872         additions to variable.
26873         [$(config-machine) = x86_64] (modules-names): Likewise.
26874         ($(objpfx)tst-audit3): Remove dependency.
26875         ($(objpfx)tst-audit3.out): Likewise.
26876         ($(objpfx)tst-audit4): Likewise.
26877         ($(objpfx)tst-audit4.out): Likewise.
26878         ($(objpfx)tst-audit5): Likewise.
26879         ($(objpfx)tst-audit5.out): Likewise.
26880         ($(objpfx)tst-audit6): Likewise.
26881         ($(objpfx)tst-audit6.out): Likewise.
26882         ($(objpfx)tst-audit7): Likewise.
26883         ($(objpfx)tst-audit7.out): Likewise.
26884         (tst-audit3-ENV): Remove variable.
26885         (tst-audit4-ENV): Likewise.
26886         (tst-audit5-ENV): Likewise.
26887         (tst-audit6-ENV): Likewise.
26888         (tst-audit7-ENV): Likewise.
26889         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
26890         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
26891         addition to variable.
26892         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
26893         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
26894         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
26895         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
26896         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
26897         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
26898         tst-audit3, tst-audit4 and tst-audit5.
26899         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
26900         tst-audit6 and tst-audit7.
26901         [$(subdir) = elf] (modules-names): Add audit modules for those
26902         tests.
26903         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
26904         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
26905         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
26906         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
26907         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
26908         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
26909         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
26910         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
26911         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
26912         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
26913         [$(subdir) = elf] (tst-audit3-ENV): New variable.
26914         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
26915         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
26916         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
26917         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
26918         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
26919         Likewise.
26920         [$(subdir) = elf && $(config-cflags-avx) = yes]
26921         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
26922         [$(subdir) = elf && $(config-cflags-avx) = yes]
26923         (CFLAGS-tst-auditmod4a.c): Likewise.
26924         [$(subdir) = elf && $(config-cflags-avx) = yes]
26925         (CFLAGS-tst-auditmod4b.c): Likewise.
26926         [$(subdir) = elf && $(config-cflags-avx) = yes]
26927         (CFLAGS-tst-auditmod6b.c): Likewise.
26928         [$(subdir) = elf && $(config-cflags-avx) = yes]
26929         (CFLAGS-tst-auditmod6c.c): Likewise.
26930         [$(subdir) = elf && $(config-cflags-avx) = yes]
26931         (CFLAGS-tst-auditmod7b.c): Likewise.
26932         * elf/tst-audit3.c: Move to ...
26933         * sysdeps/x86_64/tst-audit3.c: ... here.
26934         * elf/tst-audit4.c: Move to ...
26935         * sysdeps/x86_64/tst-audit4.c: ... here.
26936         * elf/tst-audit5.c: Move to ...
26937         * sysdeps/x86_64/tst-audit5.c: ... here.
26938         * elf/tst-audit6.c: Move to ...
26939         * sysdeps/x86_64/tst-audit6.c: ... here.
26940         * elf/tst-audit7.c: Move to ...
26941         * sysdeps/x86_64/tst-audit7.c: ... here.
26942         * elf/tst-auditmod3a.c: Move to ...
26943         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
26944         * elf/tst-auditmod3b.c: Move to ...
26945         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
26946         * elf/tst-auditmod4a.c: Move to ...
26947         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
26948         * elf/tst-auditmod4b.c: Move to ...
26949         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
26950         * elf/tst-auditmod5a.c: Move to ...
26951         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
26952         * elf/tst-auditmod5b.c: Move to ...
26953         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
26954         * elf/tst-auditmod6a.c: Move to ...
26955         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
26956         * elf/tst-auditmod6b.c: Move to ...
26957         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
26958         * elf/tst-auditmod6c.c: Move to ...
26959         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
26960         * elf/tst-auditmod7a.c: Move to ...
26961         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
26962         * elf/tst-auditmod7b.c: Move to ...
26963         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
26964
26965 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
26966
26967         [BZ #15366]
26968         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
26969         define unconditionally.
26970         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
26971         define unconditionally.
26972         (INT8_C, INT16_C, etc.): Likewise.
26973
26974 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
26975
26976         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
26977         __ehdr_start with hidden visibility.
26978
26979         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
26980
26981 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
26982
26983         * math/libm-test.inc (cos_test): Use accurate hex constants.
26984         (sincost_test): Likewise.
26985
26986 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
26987
26988         * math/libm-test.inc (catan_test): Add more tests.
26989         (catanh_test): Likewise.
26990
26991         * math/s_catanf.c (__catanf): Use suffixed floating-point
26992         constants.
26993         * math/s_catanhf.c (__catanhf): Likewise.
26994         * math/s_catanhl.c (__catanhl): Likewise.
26995         * math/s_catanl.c (__catanl): Likewise.
26996
26997         [BZ #15394]
26998         * math/s_catan.c (__catan): Calculate imaginary part of result
26999         with log1p not log unless computing log of number close to 0.
27000         * math/s_catanf.c (__catanf): Likewise.
27001         * math/s_catanl.c (__catanl): Likewise.
27002         * math/s_catanh.c (__catanh): Calculate real part of result with
27003         log1p not log unless computing log of number close to 0.
27004         * math/s_catanhf.c (__catanhf): Likewise.
27005         * math/s_catanhl.c (__catanhl): Likewise.
27006         * math/libm-test.inc (catan_test): Add more tests.
27007         (catanh_test): Likewise.
27008         * sysdeps/i386/fpu/libm-test-ulps: Update.
27009         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27010
27011 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
27012
27013         * benchtests/Makefile: Mention files in which fast and slow
27014         paths of math functions are implemented.
27015
27016 2013-04-23  Roland McGrath  <roland@hack.frob.com>
27017
27018         * sysdeps/posix/timespec_get.c: New file.
27019
27020 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27021
27022         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
27023         POWER.
27024         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
27025         for POWER.
27026         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
27027         powerpc/power5/fpu folders.
27028         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
27029         * benchtests/Makefile: Add modf testcase.
27030         * benchtests/bench-modf.c: New file: Benchmark test for mo
27031
27032 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
27033
27034         [BZ #14888]
27035         * time/Makefile (tests): Add tst-strptime-whitespace.
27036         * time/strptime_l.c (get_number): Use ISSPACE.
27037         (__strptime_internal): Likewise.
27038         * time/tst-strptime-whitespace.c: New test case.
27039
27040 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
27041
27042         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
27043         member.
27044         (_nss_files_init): Set it here.
27045
27046 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
27047
27048         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
27049         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
27050         unsigned.
27051
27052 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
27053
27054         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
27055
27056 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
27057
27058         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
27059         size just once.
27060
27061 2013-04-21  David S. Miller  <davem@davemloft.net>
27062
27063         * po/ru.po: Update Russion translation from translation project.
27064
27065 2013-04-17  Adam Conrad  <adconrad@0c3.net>
27066
27067         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
27068         and setfsgid.
27069
27070 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
27071
27072         * configure.in: Remove i386 configure warning. Remove i386 case.
27073         * configure: Regenerate.
27074         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
27075         Add example to error message.
27076         * sysdeps/i386/configure: Regenerate.
27077
27078 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
27079
27080         * benchtests/Makefile (bench): Add cos, tan, slowcos and
27081         slowtan.
27082         * benchtests/cos-inputs: New file.
27083         * benchtests/slowcos-inputs: New file.
27084         * benchtests/slowcos.c: New file.
27085         * benchtests/slowtan-inputs: New file.
27086         * benchtests/slowtan.c: New file.
27087         * benchtests/tan-inputs: New file.
27088
27089 2013-04-16  Roland McGrath  <roland@hack.frob.com>
27090
27091         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
27092         considered kosher.
27093
27094 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
27095
27096         * benchtests/Makefile: Include cppflags-iterator.mk to add
27097         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
27098
27099         * Makefile.in (bench-clean): New target.
27100         * benchtests/Makefile (bench-clean): Likewise.
27101
27102 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
27103
27104         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
27105
27106 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
27107
27108         * stdio-common/tstdiomisc.c: Fix coding-style violation.
27109
27110 2013-04-15  Andreas Schwab  <schwab@suse.de>
27111
27112         * nscd/grpcache.c (cache_addgr): Properly check for short write.
27113         * nscd/initgrcache.c (addinitgroupsX): Likewise.
27114         * nscd/pwdcache.c (cache_addpw): Likewise.
27115         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
27116         more than recsize.
27117
27118 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
27119
27120         * benchtests/Makefile (bench): Write all output to
27121         bench-out.tmp together.
27122
27123 2013-04-15  Andreas Schwab  <schwab@suse.de>
27124
27125         * nscd/nscd.c (main): Don't fork again after closing files.
27126
27127 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
27128
27129         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
27130
27131         * benchtests/Rules (bench-deps): Collect dependencies into a
27132         single variable.  Add Makefile to dependencies.
27133         ($(objpfx)bench-%.c): Depend on bench-deps.
27134
27135 2013-04-12  Roland McGrath  <roland@hack.frob.com>
27136             Xavier Roche  <roche+kml2@exalead.com>
27137
27138         [BZ #15361]
27139         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
27140         just that it's a file descriptor.
27141         * manual/llio.texi (Synchronizing AIO Operations): Update description
27142         for EBADF error from aio_fsync.
27143
27144 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
27145
27146         * Rules (bench): Move target definition...
27147         * benchtests/Makefile: ... here.
27148
27149 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
27150
27151         * math/libm-test.inc (cos_test): Fix PI/2 test.
27152         (sincos_test): Likewise.
27153         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
27154         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
27155
27156 2013-04-11  Andreas Schwab  <schwab@suse.de>
27157
27158         [BZ #13988]
27159         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
27160         accept exponent character only when digits were seen.
27161         * stdio-common/Makefile (tests): Add bug26.
27162         * stdio-common/bug26.c: New file.
27163
27164         [BZ #14293]
27165         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
27166         non-freeable.
27167
27168 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
27169
27170         * Makeconfig (rtld-prefix): Define built linker prefix.
27171         * Rules (run-bench): Use it.
27172         * math/Makefile (run-regen-ulps): Likewise.
27173
27174         * Rules (bench): Remove eval.
27175
27176 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
27177             Roland McGrath  <roland@hack.frob.com>
27178             Ondrej Bilka  <neleai@seznam.cz>
27179
27180         [BZ #15346]
27181         * time/getdate.c: Include ctype.h and alloca.h.
27182         (__getdate_r): Trim leading and trailing spaces of input.
27183         * time/tst-getdate.c (tests): Add tests with leading and
27184         trailing spaces.
27185
27186 2013-04-08  Roland McGrath  <roland@hack.frob.com>
27187
27188         [BZ #14280]
27189         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
27190         when computing value.
27191
27192 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
27193
27194         * math/README.libm-test (How can I generate "libm-test-ulps"?):
27195         Use testrun.sh to run libm tests.
27196
27197         [BZ #15309]
27198         * elf/dl-open.c (dl_open_worker): memset all of seen array.
27199
27200 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
27201
27202         [BZ #15264]
27203         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
27204
27205 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
27206
27207         * Makefile.in (regen-ulps): New target.
27208         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
27209         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
27210         [ifneq (no,$(PERL)] (regen-ulps): New target.
27211         [ifeq (no,$(PERL)] (regen-ulps): New target.
27212         * math/libm-test.inc (ulps_file_name): Define.
27213         (output_dir): New variable.
27214         (options): Add "output-dir" option.
27215         (parse_opt): Handle 'o' case.
27216         (main): If output_dir is non-NULL use it as a prefix
27217         otherwise use "".
27218         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
27219
27220 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
27221
27222         [BZ #10060, #10062]
27223         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
27224         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
27225         fail configure if __sync_val_compare_and_swap is not inlined.
27226         * sysdeps/i386/configure: Regenerate.
27227         * configure.in: Build for i686 when configured for i386.
27228         * configure: Regenerate.
27229         * README: Remove i386 reference.
27230
27231 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
27232
27233         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
27234         * sysdeps/s390/s390-64/sysdep.h: Likewise.
27235
27236 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
27237
27238         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
27239         (lmsnanval): New variables.
27240         (F): Add conversion tests.
27241         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
27242         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
27243
27244         * stdio-common/tstdiomisc.c (F): Properly collect individual
27245         tests' results.
27246
27247         [BZ #14686, #15336]
27248         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
27249         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
27250         Instead, use input NaN values or generate a qNaN by arithmetic
27251         operation.  Also fix bugs to comply with the standard.
27252         * math/libm-test.inc (remainder_test): Add more tests.
27253
27254         [BZ #15335, #15342]
27255         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
27256         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
27257         input NaN values or generate a qNaN by arithmetic operation.
27258
27259         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
27260         unreachable code.
27261
27262         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
27263         definitions.
27264
27265 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
27266
27267         [BZ #14478]
27268         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
27269         underflowed result.
27270         * math/s_cexpf.c (__cexpf): Likewise.
27271         * math/s_cexpl.c (__cexpl): Likewise.
27272         * math/libm-test.inc (cexp_test): Add more tests.
27273
27274 2013-04-03  Andreas Schwab  <schwab@suse.de>
27275
27276         [BZ #15330]
27277         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
27278         order arrays from heap if bigger than alloca cutoff.
27279
27280 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
27281
27282         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
27283         (SNAN_TESTS_double): Refer to GCC PR56831.
27284         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
27285         GCC PR56828.
27286
27287 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
27288
27289         * Rules (bench): Move bench.out after the run is complete.
27290
27291         * Rules (bench): Echo currently running benchmark.
27292
27293         * benchtests/Makefile (bench): Add atan and slowatan.
27294         * benchtests/atan-inputs: New file.
27295         * benchtests/slowatan-inputs: New file.
27296         * benchtests/slowatan.c: New file.
27297
27298         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
27299         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
27300         its value.
27301
27302         [BZ #15305]
27303         * sysdeps/unix/sysv/linux/kernel-features.h
27304         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
27305         __ASSUME_XFS_RESTRICTED_CHOWN.
27306         * sysdeps/unix/sysv/linux/pathconf.c
27307         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
27308         Save and restore errno.
27309
27310 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
27311
27312         [BZ #15327]
27313         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
27314         arguments using __kernel_casinh.
27315         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
27316         arguments using __kernel_casinhf.
27317         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
27318         arguments using __kernel_casinhl.
27319         * math/libm-test.inc (cacosh_test): Add more tests.
27320         * sysdeps/i386/fpu/libm-test-ulps: Update.
27321         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27322
27323 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
27324
27325         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
27326         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
27327
27328         * bench/Makefile (bench): Add sin and slowsin.
27329         * benchtests/sin-inputs: New file.
27330         * benchtests/slowsin-inputs: New file.
27331         * benchtests/slowsin.c: New file.
27332
27333         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
27334         (bench): Add slowexp and slowpow.
27335         (exp-ITER): Increase iterations.
27336         (pow-ITER): Likewise.
27337         * benchtests/exp-inputs: Change input.
27338         * benchtests/pow-inputs: Likewise.
27339         * benchtests/slowexp-inputs: New file.
27340         * benchtests/slowexp.c: New file.
27341         * benchtests/slowpow-inputs: New file.
27342         * benchtests/slowpow.c: New file.
27343
27344 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27345
27346         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
27347         instructions.
27348         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
27349         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
27350         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
27351         * benchtests/Makefile: Add rint benchtest.
27352         * benchtests/rint-inputs: Input for rint benchtest.
27353
27354 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
27355
27356         * Versions.def (libm): Add GLIBC_2.18.
27357         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
27358         hidden libm prototypes.
27359         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
27360         * math/Makefile (libm-calls): Add s_issignaling.
27361         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
27362         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
27363         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
27364         declaration.
27365         * math/math.h [__USE_GNU] (issignaling): New macro.
27366         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
27367         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
27368         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
27369         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
27370         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
27371         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
27372         * manual/arith.texi (issignaling): New section.
27373         * manual/libm-err-tab.pl (@all_functions): Update comment.
27374         * math/gen-libm-test.pl (parse_args): Apply special handling for
27375         issignaling.
27376         * math/libm-test.inc (print_float, issignaling_test): New
27377         functions.
27378         (check_float_internal): Add issignaling checks.
27379         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
27380         default definition.
27381         * sysdeps/powerpc/math-tests.h: New file.
27382         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
27383         tests.
27384         * math/test-snan.c (TEST_FUNC): Likewise.
27385
27386 2013-03-30  David S. Miller  <davem@davemloft.net>
27387
27388         * po/de.po: Update from translation team.
27389
27390 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
27391
27392         [BZ #10357]
27393         * math/k_casinh.c (__kernel_casinh): Handle arguments with
27394         imaginary part less than 1.0 and real part less than 0.5
27395         specially.
27396         * math/k_casinhf.c (__kernel_casinhf): Likewise.
27397         * math/k_casinhl.c (__kernel_casinhl): Likewise.
27398         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
27399         (cacos_test): Add more tests.
27400         (casin_test): Likewise.
27401         (casinh_test): Likewise.
27402         * sysdeps/i386/fpu/libm-test-ulps: Update.
27403         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27404
27405 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
27406
27407         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
27408         ONE with its value.
27409
27410         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
27411         (__pow_mp): Replace ONE and MONE with their values.
27412         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
27413         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
27414         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
27415         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
27416         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
27417         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
27418
27419         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
27420
27421         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
27422         (__pow_mp): Replace ZERO and MZERO with their values.
27423         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
27424         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
27425         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
27426         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
27427         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
27428         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
27429         (__sqr): Likewise.
27430
27431         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
27432
27433         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
27434
27435 2013-03-28  Roland McGrath  <roland@hack.frob.com>
27436
27437         * include/stdlib.h [!SHARED] (__call_tls_dtors):
27438         Declare with __attribute__ ((weak)).
27439         * stdlib/exit.c (__libc_atexit) [!SHARED]:
27440         Call __call_tls_dtors only if it's not NULL.
27441
27442 2013-03-28  Roland McGrath  <roland@hack.frob.com>
27443
27444         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
27445         didn't do it already, then set _dl_phdr and _dl_phnum based on the
27446         magic __ehdr_start linker symbol if it's defined.
27447         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
27448         them up here if it was already done.
27449
27450         * elf/dl-support.c (_dl_phdr): Make pointer to const.
27451         (_dl_aux_init): Use const in cast when setting it.
27452         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
27453         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
27454         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
27455
27456         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
27457         Declare them here.
27458         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
27459         * csu/libc-tls.c: Nor here.
27460         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
27461
27462         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
27463         (__libc_message): Never call vsyslog.
27464
27465 2013-03-28  Alan Modra  <amodra@gmail.com>
27466
27467         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
27468         Define as empty.
27469         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
27470         Likewise.
27471
27472 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27473
27474         [BZ #15214]
27475         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
27476         underflow.
27477         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27478
27479 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
27480
27481         [BZ #15304]
27482         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
27483         Don't add gid passed as argument.
27484
27485         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
27486
27487 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
27488
27489         [BZ #15307]
27490         * math/k_casinh.c (__kernel_casinh): Handle arguments with
27491         imaginary part between 1.0 and 1.5 and real part less than 0.5
27492         specially.
27493         * math/k_casinhf.c (__kernel_casinhf): Likewise.
27494         * math/k_casinhl.c (__kernel_casinhl): Likewise.
27495         * math/libm-test.inc (cacos_test): Add more tests.
27496         (casin_test): Likewise.
27497         (casinh_test): Likewise.
27498         * sysdeps/i386/fpu/libm-test-ulps: Update.
27499         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27500
27501 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
27502
27503         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
27504         constants.
27505         (norm): Likewise.
27506         (denorm): Likewise.
27507         (__dbl_mp): Likewise.
27508         (add_magnitudes): Likewise.
27509         (sub_magnitudes): Likewise.
27510         (__add): Likewise.
27511         (__sub): Likewise.
27512         (__mul): Likewise.
27513         (__sqr): Likewise.
27514         (__inv): Likewise.
27515         (__dvd): Likewise.
27516
27517         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
27518         commented code.
27519         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
27520         (__dubcos): Likewise.
27521         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
27522         (__ieee754_acos): Likewise.
27523         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
27524         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
27525         (__exp1): Likewise.
27526         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
27527         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
27528         (log1): Likewise.
27529         (my_log2): Likewise.
27530         (checkint): Likewise.
27531         * sysdeps/ieee754/dbl-64/e_remainder.c
27532         (__ieee754_remainder): Likewise.
27533         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
27534         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
27535         (bsloww): Likewise.
27536         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
27537
27538         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
27539         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
27540         MANTISSA_STORE_T to store computations on mantissa.  Use
27541         macros for rounding and division.
27542         (denorm): Likewise.
27543         (__dbl_mp): Likewise.
27544         (add_magnitudes): Likewise.
27545         (sub_magnitudes): Likewise.
27546         (__mul): Likewise.
27547         (__sqr): Likewise.
27548         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
27549         powers of two in terms of TWOPOW macro.
27550         (mp_no): Make type of mantissa as MANTISSA_T.
27551         [!RADIXI]: Define RADIXI.
27552         [!TWO52]: Define TWO52.
27553         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
27554
27555 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27556
27557         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
27558         llroundl symbol when building for PPC32.
27559
27560 2013-03-24  Mark H Weaver  <mhw@netris.org>
27561
27562         * manual/arith.texi (Normalization Functions): Fix prototypes for
27563         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
27564
27565 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27566
27567         [BZ #13889]
27568         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
27569         high value to check if expl overflow.
27570         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
27571         to check for underflow and overflow.
27572         * math/libm-test.inc: Add exp test.
27573
27574 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
27575
27576         [BZ #11120]
27577         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
27578         with NOT_IN_libc.
27579
27580 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27581
27582         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
27583         symbol.
27584
27585 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
27586
27587         * math/gen-libm-test.pl (parse_args, special_functions): Properly
27588         wrap blocks consisting of several statements.
27589
27590         * sysdeps/generic/math-tests.h: New file.
27591         * sysdeps/i386/fpu/math-tests.h: Likewise.
27592         * math/test-snan.c: Include it.
27593         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
27594
27595 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
27596
27597         [BZ #15285]
27598         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
27599         (__ieee754_j0l): Do not improve calculations using cos of twice
27600         input for inputs above LDBL_MAX / 2.0L.
27601         (__ieee754_y0l): Likewise.
27602         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
27603         (__ieee754_j1l): Do not improve calculations using cos of twice
27604         input for inputs above LDBL_MAX / 2.0L.
27605         (__ieee754_y1l): Likewise.
27606         * math/libm-test.inc (j0_test): Add another test.
27607         (j1_test): Likewise.
27608         (y0_test): Likewise.
27609         (y1_test): Likewise.
27610         * sysdeps/i386/fpu/libm-test-ulps: Update.
27611
27612 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
27613
27614         * Rules ($(objpfx)bench-%.c): Include code from a C source
27615         file.
27616
27617 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
27618
27619         [BZ #15287]
27620         * math/k_casinh.c (__kernel_casinh): Handle arguments with
27621         imaginary part 1.0 and real part less than 0.5 specially.
27622         * math/k_casinhf.c (__kernel_casinhf): Likewise.
27623         * math/k_casinhl.c (__kernel_casinhl): Likewise.
27624         * math/libm-test.inc (cacos_test): Add more tests.
27625         (casin_test): Likewise.
27626         (casinh_test): Likewise.
27627         * sysdeps/i386/fpu/libm-test-ulps: Update.
27628         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27629
27630 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
27631
27632         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
27633         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
27634
27635 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
27636
27637         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
27638         * config.make.in (config-cflags-sse4): Remove variable.
27639         (config-cflags-avx): Likewise.
27640         (config-cflags-sse2avx): Likewise.
27641         (config-cflags-novzeroupper): Likewise.
27642         (config-asflags-i686): Likewise.
27643         (have-mfma4): Likewise.
27644         (have-as-vis3): Likewise.
27645         (MIG): Likewise.
27646         * configure.in (MIG): Do not AC_SUBST.
27647         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
27648         (libc_cv_cc_sse4): Do not AC_SUBST.
27649         (libc_cv_cc_avx): Likewise.
27650         (libc_cv_cc_sse2avx): Likewise.
27651         (libc_cv_cc_novzeroupper): Likewise.
27652         (libc_cv_cc_fma4): Likewise.
27653         (libc_cv_as_i686): Likewise.
27654         (libc_cv_sparc_as_vis3): Likewise.
27655         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
27656         LIBC_CONFIG_VAR.
27657         (config-asflags-i686): Likewise.
27658         (config-cflags-avx): Likewise.
27659         (config-cflags-sse2avx): Likewise.
27660         (have-mfma4): Likewise.
27661         (config-cflags-novzeroupper): Likewise.
27662         * sysdeps/mach/configure.in (MIG): Likewise.
27663         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
27664         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
27665         LIBC_CONFIG_VAR.
27666         (config-cflags-avx): Likewise.
27667         (config-cflags-sse2avx): Likewise.
27668         (have-mfma4): Likewise.
27669         (config-cflags-novzeroupper): Likewise.
27670         * configure: Regenerated.
27671         * sysdeps/i386/configure: Likewise.
27672         * sysdeps/mach/configure: Likewise.
27673         * sysdeps/sparc/configure: Likewise.
27674         * sysdeps/x86_64/configure: Likewise.
27675
27676 2013-03-20  Roland McGrath  <roland@hack.frob.com>
27677
27678         [BZ #14812]
27679         * locale/programs/localedef.c (options): Put N_ translation marker
27680         on argument names, not just descriptions.
27681
27682 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
27683
27684         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
27685
27686 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
27687
27688         [BZ #14176]
27689         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
27690
27691 2013-03-19  Roland McGrath  <roland@hack.frob.com>
27692
27693         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
27694         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
27695         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
27696         [!BEFORE_ABORT] (before_abort): New function.
27697         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
27698         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
27699         (writev_for_fatal): New function.
27700         (WRITEV_FOR_FATAL): New macro; call that.
27701         (backtrace_and_maps): New function.
27702         (BEFORE_ABORT): New macro; call that.
27703         (struct str_list): Type removed.
27704         (__libc_message, __libc_fatal): Functions removed.
27705         Include <sysdeps/posix/libc_fatal.c> instead.
27706
27707 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
27708
27709         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
27710         constants.
27711         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
27712         double constants.
27713
27714 2013-03-19  Andreas Schwab  <schwab@suse.de>
27715
27716         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
27717         * sysdeps/gnu/configure: Regenerate.
27718
27719         * configure.in: Substitute libc_cv_rtlddir.
27720         * configure: Regenerate.
27721         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
27722         * Makeconfig (rtlddir, inst_rtlddir): New variables.
27723         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
27724         * elf/Makefile (install-others, CFLAGS-interp.c)
27725         (ldso_install, common-ldd-rewrite): Likewise.
27726         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
27727         $(inst_slibdir)/$(rtld-installed-name).
27728         * scripts/rellns-sh: Add -p option.
27729         * Makerules (make-shlib-link): Use rellns-sh to get relative name
27730         for source.
27731
27732 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
27733
27734         * manual/nptl.texi: Renamed to ...
27735         * manual/threads.texi: ... this.
27736         * manual/Makefile (chapters): Update.
27737
27738 2013-03-18  Roland McGrath  <roland@hack.frob.com>
27739
27740         [BZ #14812]
27741         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
27742         on argument names, not just descriptions.
27743         * malloc/memusagestat.c (options): Likewise.
27744         * nss/getent.c (options): Likewise.
27745
27746 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
27747
27748         [BZ #14812]
27749         * iconv/iconv_prog.c (options): Put N_ translation marker
27750         on argument names, not just descriptions.
27751         * iconv/iconvconfig.c (options): Likewise.
27752
27753 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
27754
27755         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
27756         implementation which is faster on all x86_64 architectures.
27757         Tested on AMD, Intel Nehalem, SNB, IVB.
27758         * sysdeps/x86_64/strnlen.S: Likewise.
27759
27760         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
27761         Remove all multiarch strlen and strnlen versions.
27762         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
27763         Remove strlen and strnlen related parts.
27764
27765         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
27766         Inline strlen part.
27767         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
27768
27769         * sysdeps/x86_64/multiarch/strlen.S: Remove.
27770         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
27771         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
27772         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
27773         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
27774         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
27775
27776 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
27777
27778         * manual/memory.texi (Malloc Tunable Parameters):
27779         Sort parameters alphabetically. Add comments for missing entries.
27780
27781 2013-03-17  David S. Miller  <davem@davemloft.net>
27782
27783         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27784
27785 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
27786
27787         [BZ #15283]
27788         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
27789         for arguments at most half maximum finite value.
27790         * math/libm-test.inc (j0_test): Add more tests.
27791         (j1_test): Likewise.
27792         (y0_test): Likewise.
27793         (y1_test): Likewise.
27794         * sysdeps/i386/fpu/libm-test-ulps: Update.
27795         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27796
27797         [BZ #14155]
27798         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
27799         1 / x and functions P and Q for arguments above 0x1p256L.
27800         (__ieee754_y0l): Likewise.
27801         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
27802         (__ieee754_y1l): Likewise.
27803         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
27804         (j1_test): Likewise.
27805         (y0_test): Likewise.
27806         (y1_test): Likewise.
27807
27808 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
27809
27810         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
27811         variable.
27812
27813 2013-03-15  Roland McGrath  <roland@hack.frob.com>
27814
27815         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
27816         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
27817         zero since it's initialized to EXEC_PAGESIZE.
27818
27819         * sysdeps/unix/sysv/linux/ldsodefs.h
27820         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
27821         * sysdeps/generic/ldsodefs.h: ... here.
27822
27823 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
27824
27825         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
27826
27827         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
27828         math/test-snan.c.
27829         * math/test-snan.c: Renamed from
27830         sysdeps/powerpc/fpu/test-powerpc-snan.c.
27831         * math/Makefile (tests): Add test-snan.
27832         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
27833         test-powerpc-snan.
27834
27835         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
27836         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
27837         functions.
27838         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
27839         __builtin_nan family of functions.
27840         * math/libm-test.inc (initialize): Initialize qnan_value with
27841         __builtin_nan family of functions.
27842         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
27843         Remove variables.
27844         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
27845         Remove functions.
27846         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
27847         storage class.  Initialize qNaN_var and sNaN_var with
27848         __builtin_nan and __builtin_nans families of functions,
27849         respectively.
27850
27851         * math/libm-test.inc (acosh_test): Also test with qNaN input.
27852         (sqrt_test): Remove duplicate test with qNaN input.
27853         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
27854         (round_test, signbit_test, significand_test): Note missing +/-Inf
27855         as well as qNaN tests.
27856
27857         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
27858         qNaN_var.  Fix a few strings, too.
27859         * math/libm-test.inc (nan_value): Rename to qnan_value.
27860         * math/gen-libm-test.pl (%beautify): Adjust to that.
27861         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
27862         * math/test-misc.c (main): Likewise.
27863         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
27864         to __qnan_bytes, and __qnan_union, respectively.
27865         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
27866         Likewise.
27867         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
27868         and lqnanval, respectively.
27869         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
27870         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
27871         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
27872         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
27873
27874         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
27875         * math/test-misc.c (main) [__x86_64__]: Enable test for long
27876         doubles.
27877
27878         * math/test-misc.c (main): Fix copy'n'pastos.
27879         * misc/tst-efgcvt.c (special): Likewise.
27880
27881         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
27882         Remove declarations.
27883
27884 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
27885
27886         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
27887         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
27888         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
27889         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
27890
27891 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27892
27893         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
27894         macro to return vdso values correctly in IFUNC implementations.
27895         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
27896         Optimization by using IFUNC.
27897
27898 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
27899             Richard Henderson  <rth@redhat.com>
27900             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
27901
27902         * Makefile.in (bench): New target.
27903         * NEWS: Mention the benchmark framework.
27904         * Rules (bench): Likewise.
27905         (binaries-bench): Generate binaries for functions to
27906         benchmark.
27907         * benchtests/Makefile: New makefile for benchmark tests.
27908         * benchtests/bench-skeleton.c: New skeleton file for benchmark
27909         programs.
27910         * benchtests/exp-inputs: New input file for EXP function.
27911         * benchtests/pow-inputs: New input file for POW function.
27912         * scripts/bench.pl: New script to generate source files for
27913         benchmark programs.
27914
27915 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
27916
27917         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
27918         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
27919         computations on mantissa.  Use macros for rounding and
27920         division.
27921         (denorm): Likewise.
27922         (__dbl_mp): Likewise.
27923         (add_magnitudes): Likewise.
27924         (sub_magnitudes): Likewise.
27925         (__mul): Likewise.
27926         (__sqr): Likewise.
27927         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
27928         powers of two in terms of TWOPOW macro.
27929         (mp_no): Make type of mantissa as MANTISSA_T.
27930         [!RADIXI]: Define RADIXI.
27931         [!TWO52]: Define TWO52.
27932         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
27933
27934         * manual/nptl.texi (cindex): Modify threads to pthreads.
27935
27936 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
27937
27938         * sysdeps/x86_64/preconfigure: Regenerated.
27939
27940 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
27941
27942         [BZ #14155]
27943         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
27944         0x1p28 and above.
27945         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
27946         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
27947         0x1p28 and above.
27948         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
27949         * math/libm-test.inc (j0_test): Do not allow one spurious
27950         underflow exception.
27951         (y1_test): Likewise.
27952
27953 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
27954
27955         * manual/Makefile (chapters): Add nptl.
27956         * manual/debug.texi (Debugging Support): Add link to Threads
27957         chapter.
27958         * manual/nptl.texi: New file.
27959
27960         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
27961
27962 2013-03-14  Petr Baudis  <pasky@ucw.cz>
27963
27964         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
27965         for non-NULL pointer before the memory validity test. Pointed
27966         out by Holger Brunck <holger.brunck@keymile.com>.
27967
27968 2013-03-13  Andreas Schwab  <schwab@suse.de>
27969
27970         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
27971         instead of .os.
27972
27973 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
27974
27975         * timezone/zic.c: Update from tzcode 2013b.
27976
27977 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
27978
27979         * manual/install.texi (Configuring and compiling):
27980         Mention i686 and i586.
27981         * INSTALL: Regenerate.
27982
27983 2013-03-12  Roland McGrath  <roland@hack.frob.com>
27984
27985         * sysdeps/init_array/elf-init.c: New file.
27986         * csu/elf-init.c
27987         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
27988         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
27989
27990         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
27991         __gmon_start__ as global, but as static with a .preinit_array pointer.
27992         * sysdeps/init_array/gmon-start.c: New file.  Use that.
27993         * sysdeps/init_array/crti.S: New file, empty except for comments.
27994         * sysdeps/init_array/crtn.S: Likewise.
27995
27996 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
27997
27998         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
27999         definining bcopy.
28000         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28001         Remove Prefer_SSE_for_memop.
28002         * sysdeps/x86_64/multiarch/init-arch.h: Remove
28003         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
28004         HAS_PREFER_SSE_FOR_MEMOP.
28005         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
28006         memset-x86-64.
28007         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
28008         Remove bzero, memset ifunc support.
28009         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
28010         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
28011         * sysdeps/x86_64/multiarch/memset.S: Likewise.
28012         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
28013
28014 2013-03-11  Andreas Schwab  <schwab@suse.de>
28015
28016         [BZ #15234]
28017         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
28018         by SHLIB_COMPAT.
28019         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
28020         (GLIBC_2.16): Remove pthread_atfork.
28021
28022 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
28023
28024         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
28025         (ptestcases.h): Likewise.
28026
28027 2013-03-08  Roland McGrath  <roland@hack.frob.com>
28028
28029         * Makeconfig ($(common-objpfx)config.status): Depend on
28030         sysdeps/*/preconfigure{,.in} too.
28031
28032 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
28033
28034         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
28035         (__free_hook): Use void * instead of __malloc_ptr_t.
28036         (__malloc_hook): Likewise.
28037         (__realloc_hook): Likewise.
28038         (__memalign_hook): Likewise.
28039         (__after_morecore_hook): Likewise.
28040         * malloc/arena.c (save_malloc_hook): Likewise.
28041         (save_free_hook): Likewise.
28042         * malloc/hooks.c (malloc_hook_ini): Likewise.
28043         (realloc_hook_ini): Likewise.
28044         (memalign_hook_ini): Likewise.
28045         * malloc/malloc.c (malloc_hook_ini): Likewise.
28046         (realloc_hook_ini): Likewise.
28047         (memalign_hook_ini): Likewise.
28048         (__free_hook): Likewise.
28049         (__malloc_hook): Likewise.
28050         (__realloc_hook): Likewise.
28051         (__memalign_hook): Likewise.
28052         (__libc_malloc): Likewise.
28053         (__libc_free): Likewise.
28054         (__libc_realloc): Likewise.
28055         (__libc_memalign): Likewise.
28056         (__libc_valloc): Likewise.
28057         (__libc_pvalloc): Likewise.
28058         (__libc_calloc): Likewise.
28059         (__posix_memalign): Likewise.
28060         * malloc/morecore.c (__sbrk): Likewise.
28061         (__default_morecore): Likewise.
28062
28063         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
28064
28065         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
28066         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
28067         __malloc_ptrdiff_t.
28068
28069         * malloc/malloc.h (__malloc_size_t): Remove macro.
28070         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
28071         __malloc_size_t.
28072         (old_memalign_hook): Likewise.
28073         (old_realloc_hook): Likewise.
28074         (struct hdr): Likewise.
28075         (flood): Likewise.
28076         (mallochook): Likewise.
28077         (memalignhook): Likewise.
28078         (reallochook): Likewise.
28079         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
28080         (tr_old_realloc_hook): Likewise.
28081         (tr_old_memalign_hook): Likewise.
28082         (tr_mallochook): Likewise.
28083         (tr_reallochook): Likewise.
28084         (tr_memalignhook): Likewise.
28085
28086 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28087
28088         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
28089         default_ldbl_pack and using as default implementation.
28090         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
28091         implementation.
28092         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
28093         redundant definition.
28094         (ldbl_insert_mantissa): Likewise.
28095         (ldbl_canonicalize): Likewise.
28096         (ldbl_nearbyint): Likewise.
28097         (ldbl_pack): Rename to ldbl_pack_ppc.
28098         (ldbl_unpack): Rename to ldbl_unpack_ppc.
28099         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
28100         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
28101
28102 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
28103
28104         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
28105         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
28106         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
28107         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
28108         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
28109         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
28110         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
28111         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
28112
28113 2013-03-07  Andreas Jaeger  <aj@suse.de>
28114
28115         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28116         bits/mman-linux.h.
28117
28118 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
28119
28120         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
28121         Include mpa.h and declare __MPEXP.
28122         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
28123         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
28124         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
28125         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
28126         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
28127         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
28128         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
28129
28130         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
28131         (__slowpow): Use long double EXPL and LOGL functions to
28132         compute POW.
28133         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
28134         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
28135         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
28136         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
28137         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
28138         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
28139
28140         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
28141         intermediate variable to calculate exponent.
28142         (__sqr): Likewise.
28143         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
28144         Likewise.
28145         (__sqr): Likewise.
28146
28147         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
28148         [!NO__SQR]: Define __sqr.
28149         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
28150         and NO__SQR.  Remove all code except __mul and __sqr.  Include
28151         sysdeps/ieee754/dbl-64/mpa.c.
28152         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
28153
28154         [BZ #12723]
28155         * posix/Makefile (tests): Add tst-pathconf.
28156         * posix/tst-pathconf.c: New test case.
28157         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
28158         _PC_PIPE_BUF.
28159         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
28160
28161 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
28162
28163         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
28164
28165 2013-03-06  Andreas Jaeger  <aj@suse.de>
28166
28167         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
28168         definition via __MAP_ANONYMOUS.
28169
28170         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
28171         it's not part of Linux headers.
28172
28173         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
28174         (MAP_HUGE_MASK): Define.
28175
28176         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
28177         Define.
28178         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
28179         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
28180         Define.
28181         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
28182         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
28183         Define.
28184         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
28185         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
28186         Define.
28187         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
28188
28189         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
28190         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
28191         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
28192         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
28193         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
28194         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
28195
28196         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
28197         Handle f2fs.
28198
28199         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
28200         Handle f2fs and efivarfs.
28201
28202         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
28203         f2fs.
28204
28205         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
28206         (EFIVARFS_MAGIC): Add.
28207         (F2FS_LINK_MAX): Add.
28208
28209 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
28210
28211         * stdio-common/vfprintf.c: Replace __builtin_expect with
28212         __glibc_unlikely.
28213
28214 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
28215
28216         [BZ #13550]
28217         * sysdeps/generic/bp-sym.h: Remove file.
28218         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
28219         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
28220         <bp-sym.h> and <bp-asm.h>.
28221         (__longjmp): Don't use BP_SYM.
28222         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
28223         and <bp-asm.h>.
28224         (memcpy): Don't use BP_SYM.
28225         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
28226         <bp-sym.h> and <bp-asm.h>.
28227         (memcpy): Don't use BP_SYM.
28228         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
28229         <bp-asm.h>.
28230         (memcpy): Don't use BP_SYM.
28231         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
28232         <bp-asm.h>.
28233         (memset): Don't use BP_SYM.
28234         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
28235         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
28236         (__bzero): Don't use BP_SYM.
28237         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
28238         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
28239         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
28240         <bp-sym.h> and <bp-asm.h>.
28241         (memcmp): Don't use BP_SYM.  Remove comment about bounded
28242         pointers.
28243         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
28244         <bp-sym.h> and <bp-asm.h>.
28245         (memcpy): Don't use BP_SYM.
28246         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
28247         <bp-sym.h> and <bp-asm.h>.
28248         (memset): Don't use BP_SYM.
28249         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
28250         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
28251         (__bzero): Don't use BP_SYM.
28252         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
28253         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
28254         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
28255         <bp-sym.h> and <bp-asm.h>.
28256         (strncmp): Don't use BP_SYM.  Remove comment about bounded
28257         pointers.
28258         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
28259         <bp-sym.h> and <bp-asm.h>.
28260         (memcpy): Don't use BP_SYM.
28261         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
28262         <bp-sym.h> and <bp-asm.h>.
28263         (memset): Don't use BP_SYM.
28264         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
28265         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
28266         (__bzero): Don't use BP_SYM.
28267         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
28268         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
28269         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
28270         <bp-sym.h> and <bp-asm.h>.
28271         (__memchr): Don't use BP_SYM.
28272         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
28273         <bp-sym.h> and <bp-asm.h>.
28274         (memcmp): Don't use BP_SYM.  Remove comment about bounded
28275         pointers.
28276         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
28277         <bp-sym.h> and <bp-asm.h>.
28278         (memcpy): Don't use BP_SYM.
28279         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
28280         <bp-sym.h> and <bp-asm.h>.
28281         (__mempcpy): Don't use BP_SYM.
28282         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
28283         <bp-sym.h> and <bp-asm.h>.
28284         (__memrchr): Don't use BP_SYM.
28285         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
28286         <bp-sym.h> and <bp-asm.h>.
28287         (memset): Don't use BP_SYM.
28288         (__bzero): Likewise.
28289         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
28290         <bp-sym.h> and <bp-asm.h>.
28291         (__rawmemchr): Don't use BP_SYM.
28292         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
28293         <bp-sym.h> and <bp-asm.h>.
28294         (__STRCMP): Don't use BP_SYM.
28295         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
28296         <bp-sym.h> and <bp-asm.h>.
28297         (strchr): Don't use BP_SYM.
28298         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
28299         <bp-sym.h> and <bp-asm.h>.
28300         (__strchrnul): Don't use BP_SYM.
28301         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
28302         <bp-sym.h> and <bp-asm.h>.
28303         (strlen): Don't use BP_SYM.
28304         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
28305         <bp-sym.h> and <bp-asm.h>.
28306         (strncmp): Don't use BP_SYM.  Remove comment about bounded
28307         pointers.
28308         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
28309         <bp-sym.h> and <bp-asm.h>.
28310         (__strnlen): Don't use BP_SYM.
28311         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
28312         <bp-sym.h> and <bp-asm.h>.
28313         (__GI__setjmp): Don't use BP_SYM.
28314         (_setjmp): Likewise.
28315         (__sigsetjmp): Likewise.
28316         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
28317         (L(start_addresses)): Don't use BP_SYM.
28318         (_start): Likewise.
28319         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
28320         <bp-asm.h>.
28321         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
28322         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
28323         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
28324         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
28325         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
28326         <bp-asm.h>.
28327         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
28328         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
28329         about bounded pointers.
28330         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
28331         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
28332         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
28333         <bp-asm.h>.
28334         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
28335         about bounded pointers.  Remove GKM FIXME comments.
28336         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
28337         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
28338         <bp-asm.h>.
28339         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
28340         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
28341         Remove GKM FIXME comments.
28342         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
28343         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
28344         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
28345         <bp-asm.h>.
28346         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
28347         about bounded pointers.  Remove GKM FIXME comment.
28348         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
28349         and <bp-asm.h>.
28350         (strncmp): Don't use BP_SYM.  Remove comment about bounded
28351         pointers.
28352         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
28353         <bp-sym.h> and <bp-asm.h>.
28354         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
28355         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
28356         <bp-sym.h> and <bp-asm.h>.
28357         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
28358         comment.
28359
28360 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
28361
28362         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
28363         call free(NULL).
28364
28365 2013-03-05  David S. Miller  <davem@davemloft.net>
28366
28367         * po/es.po: Update from translation team.
28368
28369 2013-03-05  Andreas Jaeger  <aj@suse.de>
28370
28371         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
28372         <bits/mman-linux.h>.
28373         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
28374         is fine.
28375         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
28376         <bits/mman-linux.h> to end of file.
28377         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
28378         is fine.
28379         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
28380         <bits/mman-linux.h> to end of file.
28381         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
28382         is fine.
28383         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
28384         <bits/mman-linux.h> to end of file.
28385
28386         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
28387         (MCL_CURRENT, MCL_FUTURE): Define here.
28388
28389 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28390
28391         [BZ #15232]
28392         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
28393         attribute_hidden.
28394         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
28395
28396 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28397
28398         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
28399         fourth parameter needed for rt_sigprocmask syscall.
28400         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
28401         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
28402         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
28403         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
28404         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
28405         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
28406
28407 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
28408
28409         [BZ #13550]
28410         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
28411         comment about bounded pointers.
28412         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
28413         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
28414
28415 2013-03-04  Andreas Jaeger  <aj@suse.de>
28416
28417         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
28418         common definitions.
28419
28420         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
28421         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
28422         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
28423         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
28424         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
28425         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
28426
28427 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28428
28429         [BZ #15055]
28430         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
28431         __ieee754_sqrl instead of __sqrl.
28432
28433 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
28434
28435         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
28436         * sysdeps/powerpc/fpu_control.h: ... here.
28437         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
28438         * sysdeps/powerpc/bits/fenvinline.h: ... here.
28439         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
28440         * sysdeps/powerpc/bits/mathinline.h: ... here.
28441
28442 2013-03-01  Roland McGrath  <roland@hack.frob.com>
28443
28444         * elf/dl-hwcaps.c (_dl_important_hwcaps):
28445         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
28446         to just [NEED_DL_SYSINFO_DSO].
28447         * elf/dl-support.c: Likewise.
28448         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
28449         * elf/rtld.c (dl_main): Likewise.
28450         * elf/setup-vdso.h (setup_vdso): Likewise.
28451         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
28452         * sysdeps/unix/sysv/linux/dl-sysdep.c
28453         (_dl_discover_osversion): Likewise.
28454
28455 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
28456
28457         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
28458         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
28459
28460 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
28461
28462         * NEWS: Mention libm performance improvements and non-x86 PI
28463         futex support.
28464
28465         * csu/libc-start.c (__pthread_initialize_minimal): Change
28466         function arguments.
28467         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
28468
28469 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
28470
28471         [BZ #13550]
28472         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
28473         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
28474         <bp-sym.h> and <bp-asm.h>.
28475         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
28476         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
28477         and <bp-asm.h>.
28478         (memcpy): Don't use BP_SYM.
28479         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
28480         <bp-asm.h>.
28481         (__mpn_add_n): Don't use BP_SYM.
28482         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
28483         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
28484         and <bp-asm.h>.
28485         (__mpn_addmul_1): Don't use BP_SYM.
28486         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
28487         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
28488         <bp-sym.h>.
28489         (_setjmp): Don't use BP_SYM.
28490         (__novmx_setjmp): Likewise.
28491         (__GI__setjmp): Likewise.
28492         (__vmx_setjmp): Likewise.
28493         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
28494         <bp-sym.h>.
28495         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
28496         (__bzero): Don't use BP_SYM.
28497         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
28498         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
28499         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
28500         <bp-sym.h> and <bp-asm.h>.
28501         (memcpy): Don't use BP_SYM.
28502         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
28503         <bp-sym.h> and <bp-asm.h>.
28504         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
28505         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
28506         <bp-sym.h> and <bp-asm.h>.
28507         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
28508         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
28509         <bp-asm.h>.
28510         (__mpn_lshift): Don't use BP_SYM.
28511         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
28512         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
28513         <bp-asm.h>.
28514         (memset): Don't use BP_SYM.
28515         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
28516         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
28517         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
28518         <bp-asm.h>.
28519         (__mpn_mul_1): Don't use BP_SYM.
28520         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
28521         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
28522         <bp-sym.h> and <bp-asm.h>.
28523         (memcmp): Don't use BP_SYM.
28524         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
28525         <bp-sym.h> and <bp-asm.h>.
28526         (memcpy): Don't use BP_SYM.
28527         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
28528         <bp-sym.h> and <bp-asm.h>.
28529         (memset): Don't use BP_SYM.
28530         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
28531         <bp-sym.h> and <bp-asm.h>.
28532         (strncmp): Don't use BP_SYM.
28533         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
28534         <bp-sym.h> and <bp-asm.h>.
28535         (memcpy): Don't use BP_SYM.
28536         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
28537         <bp-sym.h> and <bp-asm.h>.
28538         (memset): Don't use BP_SYM.
28539         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
28540         <bp-sym.h> and <bp-asm.h>.
28541         (__memchr): Don't use BP_SYM.
28542         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
28543         <bp-sym.h> and <bp-asm.h>.
28544         (memcmp): Don't use BP_SYM.
28545         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
28546         <bp-sym.h> and <bp-asm.h>.
28547         (memcpy): Don't use BP_SYM.
28548         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
28549         <bp-sym.h> and <bp-asm.h>.
28550         (__mempcpy): Don't use BP_SYM.
28551         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
28552         <bp-sym.h> and <bp-asm.h>.
28553         (__memrchr): Don't use BP_SYM.
28554         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
28555         <bp-sym.h> and <bp-asm.h>.
28556         (memset): Don't use BP_SYM.
28557         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
28558         <bp-sym.h> and <bp-asm.h>.
28559         (__rawmemchr): Don't use BP_SYM.
28560         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
28561         <bp-sym.h> and <bp-asm.h>.
28562         (__STRCMP): Don't use BP_SYM.
28563         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
28564         <bp-sym.h> and <bp-asm.h>.
28565         (strchr): Don't use BP_SYM.
28566         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
28567         <bp-sym.h> and <bp-asm.h>.
28568         (__strchrnul): Don't use BP_SYM.
28569         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
28570         <bp-sym.h> and <bp-asm.h>.
28571         (strlen): Don't use BP_SYM.
28572         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
28573         <bp-sym.h> and <bp-asm.h>.
28574         (strncmp): Don't use BP_SYM.
28575         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
28576         <bp-sym.h> and <bp-asm.h>.
28577         (__strnlen): Don't use BP_SYM.
28578         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
28579         <bp-asm.h>.
28580         (__mpn_rshift): Don't use BP_SYM.
28581         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
28582         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
28583         <bp-sym.h> and <bp-asm.h>.
28584         (__sigsetjmp): Don't use BP_SYM.
28585         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
28586         (L(start_addresses)): Don't use BP_SYM.
28587         (_start): Likewise.
28588         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
28589         <bp-asm.h>.
28590         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
28591         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
28592         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
28593         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
28594         <bp-asm.h>.
28595         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
28596         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
28597         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
28598         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
28599         <bp-asm.h>.
28600         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
28601         comments.
28602         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
28603         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
28604         <bp-asm.h>.
28605         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
28606         FIXME comments.
28607         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
28608         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
28609         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
28610         <bp-asm.h>.
28611         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
28612         comment.
28613         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
28614         and <bp-asm.h>.
28615         (strncmp): Don't use BP_SYM,
28616         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
28617         <bp-asm.h>.
28618         (__mpn_sub_n): Don't use BP_SYM.
28619         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
28620         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
28621         and <bp-asm.h>.
28622         (__mpn_submul_1): Don't use BP_SYM.
28623         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
28624         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
28625         <bp-sym.h> and <bp-asm.h>.
28626         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
28627         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
28628         <bp-sym.h> and <bp-asm.h>.
28629         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
28630         comment.
28631
28632 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
28633
28634         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
28635         Use ZK to minimize writes to Z.
28636         (sub_magnitudes): Simplify code a bit.
28637         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
28638         Use ZK to minimize writes to Z.
28639         (sub_magnitudes): Simplify code a bit.
28640
28641 2013-02-27  Roland McGrath  <roland@hack.frob.com>
28642
28643         * csu/gmon-start.c: Add special exception to license text.
28644
28645 2013-02-27  Richard Henderson  <rth@redhat.com>
28646
28647         * scripts/config.guess: Update from config.git.
28648         * scripts/config.sub: Likewise.
28649
28650 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
28651
28652         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
28653
28654         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
28655
28656         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
28657
28658         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
28659
28660         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
28661
28662 2013-02-26  Roland McGrath  <roland@hack.frob.com>
28663
28664         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
28665         [$(build-shared = yes].
28666
28667 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
28668
28669         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
28670         (__mul): Reduce iterations for calculating mantissa.
28671
28672         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
28673         MPTWO.
28674         (__mpranred): Likewise.
28675
28676         [BZ #15160]
28677         * malloc/memusagestat.c (main): Draw graphs for heap and stack
28678         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
28679
28680 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
28681
28682         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
28683         Define __attribute__.
28684
28685 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
28686
28687         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
28688         unused.
28689         * posix/regex_internal.h (__attribute): Remove.
28690         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
28691         (re_string_context_at): Likewise.
28692         (bitset_not): Use __attribute__ and mark function as possibly
28693         unused.
28694         (bitset_merge): Likewise.
28695         (bitset_mask): Likewise.
28696         (re_string_char_size_at): Likewise.
28697         (re_string_wchar_at): Likewise.
28698         (re_string_elem_size_at): Likewise.
28699
28700 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
28701
28702         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
28703         code.
28704         (cc32): Likewise.
28705
28706         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
28707         (__acr): Likewise.
28708         (__cpy): Likewise.
28709         (norm): Likewise.
28710         (denorm): Likewise.
28711         (__dbl_mp): Likewise.
28712         (add_magnitudes): Likewise.
28713         (sub_magnitudes): Likewise.
28714         (__mul): Likewise.
28715         (__inv): Likewise.
28716
28717         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
28718         style.
28719
28720         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
28721         style.
28722
28723         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
28724         code.
28725
28726         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
28727         up changes with default code.
28728         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
28729         Likewise.
28730
28731 2013-02-24  Allan McRae  <allan@archlinux.org>
28732
28733         * manual/socket.texi (The Internet Namespace): Order menu items
28734         to match that in the file.
28735
28736         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
28737         node listing of the info page menu.
28738
28739 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
28740
28741         [BZ #13550]
28742         * sysdeps/i386/bp-asm.h: Remove file.
28743         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
28744         (PARMS): Do not use macros from bp-asm.h.
28745         (S1): Likewise.
28746         (S2): Likewise.
28747         (SIZE): Likewise.
28748         (__mpn_add_n): Do not use BP_SYM
28749         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
28750         "bp-asm.h".
28751         (PARMS): Do not use macros from bp-asm.h.
28752         (S1): Likewise.
28753         (SIZE): Likewise.
28754         (__mpn_addmul_1): Do not use BP_SYM
28755         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
28756         "bp-asm.h".
28757         (PARMS): Do not use macros from bp-asm.h.
28758         (SIGMSK): Likewise.
28759         (_setjmp): Likewise.  Do not use BP_SYM.
28760         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
28761         "bp-asm.h".
28762         (PARMS): Do not use macros from bp-asm.h.
28763         (SIGMSK): Likewise.
28764         (setjmp): Likewise.  Do not use BP_SYM.
28765         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
28766         "bp-asm.h".
28767         (PARMS): Do not use macros from bp-asm.h.
28768         (__frexp): Do not use BP_SYM.
28769         (frexp): Likewise.
28770         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
28771         "bp-asm.h".
28772         (PARMS): Do not use macros from bp-asm.h.
28773         (__frexpf): Do not use BP_SYM.
28774         (frexpf): Likewise.
28775         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
28776         "bp-asm.h".
28777         (PARMS): Do not use macros from bp-asm.h.
28778         (__frexpl): Do not use BP_SYM.
28779         (frexpl): Likewise.
28780         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
28781         "bp-asm.h".
28782         (PARMS): Do not use macros from bp-asm.h.
28783         (__remquo): Do not use BP_SYM.
28784         (remquo): Likewise.
28785         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
28786         "bp-asm.h".
28787         (PARMS): Do not use macros from bp-asm.h.
28788         (__remquof): Do not use BP_SYM.
28789         (remquof): Likewise.
28790         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
28791         "bp-asm.h".
28792         (PARMS): Do not use macros from bp-asm.h.
28793         (__remquol): Do not use BP_SYM.
28794         (remquol): Likewise.
28795         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
28796         "bp-asm.h".
28797         (PARMS): Do not use macros from bp-asm.h.
28798         (DEST): Likewise.
28799         (SRC): Likewise.
28800         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
28801         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
28802         "bp-asm.h".
28803         (PARMS): Do not use macros from bp-asm.h.
28804         (strlen): Do not use BP_SYM.
28805         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
28806         "bp-asm.h".
28807         (PARMS): Do not use macros from bp-asm.h.
28808         (S1): Likewise.
28809         (S2): Likewise.
28810         (SIZE): Likewise.
28811         (__mpn_add_n): Do not use BP_SYM.
28812         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
28813         "bp-asm.h".
28814         (PARMS): Do not use macros from bp-asm.h.
28815         (S1): Likewise.
28816         (SIZE): Likewise.
28817         (__mpn_addmul_1): Do not use BP_SYM.
28818         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
28819         weak_alias.
28820         (bzero): Likewise.
28821         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
28822         "bp-asm.h".
28823         (PARMS): Do not use macros from bp-asm.h.
28824         (S): Likewise.
28825         (SIZE): Likewise.
28826         (__mpn_lshift): Do not use BP_SYM.
28827         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
28828         "bp-asm.h".
28829         (PARMS): Do not use macros from bp-asm.h.
28830         (DEST): Likewise.
28831         (SRC): Likewise.
28832         (LEN): Likewise.
28833         (memcpy): Likewise.  Do not use BP_SYM.
28834         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
28835         libc_hidden_def and weak_alias.
28836         (mempcpy): Do not use BP_SYM in weak_alias.
28837         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
28838         "bp-asm.h".
28839         (PARMS): Do not use macros from bp-asm.h.
28840         (DEST): Likewise.
28841         (LEN): Likewise.
28842         [!BZERO_P] (CHR): Likewise.
28843         (memset): Likewise.  Do not use BP_SYM.
28844         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
28845         "bp-asm.h".
28846         (PARMS): Do not use macros from bp-asm.h.
28847         (S1): Likewise.
28848         (SIZE): Likewise.
28849         (__mpn_mul_1): Do not use BP_SYM.
28850         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
28851         "bp-asm.h".
28852         (PARMS): Do not use macros from bp-asm.h.
28853         (S): Likewise.
28854         (SIZE): Likewise.
28855         (__mpn_rshift): Do not use BP_SYM.
28856         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
28857         "bp-asm.h".
28858         (PARMS): Do not use macros from bp-asm.h.
28859         (STR): Likewise.
28860         (CHR): Likewise.
28861         (strchr): Likewise.  Do not use BP_SYM.
28862         (index): Do not use BP_SYM in weak_alias.
28863         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
28864         "bp-asm.h".
28865         (PARMS): Do not use macros from bp-asm.h.
28866         (DEST): Likewise.
28867         (SRC): Likewise.
28868         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
28869         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
28870         "bp-asm.h".
28871         (PARMS): Do not use macros from bp-asm.h.
28872         (strlen): Do not use BP_SYM.
28873         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
28874         "bp-asm.h".
28875         (PARMS): Do not use macros from bp-asm.h.
28876         (S1): Likewise.
28877         (S2): Likewise.
28878         (SIZE): Likewise.
28879         (__mpn_sub_n): Do not use BP_SYM.
28880         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
28881         "bp-asm.h".
28882         (PARMS): Do not use macros from bp-asm.h.
28883         (S1): Likewise.
28884         (SIZE): Likewise.
28885         (__mpn_submul_1): Do not use BP_SYM.
28886         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
28887         "bp-asm.h".
28888         (PARMS): Do not use macros from bp-asm.h.
28889         (S1): Likewise.
28890         (S2): Likewise.
28891         (SIZE): Likewise.
28892         (__mpn_add_n): Do not use BP_SYM.
28893         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
28894         weak_alias.
28895         (bzero): Likewise.
28896         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
28897         "bp-asm.h".
28898         (PARMS): Do not use macros from bp-asm.h.
28899         (BLK2): Likewise.
28900         (LEN): Likewise.
28901         (memcmp): Do not use BP_SYM.
28902         (bcmp): Do not use BP_SYM in weak_alias.
28903         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
28904         "bp-asm.h".
28905         (PARMS): Do not use macros from bp-asm.h.
28906         (DEST): Likewise.
28907         (SRC): Likewise.
28908         (LEN): Likewise.
28909         (memcpy): Likewise.  Do not use BP_SYM.
28910         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
28911         "bp-asm.h".
28912         (PARMS): Do not use macros from bp-asm.h.
28913         (DEST): Likewise.
28914         (SRC): Likewise.
28915         (LEN): Likewise.
28916         (memmove): Likewise.  Do not use BP_SYM.
28917         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
28918         "bp-asm.h".
28919         (PARMS): Do not use macros from bp-asm.h.
28920         (DEST): Likewise.
28921         (SRC): Likewise.
28922         (LEN): Likewise.
28923         (__mempcpy): Likewise.  Do not use BP_SYM.
28924         (mempcpy): Do not use BP_SYM in weak_alias.
28925         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
28926         "bp-asm.h".
28927         (PARMS): Do not use macros from bp-asm.h.
28928         (DEST): Likewise.
28929         (LEN): Likewise.
28930         [!BZERO_P] (CHR): Likewise.
28931         (memset): Likewise.  Do not use BP_SYM.
28932         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
28933         "bp-asm.h".
28934         (PARMS): Do not use macros from bp-asm.h.
28935         (STR2): Likewise.
28936         (strcmp): Do not use BP_SYM.
28937         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
28938         "bp-asm.h".
28939         (PARMS): Do not use macros from bp-asm.h.
28940         (STR): Likewise.
28941         (DELIM): Likewise.
28942         [USE_AS_STRTOK_R] (SAVE): Likewise.
28943         (FUNCTION): Likewise.  Do not use BP_SYM.
28944         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
28945         aliases.
28946         (strtok_r): Likewise.
28947         (__GI___strtok_r): Likewise.
28948         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
28949         (PARMS): Do not use macros from bp-asm.h.
28950         (S): Likewise.
28951         (SIZE): Likewise.
28952         (__mpn_lshift): Do not use BP_SYM.
28953         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
28954         (PARMS): Do not use macros from bp-asm.h.
28955         (STR): Likewise.
28956         (CHR): Likewise.
28957         (__memchr): Do not use BP_SYM.
28958         (memchr): Do not use BP_SYM in weak_alias.
28959         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
28960         (PARMS): Do not use macros from bp-asm.h.
28961         (BLK2): Likewise.
28962         (LEN): Likewise.
28963         (memcmp): Do not use BP_SYM.
28964         (bcmp): Do not use BP_SYM in weak_alias.
28965         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
28966         (PARMS): Do not use macros from bp-asm.h.
28967         (S1): Likewise.
28968         (SIZE): Likewise.
28969         (__mpn_mul_1): Do not use BP_SYM.
28970         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
28971         "bp-asm.h".
28972         (PARMS): Do not use macros from bp-asm.h.
28973         (STR): Likewise.
28974         (CHR): Likewise.
28975         (__rawmemchr): Do not use BP_SYM.
28976         (rawmemchr): Do not use BP_SYM in weak_alias.
28977         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
28978         (PARMS): Do not use macros from bp-asm.h.
28979         (S): Likewise.
28980         (SIZE): Likewise.
28981         (__mpn_rshift): Do not use BP_SYM.
28982         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
28983         (PARMS): Do not use macros from bp-asm.h.
28984         (SIGMSK): Likewise.
28985         (__sigsetjmp): Likewise.  Do not use BP_SYM.
28986         * sysdeps/i386/start.S: Do not include "bp-sym.h".
28987         (_start): Do not use BP_SYM.
28988         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
28989         (PARMS): Do not use macros from bp-asm.h.
28990         (DEST): Likewise.
28991         (SRC): Likewise.
28992         (__stpcpy): Likewise.  Do not use BP_SYM.
28993         (stpcpy): Do not use BP_SYM in weak_alias.
28994         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
28995         "bp-asm.h".
28996         (PARMS): Do not use macros from bp-asm.h.
28997         (DEST): Likewise.
28998         (SRC): Likewise.
28999         (LEN): Likewise.
29000         (__stpncpy): Likewise.  Do not use BP_SYM.
29001         (stpncpy): Do not use BP_SYM in weak_alias.
29002         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
29003         (PARMS): Do not use macros from bp-asm.h.
29004         (STR): Likewise.
29005         (CHR): Likewise.
29006         (strchr): Likewise.  Do not use BP_SYM.
29007         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
29008         "bp-asm.h".
29009         (PARMS): Do not use macros from bp-asm.h.
29010         (STR): Likewise.
29011         (CHR): Likewise.
29012         (__strchrnul): Likewise.  Do not use BP_SYM.
29013         (strchrnul): Do not use BP_SYM in weak_alias.
29014         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
29015         "bp-asm.h".
29016         (PARMS): Do not use macros from bp-asm.h.
29017         (STOP): Likewise.
29018         (strcspn): Do not use BP_SYM.
29019         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
29020         "bp-asm.h".
29021         (PARMS): Do not use macros from bp-asm.h.
29022         (STR): Likewise.
29023         (STOP): Likewise.
29024         (strpbrk): Likewise.  Do not use BP_SYM.
29025         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
29026         "bp-asm.h".
29027         (PARMS): Do not use macros from bp-asm.h.
29028         (STR): Likewise.
29029         (CHR): Likewise.
29030         (strrchr): Likewise.  Do not use BP_SYM.
29031         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
29032         (PARMS): Do not use macros from bp-asm.h.
29033         (SKIP): Likewise.
29034         (strspn): Do not use BP_SYM.
29035         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
29036         (PARMS): Do not use macros from bp-asm.h.
29037         (STR): Likewise.
29038         (DELIM): Likewise.
29039         (SAVE): Likewise.
29040         (FUNCTION): Likewise.  Do not use BP_SYM.
29041         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
29042         aliases.
29043         (strtok_r): Likewise.
29044         (__GI___strtok_r): Likewise.
29045         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
29046         (PARMS): Do not use macros from bp-asm.h.
29047         (S1): Likewise.
29048         (S2): Likewise.
29049         (SIZE): Likewise.
29050         (__mpn_sub_n): Do not use BP_SYM.
29051         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
29052         "bp-asm.h".
29053         (PARMS): Do not use macros from bp-asm.h.
29054         (S1): Likewise.
29055         (SIZE): Likewise.
29056         (__mpn_submul_1): Do not use BP_SYM.
29057         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
29058         <bp-sym.h>.
29059         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
29060         and <bp-asm.h>.
29061         (PARMS): Do not use macros from bp-asm.h.
29062         (FLAGS): Likewise.
29063         (PTID): Likewise.
29064         (TLS): Likewise.
29065         (CTID): Likewise.
29066         (__clone): Do not use BP_SYM.
29067         (clone): Do not use BP_SYM in weak_alias.
29068         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
29069         and <bp-asm.h>.
29070         (PARMS): Do not use macros from bp-asm.h.
29071         (LEN): Likewise.
29072         (__mmap64): Do not use BP_SYM.
29073         (mmap64): Do not use BP_SYM in weak_alias.
29074         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
29075         <bp-sym.h> and <bp-asm.h>.
29076         (PARMS): Do not use macros from bp-asm.h.
29077         (__posix_fadvise64_l64): Do not use BP_SYM.
29078         * sysdeps/unix/sysv/linux/i386/semtimedop.S
29079         (PARMS): Do not use macros from bp-asm.h.
29080         (NSOPS): Likewise.
29081         (semtimedop): Do not use BP_SYM.
29082         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
29083         and <bp-asm.h>.
29084
29085 2013-02-21  Allan McRae  <allan@archlinux.org>
29086
29087         * manual/message.texi (Charset conversion in gettext):
29088         Move @end statement to beginning of line.
29089
29090 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
29091
29092         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
29093         static.
29094         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
29095         Likewise.
29096
29097         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
29098         (denorm): Likewise.
29099         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
29100         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
29101
29102 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29103
29104         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
29105         tail-call to the resolved function if pltexit isn't needed.
29106
29107 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
29108
29109         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
29110         or Y being zero as being unlikely.
29111         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
29112         Likewise.
29113
29114 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
29115
29116         * manual/nss.texi (System Databases and Name Service Switch):
29117         Remove frobnicate @pxref.
29118
29119 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
29120
29121         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
29122         __attribute__ ((unused)) to __attribute__ ((__unused__)).
29123
29124 2013-02-20  Petr Machata  <pmachata@redhat.com>
29125
29126         * elf/elf.h (R_ARM_TARGET1): New macro.
29127         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
29128         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
29129         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
29130         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
29131         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
29132         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
29133         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
29134         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
29135         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
29136         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
29137         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
29138         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
29139         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
29140         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
29141         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
29142         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
29143         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
29144         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
29145         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
29146         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
29147         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
29148         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
29149         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
29150         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
29151         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
29152         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
29153         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
29154         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
29155         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
29156         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
29157         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
29158         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
29159         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
29160         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
29161         (R_ARM_THM_GOT_BREL12): Likewise.
29162         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
29163         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
29164         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
29165         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
29166         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
29167         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
29168         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
29169         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
29170         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
29171
29172 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
29173
29174         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
29175         __attribute_used__ to __attribute__ ((unused)).
29176
29177 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
29178
29179         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
29180         powerpc mpa.c.
29181         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
29182         comment formatting.
29183         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
29184
29185 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
29186
29187         [BZ #13550]
29188         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
29189         Remove macro.
29190         (ENTER): Remove both macro definitions.
29191         (LEAVE): Likewise.
29192         (CHECK_BOUNDS_LOW): Likewise.
29193         (CHECK_BOUNDS_HIGH): Likewise.
29194         (CHECK_BOUNDS_BOTH): Likewise.
29195         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
29196         (RETURN_BOUNDED_POINTER): Likewise.
29197         (RETURN_NULL_BOUNDED_POINTER): Likewise.
29198         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
29199         (POP_ERRNO_LOCATION_RETURN): Likewise.
29200         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
29201         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
29202         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
29203         macros.
29204         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29205         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
29206         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
29207         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
29208         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
29209         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
29210         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
29211         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
29212         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
29213         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
29214         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
29215         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
29216         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
29217         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
29218         removed macros.
29219         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29220         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
29221         macros.
29222         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
29223         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
29224         * sysdeps/i386/i586/memset.S (memset): Likewise.
29225         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
29226         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29227         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
29228         macros.
29229         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
29230         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
29231         Change uses of L(2) to L(out).
29232         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
29233         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
29234         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
29235         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
29236         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
29237         removed macros.
29238         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29239         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
29240         macros.
29241         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
29242         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
29243         (RETURN): Do not use macro LEAVE.
29244         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
29245         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
29246         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
29247         * sysdeps/i386/i686/memset.S (memset): Likewise.
29248         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
29249         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
29250         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
29251         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
29252         Likewise.
29253         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
29254         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
29255         L(1_2) and L(1_3) into L(1).
29256         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
29257         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
29258         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
29259         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
29260         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
29261         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
29262         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
29263         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29264         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
29265         macros.
29266         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
29267         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
29268         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
29269         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
29270         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
29271         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
29272         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
29273         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
29274         * sysdeps/i386/strcspn.S (strcspn): Likewise.
29275         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
29276         * sysdeps/i386/strrchr.S (strrchr): Likewise.
29277         * sysdeps/i386/strspn.S (strspn): Likewise.
29278         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
29279         conditional code.
29280         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
29281         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
29282         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
29283         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
29284         L(1_3) into L(1_1).
29285         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
29286         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
29287         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
29288         macros.
29289         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29290
29291 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
29292
29293         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
29294         macro.
29295
29296 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
29297
29298         * math/atest-exp.c (exp_mpn): Remove ROUND.
29299         * math/atest-exp2.c (exp_mpn): Likewise.
29300         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
29301
29302         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
29303         * stdlib/tst-tls-atexit-lib.c: Likewise.
29304         * stdlib/tst-tls-atexit.c: Likewise.
29305
29306 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
29307
29308         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
29309         and __attribute_alloc_size__.
29310
29311 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
29312
29313         * include/programs/xmalloc.h: Change __attribute_alloc_size to
29314         __attribute_alloc_size__.
29315         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
29316         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
29317
29318 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
29319
29320         * include/programs/xmalloc.h: New file.
29321         * catgets/gencat.c: Include it.
29322         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
29323         * elf/pldd.c: Likewise.
29324         * iconv/iconv_charmap.c: Likewise.
29325         * iconv/iconvconfig.c: Likewise.
29326         * iconv/strtab.c: Likewise.
29327         * locale/programs/locale.c: Likewise.
29328         * locale/programs/localedef.h: Likewise.
29329         * locale/programs/simple-hash.c: Likewise.
29330         * nscd/nscd.h: Likewise.
29331         * nss/makedb.c: Likewise.
29332         * sysdeps/generic/ldconfig.h: Likewise.
29333
29334 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
29335
29336         * Versions.def: Add GLIBC_2.18.
29337         * include/link.h (struct link_map): New member l_tls_dtor_count.
29338         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
29339         (__call_tls_dtors): Likewise.
29340         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
29341         __cxa_thread_atexit_impl.
29342         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29343         Likewise.
29344         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
29345         Likewise.
29346         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
29347         Likewise.
29348         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
29349         Likewise.
29350         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
29351         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
29352         Likewise.
29353         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
29354         Likewise.
29355         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
29356         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
29357         Likewise.
29358         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
29359         (tests): Add test case tst-tls-atexit.
29360         (modules-names): Add shared library for tst-tls-atexit.
29361         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
29362         (GLIBC_PRIVATE): Add __call_tls_dtors.
29363         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
29364         for libstdc++.
29365         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
29366         * stdlib/tst-tls-atexit.c: New test case.
29367         * stdlib/tst-tls-atexit-lib.c: New test case.
29368
29369         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
29370
29371         * elf/Versions (ld): Add _dl_find_dso_for_object.
29372         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
29373         * elf/dl-open.c (_dl_find_dso_for_object): New function.
29374         (dl_open_worker): Use _dl_find_dso_for_object.
29375         * elf/dl-sym.c (do_sym): Likewise.
29376         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
29377
29378 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29379
29380         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
29381         Syntactic changes only.
29382         (_dl_runtime_profile): Do a tail-call to the resolved function.
29383
29384 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
29385
29386         [BZ #13550]
29387         * sysdeps/x86_64/bp-asm.h: Remove file.
29388         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
29389         <bp-sym.h> and <bp-asm.h>.
29390         (__clone): Do not use BP_SYM.
29391         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
29392         <bp-sym.h> and <bp-asm.h>.
29393         * sysdeps/unix/x86_64/sysdep.S: Likewise.
29394         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
29395         "bp-asm.h".
29396         (_setjmp): Do not use BP_SYM.
29397         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
29398         "bp-asm.h".
29399         (setjmp): Do not use BP_SYM.
29400         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
29401         libc_hidden_def.
29402         (mempcpy): Do not use BP_SYM in weak_alias.
29403         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
29404         "bp-asm.h".
29405         (strchr): Do not use BP_SYM.
29406         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
29407         "bp-asm.h".
29408         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
29409         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
29410         (_start): Do not use BP_SYM.
29411         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
29412         "bp-asm.h".
29413         (strcat): Do not use BP_SYM.
29414         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
29415         "bp-asm.h".
29416         (STRCMP): Do not use BP_SYM.
29417         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
29418         "bp-asm.h".
29419         (STRCPY): Do not use BP_SYM.
29420         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
29421         "bp-asm.h".
29422         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
29423         "bp-asm.h".
29424         (FUNCTION): Do not use BP_SYM.
29425         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
29426         weak_alias.
29427         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
29428
29429 2013-02-17  Andreas Jaeger  <aj@suse.de>
29430
29431         * time/Versions: Sort entries.
29432         * string/Versions: Likewise.
29433         * resolv/Versions: Likewise.
29434         * posix/Versions: Likewise.
29435         * iconv/Versions: Likewise.
29436         * elf/Versions: Likewise.
29437         * wcsmbs/Versions: Likewise.
29438
29439 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
29440
29441         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
29442         loop termination condition.
29443
29444         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
29445         variable to calculate EZ.
29446         (__sqr): Likewise.
29447
29448         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
29449         the lower precision input.
29450
29451 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
29452
29453         [BZ #13550]
29454         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
29455         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
29456         (run-via-rtld-prefix): Do not handle %-bp tests.
29457         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
29458         (all-object-suffixes): Remove .ob.
29459         (bppfx): Remove variable.
29460         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
29461         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
29462         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
29463         [$(build-bounded) = yes] (libtype.ob): Likewise.
29464         * Makerules (elide-routines.ob): Remove variable.
29465         (do-tests-clean): Do not handle *-bp.out.
29466         (common-mostlyclean): Do not handle *-bp and *-bp.out.
29467         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
29468         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
29469         (tests): Do not include $(tests-bp.out).
29470         (xtests): Do not include $(xtests-bp.out).
29471         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
29472         [$(build-bounded) = yes] ($(addprefix
29473         $(objpfx),$(binaries-bounded))): Remove rule.
29474         ($(objpfx)%-bp.out): Remove rule.
29475         * config.make.in (build-bounded): Remove variable.
29476         * crypt/Makefile [$(build-bounded) = yes]
29477         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
29478         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
29479         append to variable.
29480         [$(build-bounded) = yes] (install-lib): Likewise.
29481         [$(build-bounded) = yes] (generated): Likewise.
29482         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
29483         Remove rule.
29484         * intl/Makefile [$(build-bounded) = yes]
29485         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
29486         * math/Makefile [$(build-bounded) = yes]
29487         ($(tests:%=$(objpfx)%-bp): Likewise.
29488         * misc/Makefile [$(build-bounded) = yes]
29489         ($(objpfx)tst-tsearch-bp): Likewise.
29490         * nptl/Makeconfig (bounded-thread-library): Remove variable.
29491         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
29492         Remove dependency.
29493         * string/Makefile (o-objects.ob): Remove variable.
29494         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
29495         (CFLAGS-.ob): Remove variable.
29496         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
29497         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
29498         both definitions of variable.
29499         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
29500         (ASFLAGS-.ob): Remove variable.
29501
29502 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
29503
29504         [BZ #13550]
29505         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
29506         Remove __BOUNDED_POINTERS__ from condition.
29507         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
29508         * string/bits/string2.h [!__NO_STRING_INLINES &&
29509         !__BOUNDED_POINTERS__]: Likewise.
29510         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
29511         Likewise.
29512         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
29513         Remove conditional code.
29514         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
29515         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
29516         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
29517         condition.
29518
29519         [BZ #13550]
29520         * csu/libc-start.c: Do not include <bp-sym.h>.
29521         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
29522         * elf/dl-open.c: Do not include <bp-sym.h>.
29523         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
29524         * math/fegetenv.c: Do not include <bp-sym.h>.
29525         (fegetenv): Do not use BP_SYM in versioned symbols.
29526         * nptl/sysdeps/pthread/bits/libc-lockP.h
29527         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
29528         <bp-sym.h>.
29529         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29530         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
29531         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29532         (__pthread_mutex_destroy): Likewise.
29533         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29534         (__pthread_mutex_lock): Likewise.
29535         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29536         (__pthread_mutex_trylock): Likewise.
29537         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29538         (__pthread_mutex_unlock): Likewise.
29539         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29540         (__pthread_mutexattr_init): Likewise.
29541         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29542         (__pthread_mutexattr_destroy): Likewise.
29543         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29544         (__pthread_mutexattr_settype): Likewise.
29545         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29546         (__pthread_rwlock_init): Likewise.
29547         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29548         (__pthread_rwlock_destroy): Likewise.
29549         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29550         (__pthread_rwlock_rdlock): Likewise.
29551         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29552         (__pthread_rwlock_tryrdlock): Likewise.
29553         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29554         (__pthread_rwlock_wrlock): Likewise.
29555         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29556         (__pthread_rwlock_trywrlock): Likewise.
29557         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29558         (__pthread_rwlock_unlock): Likewise.
29559         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29560         (__pthread_key_create): Likewise.
29561         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29562         (__pthread_setspecific): Likewise.
29563         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29564         (__pthread_getspecific): Likewise.
29565         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
29566         Likewise.
29567         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29568         (_pthread_cleanup_push_defer): Likewise.
29569         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29570         (_pthread_cleanup_pop_restore): Likewise.
29571         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29572         (pthread_setcancelstate): Likewise.
29573         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
29574         <bp-sym.h>.
29575         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
29576         (memchr): Do not use BP_SYM in weak_alias.
29577         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
29578         (fegetenv): Do not use BP_SYM in versioned symbols.
29579         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
29580         (fesetenv): Do not use BP_SYM in versioned symbols.
29581         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
29582         (feupdateenv): Do not use BP_SYM in versioned symbols.
29583         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
29584         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
29585         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
29586         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
29587         (open64): Do not use BP_SYM in weak_alias.
29588         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
29589         (fegetenv): Do not use BP_SYM in versioned symbols.
29590         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
29591         (fesetenv): Do not use BP_SYM in versioned symbols.
29592         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
29593         (feupdateenv): Do not use BP_SYM in versioned symbols.
29594         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
29595         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
29596         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
29597         (feraiseexcept): Do not use BP_SYM in versioned symbols.
29598         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
29599         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
29600         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
29601         <bp-sym.h>.
29602         (__libc_start_main): Do not use BP_SYM.
29603
29604 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
29605
29606         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
29607         redundant return line.
29608         (norm): Likewise.
29609         (denorm): Likewise.
29610         (dbl_mp): Likewise.
29611         (sub_magnitudes): Likewise.
29612         (__add): Likewise.
29613         (__sub): Likewise.
29614         (__mul): Likewise.
29615         (__inv): Likewise.
29616         (__dvd): Likewise.
29617         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
29618         (norm): Likewise.
29619         (denorm): Likewise.
29620         (dbl_mp): Likewise.
29621         (sub_magnitudes): Likewise.
29622         (__add): Likewise.
29623         (__sub): Likewise.
29624         (__mul): Likewise.
29625         (__inv): Likewise.
29626         (__dvd): Likewise.
29627
29628         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
29629         instead of __mul.
29630         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
29631         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
29632         (cc32): Likewise.
29633
29634         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
29635         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
29636         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
29637         of __mul for squares.
29638         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
29639         function
29640         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
29641         Likewise.
29642         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
29643         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
29644
29645 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
29646
29647         [BZ #13550]
29648         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
29649         code.
29650         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
29651         prototype or function definition.  Rename ubp_* variables and
29652         parameters.  Remove argv definitions conditional on
29653         [__BOUNDED_POINTERS__].
29654         * debug/backtrace.c (__backtrace): Do not use __unbounded.
29655         * elf/dl-runtime.c (_dl_fixup): Likewise.
29656         * include/set-hooks.h (RUN_HOOK): Likewise.
29657         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
29658         definition.
29659         * string/strcpy.c (strcpy): Do not use __unbounded.
29660         * sysdeps/generic/frame.h (struct layout): Likewise.
29661         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
29662         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
29663         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
29664         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
29665         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
29666         (__backtrace): Likewise.
29667         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
29668         use __ptrvalue.
29669         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
29670         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
29671         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
29672         Likewise.
29673         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
29674         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
29675         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
29676         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
29677         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
29678         Do not use __unbounded.
29679         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
29680         Rename __unboundedrlimits parameter to rlimits in prototype.
29681         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
29682         Do not use __unbounded.
29683         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
29684         not use __ptrvalue.
29685         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
29686         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
29687         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
29688         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
29689         __ptrvalue or __unbounded.
29690         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
29691         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
29692         use __unbounded.
29693         (__new_msgctl): Do not use __ptrvalue.
29694         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
29695         __unbounded.
29696         (__libc_msgrcv): Do not use __ptrvalue.
29697         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
29698         startup_info): Do not use __unbounded.
29699         (__libc_start_main): Likewise.  Rename ubp_* variables and
29700         parameters.  Remove argv definitions conditional on
29701         [__BOUNDED_POINTERS__].
29702         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
29703         __ptrvalue.
29704         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
29705         use __unbounded.
29706         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
29707         or __ptrvalue.
29708         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
29709         use __unbounded.
29710         (__new_shmctl): Do not use __ptrvalue.
29711         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
29712         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
29713         Likewise.
29714         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
29715         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
29716         (__libc_sigaction): Likewise.
29717         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
29718         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
29719         Likewise.
29720         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
29721
29722 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
29723
29724         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
29725
29726         * string/mempcpy.c: Implement by calling memcpy.
29727
29728 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
29729
29730         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
29731
29732         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
29733         evaluation.
29734
29735         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
29736         values in the mantissa.
29737
29738         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
29739         minimize writes to Z.
29740         (sub_magnitudes): Simplify code a bit.
29741
29742 2013-02-12  Roland McGrath  <roland@hack.frob.com>
29743
29744         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
29745         from the message.  The linker prefixes all warnings with that already.
29746
29747 2013-02-12  Andreas Schwab  <schwab@suse.de>
29748
29749         [BZ #15078]
29750         * posix/regexec.c (extend_buffers): Add parameter min_len.
29751         (check_matching): Pass minimum needed length.
29752         (clean_state_log_if_needed): Likewise.
29753         (get_subexp): Likewise.
29754         * posix/Makefile (tests): Add bug-regex34.
29755         (bug-regex34-ENV): Define.
29756         * posix/bug-regex34.c: New file.
29757
29758         [BZ #11561]
29759         * posix/regcomp.c (parse_bracket_exp): When looking up collating
29760         elements compare against the byte sequence of it, not its name.
29761         * posix/Makefile (tests): Add bug-regex35.
29762         (bug-regex35-ENV): Define.
29763         * posix/bug-regex35.c: New file.
29764
29765 2013-02-11  Tom de Vries  <tom@codesourcery.com>
29766
29767         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
29768         comment.
29769         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
29770         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
29771         (CHECK_EOL): Add undef.
29772
29773 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
29774
29775         * bits/stdlib-bsearch.h: New file.
29776         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
29777         * stdlib/stdlib.h: Likewise.
29778
29779 2013-02-11  Roland McGrath  <roland@hack.frob.com>
29780
29781         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
29782         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
29783         declaration.
29784         * manual/search.texi (Array Search Function): Add missing const in
29785         lfind prototype.
29786         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
29787         declaration to use rlim_t.
29788         (Basic Scheduling Functions): Remove erroneous const from
29789         sched_getparam prototype.  Remove erroneous * from
29790         sched_get_priority_max and sched_get_priority_min prototypes.
29791         (Resource Usage): Fix summary @comment on vtimes to refer to
29792         sys/vtimes.h rather than vtimes.h.
29793         Add missing *s in vtimes prototype.
29794         (Limits on Resources): Fix ulimit prototype to return long int.
29795         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
29796         prototypes to use long int rather than double.
29797         (BSD Random): Fix initstate and setstate to use char *, not void *.
29798         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
29799         prototype to make second argument 'struct aiocb64 *const[]'.
29800         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
29801         (Status of AIO Operations): Remove erroneous const in aio_return and
29802         aio_return64 prototypes.
29803         (Synchronizing I/O): Fix sync prototype to return void.
29804         * manual/startup.texi (Suboptions): Remove an erroneous const in
29805         getsubopt prototype.
29806         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
29807         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
29808         use size_t rather than int.
29809         (Scanning All Users): Likewise for getpwent_r.
29810         (Setting Groups): Add missing const to setgroups prototype.
29811         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
29812         * manual/socket.texi (Host Names): Fix gethostbyaddr and
29813         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
29814         'const void *' rather than 'const char *'.
29815         (Host Address Functions): Likewise for inet_ntop.
29816         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
29817         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
29818         ssize_t for return value.
29819         (Sending Data): Likewise for send, sendto, sendmsg.
29820         (Socket Option Functions): Add a missing const in setsockopt prototype.
29821         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
29822         use wchar_t for the argument.
29823         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
29824         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
29825         take no arguments.
29826         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
29827         double/float/long double for second argument.
29828         Fix return types of significand, significandf, significandl.
29829         * manual/filesys.texi (Setting Permissions): Use mode_t for second
29830         argument in fchmod prototype.
29831         (File Owner): Use uid_t and gid_t in fchown prototype.
29832         (File Times): Add const to utimes, futimes, and lutimes prototypes.
29833         (Making Special Files): Use mode_t and dev_t in mknod prototype.
29834         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
29835         use 'const struct dirent **' as argument types to CMP function pointer
29836         argument.
29837         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
29838         (File Times): Fix summary magic @comment for struct utimbuf and utime
29839         to refer to utime.h, not time.h.
29840         * manual/string.texi (Argz Functions): Add missing const in
29841         argz_extract and argz_next prototypes.
29842         (Finding Tokens in a String): Likewise for basename.
29843         (String/Array Comparison): Fix typo in wcscasecmp prototype.
29844         (Copying and Concatenation): Fix typo in wmemmove prototype.
29845         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
29846         (Signal Stack): Remove erroneous const in sigstack prototype.
29847         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
29848         prototype.
29849         (Simple Calendar Time): Likewise for stime.
29850         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
29851         prototype.
29852         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
29853         say sys/sysctl.h instead.
29854         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
29855         and vsyslog prototypes.
29856
29857 2013-02-11  Tom de Vries  <tom@codesourcery.com>
29858
29859         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
29860         Remove.
29861
29862 2013-02-11  Roland McGrath  <roland@hack.frob.com>
29863
29864         * misc/sys/mman.h: Fix typo in mremap comment.
29865
29866 2013-02-08  Roland McGrath  <roland@hack.frob.com>
29867
29868         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
29869         the '\0' terminator.
29870
29871 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
29872
29873         [BZ #13550]
29874         * debug/segfault.c: Don't include <bp-checks.h>.
29875         * sysdeps/generic/bp-checks.h: Remove file.
29876         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
29877         (__GETDENTS): Don't use CHECK_N.
29878         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
29879         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
29880         (__getgroups): Don't use CHECK_N.
29881         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
29882         (setgroups): Don't use CHECK_N.
29883         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
29884         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
29885         (__libc_msgrcv): Don't use CHECK_N.
29886         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
29887         (__libc_msgsnd): Don't use CHECK_N.
29888         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
29889         <bp-checks.h>.
29890         (__libc_pread): Don't use CHECK_N.
29891         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
29892         include <bp-checks.h>.
29893         (__libc_pread64): Don't use CHECK_N.
29894         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
29895         include <bp-checks.h>.
29896         (__libc_pwrite): Don't use CHECK_N.
29897         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
29898         include <bp-checks.h>.
29899         (__libc_pwrite64): Don't use CHECK_N.
29900         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
29901         <bp-checks.h>.
29902         (__libc_pread): Don't use CHECK_N.
29903         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
29904         include <bp-checks.h>.
29905         (__libc_pread64): Don't use CHECK_N.
29906         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
29907         include <bp-checks.h>.
29908         (__libc_pwrite): Don't use CHECK_N.
29909         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
29910         include <bp-checks.h>.
29911         (__libc_pwrite64): Don't use CHECK_N.
29912         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
29913         (do_pread): Don't use CHECK_N.
29914         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
29915         (do_pread64): Don't use CHECK_N.
29916         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
29917         (do_pwrite): Don't use CHECK_N.
29918         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
29919         (do_pwrite64): Don't use CHECK_N.
29920         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
29921         (__libc_readv): Don't use CHECK_N.
29922         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
29923         (semop): Don't use CHECK_N.
29924         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
29925         <bp-checks.h>.
29926         (semtimedop): Don't use CHECK_N.
29927         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
29928         (__libc_pread): Don't use CHECK_N.
29929         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
29930         <bp-checks.h>.
29931         (__libc_pread64): Don't use CHECK_N.
29932         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
29933         <bp-checks.h>.
29934         (__libc_pwrite): Don't use CHECK_N.
29935         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
29936         <bp-checks.h>.
29937         (__libc_pwrite64): Don't use CHECK_N.
29938         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
29939         <bp-checks.h>.
29940         (__libc_msgrcv): Don't use CHECK_N.
29941         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
29942         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
29943         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
29944         (__libc_writev): Don't use CHECK_N.
29945
29946 2013-02-08  Roland McGrath  <roland@hack.frob.com>
29947
29948         * string/strcpy.c: Removed unused variable.
29949
29950         * Makeconfig (+sysdep-includes): Define with := rather than =.
29951         Use an existing include/ subdir of each sysdeps dir before it.
29952
29953 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
29954
29955         * nscd/connection.c (register_traced_file): Comment function.
29956         [HAVE_INOTIFY] (union __inev): Define.
29957         [HAVE_INOTIFY] (inotify_check_files): New function.
29958         [HAVE_INOTIFY] (clear_db_cache): Likewise.
29959         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
29960         clear_db_cache.
29961         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
29962
29963 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
29964
29965         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
29966         loaded if not already and that a failure is permanent.
29967
29968 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
29969
29970         [BZ #15006]
29971         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
29972         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
29973
29974 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
29975
29976         [BZ #13550]
29977         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
29978         (CHECK_1_NULL_OK): Likewise.
29979         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
29980         (__fxstat): Do not use CHECK_1.
29981         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
29982         <bp-checks.h>.
29983         (___fxstat64): Do not use CHECK_1.
29984         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
29985         <bp-checks.h>.
29986         (__fxstatat): Do not use CHECK_1.
29987         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
29988         <bp-checks.h>.
29989         (__fxstatat64): Do not use CHECK_1.
29990         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
29991         <bp-checks.h>.
29992         (__fxstat): Do not use CHECK_1.
29993         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
29994         <bp-checks.h>.
29995         (__fxstatat): Do not use CHECK_1.
29996         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
29997         <bp-checks.h>.
29998         (__getresgid): Do not use CHECK_1.
29999         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
30000         <bp-checks.h>.
30001         (__getresuid): Do not use CHECK_1.
30002         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
30003         <bp-checks.h>.
30004         (__lxstat): Do not use CHECK_1.
30005         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
30006         <bp-checks.h>.
30007         (__old_msgctl): Do not use CHECK_1.
30008         (__new_msgctl): Likewise.
30009         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
30010         <bp-checks.h>.
30011         (__new_setrlimit): Do not use CHECK_1.
30012         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
30013         <bp-checks.h>.
30014         (__old_shmctl): Do not use CHECK_1.
30015         (__new_shmctl): Likewise.
30016         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
30017         <bp-checks.h>.
30018         (__xstat): Do not use CHECK_1.
30019         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
30020         (__lxstat): Do not use CHECK_1.
30021         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
30022         <bp-checks.h>.
30023         (___lxstat64): Do not use CHECK_1.
30024         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
30025         (__old_msgctl): Do not use CHECK_1.
30026         (__new_msgctl): Likewise.
30027         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
30028         <bp-checks.h>.
30029         (__gettimeofday): Do not use CHECK_1.
30030         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
30031         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
30032         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
30033         <bp-checks.h>.
30034         (__gettimeofday): Do not use CHECK_1.
30035         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
30036         (__old_shmctl): Do not use CHECK_1_NULL_OK.
30037         (__new_shmctl): Do not use CHECK_1.
30038         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
30039         <bp-checks.h>.
30040         (do_sigtimedwait): Do not use CHECK_1.
30041         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
30042         <bp-checks.h>.
30043         (do_sigwaitinfo): Do not use CHECK_1.
30044         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
30045         <bp-checks.h>.
30046         (msgctl): Do not use CHECK_1.
30047         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
30048         <bp-checks.h>.
30049         (shmctl): Do not use CHECK_1.
30050         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
30051         (ustat): Do not use CHECK_1.
30052         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
30053         <bp-checks.h>.
30054         (__fxstat): Do not use CHECK_1.
30055         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
30056         <bp-checks.h>.
30057         (__fxstatat): Do not use CHECK_1.
30058         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
30059         <bp-checks.h>.
30060         (__lxstat): Do not use CHECK_1.
30061         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
30062         <bp-checks.h>.
30063         (__xstat): Do not use CHECK_1.
30064         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
30065         (__xstat): Do not use CHECK_1.
30066         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
30067         (___xstat64): Do not use CHECK_1.
30068
30069         [BZ #13550]
30070         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
30071         definitions.
30072         (CHECK_BOUNDS_HIGH): Likewise.
30073         * string/strcpy.c: Do not include <bp-checks.h>.
30074         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
30075
30076 2013-02-07  Roland McGrath  <roland@hack.frob.com>
30077
30078         * nscd/nscd-client.h (__nscd_drop_map_ref):
30079         Add __attribute__ ((unused)).
30080         * nis/nss-nisplus.h (niserr2nss): Likewise.
30081
30082         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
30083         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
30084
30085         * csu/libc-tls.c (init_static_tls, init_slotinfo):
30086         Remove inline keyword.
30087         * include/rounding-mode.h (round_away): Likewise.
30088         * libio/wfileops.c (adjust_wide_data): Likewise.
30089         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
30090         (__m128i_strloadu_tolower): Likewise.
30091         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
30092         (__m128i_strloadu_tolower): Likewise.
30093         * time/mktime.c (ydhms_diff): Likewise.
30094         * locale/elem-hash.h (elem_hash): Likewise.
30095         * locale/setlocale.c (setdata): Likewise.
30096         * posix/regex_internal.h (re_string_char_size_at): Likewise.
30097         (re_string_wchar_at): Likewise.
30098         (bitset_not, bitset_merge, bitset_mask): Likewise.
30099         [!(__GNUC__ > 3)] (inline): Remove macro.
30100         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
30101         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
30102         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
30103         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
30104         * string/memcmp.c (memcmp_bytes): Likewise.
30105         * locale/programs/locarchive.c (compute_hashval): Likewise.
30106         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
30107         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
30108         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
30109         * nss/getent.c (print_rpc, print_protocols): Likewise.
30110         (print_passwd, print_group, print_aliases): Likewise.
30111         * nis/nss-nisplus.h (niserr2nss): Likewise.
30112         * nscd/connections.c (restart_p): Likewise.
30113         Change return type to bool.
30114
30115 2013-02-05  Roland McGrath  <roland@hack.frob.com>
30116
30117         * Makeconfig (all-Depend-files): Add existing
30118         $(sorted-subdirs:=/Depend) files.
30119         (all-subdirs): Remove nss.
30120         * sysdeps/unix/inet/Subdirs: Add it here instead.
30121         * hesiod/Depend: New file.
30122
30123         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
30124         instead of calling alloca.
30125
30126         * io/lseek.c (__lseek): Rename to __libc_lseek.
30127         Define __lseek as an alias.
30128
30129         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
30130
30131 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
30132
30133         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
30134         else clause and remove check for non-standard endianness.
30135
30136 2013-02-04  David S. Miller  <davem@davemloft.net>
30137
30138         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30139
30140 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
30141
30142         [BZ #13550]
30143         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
30144         (__ubp_memchr): Remove prototype.
30145         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
30146         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
30147         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
30148         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
30149         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
30150         Remove alias.
30151         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
30152         (__ubp_memchr): Likewise.
30153         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
30154         (__ubp_memchr): Likewise.
30155         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
30156         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
30157         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
30158         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
30159         CHECK_STRING.
30160         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
30161         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
30162         (__getcwd): Do not use CHECK_STRING.
30163         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
30164         <bp-checks.h>.
30165         (__real_chown): Do not use CHECK_STRING.
30166         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
30167         <bp-checks.h>.
30168         (fchownat): Do not use CHECK_STRING.
30169         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
30170         CHECK_STRING.
30171         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
30172         <bp-checks.h>.
30173         (__lchown): Do not use CHECK_STRING.
30174         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
30175         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
30176         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
30177         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
30178         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
30179         include <bp-checks.h>.
30180         (truncate64): Do not use CHECK_STRING.
30181         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
30182         <bp-checks.h>.
30183         (__real_chown): Do not use CHECK_STRING.
30184         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
30185         <bp-checks.h>.
30186         (__lchown): Do not use CHECK_STRING.
30187         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
30188         <bp-checks.h>.
30189         (__chown): Do not use CHECK_STRING.
30190         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
30191         <bp-checks.h>.
30192         (truncate64): Do not use CHECK_STRING.
30193         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
30194         Likewise.
30195         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
30196         (__xmknod): Do not use CHECK_STRING.
30197         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
30198         <bp-checks.h>.
30199         (__xmknodat): Do not use CHECK_STRING.
30200         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
30201         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
30202
30203 2013-02-04  Andreas Schwab  <schwab@suse.de>
30204
30205         [BZ #14142]
30206         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
30207         * include/netdb.h: Likewise for h_errno.
30208         * elf/tst-stackguard1.c: Include <tls.h>.
30209
30210 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
30211
30212         * elf/link.h (struct link_map): Extend the l_addr comment.
30213         * include/link.h (struct link_map): Likewise.
30214
30215 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
30216
30217         [BZ #13550]
30218         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
30219         (BOUNDED_1): Remove macro.
30220         * debug/backtrace.c: Don't include <bp-checks.h>.
30221         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
30222         (__backtrace): Likewise.
30223         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
30224         <bp-checks.h>.
30225         (__backtrace): Don't use BOUNDED_1.
30226         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
30227         <bp-checks.h>.
30228         (__backtrace): Don't use BOUNDED_1.
30229         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
30230         (__backtrace): Don't use BOUNDED_1.
30231         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
30232         (shmat): Don't use BOUNDED_N.
30233
30234 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
30235
30236         [BZ #13550]
30237         * sysdeps/generic/bp-start.h: Remove file.
30238         * csu/libc-start.c: Don't include <bp-start.h>.
30239         (LIBC_START_MAIN): Set up __environ directly instead of using
30240         INIT_ARGV_and_ENVIRON.
30241         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
30242         <bp-start.h>.
30243
30244         [BZ #13550]
30245         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
30246         definitions.
30247         (CHECK_FCNTL): Likewise.
30248         (CHECK_N_PAGES): Likewise.
30249
30250         [BZ #13550]
30251         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
30252         definitions.
30253         (CHECK_SIGSET_NULL_OK): Likewise.
30254         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
30255         <bp-checks.h>.
30256         (sigpending): Don't use CHECK_SIGSET.
30257         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
30258         <bp-checks.h>.
30259         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
30260         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
30261         <bp-checks.h>.
30262         (do_sigsuspend): Don't use CHECK_SIGSET.
30263         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
30264         use CHECK_SIGSET.
30265         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
30266         (do_sigwait): Don't use CHECK_SIGSET.
30267         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
30268         use CHECK_SIGSET.
30269         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
30270         include <bp-checks.h>.
30271         (sigpending): Don't use CHECK_SIGSET.
30272         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
30273         include <bp-checks.h>.
30274         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
30275         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
30276         <bp-checks.h>.
30277         (sigpending): Don't use CHECK_SIGSET.
30278         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
30279         <bp-checks.h>.
30280         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
30281
30282         [BZ #13550]
30283         * sysdeps/generic/bp-semctl.h: Remove file.
30284         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
30285         <bp-checks.h> and <bp-semctl.h>.
30286         (__old_semctl): Don't use CHECK_SEMCTL.
30287         (__new_semctl): Likewise.
30288         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
30289         and <bp-semctl.h>.
30290         (__old_semctl): Don't use CHECK_SEMCTL.
30291         (__new_semctl): Likewise.
30292         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
30293         <bp-checks.h> and <bp-semctl.h>.
30294         (__old_semctl): Don't use CHECK_SEMCTL.
30295         (__new_semctl): Likewise.
30296         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
30297         <bp-checks.h> and <bp-semctl.h>.
30298         (semctl): Don't use CHECK_SEMCTL.
30299
30300         [BZ #13550]
30301         * Makerules (elide-bp-thunks): Remove variable.
30302         (elide-routines.oS): Don't use $(elide-bp-thunks).
30303         (elide-routines.os): Likewise.
30304         (elide-routines.o): Likewise.
30305         (elide-routines.op): Likewise.
30306         (elide-routines.og): Likewise.
30307         (objects): Don't use $(bp-thunks).
30308         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
30309         include.
30310         (common-generated): Do not add s-proto-bp.d.
30311         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
30312         (int): Likewise.
30313         (typ): Likewise.
30314         Do not generate makefile rules for bounded-pointer thunks.
30315         * sysdeps/generic/bp-thunks.h: Remove file.
30316         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
30317         * sysdeps/unix/s-proto-bp.S: Likewise.
30318
30319         [BZ #15062]
30320         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
30321         parts of result separately when argument is not close to line from
30322         -i to i and one part of argument is small.
30323         * math/k_casinhf.c (__kernel_casinhf): Likewise.
30324         * math/k_casinhl.c (__kernel_casinhl): Likewise.
30325         * math/libm-test.inc (cacos_test): Add more tests.
30326         (casin_test): Likewise.
30327         (casinh_test): Likewise.
30328         * sysdeps/i386/fpu/libm-test-ulps: Update.
30329         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30330
30331 2013-01-31  David S. Miller  <davem@davemloft.net>
30332
30333         * po/de.po: Update from translation team.
30334
30335 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
30336
30337         * time/tzfile.c: Include stdint.h for SIZE_MAX.
30338
30339 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
30340
30341         * configure.in (_AC_PROG_CC_C89): New definition.
30342         * configure: Regenerate.
30343
30344         * configure.in (AC_PROG_CPP): New definition.
30345         * configure: Regenerate.
30346
30347 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
30348
30349         * debug/tst-backtrace.h: New file.
30350         * debug/tst-backtrace2.c: Include tst-backtrace.h.
30351         (ret): Remove variable.
30352         (x): Likewise.
30353         (FAIL): Remove macro.
30354         (NO_INLINE): Likewise.
30355         (fn1): Use match function instead of strstr.
30356         * debug/tst-backtrace3.c: Include tst-backtrace.h.
30357         (ret): Remove variable.
30358         (x): Likewise.
30359         (FAIL): Remove macro.
30360         (NO_INLINE): Likewise.
30361         (fn): Use match function instead of strstr.
30362         * debug/tst-backtrace4.c: Include tst-backtrace.h.
30363         (ret): Remove variable.
30364         (x): Likewise.
30365         (FAIL): Remove macro.
30366         (NO_INLINE): Likewise.
30367         (handle_signal): Use match function instead of strstr.
30368         * debug/tst-backtrace5.c: Include tst-backtrace.h.
30369         (ret): Remove variable.
30370         (x): Likewise.
30371         (FAIL): Remove macro.
30372         (NO_INLINE): Likewise.
30373         (handle_signal): Use match function instead of strstr.
30374
30375 2013-01-23  Roland McGrath  <roland@hack.frob.com>
30376
30377         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
30378
30379 2013-01-23  David S. Miller  <davem@davemloft.net>
30380
30381         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
30382         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
30383         argument of CAS if possible.
30384         * sysdeps/sparc/sparc64/bits/atomic.h
30385         (__arch_compare_and_exchange_val_32_acq): Likewise.
30386         (__arch_compare_and_exchange_val_64_acq): Likewise.
30387
30388 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
30389
30390         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
30391         * sysdeps/posix/ulimit.c: ... this.
30392         Include <limits.h>.
30393         * sysdeps/unix/bsd/ulimit.c: Remove file.
30394
30395 2013-01-23  Adam Conrad  <adconrad@0c3.net>
30396
30397         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
30398         (LDFLAGS-tst-array5): Likewise.
30399
30400 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
30401
30402         [BZ #15036]
30403         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
30404         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
30405         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
30406         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
30407
30408 2013-01-21  David S. Miller  <davem@davemloft.net>
30409
30410         * sysdeps/sparc/backtrace.c: New file.
30411         * sysdeps/sparc/sparc32/backtrace.h: New file.
30412         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
30413         * sysdeps/sparc/sparc64/backtrace.h: New file.
30414         * sysdeps/sparc/sparc64/backtrace.c: Delete.
30415         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
30416         -funwind-tables.
30417
30418 2013-01-21  Andreas Schwab  <schwab@suse.de>
30419
30420         [BZ #15020]
30421         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
30422         closed its stdout.
30423
30424 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
30425
30426         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
30427         "mpa2.h".
30428         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
30429
30430 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
30431             Mark Mitchell  <mark@codesourcery.com>
30432             Tom de Vries  <tom@codesourcery.com>
30433             Paul Pluzhnikov  <ppluzhnikov@google.com>
30434
30435         * debug/tst-backtrace2.c: New file.
30436         * debug/tst-backtrace3.c: Likewise.
30437         * debug/tst-backtrace4.c: Likewise.
30438         * debug/tst-backtrace5.c: Likewise.
30439         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
30440         (CFLAGS-tst-backtrace3.c): Likewise.
30441         (CFLAGS-tst-backtrace4.c): Likewise.
30442         (CFLAGS-tst-backtrace5.c): Likewise.
30443         (LDFLAGS-tst-backtrace2): Likewise.
30444         (LDFLAGS-tst-backtrace3): Likewise.
30445         (LDFLAGS-tst-backtrace4): Likewise.
30446         (LDFLAGS-tst-backtrace5): Likewise.
30447         (tests): Add new tests tst-backtrace2, tst-backtrace3,
30448         tst-backtrace4 and tst-backtrace5.
30449
30450 2013-01-18  Anton Blanchard  <anton@samba.org>
30451             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
30452
30453         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
30454         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
30455         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
30456         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
30457         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
30458         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
30459         "+r" and remove output regs list as redundant.  Add explicit inline
30460         asm to specify register of return val to work around compiler codegen
30461         bug.  Remove (int) cast on return value.  Add return type parameter to
30462         use in macro so that this macro does not truncate return value for
30463         64-bit values.
30464         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
30465         pass to INTERNAL_VSYSCALL_NCS.
30466         (INLINE_VSYSCALL): Add 'long int' as return type to
30467         INTERNAL_VSYSCALL_NCS macro invocation.
30468         (INTERNAL_VSYSCALL): Add 'long int' as return type to
30469         INTERNAL_VSYSCALL_NCS macro invocation.
30470         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
30471
30472 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
30473
30474         [BZ #14496]
30475         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
30476         Fix application of SIMD FP exception mask.
30477
30478         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
30479         mp_no from a power of two.
30480         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
30481         __mpexp_twomm1.  Use __pow_mp.
30482
30483         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
30484         multiplication.
30485
30486 2013-01-17  David S. Miller  <davem@davemloft.net>
30487
30488         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30489
30490 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
30491
30492         [BZ #15023]
30493         * include/complex.h: Condition contents on [!_COMPLEX_H].
30494         (__kernel_casinhf): New prototype.
30495         (__kernel_casinh): Likewise.
30496         (__kernel_casinhl): Likewise.
30497         * math/Makefile (libm_calls): Add k_casinh.
30498         * math/k_casinh.c: New file.
30499         * math/k_casinhf.c: Likewise.
30500         * math/k_casinhl.c: Likewise.
30501         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
30502         finite nonzero arguments.
30503         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
30504         finite nonzero arguments.
30505         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
30506         finite nonzero arguments.
30507         * math/s_casinh.c: Do not include <float.h>.
30508         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
30509         * math/s_casinhf.c: Do not include <float.h>.
30510         (__casinhf): Move code for finite nonzero arguments to
30511         k_casinhf.c.
30512         * math/s_casinhl.c: Do not include <float.h>.
30513         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
30514         redefine.
30515         (__casinhl): Move code for finite nonzero arguments to
30516         k_casinhl.c.
30517         * math/libm-test.inc (cacos_test): Add more tests.
30518         * sysdeps/i386/fpu/libm-test-ulps: Update.
30519         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30520
30521 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
30522
30523         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
30524         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
30525         [!HAVE_MREMAP]: Remove [defined linux] case.
30526         * malloc/arena.c: Do not include <malloc-sysdep.h>.
30527
30528 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
30529
30530         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
30531
30532 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
30533
30534         * elf/elf.h (R_386_SIZE32): New relocation.
30535         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
30536         R_386_SIZE32.
30537         (elf_machine_rela): Likewise.
30538         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
30539         R_X86_64_SIZE64 and R_X86_64_SIZE32.
30540
30541 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
30542
30543         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
30544         (FP_FAST_FMA): Do not define.
30545         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
30546         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
30547         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
30548         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
30549         !_SOFT_FLOAT]: Likewise.
30550         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
30551         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
30552         value.
30553         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
30554         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
30555         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
30556         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
30557         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
30558         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
30559         file.
30560
30561 2013-01-16  Andreas Schwab  <schwab@suse.de>
30562
30563         [BZ #14327]
30564         * include/stdlib.h (__mktemp): Add declaration.
30565         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
30566         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
30567
30568 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
30569
30570         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
30571         definitions.
30572         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
30573         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
30574         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
30575         definitions here.
30576         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
30577         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
30578         definitions.
30579         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
30580         and ONE.
30581         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
30582         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
30583         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
30584         definitions.
30585         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
30586         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
30587         definitions.
30588         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
30589
30590         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
30591
30592 2013-01-15  David S. Miller  <davem@davemloft.net>
30593
30594         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
30595         trunc{,f} to libm-sysdep_routes.
30596         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
30597         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
30598         file.
30599         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
30600         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
30601         file.
30602         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
30603         file.
30604         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
30605         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
30606         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
30607         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
30608         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
30609         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
30610         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
30611         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
30612
30613         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
30614         nearbyint{,f} to libm-sysdep_routes.
30615         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
30616         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
30617         New file.
30618         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
30619         file.
30620         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
30621         New file.
30622         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
30623         file.
30624         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
30625         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
30626         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
30627         file.
30628         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
30629         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
30630         file.
30631         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
30632         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
30633         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
30634
30635         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
30636         libc_feholdexcept and libc_fesetenv.
30637
30638 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
30639
30640         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
30641
30642 2013-01-14  David S. Miller  <davem@davemloft.net>
30643
30644         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
30645         (SPARC_ASM_VIS2_IFUNC): Likewise.
30646         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
30647         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
30648         use of 'siam' instruction.
30649         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
30650         Likewise.
30651         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
30652         Likewise.
30653         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
30654         Likewise.
30655         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
30656         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
30657         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
30658         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
30659         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
30660         file.
30661         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
30662         file.
30663         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
30664         file.
30665         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
30666         file.
30667         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
30668         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
30669         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
30670         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
30671         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
30672         new VIS2 routines.
30673         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
30674         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
30675         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
30676         Likewise.
30677         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
30678         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
30679         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
30680         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
30681         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
30682         routines to libm-sysdep_routines.
30683         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
30684
30685         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
30686         fdim/fdimf to libm-sysdep_routines.
30687         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
30688         file.
30689         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
30690         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
30691         file.
30692         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
30693         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
30694         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
30695         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
30696         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
30697         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
30698         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
30699
30700 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
30701
30702         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
30703         to optimize copies.
30704
30705         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
30706         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
30707         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
30708
30709         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
30710         local variable MPTWO.
30711         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
30712         Likewise.
30713
30714 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
30715
30716         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
30717         GLOB_NOESCAPE.
30718
30719 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
30720
30721         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
30722
30723 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
30724
30725         * manual/pattern.texi (glob_t): Document gl_flags.
30726         (glob64_t): Likewise.
30727
30728 2013-01-11  David S. Miller  <davem@davemloft.net>
30729
30730         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
30731         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
30732         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
30733         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
30734         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
30735         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
30736         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
30737         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
30738         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
30739         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
30740         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
30741         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
30742         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
30743
30744         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
30745         sparc V9 rather than using V8 code.
30746         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
30747         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
30748
30749         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
30750         Move to...
30751         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
30752         Here.
30753
30754 2013-01-11  Roland McGrath  <roland@hack.frob.com>
30755
30756         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
30757         not in the main loop.
30758         * configure: Regenerated.
30759
30760 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
30761
30762         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
30763         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
30764         to just #else.
30765         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
30766         [!__GLIBC_HAVE_LONG_LONG] case.
30767         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
30768         condition to just #else.
30769         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
30770         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
30771         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
30772         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
30773         unconditional.
30774         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
30775         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
30776         #elif condition to just #else.
30777         * sysdeps/unix/sysv/linux/sys/sysmacros.h
30778         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
30779         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
30780         #elif condition to just #else.
30781
30782 2013-01-11  Steve Ellcey  <sellcey@mips.com>
30783
30784         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
30785         (EF_MIPS_ARCH_64): Fix value.
30786         (EF_MIPS_ARCH_32R2): New.
30787         (EF_MIPS_ARCH_64R2): New.
30788
30789 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
30790
30791         * Makeconfig (+link-pie-before-libc): New.
30792         (+link-pie-after-libc): Likewise.
30793         (+link-pie-tests): Likewise.
30794         (+link-pie): Rewritten.
30795         (link-before-libc): Remove $(config-LDFLAGS).
30796         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
30797         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
30798         (config-LDFLAGS): Renamed to ...
30799         (rtld-LDFLAGS): This.
30800         (rtld-tests-LDFLAGS): New macro.
30801         (link-libc-rpath-link): Likewise.
30802         (link-libc-tests-rpath-link): Likewise.
30803         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
30804         (link-libc): Prepand $(link-libc-rpath-link).
30805         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
30806         (test-program-prefix): New macro.
30807         (test-via-rtld-prefix): Likewise.
30808         (test-program-cmd): Likewise.
30809         (host-test-program-cmd): Likewise.
30810         * Makefile ($(common-objpfx)testrun.sh): Replace
30811         $(run-program-prefix) with $(test-program-prefix).
30812         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
30813         $(rtld-LDFLAGS).
30814         ($(common-objpfx)shlib.lds): Likewise.
30815         (build-module-helper): Likewise.
30816         ($(common-objpfx)format.lds): Likewise.
30817         * Rules (binaries-pie-tests): New.
30818         (binaries-pie-notests): Likewise.
30819         (binaries-pie): Rewritten.
30820         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
30821         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
30822         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
30823         (make-test-out): Replace $(host-built-program-cmd) with
30824         $(host-test-program-cmd).
30825         * config.make.in (build-hardcoded-path-in-tests): New variable.
30826         * configure.in (--enable-hardcoded-path-in-tests): New configure
30827         option.
30828         (hardcoded_path_in_tests): New AC_SUBST.
30829         * configure: Regenerated.
30830         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
30831         $(built-program-cmd) with $(test-program-cmd).
30832         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
30833         (test_program_cmd): This.
30834         * elf/Makefile ($(objpfx)order.out): Run test with
30835         $(test-program-prefix).
30836         ($(objpfx)order2.out): Likewise.
30837         ($(objpfx)tst-initorder.out): Likewise.
30838         ($(objpfx)tst-initorder2.out): Likewise.
30839         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
30840         $(test-program-cmd).
30841         ($(objpfx)tst-array1-static.out): Likewise.
30842         ($(objpfx)tst-array2.out): Likewise.
30843         ($(objpfx)tst-array3.out): Likewise.
30844         ($(objpfx)tst-array4.out): Likewise.
30845         ($(objpfx)tst-array5.out): Likewise.
30846         ($(objpfx)tst-array5-static.out): Likewise.
30847         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
30848         $(test-program-cmd).
30849         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
30850         $(run-program-prefix) with $(test-program-prefix).
30851         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
30852         (test_program_prefix): This.
30853         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
30854         $(run-program-prefix) with $(test-program-prefix).
30855         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
30856         (test_program_prefix): This.
30857         * iconvdata/tst-tables.sh: Likewise.
30858         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
30859         $(run-program-prefix) with $(test-program-prefix).
30860         ($(objpfx)tst-translit.out): Likewise.
30861         ($(objpfx)tst-gettext2.out): Likewise.
30862         ($(objpfx)tst-gettext4.out): Likewise.
30863         ($(objpfx)tst-gettext6.out): Likewise.
30864         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
30865         (test_program_prefix): This.
30866         * intl/tst-gettext2.sh: Likewise.
30867         * intl/tst-gettext4.sh  Likewise.
30868         * intl/tst-gettext6.sh: Likewise.
30869         * intl/tst-translit.sh: Likewise.
30870         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
30871         with $(test-program-cmd).
30872         * libio/Makefile ($(objpfx)test-freopen.out): Replace
30873         $(run-program-prefix) with $(test-program-prefix).
30874         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
30875         (test_program_prefix): This.
30876         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
30877         $(run-program-prefix) with $(test-program-prefix).
30878         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
30879         (test_program_prefix): This.
30880         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
30881         * posix/Makefile ($(objpfx)globtest.out): Replace
30882         $(run-via-rtld-prefix) and $(test-wrapper) with
30883         $(test-program-prefix) and $(test-via-rtld-prefix).
30884         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
30885         $(test-program-prefix).
30886         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
30887         $(host-test-program-cmd).
30888         (tst-spawn-ARGS): Likewise.
30889         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
30890         $(test-program-prefix).
30891         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
30892         (test_via_rtld_prefix): This.
30893         (test_wrapper): Renamed to ...
30894         (test_program_prefix): This.
30895         (run_program_prefix): Replaced by test_program_prefix.
30896         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
30897         (test_program_prefix): This.
30898         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
30899         with $(host-test-program-cmd).
30900         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
30901         $(run-program-prefix) with $(test-program-prefix).
30902         ($(objpfx)tst-printf.out): Likewise.
30903         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
30904         $(test-program-cmd).
30905         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
30906         (test_program_prefix): This.
30907         * stdio-common/tst-unbputc.sh: Likewise.
30908         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
30909         $(run-program-prefix) with $(test-program-prefix).
30910         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
30911         (test_program_prefix): This.
30912         * string/Makefile ($(objpfx)tst-svc.out):  Replace
30913         $(built-program-cmd) with $(test-program-cmd).
30914
30915 2013-01-11  Andreas Jaeger  <aj@suse.de>
30916
30917         [BZ #15003]
30918         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
30919         value. Sync with Linux 3.7.
30920
30921 2013-01-10  David S. Miller  <davem@davemloft.net>
30922
30923         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
30924         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
30925         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
30926
30927 2013-01-10  Roland McGrath  <roland@hack.frob.com>
30928
30929         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
30930         never set.
30931         * configure: Regenerated.
30932
30933 2013-01-10  David S. Miller  <davem@davemloft.net>
30934
30935         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
30936         sparc V9 rather than using V8 code.
30937         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
30938         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
30939
30940 2013-01-10  Roland McGrath  <roland@hack.frob.com>
30941
30942         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
30943         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
30944         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
30945         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
30946         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
30947         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
30948         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
30949         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
30950         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
30951         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
30952         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
30953         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
30954         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
30955         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
30956         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
30957         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
30958         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
30959         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
30960         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
30961         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
30962         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
30963         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
30964         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
30965         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
30966         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
30967         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
30968         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
30969
30970 2013-01-10  David S. Miller  <davem@davemloft.net>
30971
30972         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30973
30974 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
30975
30976         * posix/Makefile (tests-static): New variable.
30977         (tests): Add $(tests-static).
30978         (tst-exec-static-ARGS): New variable.
30979         (tst-spawn-static-ARGS): Likewise.
30980         * posix/tst-exec-static.c: New file.
30981         * posix/tst-spawn-static.c: Likewise.
30982         * posix/tst-exec.c: Support run directly.
30983         * posix/tst-spawn.c: Likewise.
30984
30985 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
30986
30987         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
30988         long.
30989         * math/bits/mathcalls.h (llrint): Likewise.
30990         (llround): Likewise.
30991         * stdlib/stdlib.h (struct drand48_data): Likewise.
30992         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
30993         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
30994         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
30995         Likewise.
30996         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
30997         Likewise.
30998         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
30999         (elf_greg_t): Likewise.
31000         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
31001         (__jmp_buf): Likewise.
31002         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
31003         definitions.
31004         (llrint): Likewise, for all definitions.
31005         (llrintl): Likewise.
31006
31007         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
31008         Remove [__GNUC__] condition.
31009         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
31010         condition to just [__USE_ISOC99].
31011         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
31012
31013 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
31014
31015         [BZ #14200]
31016         * sysdeps/unix/sysv/linux/x86/bits/environments.h
31017         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
31018         defined.
31019         (_POSIX_V6_ILP32_OFF32): Likewise.
31020         (_XBS5_ILP32_OFF32): Likewise.
31021         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
31022         (__ILP32_OFFBIG_LDFLAGS): Likewise.
31023
31024 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
31025
31026         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
31027
31028         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
31029         doubles __mpexp_twomm1.  Adjust usage.
31030         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
31031         Remove.
31032
31033 2013-01-10  Andreas Schwab  <schwab@suse.de>
31034
31035         [BZ #14964]
31036         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
31037         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
31038
31039 2013-01-09  David S. Miller  <davem@davemloft.net>
31040
31041         [BZ #15003]
31042         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
31043         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
31044         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
31045         (TCP_FASTOPEN): Define.
31046         (tcp_repair_opt): New structure.
31047         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
31048         enum values.
31049         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
31050         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
31051         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
31052         (tcp_cookie_transactions): New structure.
31053
31054 2013-01-09  Anton Blanchard  <anton@samba.org>
31055
31056         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
31057         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
31058         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
31059         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
31060
31061 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
31062
31063         * include/features.h (__USE_ANSI): Remove.
31064
31065 2013-01-09  Roland McGrath  <roland@hack.frob.com>
31066
31067         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
31068
31069         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
31070
31071 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
31072
31073         * sysdeps/s390/fpu/libm-test-ulps: Update.
31074
31075         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31076
31077         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
31078         (__acr): Likewise.
31079         (__cpy): Likewise.
31080         (norm): Likewise.
31081         (denorm): Likewise.
31082         (__mp_dbl): Likewise.
31083         (__dbl_mp): Likewise.
31084         (add_magnitudes): Likewise.
31085         (sub_magnitudes): Likewise.
31086         (__add): Likewise.
31087         (__sub): Likewise.
31088         (__mul): Likewise.
31089         (__inv): Likewise.
31090         (__dvd): Likewise.
31091         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
31092         (__acr): Likewise.
31093         (__cpy): Likewise.
31094         (norm): Likewise.
31095         (denorm): Likewise.
31096         (__mp_dbl): Likewise.
31097         (__dbl_mp): Likewise.
31098         (add_magnitudes): Likewise.
31099         (sub_magnitudes): Likewise.
31100         (__add): Likewise.
31101         (__sub): Likewise.
31102         (__mul): Likewise.
31103         (__inv): Likewise.
31104         (__dvd): Likewise.
31105         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
31106         (__acr): Likewise.
31107         (__cpy): Likewise.
31108         (norm): Likewise.
31109         (denorm): Likewise.
31110         (__mp_dbl): Likewise.
31111         (__dbl_mp): Likewise.
31112         (add_magnitudes): Likewise.
31113         (sub_magnitudes): Likewise.
31114         (__add): Likewise.
31115         (__sub): Likewise.
31116         (__mul): Likewise.
31117         (__inv): Likewise.
31118         (__dvd): Likewise.
31119
31120 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
31121
31122         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
31123         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
31124         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
31125         2 && __USE_EXTERN_INLINES]: Likewise.
31126
31127 2013-01-08  Andreas Jaeger  <aj@suse.de>
31128
31129         [BZ# 14985]
31130         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
31131         Remove.
31132         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
31133         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
31134
31135 2013-01-07  Anton Blanchard  <anton@samba.org>
31136
31137         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
31138         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
31139         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
31140         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
31141         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
31142         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
31143         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
31144         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
31145         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
31146         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
31147         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
31148         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
31149         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
31150         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
31151         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
31152         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
31153         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
31154         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
31155         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
31156         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
31157         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
31158         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
31159         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
31160         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
31161         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
31162         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
31163         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
31164         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
31165         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
31166         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
31167         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
31168         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
31169         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
31170         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
31171         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
31172         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
31173         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
31174         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
31175         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
31176         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
31177         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
31178         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
31179         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
31180
31181 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
31182
31183         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
31184         (__MALLOC_PMT): Likewise.
31185         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
31186         [__GNUC__], only on [_LIBC].
31187         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
31188         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
31189         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
31190         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
31191         forward declaration.
31192         (realloc_hook_ini): Likewise.
31193         (memalign_hook_ini): Likewise.
31194         (__libc_memalign): Do not use __MALLOC_PMT in variable
31195         declaration.
31196         (__libc_valloc): Likewise.
31197         (__libc_pvalloc): Likewise.
31198         (__libc_calloc): Likewise.
31199         (__posix_memalign): Likewise.
31200
31201         [BZ #14996]
31202         * math/s_casinh.c: Include <float.h>.
31203         (__casinh): Do not do computation with squaring and square root
31204         for large arguments.
31205         * math/s_casinhf.c: Include <float.h>.
31206         (__casinhf): Do not do computation with squaring and square root
31207         for large arguments.
31208         * math/s_casinhl.c: Include <float.h>.
31209         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
31210         (__casinhl): Do not do computation with squaring and square root
31211         for large arguments.
31212         * math/libm-test.inc (casin_test): Add more tests.
31213         (casinh_test): Likewise.
31214         * sysdeps/i386/fpu/libm-test-ulps: Update.
31215         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31216
31217 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
31218
31219         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
31220         (__x86_64_raw_data_cache_size): Likewise.
31221         (__x86_64_data_cache_size_half): Likewise.
31222         (__x86_64_raw_data_cache_size_half): Likewise.
31223         (__x86_64_shared_cache_size): Likewise.
31224         (__x86_64_raw_shared_cache_size): Likewise.
31225         (__x86_64_shared_cache_size_half): Likewise.
31226         (__x86_64_raw_shared_cache_size_half): Likewise.
31227         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
31228         to ...
31229         (__x86_data_cache_size): This.
31230         (__x86_64_raw_data_cache_size): Renamed to ...
31231         (__x86_raw_data_cache_size): This.
31232         (__x86_64_data_cache_size_half): Renamed to ...
31233         (__x86_data_cache_size_half): This.
31234         (__x86_64_raw_data_cache_size_half): Renamed to ...
31235         (__x86_raw_data_cache_size_half): This.
31236         (__x86_64_shared_cache_size): Renamed to ...
31237         (__x86_shared_cache_size): This.
31238         (__x86_64_raw_shared_cache_size): Renamed to ...
31239         (__x86_raw_shared_cache_size): This.
31240         (__x86_64_shared_cache_size_half): Renamed to ...
31241         (__x86_shared_cache_size_half): This.
31242         (__x86_64_raw_shared_cache_size_half): Renamed to ...
31243         (__x86_raw_shared_cache_size_half): This.
31244         * sysdeps/x86_64/memcpy.S: Updated.
31245         * sysdeps/x86_64/memset.S: Likewise.
31246         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
31247         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
31248         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
31249
31250 2013-01-04  David S. Miller  <davem@davemloft.net>
31251
31252         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31253
31254 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
31255
31256         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
31257         1 to avoid redefinition warning.
31258         (__USE_GNU): Don't define.
31259         (init_signaling_nan): Protoize.
31260
31261         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31262
31263 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
31264
31265         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
31266         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
31267         (__cpymn): Likewise.
31268         (norm): Remove commented code.
31269         (denorm): Likewise.
31270         (__mp_dbl): Likewise.
31271         (__inv): Likewise.
31272         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
31273         (__cpymn): Likewise.
31274         (norm): Remove commented code.
31275         (denorm): Likewise.
31276         (__mp_dbl): Likewise.
31277         (__inv): Likewise.
31278
31279         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
31280         mp_no value for 1.0 and 2.0.
31281         (norm): Use RADIXI instead of radixi.d.
31282         (denorm): Likewise.
31283         (__mul): Use 0.0 instead of zero.d.
31284         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
31285         mp_no value for 1.0 and 2.0.
31286         (norm): Use RADIXI instead of radixi.d.
31287         (denorm): Likewise.
31288         (__mul): Use 0.0 instead of zero.d.
31289
31290 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
31291
31292         [BZ #14994]
31293         * math/s_casinh.c (__casinh): Reduce finite argument to first
31294         quadrant then set signs of results at the end.
31295         * math/s_casinhf.c (__casinhf): Likewise.
31296         * math/s_casinhl.c (__casinhl): Likewise.
31297         * math/libm-test.inc (casin_test): Add more tests.
31298         (casinh_test): Likewise.
31299         * sysdeps/i386/fpu/libm-test-ulps: Update.
31300         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31301
31302 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
31303
31304         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
31305
31306         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
31307
31308         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
31309         declarations.
31310         (denorm): Likewise.
31311         (__mp_dbl): Likewise.
31312         (__inv): Likewise.
31313
31314         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
31315         and adjust the header comment.
31316
31317         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
31318         variable name from declaration.
31319
31320 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
31321
31322         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31323         Initialize COMMON_CPUID_INDEX_7 element.
31324         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
31325         (CPUID_RTM): Likewise.
31326         (HAS_RTM): Likewise.
31327         (COMMON_CPUID_INDEX_7): New enum.
31328
31329 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
31330
31331         [BZ #14981]
31332         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
31333         size is zero, record memory as freed.
31334
31335 2013-01-03  Andreas Jaeger  <aj@suse.de>
31336
31337         * po/ia.po: Add new Interlingua translation.
31338
31339 2012-01-03  Allan McRae  <allan@archlinux.org>
31340
31341         * locale/programs/localedef.c: Fix description of '--posix' flag.
31342
31343 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
31344
31345         * NEWS: Update dates in second copyright notice.
31346         * README: Update copyright dates in example.
31347         * manual/libc.texinfo: Update copyright dates.
31348         * scripts/test-installation.pl: Update copyright date in --version
31349         output.
31350
31351         * hurd/ctty-input.c: Fix copyright notice formatting.
31352         * hurd/ctty-output.c: Likewise.
31353         * hurd/dtable.c: Likewise.
31354         * hurd/hurd-raise.c: Likewise.
31355         * hurd/hurdprio.c: Likewise.
31356         * hurd/msgportdemux.c: Likewise.
31357         * misc/sys/file.h: Likewise.
31358         * misc/sys/ioctl.h: Likewise.
31359         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
31360         * sysdeps/mach/hurd/chdir.c: Likewise.
31361         * sysdeps/mach/hurd/fchdir.c: Likewise.
31362         * sysdeps/mach/hurd/rename.c: Likewise.
31363         * sysdeps/mach/hurd/rmdir.c: Likewise.
31364         * sysdeps/mach/hurd/seekdir.c: Likewise.
31365         * sysdeps/mach/hurd/setsid.c: Likewise.
31366         * sysdeps/posix/wait3.c: Likewise.
31367
31368         * All files with FSF copyright notices: Update copyright dates
31369         using scripts/update-copyrights.
31370         * intl/plural.c: Regenerated.
31371         * locale/programs/charmap-kw.h: Likewise.
31372         * locale/programs/locfile-kw.h: Likewise.
31373
31374 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
31375
31376         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
31377         four values.
31378
31379         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
31380         calculation loop and add branch prediction.
31381
31382         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
31383         check access beyond bounds of m1np.
31384
31385         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
31386         MPTWO.
31387         (__inv): Remove local variable MPTWO to use the global
31388         constant.
31389         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
31390         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
31391         variable MPTWO.
31392         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
31393         MP3HALFS static const.
31394
31395 2013-01-01  David S. Miller  <davem@davemloft.net>
31396
31397         * po/ca.po: Update from translation team.
31398
31399 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
31400
31401         * scripts/update-copyrights: New file.
31402         * Makeconfig: Reformat copyright notice.
31403         * ctype/ctype.h: Likewise.
31404         * debug/swprintf_chk.c: Likewise.
31405         * elf/dl-cache.c: Likewise.
31406         * elf/dl-debug.c: Likewise.
31407         * elf/dl-object.c: Likewise.
31408         * grp/initgroups.c: Likewise.
31409         * hurd/Makefile: Likewise.
31410         * hurd/hurd/signal.h: Likewise.
31411         * hurd/hurdfault.c: Likewise.
31412         * hurd/hurdioctl.c: Likewise.
31413         * hurd/hurdlookup.c: Likewise.
31414         * hurd/intr-msg.c: Likewise.
31415         * iconv/gconv_open.c: Likewise.
31416         * libio/swprintf.c: Likewise.
31417         * locale/lc-ctype.c: Likewise.
31418         * locale/nl_langinfo.c: Likewise.
31419         * mach/Machrules: Likewise.
31420         * mach/Makefile: Likewise.
31421         * malloc/obstack.h: Likewise.
31422         * manual/Makefile: Likewise.
31423         * manual/tsort.awk: Likewise.
31424         * misc/bits/stab.def: Likewise.
31425         * nis/nis_print_group_entry.c: Likewise.
31426         * nis/nis_table.c: Likewise.
31427         * nis/nss_compat/compat-pwd.c: Likewise.
31428         * nis/nss_compat/compat-spwd.c: Likewise.
31429         * po/Makefile: Likewise.
31430         * posix/fnmatch.c: Likewise.
31431         * posix/regex.h: Likewise.
31432         * resolv/Makefile: Likewise.
31433         * resolv/nss_dns/dns-network.c: Likewise.
31434         * resolv/res_hconf.c: Likewise.
31435         * scripts/gen-sorted.awk: Likewise.
31436         * soft-fp/soft-fp.h: Likewise.
31437         * stdio-common/printf.h: Likewise.
31438         * stdlib/monetary.h: Likewise.
31439         * stdlib/random.c: Likewise.
31440         * stdlib/random_r.c: Likewise.
31441         * sysdeps/generic/Makefile: Likewise.
31442         * sysdeps/gnu/Makefile: Likewise.
31443         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
31444         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
31445         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
31446         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
31447         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
31448         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
31449         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
31450         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
31451         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
31452         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
31453         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
31454         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
31455         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
31456         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
31457         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
31458         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
31459         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
31460         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
31461         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
31462         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
31463         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
31464         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
31465         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
31466         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
31467         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
31468         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
31469         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
31470         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
31471         * sysdeps/mach/hurd/errnos.awk: Likewise.
31472         * sysdeps/mach/hurd/fork.c: Likewise.
31473         * sysdeps/mach/hurd/getcwd.c: Likewise.
31474         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
31475         * sysdeps/mach/hurd/mmap.c: Likewise.
31476         * sysdeps/mach/hurd/utimes.c: Likewise.
31477         * sysdeps/mach/hurd/xmknod.c: Likewise.
31478         * sysdeps/posix/profil.c: Likewise.
31479         * sysdeps/posix/readdir_r.c: Likewise.
31480         * sysdeps/powerpc/bits/mathdef.h: Likewise.
31481         * sysdeps/powerpc/bits/setjmp.h: Likewise.
31482         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
31483         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
31484         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
31485         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
31486         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
31487         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
31488         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
31489         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
31490         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
31491         * sysdeps/pthread/lio_listio.c: Likewise.
31492         * sysdeps/sparc/dl-procinfo.h: Likewise.
31493         * sysdeps/unix/i386/sysdep.S: Likewise.
31494         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
31495         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
31496         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
31497         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
31498         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
31499         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
31500         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
31501         * sysdeps/unix/sysv/linux/speed.c: Likewise.
31502         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
31503         * sysdeps/wordsize-32/divdi3.c: Likewise.
31504         * time/sys/time.h: Likewise.
31505         * wcsmbs/Makefile: Likewise.
31506
31507 2013-01-01  David S. Miller  <davem@davemloft.net>
31508
31509         * po/fr.po: Update from translation team.
31510
31511         * catgets/gencat.c: Update copyright year.
31512         * csu/version.c: Likewise.
31513         * debug/catchsegv.sh: Likewise.
31514         * debug/pcprofiledump.c: Likewise.
31515         * debug/xtrace.sh: Likewise.
31516         * elf/ldconfig.c: Likewise.
31517         * elf/ldd.bash.in: Likewise.
31518         * elf/pldd.c: Likewise.
31519         * elf/sotruss.ksh: Likewise.
31520         * elf/sprof.c: Likewise.
31521         * iconv/iconv_prog.c: Likewise.
31522         * iconv/iconvconfig.c: Likewise.
31523         * locale/programs/locale.c: Likewise.
31524         * locale/programs/localedef.c: Likewise.
31525         * login/programs/pt_chown.c: Likewise.
31526         * malloc/memusage.sh: Likewise.
31527         * malloc/memusagestat.c: Likewise.
31528         * malloc/mtrace.pl: Likewise.
31529         * nscd/nscd.c: Likewise.
31530         * nss/getent.c: Likewise.
31531         * nss/makedb.c: Likewise.
31532         * posix/getconf.c: Likewise.
31533
31534 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
31535
31536         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
31537         numbers.
31538
31539 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
31540
31541         * math/bits/mathcalls.h (modf): Use __nonnull.
31542
31543 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
31544
31545         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
31546         (split): Use macro CN instead of the bare value.
31547         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
31548         could be used.
31549         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
31550         instead of the bare value.
31551         (power1): Likewise.
31552
31553 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
31554
31555         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
31556         __ATAN_TWOM.
31557         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
31558
31559         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
31560         their values.
31561         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
31562         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
31563         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
31564         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
31565
31566 2012-12-28  Andreas Jaeger  <aj@suse.de>
31567
31568         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
31569         values are from Linux 3.7.
31570
31571         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
31572         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
31573
31574 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
31575
31576         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
31577         TRUE case.
31578
31579         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
31580         (norm): Likewise.
31581         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
31582         variables with preprocessor constants.
31583         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
31584         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
31585         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
31586
31587 2012-12-27  Bruno Haible  <bruno@clisp.org>
31588
31589         [BZ #14317]
31590         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
31591         only if needed.
31592
31593 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
31594
31595         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
31596         and use variable directly.
31597         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
31598
31599         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
31600         MPONE.
31601         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
31602         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
31603         variable MPONE.
31604         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
31605         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
31606         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
31607         include directive.  Remove local variable MPONE.
31608         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
31609         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
31610         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
31611
31612 2012-12-25  David S. Miller  <davem@davemloft.net>
31613
31614         * version.h (RELEASE): Set to "development".
31615         (VERSION): Set to "2.17.90".
31616         * NEWS: Add 2.18 section.
31617
31618 2012-12-21  David S. Miller  <davem@davemloft.net>
31619
31620         * po/hr.po: Update from translation team.
31621
31622 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31623
31624         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
31625
31626 2012-12-19  Steve Ellcey  <sellcey@mips.com>
31627
31628         * NEWS:  Mention new memcpy for MIPS.
31629
31630 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
31631
31632         * manual/contrib.texi (Contributors): Spelling correction.
31633
31634 2012-12-15  David S. Miller  <davem@davemloft.net>
31635
31636         * po/ru.po: Update from translation team.
31637
31638 2012-12-13  David S. Miller  <davem@davemloft.net>
31639
31640         * NEWS: Mention IFUNC testsuite enhancements.
31641
31642         * po/pl.po: Update from translation team.
31643         * po/bg.po: Likewise.
31644
31645         * manual/contrib.texi (Contributors): Update entries for Hongjiu
31646         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
31647
31648 2012-12-11  David S. Miller  <davem@davemloft.net>
31649
31650         * po/sv.po: Update from translation team.
31651
31652         * po/vi.po: Update from translation team.
31653
31654         * po/cs.po: Update from translation team.
31655
31656         * po/de.po: Update from translation team.
31657         * po/eo.po: Likewise.
31658         * po/nl.po: Likewise.
31659
31660 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
31661
31662         [BZ #14246]
31663         * manual/argp.texi (Argp Helper Functions): Move node to follow
31664         Argp Parsing State.
31665
31666         [BZ #14872]
31667         * manual/conf.texi (Limits on File System Capacity): Mention if
31668         terminating null is included in the max size.
31669
31670 2012-12-10  Andreas Jaeger  <aj@suse.de>
31671
31672         * po/cs.po: Update from translation team.
31673
31674 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
31675
31676         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
31677         void pointer and cast to uintptr_t.
31678         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
31679         path.
31680         * sysdeps/s390/s390-64/memcpy.S: Likewise.
31681         * sysdeps/s390/s390-64/memset.S: Likewise.
31682
31683 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
31684
31685         [BZ #14833]
31686         * menual/message.texi (Message Translation): Fix typos.
31687         (Helper programs for gettext): Likewise.
31688
31689 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
31690
31691         [BZ #14898]
31692         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
31693         Change to -1.
31694
31695 2012-12-07  David S. Miller  <davem@davemloft.net>
31696
31697         * po/libc.pot: Update.
31698
31699 2012-12-07  Richard Henderson  <rth@redhat.com>
31700
31701         [BZ #10114]
31702         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
31703         normal/normal case to before the switch.
31704         (_FP_DIV): Likewise.
31705
31706 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
31707             Mike Frysinger  <vapier@gentoo.org>
31708
31709         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
31710         check for __NR_fadvise64_64.
31711
31712 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
31713
31714         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
31715         0, not just to plain "0" as a statement.
31716         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
31717         with cw.
31718
31719 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
31720
31721         * NEWS: Use sourceware.org in Bugzilla URL.
31722
31723 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
31724
31725         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
31726         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
31727
31728         * stdio-common/tst-put-error.c (do_test): Add newline to the
31729         padded test to ensure flush.
31730
31731 2012-12-05  Jeff Law  <law@redhat.com>
31732
31733         * sunrpc/etc.rpc (fedfs_admin): Add entry.
31734
31735 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
31736
31737         * README: Don't refer to ports add-on as distributed separately.
31738         Mention AArch64 in list of systems supported in the ports add-on.
31739
31740         * LICENSES: Add more non-FSF copyright and license notices.
31741
31742         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
31743         ((unused)).
31744
31745         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
31746
31747         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
31748         10000 as width of padded output.
31749
31750 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
31751
31752         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
31753
31754         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
31755         variable LX with __attribute__ ((unused)).
31756         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
31757         Likewise.
31758         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
31759         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
31760         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
31761         with __attribute__ ((unused)).
31762
31763 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
31764
31765         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
31766
31767 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
31768
31769         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
31770         (CFLAGS-nldbl-acos.c): New variable.
31771         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
31772         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
31773         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
31774         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
31775         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
31776         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
31777         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
31778         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
31779         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
31780         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
31781         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
31782         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
31783         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
31784         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
31785         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
31786         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
31787         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
31788         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
31789         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
31790         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
31791         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
31792         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
31793         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
31794         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
31795         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
31796         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
31797         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
31798         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
31799         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
31800         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
31801         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
31802         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
31803         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
31804         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
31805         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
31806         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
31807         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
31808         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
31809         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
31810         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
31811         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
31812         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
31813         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
31814         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
31815         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
31816         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
31817         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
31818         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
31819         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
31820         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
31821         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
31822         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
31823         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
31824         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
31825         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
31826         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
31827         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
31828         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
31829         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
31830         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
31831         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
31832         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
31833         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
31834         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
31835         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
31836         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
31837         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
31838         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
31839         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
31840         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
31841         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
31842         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
31843         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
31844         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
31845         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
31846         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
31847         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
31848         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
31849         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
31850         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
31851         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
31852         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
31853         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
31854         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
31855         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
31856         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
31857         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
31858         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
31859         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
31860         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
31861         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
31862         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
31863         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
31864         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
31865         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
31866         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
31867         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
31868
31869         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
31870         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
31871
31872         [BZ #14914]
31873         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
31874         whole low double instead of just low 47 bits when splitting values
31875         into two parts.
31876
31877 2012-12-03  Allan McRae  <allan@archlinux.org>
31878
31879         * manual/stdio.texi (Predefined Printf Handlers): Remove
31880         @hsep and @vsep usage.
31881
31882 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
31883
31884         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
31885         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
31886
31887 2012-12-03  Jeff Law  <law@redhat.com>
31888
31889         * time/sys/time.h (settimeofday): Do not mark TV argument
31890         as __nonnull.
31891
31892 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
31893
31894         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
31895         when currently writing and seek to current position when not.
31896         * libio/Makefile (tests): Remove bug-fclose1.
31897         * libio/bug-fclose1.c: Delete.
31898
31899 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
31900
31901         * manual/arith.texi (feenableexcept): Fix typo.
31902         (fedisableexcept): Likewise.
31903
31904 2012-11-30  Roland McGrath  <roland@hack.frob.com>
31905
31906         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
31907         second, differently-typed declaration, rather than a cast.
31908
31909 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
31910
31911         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
31912         * include/rpc/svc.h: ... here.
31913
31914 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
31915
31916         [BZ #13013]
31917         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
31918         depending n and resplen2 to catch cases where answer
31919         equals answerp2.
31920
31921 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
31922
31923         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
31924         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
31925
31926 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
31927
31928         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
31929
31930 2012-11-29  Roland McGrath  <roland@hack.frob.com>
31931
31932         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
31933
31934 2012-11-28  Jeff Law  <law@redhat.com>
31935
31936         [BZ #13761]
31937         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
31938         dataset_temporary.  Track alloca usage into alloca_used.
31939         If dataset is large allocate and release it via malloc/free.
31940
31941 2012-06-04  Florian Weimer  <fweimer@redhat.com>
31942
31943         [BZ #14197]
31944         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
31945
31946 2012-11-28  David S. Miller  <davem@davemloft.net>
31947
31948         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31949
31950 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
31951
31952         [BZ #14803]
31953         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
31954         of pi/2 rounded to nearest to 64 bits.
31955         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
31956         nearest to 64 bits.
31957         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
31958         bits.
31959
31960 2012-11-28  Jeff Law <law@redhat.com>
31961             Martin Osvald <mosvald@redhat.com>
31962
31963         [BZ #14889]
31964         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
31965         * sunrpc/svc.c: Include time.h.
31966         (__svc_accept_failed): New function.
31967         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
31968         any reason other than EINTR, call __svc_accept_failed.
31969         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
31970         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
31971
31972 2012-11-28  Andreas Schwab  <schwab@suse.de>
31973
31974         * scripts/abilist.awk: Also handle indirect functions in .opd
31975         section.
31976
31977 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
31978
31979         [BZ #13881]
31980         * sysdeps/x86/fpu/powl_helper.c: New file.
31981         * sysdeps/x86/fpu/Makefile: Likewise.
31982         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
31983         (p3): New object.
31984         (__ieee754_powl): Use __powl_helper for finite arguments except
31985         integer exponents below 8.
31986         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
31987         (p3): New object.
31988         (__ieee754_powl): Use __powl_helper for finite arguments except
31989         integer exponents below 8.
31990         * math/libm-test.inc (pow_test): Add more tests and enable some
31991         previously disabled tests.
31992         * sysdeps/i386/fpu/libm-test-ulps: Update.
31993         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31994
31995 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
31996             Carlos O'Donell  <carlos_odonell@mentor.com>
31997
31998         * nss/makedb.c (is_prime): Assert that input is odd and greater
31999         than 4.  Note that fact in a comment too.
32000         (next_prime): Add 4 to input.
32001
32002 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
32003
32004         [BZ #11741]
32005         * libio/Makefile (tests): Add test case tst-fwrite-error.
32006         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
32007         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
32008         * libio/tst-fwrite-error.c: New test case.
32009
32010 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
32011
32012         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
32013         before casting to void *.
32014         * include/libc-internal.h (__pointer_type): New macro.
32015         (__integer_if_pointer_type_sub): Likewise.
32016         (__integer_if_pointer_type): Likewise.
32017         (cast_to_integer): Likewise.
32018         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
32019         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
32020         before casting to atomic64_t.
32021         (atomic_exchange_acq): Likewise.
32022         (__arch_exchange_and_add_body): Likewise.
32023         (__arch_add_body): Likewise.
32024         (atomic_add_negative): Likewise.
32025         (atomic_add_zero): Likewise.
32026
32027 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
32028
32029         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
32030         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
32031         (add_fdes): Likewise.
32032         (linear_search_fdes): Likewise.
32033         (binary_search_unencoded_fdes): Likewise.
32034
32035 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
32036
32037         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
32038
32039 2012-11-24  Adam Conrad  <adconrad@0c3.net>
32040
32041         * configure.in: Autodetect C++ header directories.
32042         * configure: Regenerated.
32043
32044 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
32045
32046         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
32047
32048 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
32049
32050         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32051
32052 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
32053
32054         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
32055         LDBL_MANT_DIG == 106]: Disable some tests.
32056         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
32057         Likewise.
32058         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
32059         Likewise.
32060
32061         [BZ #14871]
32062         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
32063         input for small inputs.  Return +/- pi/2 for large inputs.
32064         * math/libm-test.inc (atan_test): Add more tests.
32065
32066         * sysdeps/generic/unwind-dw2-fde-glibc.c
32067         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
32068         __attribute__ ((unused)).
32069
32070         [BZ #14645]
32071         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
32072         x * y if x and y are nonzero and z is zero.
32073
32074         [BZ #14811]
32075         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
32076         nonzero exponents with absolute value below 0x1p-117 to +/-
32077         0x1p-117.
32078
32079         [BZ #14869]
32080         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
32081         up arguments below 2**-450, not just those below 2**-500.
32082         * math/libm-test.inc (hypot_test): Add another test.
32083
32084         [BZ #14868]
32085         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
32086         Return a+b for ratio over 2**120, not 2**60.
32087         * math/libm-test.inc (hypot_test): Add another test.
32088
32089         * math/libm-test.inc (clog_test): Use
32090         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
32091         (clog10_test): Likewise.
32092
32093         [BZ #6778]
32094         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
32095
32096 2012-11-22  Andreas Schwab  <schwab@suse.de>
32097
32098         * sysdeps/i386/fpu/libm-test-ulps: Update.
32099
32100 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
32101
32102         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
32103         printf output with newline.
32104
32105 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
32106
32107         [BZ #14865]
32108         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
32109         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
32110         -z nodlopen, -z initfirst and -z execstack support.
32111         * configure: Regenerated.
32112
32113         * elf/elf.h (DF_1_NODIRECT): New macro.
32114         (DF_1_IGNMULDEF): Likewise.
32115         (DF_1_NOKSYMS): Likewise.
32116         (DF_1_NOHDR): Likewise.
32117         (DF_1_EDITED): Likewise.
32118         (DF_1_NORELOC): Likewise.
32119         (DF_1_SYMINTPOSE): Likewise.
32120         (DF_1_GLOBAUDIT): Likewise.
32121         (DF_1_SINGLETON): Likewise.
32122         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
32123         DT_1_SUPPORTED_MASK bits.
32124         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
32125
32126 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
32127
32128         * sysdeps/unix/make-syscalls.sh: Document prefixes.
32129
32130 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
32131
32132         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
32133         macro.
32134
32135         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
32136         (sendmmsg): Move declarations...
32137         * socket/sys/socket.h: ... here.
32138         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
32139         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
32140         include it from...
32141         * socket/recvmmsg.c: ... this new file.
32142         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
32143         (sendmmsg): Rename to __sendmmsg, create weak alias and make
32144         definition of __sendmmsg hidden.
32145         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
32146         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
32147         Move ENOSYS stub into and include it from...
32148         * socket/sendmmsg.c: ... this new file.
32149         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
32150         (sysdep_routines): Move recvmmsg and sendmmsg...
32151         * socket/Makefile (routines): ... here.
32152         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
32153         (GLIBC_PRIVATE): Add __sendmmsg.
32154         * include/sys/socket.h (__sendmmsg): Add declarations.
32155         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
32156         sendmmsg.
32157
32158 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
32159
32160         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
32161         variable I1 with __attribute__ ((unused)).
32162         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
32163
32164 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
32165
32166         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
32167         DUMMY variables with __attribute__ ((unused)).
32168
32169         * bits/byteswap.h: Include <bits/types.h>.
32170         (__bswap_64): Use __uint64_t instead of unsigned long long int.
32171
32172 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
32173
32174         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
32175         string_t.  Do not manually set errno.
32176         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
32177         length with __strnlen.  Make sure to both set errno and return it on
32178         failure.
32179
32180 2012-11-19  David S. Miller  <davem@davemloft.net>
32181
32182         With help from Joseph Myers.
32183         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
32184         very large arguments properly.
32185         * math/libm-test.inc (atan_test): New tests.
32186         (atan2_test): New tests.
32187         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32188         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32189
32190 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
32191
32192         [BZ #14856]
32193         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
32194         Define to 3.
32195
32196         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
32197         [POSIX] (EADDRNOTAVAIL): Likewise.
32198         [POSIX] (EAFNOSUPPORT): Likewise.
32199         [POSIX] (EALREADY): Likewise.
32200         [POSIX] (ECONNABORTED): Likewise.
32201         [POSIX] (ECONNREFUSED): Likewise.
32202         [POSIX] (ECONNRESET): Likewise.
32203         [POSIX] (EDESTADDRREQ): Likewise.
32204         [POSIX] (EDQUOT): Likewise.
32205         [POSIX] (EHOSTUNREACH): Likewise.
32206         [POSIX] (EIDRM): Likewise.
32207         [POSIX] (EISCONN): Likewise.
32208         [POSIX] (ELOOP): Likewise.
32209         [POSIX] (EMULTIHOP): Likewise.
32210         [POSIX] (ENETDOWN): Likewise.
32211         [POSIX] (ENETUNREACH): Likewise.
32212         [POSIX] (ENOBUFS): Likewise.
32213         [POSIX] (ENODATA): Likewise.
32214         [POSIX] (ENOLINK): Likewise.
32215         [POSIX] (ENOMSG): Likewise.
32216         [POSIX] (ENOPROTOOPT): Likewise.
32217         [POSIX] (ENOSR): Likewise.
32218         [POSIX] (ENOSTR): Likewise.
32219         [POSIX] (ENOTCONN): Likewise.
32220         [POSIX] (ENOTSOCK): Likewise.
32221         [POSIX] (EOPNOTSUPP): Likewise.
32222         [POSIX] (EOVERFLOW): Likewise.
32223         [POSIX] (EPROTO): Likewise.
32224         [POSIX] (EPROTONOSUPPORT): Likewise.
32225         [POSIX] (EPROTOTYPE): Likewise.
32226         [POSIX] (ESTALE): Likewise.
32227         [POSIX] (ETIME): Likewise.
32228         [POSIX] (ETXTBSY): Likewise.
32229         [POSIX] (EWOULDBLOCK): Likewise.
32230         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
32231         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
32232         [POSIX] (SEEK_CUR): Likewise.
32233         [POSIX] (SEEK_END): Likewise.
32234         [POSIX || UNIX98] (mode_t): Do not require.
32235         [POSIX] (off_t): Likewise.
32236         [POSIX] (pid_t): Likewise.
32237         [POSIX] (sys/stat.h): Do not allow header.
32238         [POSIX] (unistd.h): Likewise.
32239         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
32240         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
32241         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
32242         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
32243         require.
32244         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
32245         sigevent): Specify elements.
32246         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
32247         entry.
32248         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
32249         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
32250
32251         * conform/data/cpio.h-data [POSIX]: Disable whole file.
32252         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
32253         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
32254         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
32255         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
32256         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
32257         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
32258         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
32259         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
32260         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
32261         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
32262         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
32263         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
32264         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
32265         Likewise.
32266         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
32267         Likewise.
32268         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
32269         Likewise.
32270         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
32271         Likewise.
32272         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
32273         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
32274         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
32275         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
32276         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
32277         Specify lower bound on value.
32278         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
32279         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
32280         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
32281         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
32282         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
32283         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
32284         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
32285         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
32286         value.
32287         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
32288         as optional.
32289         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
32290         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
32291         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
32292         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
32293         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
32294         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
32295         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
32296         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
32297         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
32298         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
32299         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
32300         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
32301         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
32302         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
32303         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
32304         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
32305         entry.
32306         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
32307         optional.
32308         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
32309         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
32310         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
32311         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
32312         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
32313         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
32314         Likewise.
32315         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
32316         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
32317         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
32318         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
32319         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
32320         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
32321         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
32322         as optional.
32323         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
32324         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
32325         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
32326         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
32327         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
32328         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
32329         specify as optional.
32330         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
32331         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
32332         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
32333         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
32334         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
32335         [XPG3] (NL_LANGMAX): Likewise.
32336         [POSIX || XPG3] (NL_MSGMAX): Likewise.
32337         [POSIX || XPG3] (NL_NMAX): Likewise.
32338         [POSIX || XPG3] (NL_SETMAX): Likewise.
32339         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
32340         [XPG3] (NZERO): Likewise.
32341         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
32342         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
32343         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
32344         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
32345         (REG_ERANGE): Expect.
32346         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
32347         optional-constant.
32348         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
32349         Use (void) in prototype.
32350         [POSIX] (*_t): Allow.
32351         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
32352         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
32353         (WRDE_BADVAL): Expect.
32354
32355         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
32356         expect.
32357         [XPG3 || XPG4] (O_RSYNC): Likewise.
32358         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
32359         Likewise.
32360         [XPG3 || XPG4] (pthread_sigmask): Likewise.
32361         [XPG3 || XPG4] (sigqueue): Likewise.
32362         [XPG3 || XPG4] (sigtimedwait): Likewise.
32363         [XPG3 || XPG4] (sigwaitinfo): Likewise.
32364         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
32365         [XPG3 || XPG4] (vsnprintf): Likewise.
32366         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
32367         Likewise.
32368         [XPG3 || XPG4] (blksize_t): Likewise.
32369         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
32370         Likewise.
32371         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
32372         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
32373         [XPG3 || XPG4] (struct itimerspec): Likewise.
32374         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
32375         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
32376         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
32377         [XPG3 || XPG4] (clockid_t): Likewise.
32378         [XPG3 || XPG4] (timer_t): Likewise.
32379         [XPG3 || XPG4] (clock_getres): Likewise.
32380         [XPG3 || XPG4] (clock_gettime): Likewise.
32381         [XPG3 || XPG4] (clock_settime): Likewise.
32382         [XPG3 || XPG4] (nanosleep): Likewise.
32383         [XPG3 || XPG4] (timer_create): Likewise.
32384         [XPG3 || XPG4] (timer_delete): Likewise.
32385         [XPG3 || XPG4] (timer_gettime): Likewise.
32386         [XPG3 || XPG4] (timer_getoverrun): Likewise.
32387         [XPG3 || XPG4] (timer_settime): Likewise.
32388         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
32389         [XPG3 || XPG4] (getlogin_r): Likewise.
32390         [XPG3 || XPG4] (pread): Likewise.
32391         [XPG3 || XPG4] (pthread_atfork): Likewise.
32392         [XPG3 || XPG4] (pwrite): Likewise.
32393
32394         [BZ #14835]
32395         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
32396         <bits/siginfo.h>.
32397
32398 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
32399
32400         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
32401         finalizing MALLSTREAM.
32402
32403         * sysdeps/mach/hurd/syncfs.c: New file.
32404
32405 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
32406
32407         [BZ #14719]
32408         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
32409         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
32410         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
32411         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
32412         (_nss_dns_gethostbyname4_r): Likewise.
32413         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
32414         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
32415
32416 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
32417
32418         [BZ #13763]
32419         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
32420
32421 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
32422
32423         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
32424         * elf/cache.c (print_entry): Print ",AArch64" for
32425         FLAG_AARCH64_LIB64
32426
32427         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
32428         * elf/cache.c (print_entry): Print ",hard-float" for
32429         FLAG_ARM_LIBHF.
32430
32431 2012-11-18  David S. Miller  <davem@davemloft.net>
32432
32433         With help from Joseph Myers.
32434         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
32435         cutoff to 2**-13.
32436         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
32437         cutoff to 2**-25.
32438         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
32439         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
32440         small.
32441         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
32442         * math/libm-test.inc (y0_test): New tests.
32443         (y1_test): New tests.
32444         * sysdeps/i386/fpu/libm-test-ulps: Update.
32445         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32446         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32447
32448 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
32449
32450         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
32451         64-bit targets.
32452         * configure: Regenerated.
32453
32454 2012-11-17  David S. Miller  <davem@davemloft.net>
32455
32456         [BZ #14811]
32457         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
32458         nonzero exponents with absolute value below 0x1p-128 to +/-
32459         0x1p-128.
32460
32461 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
32462
32463         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
32464
32465         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
32466
32467         * posix/getconf-speclist.c: New file.
32468         * posix/posix-envs.def: Likewise.
32469         * posix/confstr.c (START_ENV_GROUP): New macro.
32470         (END_ENV_GROUP): Likewise.
32471         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
32472         (KNOWN_PRESENT_ENV_STRING): Likewise.
32473         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
32474         (UNKNOWN_ENVIRONMENT): Likewise.
32475         (confstr): Include posix-envs.def instead of handling
32476         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
32477         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
32478         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
32479         (END_ENV_GROUP): Likewise.
32480         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
32481         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
32482         (UNKNOWN_ENVIRONMENT): Likewise.
32483         (__sysconf): Include posix-envs.def instead of handling associated
32484         cases directly here.
32485         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
32486         preprocessing getconf-speclist.c rather than running getconf or
32487         generating empty file.
32488
32489 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
32490
32491         * scripts/check-local-headers.sh: Ignore 'mach' headers.
32492
32493 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
32494
32495         [BZ #14672]
32496         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
32497
32498 2012-11-16  David S. Miller  <davem@davemloft.net>
32499
32500         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
32501         smaller than LDBL_EPSILON/2.0L, just return xm1.
32502
32503 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
32504
32505         * elf/tst-array1.c (init): Set constructor priority to 1000.
32506         (fini): Set destructor priority to 1000.
32507         * elf/tst-array2dep.c: Likewise.
32508
32509 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
32510
32511         [BZ #11741]
32512         * libio/fileops.c (_IO_new_file_write): Correctly return error.
32513         (_IO_new_file_xsputn): Also return EOF if none of the input
32514         data was written when overflow failed.
32515         * libio/iopadn.c (_IO_padn): Likewise.
32516         * libio/iowpadn.c (_IO_wpadn): Likewise.
32517         * stdio-common/tst-put-error.c: Add copyright notice.
32518         (do_test): Add case for printing padded string.
32519         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
32520         _IO_padn returned error.
32521         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
32522         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
32523         return EOF.
32524
32525 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
32526
32527         * libio/libioP.h: Add comment note that the references to C++
32528         bits are now obsolete.
32529
32530 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
32531
32532         * math/libm-test.inc (check_complex): Use asprintf.
32533
32534 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
32535
32536         * debug/pcprofiledump.c (print_version): Update copyright year.
32537         * malloc/memusagestat.c (print_version): Likewise.
32538
32539 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
32540
32541         [BZ #14831]
32542         * elf/Makefile (tests): Add tst-audit8.
32543         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
32544         ($(objpfx)tst-audit8.out): New target.
32545         (tst-audit8-ENV): New variable.
32546         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
32547         audit if l_reloc_result is NULL.
32548         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
32549         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
32550         * elf/tst-audit8.c: New file.
32551
32552 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
32553
32554         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
32555         * misc/Makefile (CFLAGS-select.c): Define.
32556         * posix/Makefile (CFLAGS-pause.c): Define.
32557
32558 2012-11-13  David S. Miller  <davem@davemloft.net>
32559
32560         * crypt/Makefile: Move test targets after toplevel Rules
32561         inclusion.  Grab any necessary sysdep routines when linking.
32562         * crypt/md5.c (md5_process_block): Remove define, we will always
32563         name it __md5_process_block.
32564         (md5_finish_ctx): Update md5_process_block call.
32565         (md5_stream): Likewise.
32566         (md5_process_bytes): Likewise.
32567         (md5_process_block): Rename to __md5_process_block and move to ...
32568         * crypt/md5-block.c: ... here.
32569         * crypt/sha256.c (sha256_process_block): Move to ...
32570         * crypt/sha256-block.c: ... here.
32571         * crypt/sha512.c (sha512_process_block): Move to ...
32572         * crypt/sha512-block.c: ... here.
32573         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
32574         path.
32575         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
32576         * sysdeps/sparc/sparc64/multiarch/Makefile
32577         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
32578         crypt subdir.
32579         (localedef-aux): Add md5 crypto assembler when in locale subdir.
32580         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
32581         multiarch changes.
32582         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
32583         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
32584         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
32585         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
32586         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
32587         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
32588         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
32589         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
32590         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
32591         file.
32592         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
32593         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
32594         file.
32595         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
32596
32597 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
32598
32599         * timezone/tzselect.ksh: Update from tzcode git revision
32600         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
32601         * timezone/zdump.c: Likewise.
32602         * timezone/zic.c: Likewise.
32603         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
32604         in TZVERSION setting, not $(PKGVERSION).
32605         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
32606         REPORT_BUGS_TO settings.
32607
32608         [BZ #14838]
32609         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
32610         macro.
32611
32612 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
32613
32614         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
32615         detection to immediately after _FP_ROUND().
32616         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
32617         bits are 0.
32618
32619 2012-11-11  David S. Miller  <davem@davemloft.net>
32620
32621         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
32622         inttypes.h
32623         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
32624         __close rather than their public counterparts.
32625
32626 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
32627
32628         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
32629         file.
32630         [UNIX98] (sem_timedwait): Do not expect.
32631         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
32632         [XPG4 || UNIX98] (sockatmark): Do not expect.
32633         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
32634         (clock_getcpuclockid): Do not expect.
32635         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
32636         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
32637         Do not expect.
32638         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
32639         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
32640         [UNIX98] (vwscanf): Likewise.
32641         [UNIX98] (vswscanf): Likewise.
32642
32643 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
32644
32645         * timezone/version.h: Remove file.
32646         * timezone/README: Do not refer to version.h.
32647         * timezone/Makefile ($(objpfx)zic.o): New dependency on
32648         $(objpfx)version.h.
32649         ($(objpfx)zdump.o): Likewise.
32650         ($(objpfx)version.h): New target.
32651
32652         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
32653         2012i.
32654         * timezone/README: Don't mention modification to tzselect.ksh.
32655         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
32656         work on unmodified tzselect.ksh.  Substitute version numbers in
32657         tzselect.ksh.
32658
32659         * Makefile (format-me): Remove.
32660         (INSTALL): Adjust indentation.  Use commands directly instead of
32661         using $(format-me).
32662
32663         * aclocal.m4 (ACX_PKGVERSION): New macro.
32664         (ACX_BUGURL): Likewise.
32665         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
32666         (PKGVERSION): New AC_DEFINE_UNQUOTED.
32667         (REPORT_BUGS_TO): Likewise.
32668         * configure: Regenerated.
32669         * config.h.in (PKGVERSION): New macro.
32670         (REPORT_BUGS_TO): Likewise.
32671         * config.make.in (PKGVERSION): New variable.
32672         (PKGVERSION_TEXI): Likewise.
32673         (REPORT_BUGS_TO): Likewise.
32674         (REPORT_BUGS_TEXI): Likewise.
32675         * Makefile (format-me): Use -I$(common-objpfx)manual.
32676         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
32677         ($(common-objpfx)manual/%): New target.
32678         (manual/%): Remove target.
32679         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
32680         (print_version): Use PKGVERSION.
32681         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
32682         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
32683         and REPORT_BUGS_TO.
32684         ($(objpfx)xtrace): Likewise.
32685         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
32686         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
32687         (print_version): Use PKGVERSION.
32688         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
32689         (do_version): Use PKGVERSION.
32690         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
32691         REPORT_BUGS_TO.
32692         (common-ldd-rewrite): Likewise.
32693         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
32694         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
32695         (print_version): Use PKGVERSION.
32696         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
32697         * elf/pldd.c (argp_program_bug_address): Remove variable.
32698         (more_help): New function.
32699         (argp): Use more_help.
32700         (print_version): Use PKGVERSION.
32701         * elf/sln.c (main): Use PKGVERSION.
32702         (usage): Use REPORT_BUGS_TO.
32703         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
32704         (top level): Use PKGVERSION.
32705         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
32706         (print_version): Use PKGVERSION.
32707         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
32708         (print_version): Use PKGVERSION.
32709         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
32710         (print_version): Use PKGVERSION.
32711         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
32712         (print_version): Use PKGVERSION.
32713         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
32714         (print_version): Use PKGVERSION.
32715         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
32716         (print_version): Use PKGVERSION.
32717         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
32718         and BUGURL.
32719         ($(objpfx)memusage): Likewise.
32720         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
32721         (do_version): Use PKGVERSION.
32722         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
32723         (print_version): Use PKGVERSION.
32724         * malloc/mtrace.pl ($PACKAGE): Remove variable.
32725         ($PKGVERSION): New variable.
32726         ($REPORT_BUGS_TO): Likewise.
32727         (usage): Use $REPORT_BUGS_TO.
32728         (top level): Use $PKGVERSION.
32729         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
32730         ($(objpfx)pkgvers.texi): New rule.
32731         ($(objpfx)stamp-pkgvers): Likewise.
32732         * manual/install.texi: Include pkgvers.texi.
32733         (--with-pkgversion): Document new configure option.
32734         (--with-bugurl): Likewise.
32735         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
32736         than necessarily for this particular distribution.  Use
32737         REPORT_BUGS_TO for where to report bugs.
32738         * INSTALL: Regenerated.
32739         * manual/libc.texinfo: Include pkgvers.texi.
32740         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
32741         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
32742         (print_version): Use PKGVERSION.
32743         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
32744         (print_version): Use PKGVERSION.
32745         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
32746         (print_version): Use PKGVERSION.
32747         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
32748         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
32749         macro.
32750         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
32751         (print_version): Use PKGVERSION.
32752         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
32753         (print_version): Use PKGVERSION.
32754         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
32755         and PKGVERSION.
32756
32757         * timezone/checktab.awk: Update from tzcode 2012i.
32758         * timezone/ialloc.c: Likewise.
32759         * timezone/private.h: Likewise.
32760         * timezone/scheck.c: Likewise.
32761         * timezone/tzfile.h: Likewise.
32762         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
32763         (TZVERSION): Hardcode tzcode version number.
32764         * timezone/zdump.c: Update from tzcode 2012i.
32765         * timezone/zic.c: Likewise.
32766         * timezone/version.h: New file.
32767         * timezone/README: Describe version.h.  Update upstream location.
32768
32769         [BZ #14824]
32770         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
32771         (mktemp): Enable declaration.
32772         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
32773         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
32774         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
32775         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
32776         Likewise.
32777         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
32778         Likewise.
32779         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
32780         Likewise.
32781         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
32782         Likewise.
32783         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
32784         Likewise.
32785         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
32786         Likewise.
32787
32788         [BZ #14821]
32789         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
32790         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
32791         for copies of such integer values.
32792         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
32793         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
32794
32795 2012-11-09  Andreas Jaeger  <aj@suse.de>
32796
32797         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
32798         definitions and declarations that are provided by
32799         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
32800
32801 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32802
32803         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
32804         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
32805         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
32806         definition.
32807
32808 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
32809
32810         * elf/elf.h: Update comment before AArch64 relocations.
32811
32812 2012-11-07  David S. Miller  <davem@davemloft.net>
32813
32814         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
32815         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
32816         (__start_context): Declare.
32817         (__makecontext_ret): Delete.
32818         (__makecontext): Hook up __start_context instead of
32819         __makecontext_ret.
32820         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
32821         (sysdep_routines): Add __start_context when in stdlib.
32822
32823 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
32824
32825         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
32826         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
32827         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
32828         hardcoded "nm".
32829         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
32830         (READELF): New variable.  Use it instead of hardcoded "readelf".
32831
32832 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
32833
32834         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
32835         * sysdeps/x86/Makefile: Here.
32836         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
32837         * sysdeps/x86/tst-xmmymm.sh: This.
32838
32839 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
32840
32841         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
32842         expectations.
32843         [UNIX98] (pthread_barrier_t): Do not expect.
32844         [UNIX98] (pthread_barrierattr_t): Likewise.
32845         [UNIX98] (pthread_spinlock_t): Likewise.
32846         [UNIX98] (pthread_barrier_destroy): Likewise.
32847         [UNIX98] (pthread_barrier_init): Likewise.
32848         [UNIX98] (pthread_barrier_wait): Likewise.
32849         [UNIX98] (pthread_barrierattr_destroy): Likewise.
32850         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
32851         [UNIX98] (pthread_barrierattr_init): Likewise.
32852         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
32853         [UNIX98] (pthread_getcpuclockid): Likewise.
32854         [UNIX98] (pthread_mutex_timedlock): Likewise.
32855         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
32856         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
32857         [UNIX98] (pthread_sigmask): Likewise.
32858         [UNIX98] (pthread_spin_destroy): Likewise.
32859         [UNIX98] (pthread_spin_init): Likewise.
32860         [UNIX98] (pthread_spin_lock): Likewise.
32861         [UNIX98] (pthread_spin_trylock): Likewise.
32862         [UNIX98] (pthread_spin_unlock): Likewise.
32863         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
32864         Do not expect.
32865         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
32866         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
32867         [XPG3 || XPG4] (pthread_cond_t): Likewise.
32868         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
32869         [XPG3 || XPG4] (pthread_key_t): Likewise.
32870         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
32871         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
32872         [XPG3 || XPG4] (pthread_once_t): Likewise.
32873         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
32874         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
32875         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
32876         [XPG3 || XPG4] (pthread_t): Likewise.
32877
32878         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
32879         not expect.
32880         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
32881
32882         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
32883         Change function return type to int.
32884
32885         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
32886         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
32887         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
32888         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
32889         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
32890         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
32891         [!POSIX] (posix_madvise): Likewise.
32892         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
32893         && !UNIX98].
32894         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
32895         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
32896         (mode_t): Likewise.
32897         (posix_mem_offset): Likewise.
32898         (posix_typed_mem_get_info): Likewise.
32899         (posix_typed_mem_open): Likewise.
32900
32901         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
32902         Change condition to [XOPEN2K8].
32903
32904         * conform/conformtest.pl: Preprocess allow-header data with -x c
32905         instead of from stdin.
32906         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
32907         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
32908         [C99-based standards] (cerfc): Likewise.
32909         [C99-based standards] (cexp2): Likewise.
32910         [C99-based standards] (cexpm1): Likewise.
32911         [C99-based standards] (clog10): Likewise.
32912         [C99-based standards] (clog1p): Likewise.
32913         [C99-based standards] (clog2): Likewise.
32914         [C99-based standards] (clgamma): Likewise.
32915         [C99-based standards] (ctgamma): Likewise.
32916         [C99-based standards] (cerff): Likewise.
32917         [C99-based standards] (cerfcf): Likewise.
32918         [C99-based standards] (cexp2f): Likewise.
32919         [C99-based standards] (cexpm1f): Likewise.
32920         [C99-based standards] (clog10f): Likewise.
32921         [C99-based standards] (clog1pf): Likewise.
32922         [C99-based standards] (clog2f): Likewise.
32923         [C99-based standards] (clgammaf): Likewise.
32924         [C99-based standards] (ctgammaf): Likewise.
32925         [C99-based standards] (cerfl): Likewise.
32926         [C99-based standards] (cerfcl): Likewise.
32927         [C99-based standards] (cexp2l): Likewise.
32928         [C99-based standards] (cexpm1l): Likewise.
32929         [C99-based standards] (clog10l): Likewise.
32930         [C99-based standards] (clog1pl): Likewise.
32931         [C99-based standards] (clog2l): Likewise.
32932         [C99-based standards] (clgammal): Likewise.
32933         [C99-based standards] (ctgammal): Likewise.
32934         * conform/data/inttypes.h-data [C99-based standards]: Include
32935         stdint.h-data.  Remove all expectations for stdint.h contents.
32936         [C99-based standards] (PRI*): Do not allow.
32937         [C99-based standards] (SCN*): Likewise.
32938         [C99-based standards] (*_t): Likewise.
32939         [C99-based-standards] (PRId8): Expect macro.
32940         [C99-based-standards] (PRIi8): Likewise.
32941         [C99-based-standards] (PRIo8): Likewise.
32942         [C99-based-standards] (PRIu8): Likewise.
32943         [C99-based-standards] (PRIx8): Likewise.
32944         [C99-based-standards] (PRIX8): Likewise.
32945         [C99-based-standards] (SCNd8): Likewise.
32946         [C99-based-standards] (SCNi8): Likewise.
32947         [C99-based-standards] (SCNo8): Likewise.
32948         [C99-based-standards] (SCNu8): Likewise.
32949         [C99-based-standards] (SCNx8): Likewise.
32950         [C99-based-standards] (PRIdLEAST8): Likewise.
32951         [C99-based-standards] (PRIiLEAST8): Likewise.
32952         [C99-based-standards] (PRIoLEAST8): Likewise.
32953         [C99-based-standards] (PRIuLEAST8): Likewise.
32954         [C99-based-standards] (PRIxLEAST8): Likewise.
32955         [C99-based-standards] (PRIXLEAST8): Likewise.
32956         [C99-based-standards] (SCNdLEAST8): Likewise.
32957         [C99-based-standards] (SCNiLEAST8): Likewise.
32958         [C99-based-standards] (SCNoLEAST8): Likewise.
32959         [C99-based-standards] (SCNuLEAST8): Likewise.
32960         [C99-based-standards] (SCNxLEAST8): Likewise.
32961         [C99-based-standards] (PRIdFAST8): Likewise.
32962         [C99-based-standards] (PRIiFAST8): Likewise.
32963         [C99-based-standards] (PRIoFAST8): Likewise.
32964         [C99-based-standards] (PRIuFAST8): Likewise.
32965         [C99-based-standards] (PRIxFAST8): Likewise.
32966         [C99-based-standards] (PRIXFAST8): Likewise.
32967         [C99-based-standards] (SCNdFAST8): Likewise.
32968         [C99-based-standards] (SCNiFAST8): Likewise.
32969         [C99-based-standards] (SCNoFAST8): Likewise.
32970         [C99-based-standards] (SCNuFAST8): Likewise.
32971         [C99-based-standards] (SCNxFAST8): Likewise.
32972         [C99-based-standards] (PRId16): Likewise.
32973         [C99-based-standards] (PRIi16): Likewise.
32974         [C99-based-standards] (PRIo16): Likewise.
32975         [C99-based-standards] (PRIu16): Likewise.
32976         [C99-based-standards] (PRIx16): Likewise.
32977         [C99-based-standards] (PRIX16): Likewise.
32978         [C99-based-standards] (SCNd16): Likewise.
32979         [C99-based-standards] (SCNi16): Likewise.
32980         [C99-based-standards] (SCNo16): Likewise.
32981         [C99-based-standards] (SCNu16): Likewise.
32982         [C99-based-standards] (SCNx16): Likewise.
32983         [C99-based-standards] (PRIdLEAST16): Likewise.
32984         [C99-based-standards] (PRIiLEAST16): Likewise.
32985         [C99-based-standards] (PRIoLEAST16): Likewise.
32986         [C99-based-standards] (PRIuLEAST16): Likewise.
32987         [C99-based-standards] (PRIxLEAST16): Likewise.
32988         [C99-based-standards] (PRIXLEAST16): Likewise.
32989         [C99-based-standards] (SCNdLEAST16): Likewise.
32990         [C99-based-standards] (SCNiLEAST16): Likewise.
32991         [C99-based-standards] (SCNoLEAST16): Likewise.
32992         [C99-based-standards] (SCNuLEAST16): Likewise.
32993         [C99-based-standards] (SCNxLEAST16): Likewise.
32994         [C99-based-standards] (PRIdFAST16): Likewise.
32995         [C99-based-standards] (PRIiFAST16): Likewise.
32996         [C99-based-standards] (PRIoFAST16): Likewise.
32997         [C99-based-standards] (PRIuFAST16): Likewise.
32998         [C99-based-standards] (PRIxFAST16): Likewise.
32999         [C99-based-standards] (PRIXFAST16): Likewise.
33000         [C99-based-standards] (SCNdFAST16): Likewise.
33001         [C99-based-standards] (SCNiFAST16): Likewise.
33002         [C99-based-standards] (SCNoFAST16): Likewise.
33003         [C99-based-standards] (SCNuFAST16): Likewise.
33004         [C99-based-standards] (SCNxFAST16): Likewise.
33005         [C99-based-standards] (PRId32): Likewise.
33006         [C99-based-standards] (PRIi32): Likewise.
33007         [C99-based-standards] (PRIo32): Likewise.
33008         [C99-based-standards] (PRIu32): Likewise.
33009         [C99-based-standards] (PRIx32): Likewise.
33010         [C99-based-standards] (PRIX32): Likewise.
33011         [C99-based-standards] (SCNd32): Likewise.
33012         [C99-based-standards] (SCNi32): Likewise.
33013         [C99-based-standards] (SCNo32): Likewise.
33014         [C99-based-standards] (SCNu32): Likewise.
33015         [C99-based-standards] (SCNx32): Likewise.
33016         [C99-based-standards] (PRIdLEAST32): Likewise.
33017         [C99-based-standards] (PRIiLEAST32): Likewise.
33018         [C99-based-standards] (PRIoLEAST32): Likewise.
33019         [C99-based-standards] (PRIuLEAST32): Likewise.
33020         [C99-based-standards] (PRIxLEAST32): Likewise.
33021         [C99-based-standards] (PRIXLEAST32): Likewise.
33022         [C99-based-standards] (SCNdLEAST32): Likewise.
33023         [C99-based-standards] (SCNiLEAST32): Likewise.
33024         [C99-based-standards] (SCNoLEAST32): Likewise.
33025         [C99-based-standards] (SCNuLEAST32): Likewise.
33026         [C99-based-standards] (SCNxLEAST32): Likewise.
33027         [C99-based-standards] (PRIdFAST32): Likewise.
33028         [C99-based-standards] (PRIiFAST32): Likewise.
33029         [C99-based-standards] (PRIoFAST32): Likewise.
33030         [C99-based-standards] (PRIuFAST32): Likewise.
33031         [C99-based-standards] (PRIxFAST32): Likewise.
33032         [C99-based-standards] (PRIXFAST32): Likewise.
33033         [C99-based-standards] (SCNdFAST32): Likewise.
33034         [C99-based-standards] (SCNiFAST32): Likewise.
33035         [C99-based-standards] (SCNoFAST32): Likewise.
33036         [C99-based-standards] (SCNuFAST32): Likewise.
33037         [C99-based-standards] (SCNxFAST32): Likewise.
33038         [C99-based-standards] (PRId64): Likewise.
33039         [C99-based-standards] (PRIi64): Likewise.
33040         [C99-based-standards] (PRIo64): Likewise.
33041         [C99-based-standards] (PRIu64): Likewise.
33042         [C99-based-standards] (PRIx64): Likewise.
33043         [C99-based-standards] (PRIX64): Likewise.
33044         [C99-based-standards] (SCNd64): Likewise.
33045         [C99-based-standards] (SCNi64): Likewise.
33046         [C99-based-standards] (SCNo64): Likewise.
33047         [C99-based-standards] (SCNu64): Likewise.
33048         [C99-based-standards] (SCNx64): Likewise.
33049         [C99-based-standards] (PRIdLEAST64): Likewise.
33050         [C99-based-standards] (PRIiLEAST64): Likewise.
33051         [C99-based-standards] (PRIoLEAST64): Likewise.
33052         [C99-based-standards] (PRIuLEAST64): Likewise.
33053         [C99-based-standards] (PRIxLEAST64): Likewise.
33054         [C99-based-standards] (PRIXLEAST64): Likewise.
33055         [C99-based-standards] (SCNdLEAST64): Likewise.
33056         [C99-based-standards] (SCNiLEAST64): Likewise.
33057         [C99-based-standards] (SCNoLEAST64): Likewise.
33058         [C99-based-standards] (SCNuLEAST64): Likewise.
33059         [C99-based-standards] (SCNxLEAST64): Likewise.
33060         [C99-based-standards] (PRIdFAST64): Likewise.
33061         [C99-based-standards] (PRIiFAST64): Likewise.
33062         [C99-based-standards] (PRIoFAST64): Likewise.
33063         [C99-based-standards] (PRIuFAST64): Likewise.
33064         [C99-based-standards] (PRIxFAST64): Likewise.
33065         [C99-based-standards] (PRIXFAST64): Likewise.
33066         [C99-based-standards] (SCNdFAST64): Likewise.
33067         [C99-based-standards] (SCNiFAST64): Likewise.
33068         [C99-based-standards] (SCNoFAST64): Likewise.
33069         [C99-based-standards] (SCNuFAST64): Likewise.
33070         [C99-based-standards] (SCNxFAST64): Likewise.
33071         [C99-based-standards] (PRIdMAX): Likewise.
33072         [C99-based-standards] (PRIiMAX): Likewise.
33073         [C99-based-standards] (PRIoMAX): Likewise.
33074         [C99-based-standards] (PRIuMAX): Likewise.
33075         [C99-based-standards] (PRIxMAX): Likewise.
33076         [C99-based-standards] (PRIXMAX): Likewise.
33077         [C99-based-standards] (SCNdMAX): Likewise.
33078         [C99-based-standards] (SCNiMAX): Likewise.
33079         [C99-based-standards] (SCNoMAX): Likewise.
33080         [C99-based-standards] (SCNuMAX): Likewise.
33081         [C99-based-standards] (SCNxMAX): Likewise.
33082         [C99-based-standards] (PRIdPTR): Likewise.
33083         [C99-based-standards] (PRIiPTR): Likewise.
33084         [C99-based-standards] (PRIoPTR): Likewise.
33085         [C99-based-standards] (PRIuPTR): Likewise.
33086         [C99-based-standards] (PRIxPTR): Likewise.
33087         [C99-based-standards] (PRIXPTR): Likewise.
33088         [C99-based-standards] (SCNdPTR): Likewise.
33089         [C99-based-standards] (SCNiPTR): Likewise.
33090         [C99-based-standards] (SCNoPTR): Likewise.
33091         [C99-based-standards] (SCNuPTR): Likewise.
33092         [C99-based-standards] (SCNxPTR): Likewise.
33093         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
33094         allow.
33095         * conform/data/stdint.h-data: Update comments to clarify
33096         requirements.
33097         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
33098         type.
33099         [C99-based standards] (INT8_MAX): Likewise.
33100         [C99-based standards] (INT16_MIN): Likewise.
33101         [C99-based standards] (INT16_MAX): Likewise.
33102         [C99-based standards] (INT32_MIN): Likewise.
33103         [C99-based standards] (INT32_MAX): Likewise.
33104         [C99-based standards] (INT64_MIN): Likewise.
33105         [C99-based standards] (INT64_MAX): Likewise.
33106         [C99-based standards] (UINT8_MAX): Likewise.
33107         [C99-based standards] (UINT16_MAX): Likewise.
33108         [C99-based standards] (UINT32_MAX): Likewise.
33109         [C99-based standards] (UINT64_MAX): Likewise.
33110         [C99-based standards] (INT_LEAST8_MIN): Likewise.
33111         [C99-based standards] (INT_LEAST8_MAX): Likewise.
33112         [C99-based standards] (INT_LEAST16_MIN): Likewise.
33113         [C99-based standards] (INT_LEAST16_MAX): Likewise.
33114         [C99-based standards] (INT_LEAST32_MIN): Likewise.
33115         [C99-based standards] (INT_LEAST32_MAX): Likewise.
33116         [C99-based standards] (INT_LEAST64_MIN): Likewise.
33117         [C99-based standards] (INT_LEAST64_MAX): Likewise.
33118         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
33119         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
33120         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
33121         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
33122         [C99-based standards] (INT_FAST8_MIN): Likewise.
33123         [C99-based standards] (INT_FAST8_MAX): Likewise.
33124         [C99-based standards] (INT_FAST16_MIN): Likewise.
33125         [C99-based standards] (INT_FAST16_MAX): Likewise.
33126         [C99-based standards] (INT_FAST32_MIN): Likewise.
33127         [C99-based standards] (INT_FAST32_MAX): Likewise.
33128         [C99-based standards] (INT_FAST64_MIN): Likewise.
33129         [C99-based standards] (INT_FAST64_MAX): Likewise.
33130         [C99-based standards] (UINT_FAST8_MAX): Likewise.
33131         [C99-based standards] (UINT_FAST16_MAX): Likewise.
33132         [C99-based standards] (UINT_FAST32_MAX): Likewise.
33133         [C99-based standards] (UINT_FAST64_MAX): Likewise.
33134         [C99-based standards] (INTPTR_MIN): Likewise.
33135         [C99-based standards] (INTPTR_MAX): Likewise.
33136         [C99-based standards] (UINTPTR_MAX): Likewise.
33137         [C99-based standards] (INTMAX_MIN): Likewise.
33138         [C99-based standards] (INTMAX_MAX): Likewise.
33139         [C99-based standards] (UINTMAX_MAX): Likewise.
33140         [C99-based standards] (PTRDIFF_MIN): Likewise.
33141         [C99-based standards] (PTRDIFF_MAX): Likewise.
33142         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
33143         [C99-based standards] (SIZE_MAX): Likewise.
33144         [C99-based standards] (WCHAR_MAX): Likewise.
33145         [C99-based standards] (WINT_MAX): Likewise.
33146         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
33147         constraint on value.
33148         [C99-based standards] (WCHAR_MIN): Likewise.
33149         [C99-based standards] (WINT_MIN): Likewise.
33150         [C99-based standards] (*_t): Allow.
33151         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
33152         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
33153         Include math.h-data and complex.h-data.  Remove all expectations
33154         of math.h and complex.h contents.
33155         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
33156         at end of line.
33157         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
33158         (struct tm): Expect tag.
33159         [C99-based-standards] (wcstof): Expect function.
33160         [C99-based-standards] (wcstold): Likewise.
33161         [C99-based-standards] (wcstoll): Likewise.
33162         [C99-based-standards] (wcstoull): Likewise.
33163         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
33164         macro-int-constant.  Specify type.
33165         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
33166         constraint on value.
33167         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
33168         Specify type.
33169         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
33170         Specify value.
33171         [ISO C standards]: Do not allow headers.
33172         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
33173         wcs[abcdefghijklmnopqrstuvwxyz]*.
33174         [ISO C standards] (*_t): Do not allow.
33175         * conform/data/wctype.h-data [C99-based standards] (iswblank):
33176         Expect function.
33177         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
33178         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
33179         Specify type.
33180         [ISO C standards]: Do not allow headers.
33181         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
33182         is[abcdefghijklmnopqrstuvwxyz]*.
33183         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
33184         to[abcdefghijklmnopqrstuvwxyz]*.
33185         [ISO C standards] (*_t): Do not allow.
33186         * conform/data/stdalign.h-data: New file.
33187         * conform/data/stdbool.h-data: Likewise.
33188         * conform/data/stdnoreturn.h-data: Likewise.
33189
33190 2012-11-07  Roland McGrath  <roland@hack.frob.com>
33191
33192         [BZ #14815]
33193         * manual/filesys.texi (Directory Entries): Typo fix.
33194         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
33195
33196 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
33197
33198         * elf/elf.h (EM_AARCH64): New macro.
33199         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
33200         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
33201         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
33202         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
33203         (R_AARCH64_TLSDESC): Likewise.
33204         (NT_ARM_TLS): Likewise.
33205         (NT_ARM_HW_BREAK): Likewise.
33206         (NT_ARM_HW_WATCH): Likewise.
33207
33208 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
33209
33210         [BZ #14811]
33211         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
33212         (__ieee754_powl): Saturate nonzero exponents with absolute value
33213         below 0x1p-79 to +/- 0x1p-79.
33214         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
33215         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
33216         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
33217         nonzero exponents with absolute value below 0x1p-32 to +/-
33218         0x1p-32.
33219         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
33220         (__ieee754_powl): Saturate nonzero exponents with absolute value
33221         below 0x1p-79 to +/- 0x1p-79.
33222         * math/libm-test.inc (pow_test): Add more tests.
33223
33224 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33225
33226         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
33227         _dl_s390_cap_flags with kernel. Increase string length.
33228         (_dl_s390_platforms): Add z196 and zEC12.
33229
33230 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
33231
33232         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
33233         Change XOPEN21K to XOPEN2K.
33234
33235 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
33236
33237         * string/memmove.c: Use memcpy when possible.
33238
33239 2012-11-06  Andreas Jaeger  <aj@suse.de>
33240
33241         * po/eo.po: Update from translation team.
33242
33243 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
33244
33245         [BZ #14793]
33246         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
33247         exponent and small x and y exponents, scale x or y up.  Increase
33248         by 2 the exponent used in scaling up.
33249         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
33250         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
33251         * math/libm-test.inc (fma_test): Add more tests.
33252         (fma_test_towardzero): Likewise.
33253         (fma_test_downward): Likewise.
33254         (fma_test_upward): Likewise.
33255
33256 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
33257
33258         [BZ #14805]
33259         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
33260         fenv_t *.
33261
33262         [BZ #14801]
33263         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
33264         namespace for names of struct fields.
33265         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
33266         fenv_t fields.
33267         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
33268         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
33269
33270 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33271
33272         [BZ #3665]
33273         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
33274
33275 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
33276
33277         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
33278         PTR_DEMANGLE.
33279
33280         [BZ #5246]
33281         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
33282         PTR_DEMANGLE.
33283
33284 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
33285
33286         [BZ #14797]
33287         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
33288         definitely overflow as x * y not x * y + z.
33289         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
33290         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
33291         * math/libm-test.inc (fma_test): Add more tests.
33292         (fma_test_towardzero): Likewise.
33293         (fma_test_downward): Likewise.
33294         (fma_test_upward): Likewise.
33295
33296 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
33297
33298         [BZ #157]
33299
33300         * include/stub-tag.h: Remove file.
33301         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
33302         '#include' of it.
33303         * manual/maint.texi (Porting): Don't reference it.
33304         * Makerules ($(objpfx)stubs): Likewise.
33305         * dirent/closedir.c: Don't include <stub-tag.h>.
33306         * dirent/dirfd.c: Likewise.
33307         * dirent/fdopendir.c: Likewise.
33308         * dirent/getdents.c: Likewise.
33309         * dirent/getdents64.c: Likewise.
33310         * dirent/opendir.c: Likewise.
33311         * dirent/readdir.c: Likewise.
33312         * dirent/readdir64.c: Likewise.
33313         * dirent/readdir64_r.c: Likewise.
33314         * dirent/readdir_r.c: Likewise.
33315         * dirent/rewinddir.c: Likewise.
33316         * dirent/seekdir.c: Likewise.
33317         * dirent/telldir.c: Likewise.
33318         * gmon/profil.c: Likewise.
33319         * grp/setgroups.c: Likewise.
33320         * inet/if_index.c: Likewise.
33321         * io/access.c: Likewise.
33322         * io/chdir.c: Likewise.
33323         * io/chmod.c: Likewise.
33324         * io/chown.c: Likewise.
33325         * io/close.c: Likewise.
33326         * io/dup.c: Likewise.
33327         * io/dup2.c: Likewise.
33328         * io/dup3.c: Likewise.
33329         * io/euidaccess.c: Likewise.
33330         * io/faccessat.c: Likewise.
33331         * io/fchdir.c: Likewise.
33332         * io/fchmod.c: Likewise.
33333         * io/fchmodat.c: Likewise.
33334         * io/fchown.c: Likewise.
33335         * io/fchownat.c: Likewise.
33336         * io/fcntl.c: Likewise.
33337         * io/flock.c: Likewise.
33338         * io/fstatfs.c: Likewise.
33339         * io/fstatfs64.c: Likewise.
33340         * io/fstatvfs.c: Likewise.
33341         * io/fstatvfs64.c: Likewise.
33342         * io/futimens.c: Likewise.
33343         * io/fxstat.c: Likewise.
33344         * io/fxstat64.c: Likewise.
33345         * io/fxstatat.c: Likewise.
33346         * io/fxstatat64.c: Likewise.
33347         * io/getcwd.c: Likewise.
33348         * io/isatty.c: Likewise.
33349         * io/lchmod.c: Likewise.
33350         * io/lchown.c: Likewise.
33351         * io/link.c: Likewise.
33352         * io/linkat.c: Likewise.
33353         * io/lseek.c: Likewise.
33354         * io/lseek64.c: Likewise.
33355         * io/lxstat64.c: Likewise.
33356         * io/mkdir.c: Likewise.
33357         * io/mkdirat.c: Likewise.
33358         * io/mkfifo.c: Likewise.
33359         * io/mkfifoat.c: Likewise.
33360         * io/open.c: Likewise.
33361         * io/open64.c: Likewise.
33362         * io/openat.c: Likewise.
33363         * io/openat64.c: Likewise.
33364         * io/pipe.c: Likewise.
33365         * io/pipe2.c: Likewise.
33366         * io/poll.c: Likewise.
33367         * io/posix_fadvise.c: Likewise.
33368         * io/posix_fadvise64.c: Likewise.
33369         * io/posix_fallocate.c: Likewise.
33370         * io/posix_fallocate64.c: Likewise.
33371         * io/read.c: Likewise.
33372         * io/readlink.c: Likewise.
33373         * io/readlinkat.c: Likewise.
33374         * io/rmdir.c: Likewise.
33375         * io/sendfile.c: Likewise.
33376         * io/sendfile64.c: Likewise.
33377         * io/statfs.c: Likewise.
33378         * io/statfs64.c: Likewise.
33379         * io/statvfs.c: Likewise.
33380         * io/statvfs64.c: Likewise.
33381         * io/symlink.c: Likewise.
33382         * io/symlinkat.c: Likewise.
33383         * io/ttyname.c: Likewise.
33384         * io/ttyname_r.c: Likewise.
33385         * io/umask.c: Likewise.
33386         * io/unlink.c: Likewise.
33387         * io/unlinkat.c: Likewise.
33388         * io/utime.c: Likewise.
33389         * io/utimensat.c: Likewise.
33390         * io/write.c: Likewise.
33391         * io/xmknod.c: Likewise.
33392         * io/xmknodat.c: Likewise.
33393         * io/xstat.c: Likewise.
33394         * io/xstat64.c: Likewise.
33395         * login/getpt.c: Likewise.
33396         * login/grantpt.c: Likewise.
33397         * login/unlockpt.c: Likewise.
33398         * math/e_acoshl.c: Likewise.
33399         * math/e_acosl.c: Likewise.
33400         * math/e_asinl.c: Likewise.
33401         * math/e_atan2l.c: Likewise.
33402         * math/e_atanhl.c: Likewise.
33403         * math/e_coshl.c: Likewise.
33404         * math/e_expl.c: Likewise.
33405         * math/e_fmodl.c: Likewise.
33406         * math/e_gammal_r.c: Likewise.
33407         * math/e_hypotl.c: Likewise.
33408         * math/e_j0l.c: Likewise.
33409         * math/e_j1l.c: Likewise.
33410         * math/e_jnl.c: Likewise.
33411         * math/e_lgammal_r.c: Likewise.
33412         * math/e_log10l.c: Likewise.
33413         * math/e_log2l.c: Likewise.
33414         * math/e_logl.c: Likewise.
33415         * math/e_powl.c: Likewise.
33416         * math/e_rem_pio2l.c: Likewise.
33417         * math/e_sinhl.c: Likewise.
33418         * math/e_sqrtl.c: Likewise.
33419         * math/fclrexcpt.c: Likewise.
33420         * math/fedisblxcpt.c: Likewise.
33421         * math/feenablxcpt.c: Likewise.
33422         * math/fegetenv.c: Likewise.
33423         * math/fegetexcept.c: Likewise.
33424         * math/fegetround.c: Likewise.
33425         * math/feholdexcpt.c: Likewise.
33426         * math/fesetenv.c: Likewise.
33427         * math/fesetround.c: Likewise.
33428         * math/feupdateenv.c: Likewise.
33429         * math/fgetexcptflg.c: Likewise.
33430         * math/fraiseexcpt.c: Likewise.
33431         * math/fsetexcptflg.c: Likewise.
33432         * math/ftestexcept.c: Likewise.
33433         * math/k_cosl.c: Likewise.
33434         * math/k_rem_pio2l.c: Likewise.
33435         * math/k_sinl.c: Likewise.
33436         * math/k_tanl.c: Likewise.
33437         * math/s_asinhl.c: Likewise.
33438         * math/s_atanl.c: Likewise.
33439         * math/s_cbrtl.c: Likewise.
33440         * math/s_erfl.c: Likewise.
33441         * math/s_expm1l.c: Likewise.
33442         * math/s_log1pl.c: Likewise.
33443         * math/s_tanhl.c: Likewise.
33444         * misc/acct.c: Likewise.
33445         * misc/brk.c: Likewise.
33446         * misc/chflags.c: Likewise.
33447         * misc/chroot.c: Likewise.
33448         * misc/fchflags.c: Likewise.
33449         * misc/fgetxattr.c: Likewise.
33450         * misc/flistxattr.c: Likewise.
33451         * misc/fremovexattr.c: Likewise.
33452         * misc/fsetxattr.c: Likewise.
33453         * misc/fsync.c: Likewise.
33454         * misc/ftruncate.c: Likewise.
33455         * misc/futimes.c: Likewise.
33456         * misc/futimesat.c: Likewise.
33457         * misc/getdomain.c: Likewise.
33458         * misc/getdtsz.c: Likewise.
33459         * misc/gethostid.c: Likewise.
33460         * misc/gethostname.c: Likewise.
33461         * misc/getloadavg.c: Likewise.
33462         * misc/getpagesize.c: Likewise.
33463         * misc/getsysstats.c: Likewise.
33464         * misc/getxattr.c: Likewise.
33465         * misc/gtty.c: Likewise.
33466         * misc/ioctl.c: Likewise.
33467         * misc/lgetxattr.c: Likewise.
33468         * misc/listxattr.c: Likewise.
33469         * misc/llistxattr.c: Likewise.
33470         * misc/lremovexattr.c: Likewise.
33471         * misc/lsetxattr.c: Likewise.
33472         * misc/lutimes.c: Likewise.
33473         * misc/madvise.c: Likewise.
33474         * misc/mincore.c: Likewise.
33475         * misc/mlock.c: Likewise.
33476         * misc/mlockall.c: Likewise.
33477         * misc/mmap.c: Likewise.
33478         * misc/mprotect.c: Likewise.
33479         * misc/msync.c: Likewise.
33480         * misc/munlock.c: Likewise.
33481         * misc/munlockall.c: Likewise.
33482         * misc/munmap.c: Likewise.
33483         * misc/preadv.c: Likewise.
33484         * misc/preadv64.c: Likewise.
33485         * misc/ptrace.c: Likewise.
33486         * misc/pwritev.c: Likewise.
33487         * misc/pwritev64.c: Likewise.
33488         * misc/readv.c: Likewise.
33489         * misc/reboot.c: Likewise.
33490         * misc/remap_file_pages.c: Likewise.
33491         * misc/removexattr.c: Likewise.
33492         * misc/revoke.c: Likewise.
33493         * misc/select.c: Likewise.
33494         * misc/setdomain.c: Likewise.
33495         * misc/setegid.c: Likewise.
33496         * misc/seteuid.c: Likewise.
33497         * misc/sethostid.c: Likewise.
33498         * misc/sethostname.c: Likewise.
33499         * misc/setregid.c: Likewise.
33500         * misc/setreuid.c: Likewise.
33501         * misc/setxattr.c: Likewise.
33502         * misc/sstk.c: Likewise.
33503         * misc/stty.c: Likewise.
33504         * misc/swapoff.c: Likewise.
33505         * misc/swapon.c: Likewise.
33506         * misc/sync.c: Likewise.
33507         * misc/syncfs.c: Likewise.
33508         * misc/syscall.c: Likewise.
33509         * misc/truncate.c: Likewise.
33510         * misc/ualarm.c: Likewise.
33511         * misc/usleep.c: Likewise.
33512         * misc/ustat.c: Likewise.
33513         * misc/utimes.c: Likewise.
33514         * misc/vhangup.c: Likewise.
33515         * misc/writev.c: Likewise.
33516         * posix/_exit.c: Likewise.
33517         * posix/alarm.c: Likewise.
33518         * posix/execve.c: Likewise.
33519         * posix/fexecve.c: Likewise.
33520         * posix/fork.c: Likewise.
33521         * posix/fpathconf.c: Likewise.
33522         * posix/getaddrinfo.c: Likewise.
33523         * posix/getegid.c: Likewise.
33524         * posix/geteuid.c: Likewise.
33525         * posix/getgid.c: Likewise.
33526         * posix/getgroups.c: Likewise.
33527         * posix/getlogin.c: Likewise.
33528         * posix/getlogin_r.c: Likewise.
33529         * posix/getpgid.c: Likewise.
33530         * posix/getpid.c: Likewise.
33531         * posix/getppid.c: Likewise.
33532         * posix/getresgid.c: Likewise.
33533         * posix/getresuid.c: Likewise.
33534         * posix/getsid.c: Likewise.
33535         * posix/getuid.c: Likewise.
33536         * posix/glob64.c: Likewise.
33537         * posix/nanosleep.c: Likewise.
33538         * posix/pathconf.c: Likewise.
33539         * posix/pause.c: Likewise.
33540         * posix/posix_madvise.c: Likewise.
33541         * posix/pread.c: Likewise.
33542         * posix/pread64.c: Likewise.
33543         * posix/pwrite.c: Likewise.
33544         * posix/pwrite64.c: Likewise.
33545         * posix/sched_getaffinity.c: Likewise.
33546         * posix/sched_getp.c: Likewise.
33547         * posix/sched_gets.c: Likewise.
33548         * posix/sched_primax.c: Likewise.
33549         * posix/sched_primin.c: Likewise.
33550         * posix/sched_rr_gi.c: Likewise.
33551         * posix/sched_setaffinity.c: Likewise.
33552         * posix/sched_setp.c: Likewise.
33553         * posix/sched_sets.c: Likewise.
33554         * posix/sched_yield.c: Likewise.
33555         * posix/setgid.c: Likewise.
33556         * posix/setlogin.c: Likewise.
33557         * posix/setpgid.c: Likewise.
33558         * posix/setresgid.c: Likewise.
33559         * posix/setresuid.c: Likewise.
33560         * posix/setsid.c: Likewise.
33561         * posix/setuid.c: Likewise.
33562         * posix/sleep.c: Likewise.
33563         * posix/spawni.c: Likewise.
33564         * posix/sysconf.c: Likewise.
33565         * posix/times.c: Likewise.
33566         * posix/wait.c: Likewise.
33567         * posix/wait3.c: Likewise.
33568         * posix/wait4.c: Likewise.
33569         * posix/waitpid.c: Likewise.
33570         * resolv/gai_sigqueue.c: Likewise.
33571         * resource/getpriority.c: Likewise.
33572         * resource/getrlimit.c: Likewise.
33573         * resource/getrusage.c: Likewise.
33574         * resource/nice.c: Likewise.
33575         * resource/setpriority.c: Likewise.
33576         * resource/setrlimit.c: Likewise.
33577         * resource/ulimit.c: Likewise.
33578         * rt/aio_cancel.c: Likewise.
33579         * rt/aio_fsync.c: Likewise.
33580         * rt/aio_read.c: Likewise.
33581         * rt/aio_sigqueue.c: Likewise.
33582         * rt/aio_suspend.c: Likewise.
33583         * rt/aio_write.c: Likewise.
33584         * rt/clock_getres.c: Likewise.
33585         * rt/clock_gettime.c: Likewise.
33586         * rt/clock_nanosleep.c: Likewise.
33587         * rt/clock_settime.c: Likewise.
33588         * rt/lio_listio.c: Likewise.
33589         * rt/mq_close.c: Likewise.
33590         * rt/mq_getattr.c: Likewise.
33591         * rt/mq_notify.c: Likewise.
33592         * rt/mq_open.c: Likewise.
33593         * rt/mq_receive.c: Likewise.
33594         * rt/mq_send.c: Likewise.
33595         * rt/mq_setattr.c: Likewise.
33596         * rt/mq_timedreceive.c: Likewise.
33597         * rt/mq_timedsend.c: Likewise.
33598         * rt/mq_unlink.c: Likewise.
33599         * rt/shm_open.c: Likewise.
33600         * rt/shm_unlink.c: Likewise.
33601         * rt/timer_create.c: Likewise.
33602         * rt/timer_delete.c: Likewise.
33603         * rt/timer_getoverr.c: Likewise.
33604         * rt/timer_gettime.c: Likewise.
33605         * rt/timer_settime.c: Likewise.
33606         * setjmp/__longjmp.c: Likewise.
33607         * setjmp/setjmp.c: Likewise.
33608         * signal/kill.c: Likewise.
33609         * signal/killpg.c: Likewise.
33610         * signal/raise.c: Likewise.
33611         * signal/sigaction.c: Likewise.
33612         * signal/sigaltstack.c: Likewise.
33613         * signal/sigblock.c: Likewise.
33614         * signal/sigignore.c: Likewise.
33615         * signal/sigintr.c: Likewise.
33616         * signal/signal.c: Likewise.
33617         * signal/sigpause.c: Likewise.
33618         * signal/sigpending.c: Likewise.
33619         * signal/sigqueue.c: Likewise.
33620         * signal/sigreturn.c: Likewise.
33621         * signal/sigset.c: Likewise.
33622         * signal/sigsetmask.c: Likewise.
33623         * signal/sigstack.c: Likewise.
33624         * signal/sigsuspend.c: Likewise.
33625         * signal/sigtimedwait.c: Likewise.
33626         * signal/sigvec.c: Likewise.
33627         * signal/sigwait.c: Likewise.
33628         * signal/sigwaitinfo.c: Likewise.
33629         * signal/sysv_signal.c: Likewise.
33630         * socket/accept.c: Likewise.
33631         * socket/accept4.c: Likewise.
33632         * socket/bind.c: Likewise.
33633         * socket/connect.c: Likewise.
33634         * socket/getpeername.c: Likewise.
33635         * socket/getsockname.c: Likewise.
33636         * socket/getsockopt.c: Likewise.
33637         * socket/isfdtype.c: Likewise.
33638         * socket/listen.c: Likewise.
33639         * socket/recv.c: Likewise.
33640         * socket/recvfrom.c: Likewise.
33641         * socket/recvmsg.c: Likewise.
33642         * socket/send.c: Likewise.
33643         * socket/sendmsg.c: Likewise.
33644         * socket/sendto.c: Likewise.
33645         * socket/setsockopt.c: Likewise.
33646         * socket/shutdown.c: Likewise.
33647         * socket/sockatmark.c: Likewise.
33648         * socket/socket.c: Likewise.
33649         * socket/socketpair.c: Likewise.
33650         * stdio-common/ctermid.c: Likewise.
33651         * stdio-common/cuserid.c: Likewise.
33652         * stdio-common/remove.c: Likewise.
33653         * stdio-common/rename.c: Likewise.
33654         * stdio-common/renameat.c: Likewise.
33655         * stdio-common/tempname.c: Likewise.
33656         * stdlib/getcontext.c: Likewise.
33657         * stdlib/makecontext.c: Likewise.
33658         * stdlib/setcontext.c: Likewise.
33659         * stdlib/swapcontext.c: Likewise.
33660         * stdlib/system.c: Likewise.
33661         * streams/fattach.c: Likewise.
33662         * streams/fdetach.c: Likewise.
33663         * streams/getmsg.c: Likewise.
33664         * streams/getpmsg.c: Likewise.
33665         * streams/putmsg.c: Likewise.
33666         * streams/putpmsg.c: Likewise.
33667         * sysdeps/unix/bsd/getpt.c: Likewise.
33668         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
33669         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
33670         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
33671         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
33672         Likewise.
33673         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
33674         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
33675         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
33676         * sysvipc/msgctl.c: Likewise.
33677         * sysvipc/msgget.c: Likewise.
33678         * sysvipc/msgrcv.c: Likewise.
33679         * sysvipc/msgsnd.c: Likewise.
33680         * sysvipc/semctl.c: Likewise.
33681         * sysvipc/semget.c: Likewise.
33682         * sysvipc/semop.c: Likewise.
33683         * sysvipc/semtimedop.c: Likewise.
33684         * sysvipc/shmat.c: Likewise.
33685         * sysvipc/shmctl.c: Likewise.
33686         * sysvipc/shmdt.c: Likewise.
33687         * sysvipc/shmget.c: Likewise.
33688         * termios/tcdrain.c: Likewise.
33689         * termios/tcflow.c: Likewise.
33690         * termios/tcflush.c: Likewise.
33691         * termios/tcgetattr.c: Likewise.
33692         * termios/tcgetpgrp.c: Likewise.
33693         * termios/tcsendbrk.c: Likewise.
33694         * termios/tcsetattr.c: Likewise.
33695         * termios/tcsetpgrp.c: Likewise.
33696         * time/adjtime.c: Likewise.
33697         * time/clock.c: Likewise.
33698         * time/getitimer.c: Likewise.
33699         * time/gettimeofday.c: Likewise.
33700         * time/setitimer.c: Likewise.
33701         * time/settimeofday.c: Likewise.
33702         * time/stime.c: Likewise.
33703         * time/time.c: Likewise.
33704
33705 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
33706
33707         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
33708         /usr/old/bin.
33709
33710         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
33711         instead of spaces.
33712         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
33713
33714 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
33715
33716         [BZ #14796]
33717         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
33718         FE_TONEAREST before applying Dekker multiplication and Knuth
33719         addition.  Clear inexact exceptions and check for exact zero
33720         results afterwards.
33721         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
33722         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
33723         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
33724         * math/libm-test.inc (fma_test): Add more tests.
33725         (fma_test_towardzero): Likewise.
33726         (fma_test_downward): Likewise.
33727         (fma_test_upward): Likewise.
33728         * sysdeps/generic/math_private.h (default_libc_fesetround): New
33729         function.
33730         (libc_fesetround): New macro.
33731         (libc_fesetroundf): Likewise.
33732         (libc_fesetroundl): Likewise.
33733         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
33734         function.
33735         (libc_fesetround_387): Likewise.
33736         (libc_fesetroundf): New macro.
33737         (libc_fesetround): Likewise.
33738         (libc_fesetroundl): Likewise.
33739         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
33740         function.
33741         (libc_fesetroundf): New macro.
33742         (libc_fesetround): Likewise.
33743         (libc_fesetroundl): Likewise.
33744         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
33745         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
33746         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
33747         libm_hidden_ver.
33748         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
33749         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
33750         libm_hidden_def.
33751         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
33752         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
33753         libm_hidden_ver.
33754         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
33755         libm_hidden_def.
33756
33757         [BZ #3439]
33758         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
33759         integer constant usable in #if and use that to give value to enum
33760         constant.
33761         (FE_DIVBYZERO): Likewise.
33762         (FE_UNDERFLOW): Likewise.
33763         (FE_OVERFLOW): Likewise.
33764         (FE_INVALID): Likewise.
33765         (FE_INVALID_SNAN): Likewise.
33766         (FE_INVALID_ISI): Likewise.
33767         (FE_INVALID_IDI): Likewise.
33768         (FE_INVALID_ZDZ): Likewise.
33769         (FE_INVALID_IMZ): Likewise.
33770         (FE_INVALID_COMPARE): Likewise.
33771         (FE_INVALID_SOFTWARE): Likewise.
33772         (FE_INVALID_SQRT): Likewise.
33773         (FE_INVALID_INTEGER_CONVERSION): Likewise.
33774         (FE_TONEAREST): Likewise.
33775         (FE_TOWARDZERO): Likewise.
33776         (FE_UPWARD): Likewise.
33777         (FE_DOWNWARD): Likewise.
33778         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
33779         (FE_DIVBYZERO): Likewise.
33780         (FE_OVERFLOW): Likewise.
33781         (FE_UNDERFLOW): Likewise.
33782         (FE_INEXACT): Likewise.
33783         (FE_TONEAREST): Likewise.
33784         (FE_DOWNWARD): Likewise.
33785         (FE_UPWARD): Likewise.
33786         (FE_TOWARDZERO): Likewise.
33787         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
33788         (FE_UNDERFLOW): Likewise.
33789         (FE_OVERFLOW): Likewise.
33790         (FE_DIVBYZERO): Likewise.
33791         (FE_INVALID): Likewise.
33792         (FE_TONEAREST): Likewise.
33793         (FE_TOWARDZERO): Likewise.
33794         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
33795         (FE_OVERFLOW): Likewise.
33796         (FE_UNDERFLOW): Likewise.
33797         (FE_DIVBYZERO): Likewise.
33798         (FE_INEXACT): Likewise.
33799         (FE_TONEAREST): Likewise.
33800         (FE_TOWARDZERO): Likewise.
33801         (FE_UPWARD): Likewise.
33802         (FE_DOWNWARD): Likewise.
33803         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
33804         (FE_DIVBYZERO): Likewise.
33805         (FE_OVERFLOW): Likewise.
33806         (FE_UNDERFLOW): Likewise.
33807         (FE_INEXACT): Likewise.
33808         (FE_TONEAREST): Likewise.
33809         (FE_DOWNWARD): Likewise.
33810         (FE_UPWARD): Likewise.
33811         (FE_TOWARDZERO): Likewise.
33812
33813 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
33814
33815         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
33816
33817 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
33818
33819         * scripts/cross-test-ssh.sh (command): Use newlines to separate
33820         commands.  Quote $PWD.
33821         (blacklist_exports): Don't use remove_newlines.  Replace "declare
33822         -x" by "export".
33823         (remove_newlines): Remove.
33824
33825 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
33826
33827         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
33828         * stdlib/stdlib.h (atof): Moved to ...
33829         * include/bits/stdlib-float.h: Here.  New file.
33830         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
33831         * stdlib/bits/stdlib-float.h: New file.
33832         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
33833         -mno-sse -mno-mmx.
33834         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
33835         <xmmintrin.h>.
33836
33837 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
33838
33839         * conform/conformtest.pl (@headers): Add fenv.h.
33840         * conform/data/fenv.h-data: New file.
33841         * include/fenv.h [_ISOMAC]: Disable all contents of file except
33842         include of <math/fenv.h>.
33843
33844         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
33845         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
33846         && !UNIX98].  Enables tests for XOPEN2K8.
33847         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
33848         POSIX2008]: Likewise.
33849
33850         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
33851         (struct rusage): Do not expect type or its members.
33852
33853         [BZ #3439]
33854         * math/math.h (FP_NAN): Define macro to integer constant usable in
33855         #if and use that to give value to enum constant.
33856         (FP_INFINITE): Likewise.
33857         (FP_ZERO): Likewise.
33858         (FP_SUBNORMAL): Likewise.
33859         (FP_NORMAL): Likewise.
33860
33861 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
33862
33863         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
33864         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
33865         arguments.
33866
33867 2012-11-02  Roland McGrath  <roland@hack.frob.com>
33868
33869         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
33870         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
33871         autoconf-time if not.
33872         * configure.in: Remove AC_PREREQ.
33873
33874 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
33875
33876         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
33877         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
33878         of the internal implementation.
33879
33880 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
33881
33882         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
33883         except include of <misc/sys/syslog.h>.
33884
33885 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
33886
33887         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
33888         function returns with a NULL context exit with zero.
33889
33890 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
33891
33892         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
33893
33894 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
33895
33896         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
33897         (run_program_cmd): This.
33898         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
33899         (tst_langinfo): New variable.  Use it.
33900
33901 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
33902
33903         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
33904         floating point opcodes.
33905
33906 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
33907
33908         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
33909         variable.
33910
33911         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
33912
33913         * sysdeps/mach/hurd/powerpc: Remove directory.
33914         * sysdeps/mach/powerpc: Likewise.
33915
33916 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
33917
33918         * scripts/check-local-headers.sh: Ignore c++ headers.
33919
33920 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
33921
33922         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
33923         __libc_cleanup_region_start argument.
33924
33925 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
33926
33927         [BZ #14784]
33928         [BZ #14785]
33929         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
33930         x * y using scaling, not as x * y + z.
33931         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
33932         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
33933         * math/libm-test.inc (fma_test): Add more tests.
33934         (fma_test_towardzero): Likewise.
33935         (fma_test_downward): Likewise.
33936         (fma_test_upward): Likewise.
33937
33938 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
33939
33940         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
33941
33942 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
33943
33944         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
33945         New variable.
33946
33947 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
33948
33949         * rt/tst-shm.c (worker): Correct checking for mmap failure.
33950
33951 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
33952
33953         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
33954         Fix sort order.
33955         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
33956         Likewise.
33957
33958 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
33959
33960         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
33961         Fix the order of the list for glibc 2.17.
33962         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
33963         Likewise.
33964
33965 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
33966
33967         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33968
33969 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
33970
33971         [BZ #14610]
33972         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
33973         for low part of x being zero before using __atanl (y).
33974         * math/libm-test.inc (atan2_test): Add another test.
33975
33976         * manual/install.texi (Configuring and compiling): Document
33977         general use of test-wrapper and test-wrapper-env.
33978         * INSTALL: Regenerated.
33979
33980         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
33981         (__fma): Do not extract and scale down low bits on after-rounding
33982         systems when result rounded to normal precision would have normal
33983         exponent.
33984         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
33985         (__fmal): Do not extract and scale down low bits on after-rounding
33986         systems when result rounded to normal precision would have normal
33987         exponent.
33988         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
33989         (__fmal): Do not extract and scale down low bits on after-rounding
33990         systems when result rounded to normal precision would have normal
33991         exponent.
33992         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
33993         macro.
33994         (fma_test): Add more tests.
33995         (fma_test_towardzero): Likewise.
33996         (fma_test_downward): Likewise.
33997         (fma_test_upward): Likewise.
33998
33999 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
34000
34001         * sysdeps/i386/tininess.h: Renamed to ...
34002         * sysdeps/x86/tininess.h: This.
34003         * sysdeps/x86_64/tininess.h: Removed.
34004
34005 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
34006
34007         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
34008         input.  Use $(build-program-cmd).
34009         ($(objpfx)tst-array1-static.out): Likewise.
34010         ($(objpfx)tst-array2.out): Likewise.
34011         ($(objpfx)tst-array3.out): Likewise.
34012         ($(objpfx)tst-array4.out): Likewise.
34013         ($(objpfx)tst-array5.out): Likewise.
34014         ($(objpfx)tst-array5-static.out): Likewise.
34015
34016 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
34017
34018         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
34019         if defined.
34020
34021         * nss/nsswitch.h (nss_interface_function): Provide new
34022         macro for use with NSS functions.
34023         * grp/initgroups.c: Use new macro.
34024         * nss/getXXbyYY.c: Likewise.
34025         * nss/getXXbyYY_r.c: Likewise.
34026         * nss/getXXent.c: Likewise.
34027         * nss/getXXent_r.c: Likewise.
34028         * sysdeps/posix/getaddrinfo.c: Likewise.
34029
34030 2012-10-30  Andreas Jaeger  <aj@suse.de>
34031
34032         * po/ru.po: Update Russion translation from translation project.
34033
34034 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
34035
34036         [BZ #14152]
34037         [BZ #14783]
34038         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
34039         result and shift together with sticky bit instead of replicating
34040         round-to-nearest rounding.
34041         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
34042         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
34043         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
34044         missing underflow exceptions.
34045         (fma_test_towardzero): Add more tests.
34046         (fma_test_downward): Likewise.
34047         (fma_test_upward): Likewise.
34048
34049         [BZ #14047]
34050         * sysdeps/generic/tininess.h: New file.
34051         * sysdeps/i386/tininess.h: Likewise.
34052         * sysdeps/sh/tininess.h: Likewise.
34053         * sysdeps/x86_64/tininess.h: Likewise.
34054         * stdlib/tst-strtod-underflow.c: Likewise.
34055         * stdlib/tst-tininess.c: Likewise.
34056         * stdlib/strtod_l.c: Include <tininess.h>.
34057         (round_and_return): Do not set errno for exact underflow cases.
34058         Force an underflow exception when setting errno for underflow.
34059         Determine underflow based on rounding to normal precision if
34060         TININESS_AFTER_ROUNDING.
34061         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
34062         ERANGE for exact underflow cases.
34063         * stdlib/Makefile (tests): Add tst-tininess and
34064         tst-strtod-underflow.
34065         ($(objpfx)tst-tininess): Use $(link-libm).
34066         ($(objpfx)tst-strtod-underflow): Likewise.
34067
34068 2012-10-30  Andreas Jaeger  <aj@suse.de>
34069
34070         [BZ#14767]
34071         * elf/Makefile (tests): Remove conditional for have-initfini-array
34072         since this is now always required and the variable does not exist
34073         anymore.
34074         (tests-static): Likewise.
34075         (modules-names): Likewise.
34076
34077         * po/eo.po: Add Esperanto translation from translation project.
34078
34079         * elf/tst-array1.c (fini_array): Make writeable so that it can be
34080         merged with constructor/destructor.
34081         (init_array): Likewise.
34082         * elf/tst-array2dep.c (fini_array): Likewise.
34083         (init_array): Likewise.
34084
34085 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
34086
34087         * manual/message.texi: Delete @cartouche tags.
34088
34089 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
34090
34091         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
34092         EOPNOTSUPP.
34093         * sysdeps/mach/hurd/fsync.c: Likewise.
34094
34095         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
34096         [_POSIX_REALTIME_SIGNALS]: Change condition to
34097         [_POSIX_REALTIME_SIGNALS > 0].
34098
34099 2012-10-27  Andreas Jaeger  <aj@suse.de>
34100
34101         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
34102         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
34103         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
34104         [__WORDSIZE != 64]: Likewise.
34105
34106 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
34107
34108         *  iconvdata/tst-table.sh: Remove ${SHELL}.
34109         *  iconvdata/tst-tables.sh: Likewise.
34110
34111 2012-10-25  David S. Miller  <davem@davemloft.net>
34112
34113         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
34114         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
34115         of strtoull.
34116
34117         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
34118         ifunc-impl-list.c
34119         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
34120         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
34121         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
34122         file.
34123
34124 2012-10-25  Roland McGrath  <roland@hack.frob.com>
34125
34126         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
34127         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
34128         __getdirentries.
34129
34130 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
34131             Jim Blandy  <jimb@codesourcery.com>
34132
34133         * scripts/cross-test-ssh.sh: New file.
34134         * manual/install.texi (Configuring and compiling): Document use of
34135         cross-test-ssh.sh.
34136         * INSTALL: Regenerated.
34137
34138 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
34139
34140         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
34141         EOPNOTSUPP.
34142
34143 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
34144
34145         * Makeconfig (run-program-prefix): Fix comment.
34146
34147 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
34148             Jim Blandy  <jimb@codesourcery.com>
34149
34150         * Makeconfig (test-wrapper): New variable,
34151         (test-wrapper-env): Likewise.
34152         [$(cross-compiling) = yes && $(test-wrapper) != ""]
34153         (run-built-tests): Define to yes.
34154         (run-program-prefix): Use $(test-wrapper).
34155         (built-program-cmd): Likewise.
34156         * Rules (make-test-out): Use $(test-wrapper-env) and
34157         $(host-built-program-cmd).
34158         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
34159         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
34160         tst-pathopt.sh.
34161         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
34162         $(test-wrapper-env) to tst-rtld-load-self.sh.
34163         ($(objpfx)order2.out): Use $(test-wrapper).
34164         ($(objpfx)tst-initorder.out): Likewise.
34165         ($(objpfx)tst-initorder2.out): Likewise.
34166         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
34167         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
34168         (test_wrapper_env): New variable.  Use it to run ld.so.
34169         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
34170         Use it to run ld.so.
34171         (test_wrapper_env): Likewise.
34172         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
34173         $(test-wrapper) to run-iconv-test.sh.
34174         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
34175         (ICONV): Use $test_wrapper.
34176         * posix/Makefile ($(objpfx)globtest.out): Pass
34177         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
34178         globtest.sh, not $(run-program-prefix).
34179         * posix/globtest.sh (run_via_rtld_prefix): New variable.
34180         (test_wrapper): Likewise.
34181         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
34182         set together with run_via_rtld_prefix.
34183         (run_program_prefix): Define in terms of test_wrapper and
34184         run_via_rtld_prefix.
34185
34186 2012-10-24  Roland McGrath  <roland@hack.frob.com>
34187
34188         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
34189         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
34190         Targets removed.
34191
34192         [BZ #14743]
34193         * include/time.h: Remove librt_hidden_proto (clock_gettime).
34194         Declare __clock_getres, __clock_gettime, __clock_settime,
34195         __clock_nanosleep, and __clock_getcpuclockid.
34196         * rt/clock_gettime.c: Define __clock_gettime as an alias.
34197         Remove librt_hidden_def (clock_gettime).
34198         * sysdeps/unix/clock_gettime.c: Likewise.
34199         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
34200         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
34201         * rt/clock_getres.c: Define __clock_getres as an alias.
34202         * sysdeps/posix/clock_getres.c: Likewise.
34203         * rt/clock_settime.c: Define __clock_settime as an alias.
34204         * sysdeps/unix/clock_settime.c: Likewise.
34205         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
34206         * sysdeps/unix/clock_nanosleep.c: Likewise.
34207         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
34208         * rt/clock-compat.c: New file.
34209         * rt/Makefile (librt-routines): Add clock-compat and move
34210         $(clock-routines) to ...
34211         (routines): ... here, new variable.
34212         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
34213         Don't add get_clockfreq here.
34214         * rt/Versions (libc: GLIBC_2.17): New version set.
34215         Add clock_* symbols here.
34216         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
34217         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
34218         (GLIBC_2.17): Add clock_* symbols.
34219         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
34220         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
34221         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
34222         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
34223         Likewise.
34224         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
34225         Likewise.
34226         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
34227         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
34228         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
34229         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
34230         * NEWS: Mention the move.
34231
34232         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
34233         Use __open, __read, __close rather than their public counterparts.
34234         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
34235         (__get_clockfreq_via_cpuinfo): Likewise.
34236         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
34237         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
34238
34239         * config.h.in (HAVE_IFUNC): New #undef.
34240         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
34241         was successful.
34242         * configure: Regenerated.
34243
34244 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
34245
34246         * configure.in: Move READELF check to start of file.
34247         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
34248         libc_cv_asm_gnu_indirect_function in the process.
34249         * configure: Regenerated.
34250
34251 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
34252
34253         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
34254         send the output to /dev/null.
34255         (libc_cv_cc_with_libunwind): Likewise.
34256         (libc_cv_as_noexecstack): Likewise.
34257         * configure: Regenerate.
34258
34259 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
34260
34261         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
34262
34263         * posix/globtest.sh (TMPDIR): Do not set.
34264         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
34265         (testout): Likewise.
34266
34267 2012-10-24  Andreas Jaeger  <aj@suse.de>
34268
34269         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
34270         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
34271         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
34272         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
34273         posix_fadvise64, posix_fallocate64.
34274
34275         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
34276         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
34277         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
34278         Likewise.
34279         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
34280         Likewise.
34281         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
34282
34283         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
34284         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
34285         <bits/fcntl-linux.h>.
34286         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
34287
34288         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
34289         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
34290         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
34291         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
34292         [__WORDSIZE != 64]: Likewise.
34293
34294 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
34295
34296         * Makeconfig (run-built-tests): New variable.
34297         * Rules [$(cross-compiling) = yes]: Change condition to
34298         [$(run-built-tests) = no].
34299         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
34300         to [$(run-built-tests) = yes].
34301         * elf/Makefile [$(cross-compiling) = no]: Likewise
34302         * grp/Makefile [$(cross-compiling) = no]: Likewise.
34303         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
34304         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
34305         * intl/Makefile [$(cross-compiling) = no]: Likewise.
34306         * io/Makefile [$(cross-compiling) = no]: Likewise.
34307         * libio/Makefile [$(cross-compiling) = no]: Likewise.
34308         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
34309         * misc/Makefile [$(cross-compiling) = no]: Likewise.
34310         * posix/Makefile [$(cross-compiling) = no]: Likewise.
34311         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
34312         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
34313         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
34314         * string/Makefile [$(cross-compiling) = no]: Likewise.
34315
34316         * posix/Makefile ($(objpfx)globtest.out): Pass
34317         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
34318         $(rtld-installed-name).
34319         * posix/globtest.sh (elf_objpfx): Remove variable.
34320         (rtld_installed_name): Likewise.
34321         (library_path): Likewise.
34322         (run_program_prefix): New variable.  Use for running globtest
34323         binary.
34324
34325 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
34326             Joseph Myers  <joseph@codesourcery.com>
34327
34328         * Makeconfig (host-built-program-cmd): New variable.
34329         * elf/Makefile (tst-stackguard1-ARGS): Use
34330         $(host-built-program-cmd).
34331         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
34332         (tst-spawn-ARGS): Likewise.
34333         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
34334
34335 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
34336             Jim Blandy  <jimb@codesourcery.com>
34337
34338         * Makeconfig (run-via-rtld-prefix): New variable.
34339         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
34340         (built-program-cmd): Likewise.
34341
34342 2012-10-22  Andreas Jaeger  <aj@suse.de>
34343
34344         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
34345         __O_RSYNC if it exists, otherwise to O_SYNC.
34346
34347 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
34348             Joseph Myers  <joseph@codesourcery.com>
34349
34350         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
34351         /dev/null.
34352         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
34353         from /dev/null
34354         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
34355         /dev/null.
34356
34357 2012-10-22  Andreas Jaeger  <aj@suse.de>
34358
34359         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
34360         Define always.
34361         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
34362
34363         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34364         bits/fcntl-linux.h.
34365
34366         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
34367         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
34368
34369         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
34370         to __O_LARGEFILE.
34371         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
34372         to __O_LARGEFILE.
34373
34374 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
34375             Joseph Myers  <joseph@codesourcery.com>
34376
34377         * config.make.in (NM): New variable.
34378
34379 2012-10-21  Andreas Jaeger  <aj@suse.de>
34380
34381         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
34382         definitions and declarations that are provided by
34383         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
34384
34385 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
34386
34387         [BZ #14683]
34388         * elf/Makefile (tests-static): Add tst-leaks1-static.
34389         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
34390         ($(objpfx)tst-leaks1-static): New rule.
34391         ($(objpfx)tst-leaks1-static-mem): Likewise.
34392         (tst-leaks1-static-ENV): New macro.
34393         * elf/dl-open.c (dl_open_worker): Check the main application
34394         only if SHARED is defined.
34395         * elf/tst-leaks1-static.c: New file.
34396
34397 2012-10-20  Andreas Jaeger  <aj@suse.de>
34398
34399         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
34400         generic values for Linux.
34401         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
34402         and declarations that are provided by <bits/fcntl-linux.h> and
34403         include <bits/fcntl-linux.h>.
34404         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
34405         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
34406
34407 2012-10-20  Roland McGrath  <roland@hack.frob.com>
34408
34409         * io/fcntl.h: Move include of <bits/types.h> to the top and
34410         include it unconditionally.
34411
34412 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
34413
34414         * wcsmbs/Makefile (tests-ifunc): New variable.
34415         (tests): Add $(tests-ifunc).
34416         * wcsmbs/test-wcschr-ifunc.c: New file.
34417         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
34418         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
34419         * wcsmbs/test-wcslen-ifunc.c: Likewise.
34420         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
34421         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
34422
34423         * string/Makefile (tests-ifunc): New variable.
34424         (tests): Add $(tests-ifunc).
34425         * string/test-memccpy.c (TEST_NAME): New macro.
34426         * string/test-memchr.c (TEST_NAME): Likewise.
34427         * string/test-memcmp.c (TEST_NAME): Likewise.
34428         * string/test-memcpy.c (TEST_NAME): Likewise.
34429         * string/test-memmem.c (TEST_NAME): Likewise.
34430         * string/test-memmove.c (TEST_NAME): Likewise.
34431         * string/test-memset.c (TEST_NAME): Likewise.
34432         * string/test-rawmemchr.c (TEST_NAME): Likewise.
34433         * string/test-stpcpy.c (TEST_NAME): Likewise.
34434         * string/test-stpncpy.c (TEST_NAME): Likewise.
34435         * string/test-strcasecmp.c (TEST_NAME): Likewise.
34436         * string/test-strcasestr.c (TEST_NAME): Likewise.
34437         * string/test-strcat.c (TEST_NAME): Likewise.
34438         * string/test-strchr.c (TEST_NAME): Likewise.
34439         * string/test-strcmp.c(TEST_NAME): Likewise.
34440         * string/test-strcpy.c (TEST_NAME): Likewise.
34441         * string/test-strcspn.c (TEST_NAME): Likewise.
34442         * string/test-strlen.c (TEST_NAME): Likewise.
34443         * string/test-strncasecmp.c (TEST_NAME): Likewise.
34444         * string/test-strncmp.c (TEST_NAME): Likewise.
34445         * string/test-strncpy.c (TEST_NAME): Likewise.
34446         * string/test-strnlen.c (TEST_NAME): Likewise.
34447         * string/test-strpbrk.c (TEST_NAME): Likewise.
34448         * string/test-strrchr.c (TEST_NAME): Likewise.
34449         * string/test-strspn.c (TEST_NAME): Likewise.
34450         * string/test-strstr.c (TEST_NAME): Likewise.
34451         * string/test-bcopy-ifunc.c: New file.
34452         * string/test-bzero-ifunc.c: Likewise.
34453         * string/test-memccpy-ifunc.c: Likewise.
34454         * string/test-memchr-ifunc.c: Likewise.
34455         * string/test-memcmp-ifunc.c: Likewise.
34456         * string/test-memcpy-ifunc.c: Likewise.
34457         * string/test-memmem-ifunc.c: Likewise.
34458         * string/test-memmove-ifunc.c: Likewise.
34459         * string/test-mempcpy-ifunc.c: Likewise.
34460         * string/test-memset-ifunc.c: Likewise.
34461         * string/test-rawmemchr-ifunc.c: Likewise.
34462         * string/test-stpcpy-ifunc.c: Likewise.
34463         * string/test-stpncpy-ifunc.c: Likewise.
34464         * string/test-strcasecmp-ifunc.c: Likewise.
34465         * string/test-strcasestr-ifunc.c: Likewise.
34466         * string/test-strcat-ifunc.c: Likewise.
34467         * string/test-strchr-ifunc.c: Likewise.
34468         * string/test-strchrnul-ifunc.c: Likewise.
34469         * string/test-strcmp-ifunc.c: Likewise.
34470         * string/test-strcpy-ifunc.c: Likewise.
34471         * string/test-strcspn-ifunc.c: Likewise.
34472         * string/test-strlen-ifunc.c: Likewise.
34473         * string/test-strncasecmp-ifunc.c: Likewise.
34474         * string/test-strncat-ifunc.c: Likewise.
34475         * string/test-strncmp-ifunc.c: Likewise.
34476         * string/test-strncpy-ifunc.c: Likewise.
34477         * string/test-strnlen-ifunc.c: Likewise.
34478         * string/test-strpbrk-ifunc.c: Likewise.
34479         * string/test-strrchr-ifunc.c: Likewise.
34480         * string/test-strspn-ifunc.c: Likewise.
34481         * string/test-strstr-ifunc.c: Likewise.
34482
34483         * debug/Makefile (tests-ifunc): New variable.
34484         (tests): Add $(tests-ifunc).
34485         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
34486         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
34487         * debug/test-stpcpy_chk-ifunc.c: New file.
34488         * debug/test-strcpy_chk-ifunc.c: Likewise.
34489
34490 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
34491
34492         [BZ #13601]
34493         * elf/dl-load.c (open_verify): Retry read if the entire ELF
34494         header is not read in.
34495
34496 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
34497
34498         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
34499         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
34500         directly.  Pass built executable to script as
34501         $(built-program-cmd).
34502         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
34503         $testprogram without using LD_LIBRARY_PATH and $ldso.
34504
34505         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
34506         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
34507         $(rtld-installed-name).
34508         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
34509         (rtld_installed_name): Likewise.
34510         (library_path): Likewise.
34511         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
34512         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
34513         $(run-program-prefix) to tst-tables.sh.
34514         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
34515         it to run tst-table-from and tst-table-to.
34516         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
34517         Pass it to tst-table.sh.
34518         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
34519         $(run-program-prefix) to tst-gettext.sh.
34520         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
34521         tst-translit.sh.
34522         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
34523         tst-gettext2.sh.
34524         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
34525         to run tst-gettext.
34526         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
34527         to run tst-gettext2.
34528         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
34529         to run tst-translit.
34530         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
34531         $(run-program-prefix) to tst-mtrace.sh.
34532         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
34533         to run tst-mtrace.
34534         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
34535         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
34536         $(rtld-installed-name).
34537         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
34538         (rtld_installed_name): Likewise.
34539         (run_program_prefix): New variable.  Use it to run wordexp-test.
34540
34541         * Makeconfig (ARCH): Remove all definitions.
34542         (machine): Likewise.
34543         [ARCH]: Remove conditional code.
34544         [!objdir]: Give error.
34545         [!objdir] (objpfx): Remove.
34546         [!objdir] (common-objpfx): Likewise.
34547         [!objdir] (common-objdir): Likewise.
34548         * configure.in (config_makefile): Remove.  Hardcode Makefile in
34549         AC_CONFIG_FILES call.
34550         * configure: Regenerated.
34551
34552         [BZ #13888]
34553         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
34554         or TMPDIR.
34555         (testout): Likewise.
34556
34557         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
34558         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
34559         $(rtld-installed-name).
34560         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
34561         (rtld_installed_name): Likwise.
34562         (runit): Remove function.
34563         (run_getconf): New variable,  Use it for running getconf binary.
34564
34565 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
34566
34567         [BZ #14716]
34568         * string/test-memmem.c (check_result): New function.
34569         (do_one_test): Use it.
34570         (check1): New function.
34571         (test_main): Use it.
34572
34573 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
34574
34575         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
34576
34577 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
34578
34579         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
34580         (_G_LSEEK64): Likewise.
34581         (_G_MMAP64): Likewise.
34582         (_G_FSTAT64): Likewise.
34583         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
34584         (_G_LSEEK64): Likewise.
34585         (_G_MMAP64): Likewise.
34586         (_G_FSTAT64): Likewise.
34587         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
34588         unconditional.  Call __mmap64 directly.
34589         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
34590         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
34591         __lseek64 directly.
34592         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
34593         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
34594         __mmap64 directly.
34595         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
34596         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
34597         __lseek64 directly.
34598         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
34599         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
34600         __lseek64 directly.
34601         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
34602         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
34603         __lseek64 directly.
34604         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
34605         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
34606         __fxstat64 directly.
34607         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
34608         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
34609         unconditional.
34610         (freopen64) [!_G_OPEN64]: Remove conditional code.
34611         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
34612         unconditional.
34613         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
34614         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
34615         unconditional.
34616         (ftello64) [!_G_LSEEK64]: Remove conditional code.
34617         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
34618         unconditional.
34619         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
34620         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
34621         unconditional.
34622         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
34623         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
34624         unconditional.
34625         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
34626         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
34627         unconditional.
34628         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
34629         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
34630         unconditional.
34631         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
34632
34633 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
34634
34635         [BZ #12140]
34636         * manual/memory.texi (Malloc Tunable Parameters): Add note
34637         about free list pointers overwriting some perturb bytes.
34638         Wording suggested by Roland McGrath.
34639
34640 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
34641
34642         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
34643         (lgamma_test): Likewise.
34644         (tgamma_test): Likewise.
34645
34646 2012-10-16  Florian Weimer  <fweimer@redhat.com>
34647
34648         [BZ #14700]
34649         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
34650         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
34651
34652 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
34653
34654         * NEWS: Mention BZ #14716.
34655         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
34656         when removing AVAILABLE1_USES_J macro.
34657
34658 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
34659
34660         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
34661         (__bswap_64): __uint64_t for unsigned 64-bit int.
34662
34663 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
34664
34665         * include/string.h (memmem): Declare libc hidden alias.
34666         * string/memmem.c (memmem): Define libc hidden alias.
34667         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
34668         __read, __close instead of open, read, close.
34669
34670 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
34671
34672         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
34673         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
34674         global and hidden.
34675         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
34676         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
34677         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
34678         Likewise.
34679         (__rawmemchr_sse2): Likewise.
34680         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
34681         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
34682         (__strchr_sse2): Likewise.
34683         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
34684         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
34685         (__strcasecmp_sse2): Likewise.
34686         (__strncasecmp_sse2): Likewise.
34687         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
34688         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
34689         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
34690         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
34691         (__strrchr_sse2): Likewise.
34692         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
34693         ifunc-impl-list.c.
34694         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
34695         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
34696         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
34697         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
34698         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
34699         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
34700         * sysdeps/x86_64/multiarch/memset.S: Likewise.
34701         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
34702         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
34703         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
34704         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
34705         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
34706         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
34707         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
34708         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
34709         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
34710         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
34711         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
34712         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
34713         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
34714         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
34715         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
34716         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
34717         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
34718         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
34719         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
34720         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
34721         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
34722         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
34723         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
34724
34725         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
34726         global and hidden.
34727         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
34728         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
34729         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
34730         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
34731         Likewise.
34732         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
34733         Likewise.
34734         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
34735         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
34736         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
34737         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
34738         ifunc-impl-list.c.
34739         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
34740         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
34741         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
34742         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
34743         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
34744         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
34745         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
34746         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
34747         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
34748         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
34749         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
34750         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
34751         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
34752         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
34753         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
34754         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
34755         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
34756         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
34757         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
34758         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
34759         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
34760         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
34761         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
34762         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
34763         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
34764         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
34765         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
34766         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
34767         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
34768         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
34769         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
34770         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
34771         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
34772         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
34773         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
34774         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
34775         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
34776         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
34777         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
34778         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
34779         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
34780
34781         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
34782         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
34783         * include/ifunc-impl-list.h: New file.
34784         * misc/ifunc-impl-list.c: Likewise.
34785         * misc/Makefile (routines): Add ifunc-impl-list.
34786         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
34787         * string/test-string.h: Include <ifunc-impl-list.h>.
34788         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
34789         TEST_NAME]: New variables.
34790         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
34791         are defined.
34792         (test_init): Call __libc_ifunc_impl_list to initialize
34793         func_list if TEST_IFUNC and TEST_NAME are defined.
34794
34795         * string/Makefile (strop-tests): Add bcopy and bzero.
34796         * string/test-bcopy.c: New file.
34797         * string/test-bzero.c: Likewise.
34798         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
34799         defined.
34800         * string/test-memset.c: Support bzero test if TEST_BZERO is
34801         defined.
34802         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
34803         __libc_memmove.
34804         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
34805         __libc_memset.
34806         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
34807         of memset.
34808
34809 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
34810
34811         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
34812         * configure: Regenerated.
34813
34814         * Makeconfig (+link-static-before-libc): Don't include
34815         $(link-static-libc).
34816
34817         * libio/libio.h (_IO_pos_t): Remove.
34818
34819 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
34820
34821         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
34822         McGrath.
34823
34824 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
34825
34826         * crypt/crypt-entry.c: Include fips-private.h.
34827         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
34828         * crypt/md5c-test.c (main): Tolerate disabled MD5.
34829         * sysdeps/unix/sysv/linux/fips-private.h: New file.
34830         * sysdeps/generic/fips-private.h: New file, dummy fallback.
34831
34832 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
34833
34834         * crypt/crypt-private.h: Include stdbool.h.
34835         (_ufc_setup_salt_r): Return bool.
34836         * crypt/crypt-entry.c: Include errno.h.
34837         (__crypt_r): Return NULL with EINVAL for bad salt.
34838         * crypt/crypt_util.c (bad_for_salt): New.
34839         (_ufc_setup_salt_r): Check that salt is long enough and within
34840         the specified alphabet.
34841         * crypt/badsalttest.c: New file.
34842         * crypt/Makefile (tests): Add it.
34843         ($(objpfx)badsalttest): New.
34844
34845 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
34846
34847         * NEWS: Add entry for BZ #14602.
34848
34849 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
34850
34851         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
34852         type-generic.
34853         * math/libm-test.inc: Update comment listing what functions and
34854         macros are tested.
34855         (isgreater_test): New function.
34856         (isgreaterequal_test): Likewise.
34857         (isless_test): Likewise.
34858         (islessequal_test): Likewise.
34859         (islessgreater_test): Likewise.
34860         (isunordered_test): Likewise.
34861         (main): Call the new functions.
34862
34863 2012-10-09  Roland McGrath  <roland@hack.frob.com>
34864
34865         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
34866         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
34867         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
34868         * sysdeps/i386/configure: Regenerated.
34869         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
34870         * sysdeps/mach/configure: Regenerated.
34871         * sysdeps/mach/hurd/configure: Regenerated.
34872         * sysdeps/powerpc/configure: Regenerated.
34873         * sysdeps/powerpc/powerpc32/configure: Regenerated.
34874         * sysdeps/powerpc/powerpc64/configure: Regenerated.
34875         * sysdeps/s390/s390-32/configure: Regenerated.
34876         * sysdeps/s390/s390-64/configure: Regenerated.
34877         * sysdeps/sh/configure: Regenerated.
34878         * sysdeps/sparc/configure: Regenerated.
34879         * sysdeps/unix/sysv/linux/configure: Regenerated.
34880         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
34881         * sysdeps/x86_64/configure: Regenerated.
34882
34883         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
34884         defined.  Don't check if MAP is NULL.
34885
34886 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
34887
34888         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
34889         (_G_stat64): Likewise.
34890         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
34891         (_G_stat64): Likewise.
34892         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
34893         instead of struct _G_stat64.
34894         * libio/fileops.c (mmap_remap_check): Likewise.
34895         (decide_maybe_mmap): Likewise.
34896         (_IO_new_file_seekoff): Likewise.
34897         (_IO_file_stat): Likewise.
34898         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
34899         _G_off64_t.
34900         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
34901         instead of struct _G_stat64.
34902         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
34903
34904 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
34905
34906         [BZ #14602]
34907         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
34908         Replace with ...
34909         (CHECK_EOL): New macro.
34910         (two_way_short_needle): Check beginning of haystack for EOL.  Use
34911         CHECK_EOL.
34912         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
34913         Replace with CHECK_EOL.
34914         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
34915         Replace with CHECK_EOL.
34916
34917 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
34918
34919         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
34920         type-generic.
34921         * math/libm-test.inc: Update comment listing what functions and
34922         macros are tested.
34923         (finite_test): New function.
34924         (isinf_test): Likewise.
34925         (isnan_test): Likewise.
34926         (fpclassify_test): Test subnormal input.
34927         (isfinite_test): Likewise.
34928         (isnormal_test): Likewise.
34929         (main): Call the new functions.
34930
34931 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
34932
34933         [BZ #14660]
34934         * Makerules (%.dynsym): Force C locale when running
34935         $(OBJDUMP) --dynamic-syms.
34936
34937 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
34938
34939         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
34940         <stdint.h>.
34941
34942 2012-10-06  David S. Miller  <davem@davemloft.net>
34943
34944         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
34945         upper 32-bits of the length value in %o2 since we use branch-on-register
34946         tests which consider the entire 64-bit register.
34947
34948 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
34949
34950         * string/test-strstr.c (check2): Add a test for page boundary.
34951
34952 2012-10-05  David S. Miller  <davem@davemloft.net>
34953
34954         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
34955         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
34956         file.
34957         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
34958         sysdep_routines.
34959         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
34960         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
34961         and bzero when HWCAP_SPARC_CRYPTO is present.
34962
34963 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
34964
34965         [BZ #14602]
34966         * string/test-strstr.c (check2): New function.
34967         (test_main): Call check2.
34968
34969         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
34970         and bug-strchr1.
34971         * string/bug-strcasestr1.c (do_test): Moved to ...
34972         * string/test-strcasestr.c (check1): Here.  New function.
34973         (do_one_test): Break out result checking code into ...
34974         (check_result): This.  New function.
34975         (do_one_test): Call check_result.
34976         (test_main): Call check1.
34977         * string/bug-strchr1.c (do_test): Moved to ...
34978         * string/test-strchr.c (check1): Here.  New function.
34979         (do_one_test): Break out result checking code into ...
34980         (check_result): This.  New function.
34981         (do_one_test): Call check_result.
34982         (test_main): Call check1.
34983         * string/bug-strstr1.c (main): Moved to ...
34984         * string/test-strstr.c (check1): Here.  New function.
34985         (do_one_test): Break out result checking code into ...
34986         (check_result): This.  New function.
34987         (do_one_test): Call check_result.
34988         (test_main): Call check1.
34989         * string/bug-strcasestr1.c: Removed.
34990         * string/bug-strchr1.c: Likewise.
34991         * string/bug-strstr1.c: Likewise.
34992
34993         * elf/Makefile (dl-routines): Add hwcaps.
34994         * elf/dl-support.c (_dl_important_hwcaps): Removed.
34995         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
34996         (_dl_important_hwcaps): Moved to ...
34997         * elf/dl-hwcaps.c: Here.  New file.
34998         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
34999
35000         [BZ #14557]
35001         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
35002         if IS_IN_rtld isn't defined.
35003
35004         * elf/dl-support.c (_dl_sysinfo_map): New.
35005         Include "get-dynamic-info.h" and "setup-vdso.h".
35006         (_dl_non_dynamic_init): Call setup_vdso.
35007         * elf/dynamic-link.h: Don't include <assert.h>.
35008         (elf_get_dynamic_info): Moved to ...
35009         * elf/get-dynamic-info.h: Here.  New file.
35010         * elf/dynamic-link.h: Include "get-dynamic-info.h".
35011         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
35012         * elf/setup-vdso.h: Here.  New file.
35013         * elf/rtld.c: Include "setup-vdso.h".
35014         (dl_main): Call setup_vdso.
35015
35016 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
35017
35018         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
35019         creal in comment listing functions tested.  List finite, isinf,
35020         isnan, isless, islessequal, isgreater, isgreaterequal,
35021         islessgreater, isunordered, lgamma_r and pow10 as functions and
35022         macros not tested.  Mention which functions not tested are aliases
35023         for other functions.  Fix typo.  Note that signs of NaNs are not
35024         tested.
35025
35026         * scripts/config.guess: Update from config.git.
35027         * scripts/config.sub: Likewise.
35028
35029 2012-10-04  Roland McGrath  <roland@hack.frob.com>
35030
35031         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
35032         * misc/madvise.c (madvise): Renamed to __madvise.
35033         Make madvise a weak alias.
35034         * include/sys/mman.h: Declare __madvise.
35035         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
35036         * sysdeps/unix/syscalls.list
35037         (madvise): Make __madvise the strong name, and madvise a weak alias.
35038         * sysdeps/unix/sysv/linux/syscalls.list
35039         (madvise, mmap): Remove redundant entries.
35040         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
35041         * malloc/malloc.c (mtrim): Likewise.
35042         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
35043
35044 2012-10-03  Roland McGrath  <roland@hack.frob.com>
35045
35046         * sysdeps/mach/hurd/dl-cache.c: File removed.
35047         * config.h.in (USE_LDCONFIG): New #undef.
35048         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
35049         * configure: Regenerated.
35050         * elf/Makefile (dl-routines): Add dl-cache only under
35051         [$(use-ldconfig) = yes].
35052         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
35053         cache on [USE_LDCONFIG].
35054         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
35055         [USE_LDCONFIG].
35056         * elf/rtld.c (dl_main): Likewise.
35057
35058 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
35059
35060         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
35061         _SC_LEVEL4_CACHE_LINESIZE.
35062
35063 2012-10-03  Roland McGrath  <roland@hack.frob.com>
35064
35065         * sysdeps/unix/bsd/confstr.h: File removed.
35066
35067 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
35068
35069         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
35070         sys/sdt-config.h.
35071
35072 2012-10-02  Roland McGrath  <roland@hack.frob.com>
35073
35074         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
35075         Make 'mapoff' field ElfW(Off) rather than off_t.
35076
35077 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
35078
35079         * nscd/Makefile: Remove nscd-cflags and all its users.
35080         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
35081         (CFLAGS-nonlib): Add compiler flags for nscd modules.
35082
35083         [BZ #10631]
35084         * malloc.c (malloc_printerr): Clarify error message.
35085
35086 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
35087
35088         [BZ #14648]
35089         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35090         Set bit_FMA_Usable if FMA is supported.
35091         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
35092         macro.
35093         (bit_FMA4_Usable): Updated.
35094         (index_FMA_Usable): New macro.
35095         (CPUID_FMA): Likewise
35096         (HAS_FMA): Defined with bit_FMA_Usable.
35097
35098 2012-10-01  Roland McGrath  <roland@hack.frob.com>
35099
35100         * bits/types.h (__swblk_t): Type removed.
35101         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
35102         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
35103         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35104         (__SWBLK_T_TYPE): Likewise.
35105         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
35106         (__SWBLK_T_TYPE): Likewise.
35107         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35108         (__SWBLK_T_TYPE): Likewise.
35109         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
35110         (__SWBLK_T_TYPE): Likewise.
35111
35112 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
35113             Honza Horak <hhorak@redhat.com>
35114
35115         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
35116         (xdr_mapname): Use YPMAXMAP as maxsize.
35117         (xdr_peername): Use YPMAXPEER as maxsize.
35118         (xdr_keydat): Use YPAXRECORD as maxsize.
35119         (xdr_valdat): Use YPMAXRECORD as maxsize.
35120
35121 2012-10-01  Roland McGrath  <roland@hack.frob.com>
35122
35123         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
35124
35125         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
35126         * csu/init-first.c: ... here.
35127         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
35128         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
35129         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
35130         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
35131         * sysdeps/i386/init-first.c: File removed.
35132         * sysdeps/sh/init-first.c: File removed.
35133
35134 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
35135
35136         [BZ #14645]
35137         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
35138         if x * y might underflow to zero and z is zero.
35139         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
35140         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35141         * math/libm-test.inc (min_subnorm_value): New variable.
35142         (fma_test): Add more tests.
35143         (fma_test_towardzero): Likewise.
35144         (fma_test_downward): Likewise
35145         (fma_test_upward): Likewise.
35146         (initialize): Set min_subnorm_value.
35147
35148 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
35149
35150         [BZ #14638]
35151         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
35152         0 + 0.
35153         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
35154         mode for addition resulting in exact zero.
35155         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
35156         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
35157         exact 0 + 0.
35158         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
35159         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35160         * math/libm-test.inc (fma_test): Add more tests.
35161         (fma_test_towardzero): New function.
35162         (fma_test_downward): Likewise.
35163         (fma_test_upward): Likewise.
35164         (main): Call the new functions.
35165
35166 2012-09-28  David S. Miller  <davem@davemloft.net>
35167
35168         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
35169
35170 2012-09-28  Roland McGrath  <roland@hack.frob.com>
35171
35172         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
35173         instead of SIGALRM.
35174
35175         * sysdeps/gnu/_G_config.h: Moved to ...
35176         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
35177         * sysdeps/mach/hurd/_G_config.h: Moved to ...
35178         * sysdeps/generic/_G_config.h: ... here.
35179
35180         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
35181
35182         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
35183
35184         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
35185         Conditionalize target on [libnss_test1.so-version].
35186
35187         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
35188
35189         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
35190         (elfobjdir): Move out of conditionals.
35191
35192         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
35193         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
35194         (__nss_lookup_function): Conditionalize label remove_from_tree on
35195         [!DO_STATIC_NSS || SHARED], matching its only use.
35196
35197 2012-09-28  David S. Miller  <davem@davemloft.net>
35198
35199         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
35200         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
35201         file.
35202         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
35203         sysdep_routines.
35204         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
35205         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
35206         when HWCAP_SPARC_CRYPTO is present.
35207
35208 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
35209
35210         * io/tst-mknodat.c: Create a FIFO instead of a socket.
35211
35212 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
35213
35214         [BZ #6530]
35215         * stdio-common/vfprintf.c (process_string_arg): Revert
35216         2000-07-22 change.
35217
35218 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
35219
35220         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
35221         for testcase.
35222         * stdio-common/tst-sprintf.c: Include <locale.h>
35223         (main): Test sprintf's handling of incomplete multibyte
35224         characters.
35225
35226 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
35227
35228         * elf/dl-runtime.c (VERSYMIDX): Removed.
35229         * elf/dl-version.c (VERSYMIDX): Likewise.
35230         * elf/do-rel.h (VERSYMIDX): Likewise.
35231         (VALIDX): Likewise.
35232         * elf/dynamic-link.h (VERSYMIDX): Likewise.
35233         * elf/rtld.c (VALIDX): Likewise.
35234         (ADDRIDX): Likewise.
35235         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
35236         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
35237         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
35238         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
35239         (VALIDX): Likewise.
35240         (ADDRIDX): Likewise.
35241
35242 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
35243
35244         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
35245
35246 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
35247
35248         [BZ #11438]
35249         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
35250         to global scope.
35251         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
35252         addresses are in the same scope as 192.0.2/24.
35253         * posix/gai.conf: Document new scope table defaults.
35254
35255 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
35256
35257         [BZ #5298]
35258         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
35259         for ftell.  Compute offsets from write pointers instead.
35260         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
35261
35262 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
35263
35264         [BZ #14543]
35265         * libio/Makefile (tests): New test case tst-fseek.
35266         * libio/tst-fseek.c: New test case to verify that fseek/ftell
35267         combination works in wide mode.
35268         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
35269         state when the external buffer state changes.
35270
35271 2012-09-27  David S. Miller  <davem@davemloft.net>
35272
35273         [BZ #14376]
35274         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
35275         pass reloc->r_addend in as the 'high' argument to
35276         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
35277
35278         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35279
35280 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
35281
35282         * rt/tst-aio2.c: Include <pthread.h>.
35283         * rt/tst-aio3.c: Likewise.
35284
35285 2012-09-27  Steve Ellcey  <sellcey@mips.com>
35286
35287         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
35288
35289 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
35290
35291         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
35292         contents on [SHARED].
35293
35294 2012-09-26  Marek Polacek  <polacek@redhat.com>
35295
35296         [BZ #14530]
35297         [BZ #13741]
35298         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
35299         for C++ and GCC <4.3 as well as for non GCC compilers.
35300
35301 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
35302
35303         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35304
35305 2012-09-25  Roland McGrath  <roland@hack.frob.com>
35306
35307         * Makefile.in (all, install): Declare with .PHONY.
35308         Reported by Michael Hope <michael.hope@linaro.org>.
35309
35310 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
35311
35312         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
35313         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
35314         system header.
35315         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
35316         Likewise.
35317         (sydep_routines): Add the new and the internal functions.
35318         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
35319         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
35320         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
35321         (GLIBC_2.17): Add the new function.
35322         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
35323         (GLIBC_2.17): Likewise.
35324         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
35325         (GLIBC_2.17): Likewise.
35326         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
35327         (GLIBC_2.17): Likewise.
35328         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
35329
35330 2012-09-25  Alan Modra  <amodra@gmail.com>
35331
35332         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
35333         Add release barrier before setting once_control to say
35334         initialisation is done.  Add hints on lwarx.  Use macro in
35335         place of isync.
35336         (clear_once_control): Add release barrier.
35337
35338 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
35339
35340         [BZ #13629]
35341         * math/s_clog.c (__clog): Handle more values close to |z| = 1
35342         specially.
35343         * math/s_clog10.c (__clog10): Likewise.
35344         * math/s_clog10f.c (__clog10f): Likewise.
35345         * math/s_clog10l.c (__clog10l): Likewise.
35346         * math/s_clogf.c (__clogf): Likewise.
35347         * math/s_clogl.c (__clogl): Likewise.
35348         * math/Makefile (libm-calls): Add x2y2m1.
35349         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
35350         (__x2y2m1): Likewise.
35351         (__x2y2m1l): Likewise.
35352         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
35353         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
35354         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
35355         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
35356         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
35357         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
35358         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
35359         * sysdeps/i386/fpu/libm-test-ulps: Update.
35360         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35361
35362         [BZ #14621]
35363         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
35364         int as type of variable DEPTH.
35365         (glob): Use size_t instead of int as type of variables NEWCOUNT
35366         and OLD_PATHC.
35367
35368 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
35369
35370         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
35371         Add s_sincosf-sse2.
35372         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
35373         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
35374         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
35375         macros for using routine as __sincosf_ia32.
35376         Use macro for function declaration and weak_alias.
35377         * sysdeps/i386/fpu/libm-test-ulps: Update.
35378
35379         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
35380         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35381
35382         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
35383         subnormal argument.
35384         * math/s_cexpf.c (__cexpf): Likewise.
35385         * math/s_csinf.c (__csinf): Likewise.
35386         * math/s_csinhf.c (__csinhf): Likewise.
35387         * math/s_ctanf.c (__ctanf): Likewise.
35388         * math/s_ctanhf.c (__ctanhf): Likewise.
35389         * math/s_ccosh.c (__ccoshf): Likewise.
35390         * math/s_cexp.c (__cexpl): Likewise.
35391         * math/s_csin.c (__csin): Likewise.
35392         * math/s_csinh.c (__csinh): Likewise.
35393         * math/s_ctan.c (__ctan): Likewise.
35394         * math/s_ctanh.c (ctanh): Likewise.
35395         * math/s_ccoshl.c (__ccoshl): Likewise.
35396         * math/s_cexpl.c (__cexpl): Likewise.
35397         * math/s_csinl.c (__csinl): Likewise.
35398         * math/s_csinhl.c (__csinhl): Likewise.
35399         * math/s_ctanl.c (__ctanl): Likewise.
35400         * math/s_ctanhl.c (__ctanhl): Likewise.
35401
35402 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
35403
35404         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
35405         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
35406         (_IO_off_t): Define to __off_t, not _G_off_t.
35407         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
35408         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
35409         (_IO_wint_t): Define to wint_t, not _G_wint_t.
35410         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
35411         type of __dummy and __dummy2 fields.
35412         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
35413         (_G_ssize_t): Likewise.
35414         (_G_off_t): Likewise.
35415         (_G_pid_t): Likewise.
35416         (_G_uid_t): Likewise.
35417         (_G_wchar_t): Likewise.
35418         (_G_wint_t): Likewise.
35419         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
35420         (_G_ssize_t): Likewise.
35421         (_G_off_t): Likewise.
35422         (_G_pid_t): Likewise.
35423         (_G_uid_t): Likewise.
35424         (_G_wchar_t): Likewise.
35425         (_G_wint_t): Likewise.
35426         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
35427         (_G_ssize_t): Likewise.
35428         (_G_off_t): Likewise.
35429         (_G_pid_t): Likewise.
35430         (_G_uid_t): Likewise.
35431         (_G_wchar_t): Likewise.
35432         (_G_wint_t): Likewise.
35433
35434 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
35435
35436         * malloc/arena.c: Include malloc-sysdep.h.
35437         (shrink_heap): Use check_may_shrink_heap to decide if madvise
35438         is sufficient to shrink the heap or an unmap is needed.
35439         * sysdeps/generic/malloc-sysdep.h: New file.  Define
35440         new function check_may_shrink_heap.
35441         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
35442         new function check_may_shrink_heap.
35443
35444 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
35445
35446         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
35447         comments.
35448
35449 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
35450
35451         * catgets/test-gencat.sh: Add "set -e".
35452         * elf/tst-pathopt.sh: Likewise.
35453         * grp/tst_fgetgrent.sh: Likewise.
35454         * iconvdata/run-iconv-test.sh: Likewise.
35455         * intl/tst-gettext.sh: Likewise.
35456         * intl/tst-gettext2.sh: Likewise.
35457         * intl/tst-gettext4.sh: Likewise.
35458         * intl/tst-gettext6.sh: Likewise.
35459         * intl/tst-translit.sh: Likewise.
35460         * io/ftwtest-sh: Likewise.
35461         * libio/test-freopen.sh: Likewise.
35462         * malloc/tst-mtrace.sh: Likewise.
35463         * posix/globtest.sh: Likewise.
35464         * posix/tst-getconf.sh: Likewise.
35465         * posix/wordexp-tst.sh: Likewise.
35466         * stdio-common/tst-printf.sh: Likewise.
35467         * stdio-common/tst-unbputc.sh: Likewise.
35468         * stdlib/tst-fmtmsg.sh: Likewise.
35469         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
35470         * catgets/Makefile: Do not specify -e option when running
35471         testsuite shell scripts.
35472         * elf/Makefile: Likewise.
35473         * grp/Makefile: Likewise.
35474         * iconvdata/Makefile: Likewise.
35475         * intl/Makefile: Likewise.
35476         * io/Makefile: Likewise.
35477         * libio/Makefile: Likewise.
35478         * malloc/Makefile: Likewise.
35479         * posix/Makefile: Likewise.
35480         * stdio-common/Makefile: Likewise.
35481         * stdlib/Makefile: Likewise.
35482         * sysdeps/x86_64/Makefile: Likewise.
35483
35484         * io/ftwtest-sh: Add copyright header.
35485         * posix/globtest.sh: Likewise.
35486         * posix/tst-getconf.sh: Likewise.
35487         * posix/wordexp-tst.sh: Likewise.
35488         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
35489
35490 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
35491
35492         [BZ #13679]
35493         * Makeconfig (+link): Defined as $(+link-static) if
35494         $(build-shared) isn't yes.
35495         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
35496         isn't yes.
35497         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
35498
35499         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
35500
35501         [BZ #14562]
35502         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
35503         new chunk size with MALLOC_ALIGN_MASK.
35504
35505 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
35506
35507         [BZ #5044]
35508         * stdio-common/printf_fphex.c: Include <stdbool.h> and
35509         <rounding-mode.h>.
35510         (__printf_fphex): Determine rounding using get_rounding_mode and
35511         round_away.
35512         * stdio-common/tst-printf-round.c (struct hex_test): New
35513         structure.
35514         (hex_tests): New variable.
35515         (test_hex_in_one_mode): New function.
35516         (do_test): Also run tests for hex float output.
35517
35518 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
35519
35520         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
35521         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
35522         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
35523         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
35524         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
35525         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
35526         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
35527         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
35528
35529 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
35530
35531         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
35532         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
35533         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
35534         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
35535
35536 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
35537
35538         [BZ #14579]
35539         * elf/rtld.c (dl_main): Limit the check for self loading to normal
35540         mode only.
35541         * elf/tst-rtld-load-self.sh: New test.
35542         * elf/Makefile: Run it.
35543
35544 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
35545
35546         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
35547         (tst-writev-ENV): Remove.
35548         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
35549
35550 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
35551
35552         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
35553
35554 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
35555
35556         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
35557         unconditional.
35558         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
35559         Likewise.
35560         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
35561         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
35562         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
35563         Likewise.
35564
35565 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
35566
35567         [BZ #14587]
35568         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
35569         * config.make.in (have-cpp-asm-debuginfo): Removed.
35570         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
35571         * configure: Regenerated.
35572
35573 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
35574
35575         [BZ #5044]
35576         * stdio-common/printf_fp.c: Include <stdbool.h> and
35577         <rounding-mode.h>.
35578         (___printf_fp): Determine rounding using get_rounding_mode and
35579         round_away.
35580         * stdio-common/tst-printf-round.c: New file.
35581         * stdio-common/Makefile (tests): Add tst-printf-round.
35582         (link-libm): New variable.
35583         ($(objpfx)tst-printf-round): Depend in $(link-libm).
35584
35585 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
35586
35587         [BZ #14576]
35588         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
35589         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
35590         Likewise.
35591         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
35592         Likewise.
35593
35594 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
35595
35596         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
35597         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
35598         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
35599         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
35600
35601 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
35602
35603         [BZ #14518]
35604         * include/rounding-mode.h: New file.
35605         * sysdeps/generic/get-rounding-mode.h: Likewise.
35606         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
35607         * stdlib/strtod_l.c: Include <rounding-mode.h>.
35608         (MAX_VALUE): New macro.
35609         (MIN_VALUE): Likewise.
35610         (overflow_value): New function.
35611         (underflow_value): Likewise.
35612         (round_and_return): Use overflow_value and underflow_value to
35613         determine return values in overflow and underflow cases.  Use
35614         round_away to determine rounding depending on rounding mode.
35615         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
35616         determine return values in overflow and underflow cases.
35617         * stdlib/tst-strtod-round.c: Include <fenv.h>.
35618         (struct test_results): New structure.
35619         (struct test): Use struct test_results to store expected results
35620         for all rounding modes.
35621         (TEST): Include expected results for all rounding modes.
35622         (test_in_one_mode): New function.
35623         (do_test): Use test_in_one_mode to compute and check results.
35624         Check results for all rounding modes.
35625         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
35626         $(link-libm).
35627
35628 2012-12-09  Allan McRae  <allan@archlinux.org>
35629
35630         * sysdeps/i386/fpu/libm-test-ulps: Update
35631
35632 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
35633
35634         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
35635         (_G_int32_t): Likewise.
35636         (_G_uint16_t): Likewise.
35637         (_G_uint32_t): Likewise.
35638         (_G_HAVE_BOOL): Likewise.
35639         (_G_HAVE_ATEXIT): Likewise.
35640         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
35641         (_G_HAVE_IO_FILE_OPEN): Likewise.
35642         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
35643         (_G_int32_t): Likewise.
35644         (_G_uint16_t): Likewise.
35645         (_G_uint32_t): Likewise.
35646         (_G_HAVE_BOOL): Likewise.
35647         (_G_HAVE_ATEXIT): Likewise.
35648         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
35649         (_G_HAVE_IO_FILE_OPEN): Likewise.
35650         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
35651         (_G_int32_t): Likewise.
35652         (_G_uint16_t): Likewise.
35653         (_G_uint32_t): Likewise.
35654         (_G_HAVE_BOOL): Likewise.
35655         (_G_HAVE_ATEXIT): Likewise.
35656         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
35657         (_G_HAVE_IO_FILE_OPEN): Likewise.
35658
35659 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
35660
35661         * csu/libc-tls.c: Update copyright years.
35662
35663 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
35664
35665         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
35666         [!_G_USING_THUNKS]: Remove conditional code.
35667         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
35668         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
35669
35670         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
35671         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
35672         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
35673         (_G_VTABLE_LABEL_PREFIX): Likewise.
35674         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
35675         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
35676         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
35677         (_G_VTABLE_LABEL_PREFIX): Likewise.
35678         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
35679         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
35680         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
35681         (_G_VTABLE_LABEL_PREFIX): Likewise.
35682         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
35683
35684 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
35685
35686         * libio/Makefile: Include ../Makeconfig before tests.
35687         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
35688         only if $(build-shared) is yes.
35689
35690         * iconv/gconv_db.c: Update copyright years.
35691
35692 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
35693
35694         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
35695         unwind info if defined PIC. Fix special cases description.
35696         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
35697
35698         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
35699         DP_HI_MASK entry.
35700         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
35701
35702 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
35703
35704         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
35705
35706         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
35707         is NULL.
35708
35709         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
35710         (LDLIBS-tst-chk4): This.
35711         (LDFLAGS-tst-chk5): Renamed to ...
35712         (LDLIBS-tst-chk5): This.
35713         (LDFLAGS-tst-chk6): Renamed to ...
35714         (LDLIBS-tst-chk6): This.
35715         (LDFLAGS-tst-lfschk4): Renamed to ...
35716         (LDLIBS-tst-lfschk4): This.
35717         (LDFLAGS-tst-lfschk5): Renamed to ...
35718         (LDLIBS-tst-lfschk5): This.
35719         (LDFLAGS-tst-lfschk6): Renamed to ...
35720         (LDLIBS-tst-lfschk6): This.
35721
35722         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
35723         on $(common-objpfx)soversions.mk.
35724
35725 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
35726
35727         [BZ #10014]
35728         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
35729         example host name.
35730
35731 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
35732
35733         * malloc/arena.c (arena_get_retry): New function that gets
35734         another arena for the caller to try its request on.
35735         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
35736         current arena cannot fulfill the request.
35737         (__libc_memalign): Likewise.
35738         (__libc_memalign): Likewise.
35739         (__libc_pvalloc): Likewise.
35740         (__libc_calloc): Likewise.
35741
35742 2012-09-05  John Tobey  <john.tobey@gmail.com>
35743
35744         [BZ #13542]
35745         * manual/arith.texi (Operations on Complex): Fix description
35746         of carg branch cut.
35747
35748 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
35749
35750         [BZ #10014]
35751         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
35752         host name.
35753
35754         [BZ #10038]
35755         * manual/memory.texi (Memory): Make order of menu items match
35756         order of sections.
35757
35758 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
35759
35760         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
35761         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
35762         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
35763
35764 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
35765
35766         * csu/libc-tls.c (static_dtv): Renamed to ...
35767         (_dl_static_dtv): This.  Make it global.
35768         (_dl_initial_dtv): Removed.
35769         (__libc_setup_tls): Updated.
35770         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
35771         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
35772         DL_INITIAL_DTV.
35773
35774 2012-09-06  Petr Machata  <pmachata@redhat.com>
35775
35776         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
35777         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
35778         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
35779         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
35780
35781 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
35782
35783         [BZ #14545]
35784         * csu/libc-tls.c (_dl_initial_dtv): New variable.
35785         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
35786         freeing dtv[-1].
35787
35788 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
35789
35790         [BZ #14544]
35791         * Makeconfig (link-static-before-libc): Replace $(+prector)
35792         with $(+prectorT).
35793         (link-static-after-libc): Replace $(+postctor) with
35794         $(+postctorT).
35795         (link-bounded): Replace $(+prector)/$(+postctor) with
35796         $(+prectorT)/$(+postctorT).
35797         (+prectorT): New macro.
35798         (+postctorT): Likewise.
35799
35800 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
35801
35802         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
35803         (round_str): Handle values above the maximum for IBM long double
35804         as inexact.
35805         * stdlib/tst-strtod-round.c (tests): Regenerated.
35806
35807 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35808
35809         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
35810         assembler flag.
35811         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
35812         zarch_nohighgprs around the zarch optimized routines.
35813         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
35814         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
35815         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
35816         for zarch.
35817
35818 2012-09-05  David S. Miller  <davem@davemloft.net>
35819
35820         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35821
35822         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
35823         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
35824         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
35825         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
35826         entries.
35827
35828 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
35829
35830         * malloc/arena.c: Fold copyright years.
35831         * malloc/mcheck.c, malloc/memusage.c: Likewise.
35832
35833 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
35834
35835         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
35836
35837 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
35838
35839         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
35840
35841 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
35842
35843         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
35844         change internal state upon failure.
35845
35846 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
35847
35848         * malloc/mcheck.c (mcheck_check_all): Fix typo.
35849         * malloc/memusage.c (mmap): Likewise.
35850         (mmap64, mremap): Likewise.  Adjust name in comment.
35851
35852 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
35853
35854         * libio/fileops.c: Fix typos in comments.
35855         * libio/oldfileops.c: Likewise.
35856         * libio/wfileops.c: Likewise.
35857
35858 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
35859
35860         [BZ #1349]
35861         * malloc/Makefile (tests): Add tst-malloc-usable test case.
35862         (tst-malloc-usable-ENV): Set environment for test case.
35863         * malloc/hooks.c (malloc_check_get_size): New function to get
35864         requested size.
35865         * malloc/malloc.c (musable): Use malloc_check_get_size.
35866         * malloc/tst-malloc-usable.c: New test case.
35867
35868 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
35869
35870         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
35871
35872 2012-09-05  Allan McRae  <allan@archlinux.org>
35873
35874         [BZ #13966]
35875         * configure.in (CXX_SYSINCLUDES): Use compiler output to
35876         determine header location.
35877         * configure: Regenerated.
35878
35879 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
35880
35881         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
35882         float format.
35883         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
35884         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
35885         format.
35886         (test): Regenerate.
35887
35888 2012-09-04  David S. Miller  <davem@davemloft.net>
35889
35890         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
35891         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
35892         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
35893
35894 2012-09-04  Florian Weimer  <fweimer@redhat.com>
35895
35896         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
35897         failures.
35898
35899         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
35900
35901 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
35902
35903         [BZ #9914]
35904         * libio/iogetdelim.c: Include <limits.h>.
35905         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
35906         + len + 1 would overflow.
35907
35908 2012-09-03  Andreas Jaeger  <aj@suse.de>
35909
35910         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35911         * sysdeps/i386/fpu/libm-test-ulps: Update.
35912
35913 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
35914
35915         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
35916         Add s_sinf-sse2, s_conf-sse2.
35917
35918         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
35919         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
35920         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
35921         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
35922
35923         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
35924         for using routine as __sinf_ia32.
35925         Use macro for function declaration and weak_alias.
35926         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
35927         for using routine as __cosf_ia32.
35928         Use macro for function declaration and weak_alias.
35929
35930         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
35931         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
35932
35933         * sysdeps/x86_64/fpu/s_sinf.S: New file.
35934         * sysdeps/x86_64/fpu/s_cosf.S: New file.
35935         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35936
35937         * math/libm-test.inc (cos_test): Add more test cases.
35938         (sin_test): Likewise.
35939         (sincos_test): Likewise.
35940
35941 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35942
35943         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
35944         (IFUNC_RESOLVE): Make pointers to the specialized implementations
35945         hidden.
35946         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
35947
35948 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
35949
35950         [BZ #14538]
35951         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
35952         first element of the GOT.
35953         (elf_machine_load_address): Return the difference between
35954         the runtime address of _DYNAMIC and elf_machine_dynamic ().
35955
35956 2012-09-01  Allan McRae  <allan@archlinux.org>
35957
35958         [BZ #13412]
35959         * configure.in (AWK): Require gawk version 3.0 or later.
35960         * configure: Regenerated.
35961
35962 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
35963
35964         * sysdeps/unix/sysv/linux/kernel-features.h
35965         (__ASSUME_POSIX_CPU_TIMERS): Remove.
35966         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
35967         [__NR_clock_getres]: Make code unconditional.
35968         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
35969         (clock_getcpuclockid): Remove code left unreachable by removal of
35970         conditionals.
35971         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
35972         code unconditional.
35973         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
35974         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
35975         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
35976         Make code unconditional.
35977         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
35978         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
35979         * sysdeps/unix/sysv/linux/clock_settime.c
35980         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
35981         conditional code.
35982         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
35983         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
35984
35985 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
35986
35987         [BZ #14476]
35988         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
35989         scripts/test-installation.pl.
35990
35991         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
35992         and $ld_so_version if it is set.
35993
35994 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
35995
35996         [BZ #14516]
35997         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
35998         failure if reading from procfs failed.
35999         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
36000
36001 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
36002
36003         * sysdeps/unix/sysv/linux/kernel-features.h
36004         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
36005         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
36006         Remove conditional code.
36007         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36008         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
36009         Remove conditional code.
36010         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36011         * sysdeps/unix/sysv/linux/i386/fxstat.c
36012         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
36013         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36014         * sysdeps/unix/sysv/linux/i386/fxstatat.c
36015         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
36016         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36017         * sysdeps/unix/sysv/linux/i386/lxstat.c
36018         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
36019         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36020         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
36021         Remove conditional code.
36022         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36023         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
36024         Remove conditional code.
36025         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36026         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
36027         <kernel-features.h>.
36028         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
36029         Remove.
36030         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
36031         Remove conditional code.
36032         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36033         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
36034         Remove conditional.
36035
36036 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
36037
36038         [BZ #5400]
36039         * NEWS: Add fixed bug number.
36040
36041 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
36042
36043         [BZ #14519]
36044         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
36045         underflowing exponent in case of negative sign.
36046         * stdlib/tst-strtod-round-data: Add more tests.
36047         * stdlib/tst-strtod-round.c (tests): Regenerated.
36048
36049         [BZ #3479]
36050         * stdlib/strtod_l.c (NDIG): Remove.
36051         (HEXNDIG): Likewise.
36052         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
36053         smallest representable value.
36054         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
36055         lie within an exact representation of 1/2 ulp of the result.
36056         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
36057         unconditionally.
36058         (TENS_P9_IDX): Define unconditionally.
36059         (TENS_P9_SIZE): Likewise.
36060         (TENS_P10_IDX): Likewise.
36061         (TENS_P10_SIZE): Likewise.
36062         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
36063         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
36064         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
36065         entries for 10^2^13 and 10^2^14.
36066         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
36067         (TENS_P13_IDX): Define.
36068         (TENS_P13_SIZE): Likewise.
36069         (TENS_P14_IDX): Likewise.
36070         (TENS_P14_SIZE): Likewise.
36071         (_fpioconst_pow10): Change array size to
36072         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
36073         unconditional.
36074         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
36075         1024]: Add entries for 10^2^13 and 10^2^14.
36076         [LAST_POW10 > _LAST_POW10]: Remove #error.
36077         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
36078         (_fpioconst_pow10): Change array size to
36079         FPIOCONST_POW10_ARRAY_SIZE.
36080         * stdlib/gen-fpioconst.c: New file.
36081         * stdlib/gen-tst-strtod-round.c: Likewise.
36082         * stdlib/tst-strtod-round-data: Likewise.
36083         * stdlib/tst-strtod-round.c: Likewise.
36084         * stdlib/Makefile (tests): Add tst-strtod-round.
36085
36086         [BZ #14459]
36087         * stdlib/strtod_l.c: Include <stdint.h>.
36088         (NDEBUG): Do not define.
36089         (round_and_return): Change EXPONENT parameter to type intmax_t.
36090         Rearrange calculations to avoid internal overflow possibilities.
36091         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
36092         Rearrange calculations to avoid internal overflow possibilities.
36093         Assert that number fits inside MPNSIZE limbs.
36094         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
36095         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
36096         calculations and add assertions to avoid internal overflow
36097         possibilities.  Add casts to avoid signed/unsigned operations.
36098         * stdlib/tst-strtod-overflow.c: New file.
36099         * stdlib/Makefile (tests): Add tst-strtod-overflow.
36100
36101 2012-08-25  Marek Polacek  <polacek@redhat.com>
36102
36103         * time/time.h: Fix some typos in comments.
36104
36105 2012-08-23  Roland McGrath  <roland@hack.frob.com>
36106
36107         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
36108         * posix/tst-rfc3484-2.c: Likewise.
36109         * posix/tst-rfc3484-3.c: Likewise.
36110
36111 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
36112
36113         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
36114         (EF_ARM_ABI_FLOAT_HARD): Likewise.
36115
36116 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
36117
36118         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
36119         #include of fxstatat64.c.
36120
36121 2012-08-22  Roland McGrath  <roland@hack.frob.com>
36122
36123         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
36124         * shadow/getspent_r.c: Likewise.
36125         * shadow/getspnam.c: Likewise.
36126         * shadow/getspnam_r.c: Likewise.
36127         * gshadow/getsgent.c: Likewise.
36128         * gshadow/getsgent_r.c: Likewise.
36129         * gshadow/getsgnam.c: Likewise.
36130         * gshadow/getsgnam_r.c: Likewise.
36131         * inet/getnetbyad.c: Likewise.
36132         * inet/getnetbyad_r.c: Likewise.
36133         * inet/getnetbynm.c: Likewise.
36134         * inet/getnetbynm_r.c: Likewise.
36135         * inet/getnetent.c: Likewise.
36136         * inet/getnetent_r.c: Likewise.
36137         * inet/getproto.c: Likewise.
36138         * inet/getproto_r.c: Likewise.
36139         * inet/getprtent.c: Likewise.
36140         * inet/getprtent_r.c: Likewise.
36141         * inet/getprtname.c: Likewise.
36142         * inet/getprtname_r.c: Likewise.
36143         * inet/getrpcbyname.c: Likewise.
36144         * inet/getrpcbyname_r.c: Likewise.
36145         * inet/getrpcbynumber.c: Likewise.
36146         * inet/getrpcbynumber_r.c: Likewise.
36147         * inet/getrpcent.c: Likewise.
36148         * inet/getrpcent_r.c: Likewise.
36149         * inet/getaliasent.c: Likewise.
36150         * inet/getaliasent_r.c: Likewise.
36151         * inet/getaliasname.c: Likewise.
36152         * inet/getaliasname_r.c: Likewise.
36153         * nscd/getgrgid_r.c: Likewise.
36154         * nscd/getgrnam_r.c: Likewise.
36155         * nscd/gethstbyad_r.c: Likewise.
36156         * nscd/gethstbynm3_r.c: Likewise.
36157         * nscd/getpwnam_r.c: Likewise.
36158         * nscd/getpwuid_r.c: Likewise.
36159         * nscd/getsrvbynm_r.c: Likewise.
36160         * nscd/getsrvbypt_r.c: Likewise.
36161         * nscd/gai.c: Likewise.
36162
36163         * configure.in (build_nscd): New substituted variable, set
36164         by --disable-build-nscd and defaults to $use_nscd.
36165         * configure: Regenerated.
36166         * config.make.in (build-nscd): New substituted variable.
36167         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
36168         Change conditional to require [$(build-nscd) = yes] as well.
36169         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
36170
36171         [BZ# 13696]
36172         * configure.in (use_nscd): New substituted variable, set by
36173         --disable-nscd.  If enabled, define USE_NSCD.
36174         * configure: Regenerated.
36175         * config.h.in: Add USE_NSCD.
36176         * config.make.in (use-nscd): New substituted variable.
36177         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
36178         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
36179         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
36180         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
36181         (CFLAGS-getgrnam_r.c): Likewise.
36182         (CFLAGS-initgroups.c): Likewise.
36183         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
36184         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
36185         Variables removed.
36186         * inet/getnetgrent_r.c
36187         (nscd_setnetgrent): New function, broken out of ...
36188         (setnetgrent): ... here.  Call it.
36189         (innetgr): Conditionalize nscd bits on [USE_NSCD].
36190         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
36191         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
36192         * nscd/Makefile (routines, aux): Move definitions after include of
36193         Makeconfig.  Conditionalize on [$(use-nscd) != no].
36194         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
36195         Conditionalize on [USE_NSCD].
36196         (is_nscd, nscd_init_cb): Likewise.
36197         (nss_load_library): Conditionalize init callback on [USE_NSCD].
36198         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
36199         * nss/nss_db/db-init.c: Likewise.
36200         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
36201         [USE_NSCD].
36202         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
36203         (make_request): Use it.
36204         (cache_valid_p): New function.
36205         (__check_pf): Use it.
36206         * NEWS: Add item for --disable-nscd.
36207
36208 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
36209
36210         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
36211         to support sed >= 4.2.1-20-ga9bf076.
36212         * configure: Regenerated.
36213
36214 2012-08-22  Roland McGrath  <roland@hack.frob.com>
36215
36216         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
36217         Conditionalize whole body on [IREL].
36218
36219 2012-08-22  Jeff Law <law@redhat.com>
36220
36221         [BZ #14505]
36222         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
36223         if the family is PF_UNSPEC.
36224
36225 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
36226
36227         * Makerules (lib-version): Rename from V.
36228         (install-lib-nosubdir): Change V to lib-version.
36229
36230 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
36231
36232         [BZ #14252]
36233         * powerpc32/power6/wcschr.c: New file.
36234         * powerpc32/power6/wcscpy.c: New file.
36235         * powerpc32/power6/wcsrchr.c: New file.
36236         * powerpc64/power6/wcschr.c: New file.
36237         * powerpc64/power6/wcscpy.c: New file.
36238         * powerpc64/power6/wcsrchr.c: New file.
36239
36240 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
36241
36242         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
36243         (two_way_short_needle): Use it.
36244         * string/strstr.c (AVAILABLE1_USES_J): Define.
36245         * string/strcasestr.c: Likewise.
36246
36247         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
36248         array references.
36249         * string/strcasestr.c (TOLOWER): Make side-effect safe.
36250
36251         [BZ #11607]
36252         * NEWS: Add an entry.
36253         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
36254         define their defaults.
36255         (two_way_short_needle): Detect end-of-string on-the-fly.
36256         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
36257         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
36258         * string/bug-strcasestr1.c: New test.
36259         * string/Makefile: Run it.
36260
36261 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
36262
36263         [BZ #11607]
36264         * string/str-two-way.h (two_way_short_needle): Optimize matching of
36265         the first character.
36266
36267 2012-08-21  Roland McGrath  <roland@hack.frob.com>
36268
36269         * csu/elf-init.c (__libc_csu_irel): Function removed.
36270         * csu/libc-start.c (apply_irel): New function.
36271         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
36272
36273 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
36274
36275         * sysdeps/unix/sysv/linux/kernel-features.h
36276         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
36277         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
36278         <kernel-features.h>.
36279         [__NR_fadvise64_64]: Make code unconditional.
36280         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
36281         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
36282         !__NR_fadvise64_64)]: Likewise.
36283         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
36284         !__NR_fadvise64_64))]: Likewise.
36285         [__NR_fadvise64]: Make code unconditional.
36286         [!__NR_fadvise64]: Remove conditional code.
36287         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
36288         <kernel-features.h>.
36289         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
36290         unconditional.
36291         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
36292         conditional code.
36293         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
36294         not include <kernel-features.h>.
36295         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
36296         unconditional.
36297         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
36298         conditional code.
36299         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
36300         include <kernel-features.h>.
36301         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
36302         unconditional.
36303         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
36304         conditional code.
36305
36306 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
36307
36308         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
36309         slight instruction rearrangements per scrollpipe analysis.
36310         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
36311
36312 2012-08-20  Roland McGrath  <roland@hack.frob.com>
36313
36314         * manual/syslog.texi (syslog; vsyslog, closelog):
36315         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
36316         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
36317
36318         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
36319         DSOCAPS to match condition on defining it.
36320
36321 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
36322
36323         * sysdeps/unix/sysv/linux/kernel-features.h
36324         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
36325         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
36326         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
36327         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
36328         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
36329         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
36330         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
36331         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
36332         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
36333         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
36334
36335         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
36336         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
36337
36338         * sysdeps/unix/sysv/linux/kernel-features.h
36339         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
36340         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
36341         unconditional.
36342         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
36343         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
36344         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
36345         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
36346         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
36347         Make code unconditional.
36348         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
36349         (__mmap64) [!__NR_mmap2]: Likewise.
36350         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
36351         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
36352         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
36353         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
36354         [__NR_mmap2]: Make code unconditional.
36355         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
36356         (__mmap64) [!__NR_mmap2]: Likewise.
36357
36358 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36359
36360         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
36361
36362 2012-08-18  Andreas Jaeger  <aj@suse.de>
36363
36364         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
36365
36366 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
36367
36368         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
36369         * include/unistd.h (__have_sock_cloexec): Likewise.
36370         (__have_pipe2): Likewise.
36371         (__have_dup3): Likewise.
36372
36373 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
36374
36375         [BZ #9685]
36376         * include/unistd.h (__have_pipe2): Change define into an extern int.
36377         (__have_dup3): Likewise.
36378         * socket/have_sock_cloexec.c: Include fcntl.h.
36379         (__have_pipe2): New variable.
36380         (__have_dup3): Likewise.
36381
36382 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
36383
36384         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
36385
36386 2012-08-17  Marek Polacek  <polacek@redhat.com>
36387
36388         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
36389         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
36390
36391 2012-08-17  Roland McGrath  <roland@hack.frob.com>
36392
36393         * configure.in: Add AC_SUBST for sysheaders.
36394         * configure: Regenerated.
36395         * config.make.in (sysheaders): New substituted variable.
36396
36397         * sysdeps/unix/mkfifo.c: Moved ...
36398         * sysdeps/posix/mkfifo.c: ... here.
36399         * sysdeps/unix/mkfifoat.c: Moved ...
36400         * sysdeps/posix/mkfifoat.c: ... here.
36401
36402         * sysdeps/unix/utime.c: Moved ...
36403         * sysdeps/posix/utime.c: ... here.
36404
36405         * sysdeps/unix/time.c: Moved ...
36406         * sysdeps/posix/time.c: ... here.
36407         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
36408         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
36409
36410         * sysdeps/unix/nice.c: Moved ...
36411         * sysdeps/posix/nice.c: ... here.
36412
36413         * sysdeps/unix/alarm.c: Moved ...
36414         * sysdeps/posix/alarm.c: ... here.
36415
36416         * intl/Makefile ($(codeset_mo)): Depend on the input file.
36417
36418 2012-08-17  Jeff Law <law@redhat.com>
36419
36420         * intl/Makefile (codeset_mo): New variable.
36421         ($(codeset_mo)): New target.
36422         (tst-codeset.out): Depend on that.  Remove explicit rule.
36423         (tst-gettext3.out, tst-gettext5.out): Likewise.
36424         (LOCPATH-ENV, tst-codeset-ENV): New variables.
36425         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
36426         * intl/tst-codeset.sh: Remove.
36427         * intl/tst-gettext3.sh: Likewise.
36428         * intl/tst-gettext5.sh: Likewise.
36429
36430 2012-08-17  Roland McGrath  <roland@hack.frob.com>
36431
36432         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
36433         * sysdeps/unix/syscalls.list: ... here.
36434
36435         * sysdeps/posix/getaddrinfo.c
36436         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
36437         (gaiconf_init, gaiconf_reload): Use them.
36438         [!_STATBUF_ST_NSEC]
36439         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
36440         Define using time_t rather than struct timespec.
36441
36442         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
36443         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
36444         Macros removed.
36445         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
36446         [!NO_THREADS].
36447         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
36448         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
36449         Likewise.
36450
36451         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
36452         __libc_cleanup_push argument.
36453
36454         * bits/param.h: New file.
36455         * misc/sys/param.h: New file.
36456         * include/sys/param.h: New file.
36457         * misc/Makefile (headers): Add bits/param.h.
36458         * sysdeps/generic/sys/param.h: File removed.
36459         * sysdeps/unix/sysv/linux/bits/param.h: New file.
36460         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
36461         * sysdeps/mach/hurd/bits/param.h: New file.
36462         * sysdeps/mach/hurd/sys/param.h: File removed.
36463
36464         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
36465         last change.
36466
36467         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
36468         [_IO_MTSAFE_IO].
36469         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
36470         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
36471         New macros.
36472
36473         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
36474         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
36475         rather than -D_IO_MTSAFE_IO conditionally.
36476         * stdio-common/Makefile (CPPFLAGS): Likewise.
36477         * wcsmbs/Makefile (CPPFLAGS): Likewise.
36478         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
36479         Use $(libio-mtsafe).
36480         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
36481         of -D_IO_MTSAFE_IO.
36482         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
36483         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
36484         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
36485         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
36486         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
36487         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
36488         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
36489         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
36490         (CFLAGS-fread_u_chk.c): Likewise.
36491         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
36492         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
36493         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
36494         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
36495         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
36496         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
36497         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
36498         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
36499         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
36500
36501         * libio/Makefile: Test [$(libc-reentrant) = yes]
36502         instead of [$(filter %REENTRANT, $(defines)) nonempty].
36503
36504         * Makeconfig
36505         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
36506         * sysdeps/pthread/configure: File removed.
36507         * sysdeps/pthread/Makeconfig: New file.
36508         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
36509         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
36510
36511 2012-08-16  Gary Benson  <gbenson@redhat.com>
36512
36513         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
36514         unmapping the first object in a namespace.
36515
36516 2012-08-16  Roland McGrath  <roland@hack.frob.com>
36517
36518         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
36519         (__internal_setnetgrent): ... this.  Add internal_function to
36520         definition.  Add libc_hidden_def.
36521         (setnetgrent): Update caller.
36522         (internal_endnetgrent): Renamed to ...
36523         (__internal_endnetgrent): ... this.  Add internal_function to
36524         definition.  Add libc_hidden_def.
36525         (endnetgrent): Update caller.
36526         (internal_getnetgrent_r): Renamed to ...
36527         (__internal_getnetgrent_r): ... this.  Add internal_function to
36528         definition.  Add libc_hidden_def.
36529         (__getnetgrent_r): Update caller.
36530         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
36531
36532 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
36533
36534         * stdlib/longlong.h: Update from GCC.
36535
36536 2012-08-16  Roland McGrath  <roland@hack.frob.com>
36537
36538         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
36539         on _QL, which is set by umul_ppmm but never used.
36540         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
36541         variables, which are set by GMP macros but never used.
36542         * stdio-common/_itowa.c (_itowa): Likewise.
36543         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
36544         * stdlib/mod_1.c (mpn_mod_1): Likewise.
36545
36546 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
36547
36548         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
36549         struct La_sh_regs is not constant.
36550         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
36551         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
36552         and struct La_sparc64_regs are not constant.
36553
36554 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
36555
36556         * sysdeps/unix/sysv/linux/kernel-features.h
36557         (__ASSUME_POSIX_TIMERS): Remove.
36558         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
36559         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
36560         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
36561         Make code unconditional.
36562         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
36563         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
36564         Make code unconditional.
36565         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
36566         * sysdeps/unix/sysv/linux/clock_nanosleep.c
36567         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
36568         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
36569         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
36570         Make code unconditional.
36571         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
36572         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
36573         (__libc_missing_posix_timers): Remove.
36574
36575 2012-08-15  Roland McGrath  <roland@hack.frob.com>
36576
36577         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
36578         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
36579
36580         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
36581
36582         * elf/dl-sym.c: Include <stdlib.h>.
36583
36584         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
36585         constants, which avoids warnings in 32-bit builds.
36586
36587         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
36588         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
36589
36590         * misc/lseek.c: File moved to ...
36591         * io/lseek.c: ... here.
36592
36593         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
36594
36595         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
36596         shifting LEN more than 31 bits at once.
36597
36598 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
36599
36600         [BZ #14195]
36601         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
36602         segmentation fault for a case of two empty input strings.
36603         * string/test-strncasecmp.c (check1): Renamed to...
36604         (bz12205): ...this.
36605         (bz14195): Add new testcase for two empty input strings and N > 0.
36606         (test_main): Call new testcase, adapt for renamed function.
36607
36608 2012-08-15  Andreas Jaeger  <aj@suse.de>
36609
36610         [BZ #14090]
36611         * crypt/md5test2.c: New test, based on test supplied by Serge
36612         Belyshev <belyshev@depni.sinp.msu.ru>.
36613         * crypt/Makefile (xtests): Add md5test-giant..
36614         * crypt/Makefile ($(objpfx)md5test-giant): Add.
36615
36616 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
36617
36618         [BZ #14090]
36619         * crypt/md5.c (md5_process_block): Don't assume the buffer
36620         length is less than 2**32.
36621         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
36622         length is less than 2**64.
36623
36624 2012-08-15  Roland McGrath  <roland@hack.frob.com>
36625
36626         * string/str-two-way.h: Include <sys/param.h>.
36627         (MAX): Macro removed.
36628
36629         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
36630         Move #define and #undef of memmove to just before and after
36631         including <string.h>.
36632
36633         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
36634         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
36635         and after including <string.h>.  Move declarations of
36636         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
36637         to before #include "string/memmove.c".
36638
36639         * include/dirent.h: Declare __getdirentries.
36640
36641         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
36642         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
36643
36644 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
36645
36646         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
36647         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
36648         * sysdeps/i386/configure: Regenerated.
36649         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
36650         STABS_CURRENT_FILE, and STABS_FUN.
36651         (END): Remove call to STABS_FUN_END.
36652         (STABS_CURRENT_FILE1): Delete.
36653         (STABS_CURRENT_FILE): Likewise.
36654         (STABS_FUN): Likewise.
36655         (STABS_FUN_END): Likewise.
36656         (STABS_FUN2): Likewise.
36657         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
36658         * sysdeps/x86_64/configure: Regenerated.
36659
36660 2012-08-14  Roland McGrath  <roland@hack.frob.com>
36661
36662         * elf/dl-open.c: Include <atomic.h>.
36663         * elf/dl-lookup.c: Likewise.
36664
36665 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
36666
36667         * sysdeps/unix/sysv/linux/kernel-features.h
36668         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
36669         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
36670         unconditionally.
36671         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
36672         unconditionally.
36673         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
36674         condition on __ASSUME_CLONE_THREAD_FLAGS.
36675
36676 2012-08-14  Andreas Jaeger  <aj@suse.de>
36677
36678         * sysdeps/i386/fpu/libm-test-ulps: Update.
36679
36680 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
36681
36682         * include/atomic.h (atomic_exchange_and_add): Split into ...
36683         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
36684         New atomic macros.
36685
36686 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
36687
36688         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36689
36690 2012-08-13  Jeff Law <law@redhat.com>
36691
36692         * manual/stdio.texi (snprintf): Clarify handling of the trailing
36693         null byte in the output string.
36694
36695 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
36696
36697         * sysdeps/unix/sysv/linux/kernel-features.h
36698         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
36699         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
36700         (__ASSUME_ARG_MAX_STACK_BASED): Define.
36701         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
36702         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
36703         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
36704         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
36705
36706 2012-08-09  Jeff Law <law@redhat.com>
36707
36708         [BZ #13939]
36709         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
36710         When avoid_arena is set, don't retry in the that arena.  Pick the
36711         next one, whatever it might be.
36712         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
36713         (arena_lock): Pass in new parameter to arena_get2.
36714         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
36715         arena_get2.
36716         (__libc_malloc): Unify retrying after main arena failure with
36717         __libc_memalign version.
36718         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
36719
36720 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
36721
36722         [BZ #14166]
36723         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
36724         to __redirect_strstr.
36725         (__strstr_sse42): Use typeof __redirect_strstr.
36726         (__strstr_ia32): Likewise.
36727         (__libc_strstr): New prototype.
36728         (strstr): Renamed to ...
36729         (__libc_strstr): This.
36730         (strstr): New strong alias of __libc_strstr.
36731         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
36732         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
36733         __redirect_time.
36734         Include <time.h>.
36735         (__libc_time): New prototype.
36736         (time_ifunc): Replace time with __libc_time.
36737         (time): New strong alias and hidden definition of __libc_time.
36738         (__GI_time): Remove strong alias.
36739         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
36740         Include <stddef.h>.
36741         (memmove): Redefined to __redirect_memmove.
36742         (__memmove_sse2): Use typeof __redirect_memmove.
36743         (__memmove_ssse3): Likewise.
36744         (__memmove_ssse3_back): Likewise.
36745         (__libc_memmove): New prototype.
36746         (memmove): Renamed to ...
36747         (__libc_memmove): This.
36748         (memmove): New strong alias of __libc_memmove.
36749
36750 2012-08-08  Mark Salter  <msalter@redhat.com>
36751
36752         * elf/elf.h
36753         (R_MN10300_TLS_GD): Define.
36754         (R_MN10300_TLS_LD): Likewise.
36755         (R_MN10300_TLS_LDO): Likewise.
36756         (R_MN10300_TLS_GOTIE): Likewise.
36757         (R_MN10300_TLS_IE): Likewise.
36758         (R_MN10300_TLS_LE): Likewise.
36759         (R_MN10300_TLS_DTPMOD): Likewise.
36760         (R_MN10300_TLS_DTPOFF): Likewise.
36761         (R_MN10300_TLS_TPOFF): Likewise.
36762         (R_MN10300_SYM_DIFF): Likewise.
36763         (R_MN10300_ALIGN): Likewise.
36764         (R_MN10300_NUM): Update.
36765
36766 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
36767
36768         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
36769         Remove.
36770
36771 2012-08-08  Roland McGrath  <roland@hack.frob.com>
36772
36773         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
36774
36775         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
36776         sysdeps/unix -> sysdeps/posix move.
36777         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
36778
36779 2012-08-07      Allan McRae     <allan@archlinux.org>
36780
36781         [BZ #14303]
36782         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
36783         (SUNOS_CPP): Likewise.
36784         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
36785         not found.
36786         (open_input): Call CPP using execvp.
36787
36788 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
36789
36790         * sysdeps/unix/sysv/linux/kernel-features.h
36791         (__ASSUME_PROT_GROWSUPDOWN): Remove.
36792         (__ASSUME_NO_CLONE_DETACHED): Likewise.
36793         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
36794         (__ASSUME_WAITID_SYSCALL): Likewise.
36795         * sysdeps/unix/sysv/linux/dl-execstack.c
36796         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
36797         code unconditional.
36798         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
36799         conditional code.
36800         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
36801         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
36802         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
36803         code.
36804         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
36805         unconditional.
36806         [__ASSUME_WAITID_SYSCALL]: Likewise.
36807         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
36808
36809 2012-08-07  Roland McGrath  <roland@hack.frob.com>
36810
36811         * sysdeps/unix/closedir.c: Renamed to ...
36812         * sysdeps/posix/closedir.c: ... here.
36813         * sysdeps/unix/dirfd.c: Renamed to ...
36814         * sysdeps/posix/dirfd.c: ... here.
36815         * sysdeps/unix/dirstream.h: Renamed to ...
36816         * sysdeps/posix/dirstream.h: ... here.
36817         * sysdeps/unix/fdopendir.c: Renamed to ...
36818         * sysdeps/posix/fdopendir.c: ... here.
36819         * sysdeps/unix/opendir.c: Renamed to ...
36820         * sysdeps/posix/opendir.c: ... here.
36821         * sysdeps/unix/readdir.c: Renamed to ...
36822         * sysdeps/posix/readdir.c: ... here.
36823         * sysdeps/unix/readdir_r.c: Renamed to ...
36824         * sysdeps/posix/readdir_r.c: ... here.
36825         * sysdeps/unix/rewinddir.c: Renamed to ...
36826         * sysdeps/posix/rewinddir.c: ... here.
36827         * sysdeps/unix/seekdir.c: Renamed to ...
36828         * sysdeps/posix/seekdir.c: ... here.
36829         * sysdeps/unix/telldir.c: Renamed to ...
36830         * sysdeps/posix/telldir.c: ... here.
36831         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
36832         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
36833         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
36834         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
36835
36836         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
36837         * bits/fcntl.h: ... here.
36838
36839         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
36840         not 0.
36841         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
36842         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
36843         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
36844         (struct flock): Move l_start, l_len to the beginning.
36845         Use __pid_t for l_pid.
36846         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
36847         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
36848         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
36849         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
36850         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
36851         [__USE_LARGEFILE64] (struct flock64): New type.
36852         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
36853
36854         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
36855         * bits/dirent.h: ... here.
36856
36857         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
36858         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
36859
36860 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
36861
36862         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
36863         Change from 2.6.0 to 2.6.16.
36864         * sysdeps/unix/sysv/linux/configure: Regenerated.
36865         * sysdeps/unix/sysv/linux/kernel-features.h
36866         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
36867         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
36868         version.
36869         (__ASSUME_UTIMES): Likewise.
36870         (__ASSUME_CLONE_STOPPED): Remove.
36871         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
36872         architectures, not kernel version.
36873         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
36874         (__ASSUME_NO_CLONE_DETACHED): Likewise.
36875         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
36876         (__ASSUME_WAITID_SYSCALL): Likewise.
36877         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
36878         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
36879         * README: State 2.6.16 as minimum Linux kernel version.  Do not
36880         refer to older versions.
36881
36882 2012-08-06  Roland McGrath  <roland@hack.frob.com>
36883
36884         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
36885         Define alphasort64 as an alias.
36886         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
36887         Define versionsort64 as an alias.
36888         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
36889         Define scandir64 as an alias.
36890         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
36891         Define scandirat64 as an alias.
36892         * dirent/alphasort64.c (alphasort64):
36893         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
36894         * dirent/versionsort64.c: Likewise.
36895         * dirent/scandir64.c: Likewise.
36896         * dirent/scandirat64.c: Likewise.
36897         * sysdeps/wordsize-64/alphasort.c: File removed.
36898         * sysdeps/wordsize-64/alphasort64.c: File removed.
36899         * sysdeps/wordsize-64/scandir.c: File removed.
36900         * sysdeps/wordsize-64/scandir64.c: File removed.
36901         * sysdeps/wordsize-64/scandirat.c: File removed.
36902         * sysdeps/wordsize-64/scandirat64.c: File removed.
36903         * sysdeps/wordsize-64/versionsort.c: File removed.
36904         * sysdeps/wordsize-64/versionsort64.c: File removed.
36905         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
36906         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
36907         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
36908         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
36909         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
36910         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
36911         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
36912         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
36913
36914         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
36915         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
36916         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
36917         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
36918         [defined __arch64__ || defined __sparcv9]
36919         (__INO_T_MATCHES_INO64_T): New macro.
36920         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
36921         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
36922         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
36923         * sysdeps/unix/sysv/linux/bits/dirent.h
36924         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
36925         (_DIRENT_MATCHES_DIRENT64): New macro.
36926
36927         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
36928         Define lockf64 as an alias.
36929         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
36930         Define fseeko64 as an alias.
36931         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
36932         Define ftello64 as an alias.
36933         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
36934         Define _IO_fgetpos64 and fgetpos64 as aliases.
36935         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
36936         Define _IO_fsetpos64 and fsetpos64 as aliases.
36937         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
36938         Conditionalize body on this.
36939         * libio/fseeko64.c: Likewise.
36940         * libio/ftello64.c: Likewise.
36941         * libio/iofgetpos64.c: Likewise.
36942         * libio/iofsetpos64.c: Likewise.
36943         * sysdeps/wordsize-64/lockf.c: File removed.
36944         * sysdeps/wordsize-64/lockf64.c: File removed.
36945         * sysdeps/wordsize-64/fseeko.c: File removed.
36946         * sysdeps/wordsize-64/fseeko64.c: File removed.
36947         * sysdeps/wordsize-64/ftello.c: File removed.
36948         * sysdeps/wordsize-64/ftello64.c: File removed.
36949         * sysdeps/wordsize-64/iofgetpos.c: File removed.
36950         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
36951         * sysdeps/wordsize-64/iofsetpos.c: File removed.
36952         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
36953         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
36954         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
36955         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
36956         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
36957         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
36958         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
36959         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
36960         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
36961         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
36962         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
36963
36964         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
36965         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
36966         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
36967         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
36968         [defined __arch64__ || defined __sparcv9]
36969         (__OFF_T_MATCHES_OFF64_T): New macro.
36970         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
36971         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
36972         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
36973         (__OFF_T_MATCHES_OFF64_T): New macro.
36974
36975 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
36976
36977         * stdlib/secure-getenv.c (__secure_getenv): Replace
36978         GLIBC_2_16 with GLIBC_2_17.
36979
36980 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
36981
36982         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
36983         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
36984
36985 2012-08-03  David S. Miller  <davem@davemloft.net>
36986
36987         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36988
36989 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
36990
36991         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
36992         Remove.
36993         (__ASSUME_CORRECT_SI_PID): Likewise.
36994         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
36995         (__ASSUME_TMPFS_NAME): Likewise.
36996         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
36997         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
36998         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
36999         (HAVE_AUX_SECURE): Make definition unconditional.
37000         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
37001         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
37002
37003 2012-08-03  Roland McGrath  <roland@hack.frob.com>
37004
37005         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
37006         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
37007         * sysdeps/mach/hurd/eloop-threshold.h: New file.
37008         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
37009         __eloop_threshold instead of SYMLOOP_MAX.
37010
37011         * sysdeps/generic/eloop-threshold.h: New file.
37012         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
37013         of MAXSYMLINKS.
37014         * elf/chroot_canon.c (chroot_canon): Likewise.
37015
37016 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
37017
37018         [BZ #13717]
37019         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
37020         Change to 2.6.0 everywhere.
37021         * sysdeps/unix/sysv/linux/configure: Regenerated.
37022         * sysdeps/unix/sysv/linux/kernel-features.h
37023         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
37024         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
37025         kernel versions.
37026         (__ASSUME_POSIX_TIMERS): Define unconditionally.
37027         (__ASSUME_FUTEX_REQUEUE): Remove.
37028         (__ASSUME_STATFS64): Define unconditionally.
37029         (__ASSUME_AT_SECURE): Likewise.
37030         (__ASSUME_CORRECT_SI_PID): Likewise.
37031         (__ASSUME_TGKILL): Define without depending on kernel version for
37032         i386.
37033         (__ASSUME_UTIMES): Likewise.
37034         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
37035         kernel version.
37036         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
37037         (__ASSUME_TMPFS_NAME): Likewise.
37038         * README: Update reference to Linux kernel versions.
37039
37040 2012-08-02  Marek Polacek  <polacek@redhat.com>
37041
37042         [BZ# 14150]
37043         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
37044         libc_cv_asm_type_prefix with %.
37045         * configure: Regenerated.
37046         * include/libc-symbols.h: Remove comment about
37047         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
37048         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
37049         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
37050         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
37051         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
37052         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
37053         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
37054         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
37055         * elf/tst-unique2mod1.c: Likewise.
37056         * elf/tst-unique1mod2.c: Likewise.
37057         * elf/tst-unique1mod1.c: Likewise.
37058         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
37059         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
37060         Replace ASM_TYPE_DIRECTIVE with .type.
37061         * sysdeps/s390/s390-64/sysdep.h: Likewise.
37062         * sysdeps/i386/sysdep.h: Likewise.
37063         * sysdeps/x86_64/sysdep.h: Likewise.
37064         * sysdeps/sh/sysdep.h: Likewise.
37065         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
37066         Do not define ASM_TYPE_DIRECTIVE.
37067         * sysdeps/powerpc/sysdep.h: Likewise.
37068         * sysdeps/powerpc/powerpc32/sysdep.h:
37069         Replace ASM_TYPE_DIRECTIVE with .type.
37070         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
37071         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
37072         * sysdeps/i386/fpu/e_powf.S: Likewise.
37073         * sysdeps/i386/fpu/e_expl.S: Likewise.
37074         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
37075         * sysdeps/i386/fpu/e_acosh.S: Likewise.
37076         * sysdeps/i386/fpu/e_pow.S: Likewise.
37077         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
37078         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
37079         * sysdeps/i386/fpu/s_expm1.S: Likewise.
37080         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
37081         * sysdeps/i386/fpu/e_log2.S: Likewise.
37082         * sysdeps/i386/fpu/e_log2l.S: Likewise.
37083         * sysdeps/i386/fpu/e_scalb.S: Likewise.
37084         * sysdeps/i386/fpu/e_powl.S: Likewise.
37085         * sysdeps/i386/fpu/e_log10f.S: Likewise.
37086         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
37087         * sysdeps/i386/fpu/e_logl.S: Likewise.
37088         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
37089         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
37090         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
37091         * sysdeps/i386/fpu/e_log2f.S: Likewise.
37092         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
37093         * sysdeps/i386/fpu/e_log.S: Likewise.
37094         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
37095         * sysdeps/i386/fpu/e_logf.S: Likewise.
37096         * sysdeps/i386/fpu/e_log10l.S: Likewise.
37097         * sysdeps/i386/fpu/e_atanh.S: Likewise.
37098         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
37099         * sysdeps/i386/fpu/e_log10.S: Likewise.
37100         * sysdeps/i386/fpu/s_frexp.S: Likewise.
37101         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
37102         * sysdeps/i386/fpu/s_asinh.S: Likewise.
37103         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
37104         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
37105         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
37106         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
37107         * sysdeps/i386/i686/strtok.S: Likewise.
37108         * sysdeps/i386/i386-mcount.S: Likewise.
37109         * sysdeps/i386/strtok.S: Likewise.
37110         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
37111         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
37112         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
37113         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
37114         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
37115         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
37116         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
37117         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
37118         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
37119         * sysdeps/x86_64/_mcount.S: Likewise.
37120         * sysdeps/x86_64/strtok.S: Likewise.
37121         * sysdeps/sh/_mcount.S: Likewise.
37122
37123 2012-08-01  Roland McGrath  <roland@hack.frob.com>
37124
37125         * libio/iofopen.c: Include <fcntl.h>.
37126         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
37127         (_IO_fopen64, fopen64): Define as aliases.
37128         * libio/iofopen64.c: Include <fcntl.h>.
37129         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
37130         Conditionalize body on this.
37131         * sysdeps/wordsize-64/iofopen.c: File removed.
37132         * sysdeps/wordsize-64/iofopen64.c: File removed.
37133
37134 2012-08-01  Marek Polacek  <polacek@redhat.com>
37135
37136         * libc/Makeconfig: Use elf in place of binfmt-subdir.
37137         Use dlfcn directly instead of a variable.
37138         (binfmt-subdir): Do not define.
37139         (dlfcn): Likewise.
37140
37141 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
37142
37143         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
37144         Remove all definitions.
37145         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
37146         <kernel-features.h>.
37147         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
37148         (miss_F_GETOWN_EX): Remove all definitions.
37149         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
37150         macro definition.
37151         [!__ASSUME_FCNTL64]: Remove conditional code.
37152         [__ASSUME_FCNTL64]: Make code unconditional.
37153         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
37154         <kernel-features.h>.
37155         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
37156         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
37157         (lockf64) [__NR_fcntl64]: Make code unconditional.
37158         (lockf64) [__ASSUME_FCNTL64]: Likewise.
37159
37160         * sysdeps/unix/sysv/linux/kernel-features.h
37161         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
37162         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
37163         Make code unconditional.
37164         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
37165         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
37166         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
37167         [__NR_vfork]: Make code unconditional.
37168         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
37169         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
37170         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
37171         [__NR_vfork]: Make code unconditional.
37172         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
37173         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
37174
37175 2012-08-01  Roland McGrath  <roland@hack.frob.com>
37176
37177         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
37178         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
37179
37180         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
37181         Define mkstemp64 as an alias.
37182         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
37183         Define mkstemps64 as an alias.
37184         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
37185         Define mkostemp64 as an alias.
37186         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
37187         Define mkostemps64 as an alias.
37188         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
37189         Conditionalize body on this.
37190         * misc/mkostemp64.c: Likewise.
37191         * misc/mkostemps64.c: Likewise.
37192         * misc/mkstemps64.c: Likewise.
37193         * sysdeps/wordsize-64/mkstemp64.c: File removed.
37194         * sysdeps/wordsize-64/mkostemp64.c: File removed.
37195         * sysdeps/wordsize-64/mkostemp.c: File removed.
37196         * sysdeps/wordsize-64/mkstemp.c: File removed.
37197         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
37198         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
37199         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
37200         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
37201
37202         [BZ #14138]
37203         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
37204         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
37205         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
37206         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
37207
37208         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
37209         compat_symbol macros from <shlib-compat.h> rather than the underlying
37210         default_symbol_version and symbol_version macros, so that DEFAULT
37211         lines in shlib-versions are respected.
37212         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
37213
37214 2012-08-01  Florian Weimer  <fweimer@redhat.com>
37215
37216         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
37217         Declare with warn_unused_result.
37218         (setgid, setregid, setegid, setresgid): Likewise.
37219         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
37220         Likewise.
37221         * WUR-REPORT: Remove set*id functions.
37222
37223 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
37224
37225         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
37226
37227 2012-07-31  Roland McGrath  <roland@hack.frob.com>
37228
37229         [BZ #10191]
37230         * include/sys/socket.h (__libc_accept, __libc_accept4):
37231         Add attribute_hidden.
37232         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
37233
37234         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
37235         use of PTR_MANGLE.
37236         * inet/getnetgrent_r.c (setup): Likewise.
37237
37238         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
37239
37240 2012-07-31  David S. Miller  <davem@davemloft.net>
37241
37242         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37243
37244 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
37245
37246         [BZ #13629]
37247         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
37248         value between 1.0 and 2.0 and smaller part has absolute value less
37249         than 1.0.
37250         * math/s_clog10.c (__clog10): Likewise.
37251         * math/s_clog10f.c (__clog10f): Likewise.
37252         * math/s_clog10l.c (__clog10l): Likewise.
37253         * math/s_clogf.c (__clogf): Likewise.
37254         * math/s_clogl.c (__clogl): Likewise.
37255         * math/libm-test.inc (clog_test): Add more tests.
37256         (clog10_test): Likewise.
37257         * sysdeps/i386/fpu/libm-test-ulps: Update.
37258         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37259
37260 2012-07-31  Florian Weimer  <fweimer@redhat.com>
37261
37262         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
37263         Exit with zero in case no suitable GID is found, and write a
37264         message to standard error.
37265
37266 2012-07-30  Roland McGrath  <roland@hack.frob.com>
37267
37268         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
37269         rather than to 1.
37270         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
37271         (MAXPATHLEN): Removed.
37272         (NOGROUP, NODEV): New macros.
37273         (setbit, clrbit, isset, isclr): New macros.
37274         (howmany, roundup, powerof2): New macros.
37275         (DEV_BSIZE): New macro.
37276
37277         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
37278         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
37279
37280         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
37281         definition on [!__NO_LONG_DOUBLE_MATH].
37282
37283         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
37284         PTR_MANGLE and PTR_DEMANGLE.
37285
37286         * socket/accept4.c (accept4): Rename to __libc_accept4.
37287         Define accept4 as a weak alias.
37288
37289         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
37290         on [_DIRENT_HAVE_D_TYPE].
37291         * io/ftw.c (ftw_dir): Likewise.
37292
37293         * io/xmknod.c (__xmknod): Don't check PATH for being null.
37294
37295         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
37296
37297         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
37298         Use the BSD numbers rather than the arbitrary ones we had.
37299         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
37300         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
37301         (SIGXCPU, SIGXFSZ): New macros.
37302         (_NSIG): Now 32.
37303
37304         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
37305         initializer on [_LIBC_REENTRANT].
37306
37307         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
37308         definitions inside [_POSIX_MAPPED_FILES].
37309
37310         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
37311
37312         * dirent/opendir.c: Include <fcntl.h>.
37313
37314         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
37315         (__libc_getspecific): Likewise.
37316         (__libc_key_create): Likewise.
37317
37318         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
37319         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
37320         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
37321         (tmpfile64): Define as alias.
37322         * sysdeps/wordsize-64/tmpfile.c: File removed.
37323         * sysdeps/wordsize-64/tmpfile64.c: File removed.
37324         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
37325         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
37326
37327         * stdio-common/vfscanf.c: Include <stdbool.h>.
37328         * nss/makedb.c: Likewise.
37329         * stdio-common/_i18n_number.h: Likewise.
37330         * argp/argp-help.c: Likewise.
37331         * posix/wordexp.c: Likewise.
37332         * sysdeps/posix/spawni.c: Likewise.
37333         * nss/nss_files/files-initgroups.c: Likewise.
37334         * stdio-common/reg-modifier.c: Include <stdlib.h>.
37335         * nss/nss_files/files-initgroups.c: Likewise.
37336         * nss/nss_db/db-netgrp.c: Likewise.
37337         * nss/nss_db/db-initgroups.c: Likewise.
37338         * io/fchmodat.c: Include <sys/stat.h>.
37339
37340         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
37341         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
37342
37343         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
37344         [HAVE_MMAP].
37345
37346         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
37347         Add multiple inclusion protection.
37348
37349 2012-07-27  David S. Miller  <davem@davemloft.net>
37350
37351         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37352
37353 2012-07-27  Gary Benson  <gbenson@redhat.com>
37354
37355         [BZ #14298]
37356         * elf/rtld.c: Include <stap-probe.h>.
37357         (dl_main): Added static probes "init_start" and "init_complete".
37358         * elf/dl-load.c: Include <stap-probe.h>.
37359         (lose): Take new parameter "nsid".
37360         Added static probe "map_failed".
37361         (_dl_map_object_from_fd): Pass namespace id to lose.
37362         Added static probe "map_start".
37363         (open_verify): Pass namespace id to lose.
37364         * elf/dl-open.c: Include <stap-probe.h>.
37365         (dl_open_worker) Added static probes "map_complete", "reloc_start"
37366         and "reloc_complete".
37367         * elf/dl-close.c: Include <stap-probe.h>.
37368         (_dl_close_worker): Added static probes "unmap_start" and
37369         "unmap_complete".
37370         * elf/rtld-debugger-interface.txt: New file documenting the above.
37371
37372 2012-07-26  Roland McGrath  <roland@hack.frob.com>
37373
37374         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
37375         rather than a string variable.
37376         * sunrpc/rpc_main.c (h_output): Likewise.
37377         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
37378
37379 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
37380
37381         * inet/check_native.c: New file.
37382
37383 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
37384
37385         [BZ #13629]
37386         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
37387         if larger part has absolute value 1.0.
37388         * math/s_clog10.c (__clog10): Likewise.
37389         * math/s_clog10f.c (__clog10f): Likewise.
37390         * math/s_clog10l.c (__clog10l): Likewise.
37391         * math/s_clogf.c (__clogf): Likewise.
37392         * math/s_clogl.c (__clogl): Likewise.
37393         * math/libm-test.inc (clog_test): Add more tests.
37394         (clog10_test): Likewise.
37395         * sysdeps/i386/fpu/libm-test-ulps: Update.
37396         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37397
37398         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
37399         (pltexit): Likewise.
37400         (La_regs): Likewise.
37401         (La_retval): Likewise.
37402         (int_retval): Likewise.
37403         Update #error for removed macros to refer only to definitions in
37404         tst-audit.h.
37405         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
37406         macro.
37407         (pltexit): Likewise.
37408         (La_regs): Likewise.
37409         (La_retval): Likewise.
37410         (int_retval): Likewise.
37411         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
37412         macro.
37413         (pltexit): Likewise.
37414         (La_regs): Likewise.
37415         (La_retval): Likewise.
37416         (int_retval): Likewise.
37417         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
37418         macro.
37419         (pltexit): Likewise.
37420         (La_regs): Likewise.
37421         (La_retval): Likewise.
37422         (int_retval): Likewise.
37423         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
37424         macro.
37425         (pltexit): Likewise.
37426         (La_regs): Likewise.
37427         (La_retval): Likewise.
37428         (int_retval): Likewise.
37429         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
37430         macro.
37431         (pltexit): Likewise.
37432         (La_regs): Likewise.
37433         (La_retval): Likewise.
37434         (int_retval): Likewise.
37435         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
37436         macro.
37437         (pltexit): Likewise.
37438         (La_regs): Likewise.
37439         (La_retval): Likewise.
37440         (int_retval): Likewise.
37441         * sysdeps/generic/tst-audit.h: Update comment to refer only to
37442         macro definitions in tst-audit.h.
37443         * sysdeps/i386/tst-audit.h: New file.
37444         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
37445         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
37446         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
37447         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
37448         * sysdeps/sh/tst-audit.h: Likewise.
37449         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
37450         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
37451         * sysdeps/x86_64/tst-audit.h: Likewise.
37452
37453 2012-07-26  Andreas Jaeger  <aj@suse.de>
37454
37455         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
37456         ptrace.
37457
37458         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
37459         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
37460         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
37461         PTRACE_O_MASK.
37462         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
37463         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
37464         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
37465
37466         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
37467         value.
37468
37469         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
37470         _sigsys.
37471         (si_call_addr, si_syscall, si_arch): Define new macro.
37472         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
37473         _sigsys.
37474         (si_call_addr, si_syscall, si_arch): Define new marcro.
37475         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
37476         _sigsys.
37477         (si_call_addr, si_syscall, si_arch): Define new macro.
37478         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
37479         _sigsys.
37480         (si_call_addr, si_syscall, si_arch): Define new macro.
37481
37482 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
37483
37484         [BZ #13717]
37485         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
37486         Change to 2.4.21 where previously 2.4.1.
37487         * sysdeps/unix/sysv/linux/configure: Regenerated.
37488         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
37489         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
37490         Linux kernel version.
37491         (__ASSUME_STD_AUXV): Remove.
37492         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
37493         kernel version.
37494         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
37495         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
37496         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
37497         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
37498         (__ASSUME_NETLINK_SUPPORT): Likewise.
37499         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
37500         (__no_netlink_support): Remove conditional definition.
37501         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
37502         Remove.
37503         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
37504         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
37505         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
37506         (if_nameindex_ioctl): Remove.
37507         (if_nameindex_netlink): Do not handle __no_netlink_support.
37508         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
37509         code.
37510         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
37511         Remove conditional code.
37512         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
37513         code.
37514         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
37515         unconditional.
37516         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
37517         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
37518         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
37519         Remove.
37520         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
37521         [!__ASSUME_STD_AUXV]: Remove conditional code.
37522         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
37523         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
37524         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
37525         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
37526         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
37527         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
37528         code.
37529         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
37530         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
37531         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
37532         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
37533         conditional code.
37534         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
37535         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
37536         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
37537         code.
37538         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
37539         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
37540         conditional code.
37541         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
37542         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
37543         code unconditional.
37544         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
37545         conditional code.
37546         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
37547         unconditional.
37548         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
37549         conditional code.
37550         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
37551         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
37552         unconditional.
37553         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
37554         conditional code.
37555         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
37556         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
37557         code unconditional.
37558         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
37559         conditional code.
37560         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
37561         unconditional.
37562         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
37563         conditional code.
37564         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
37565         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
37566         code unconditional.
37567         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
37568         conditional code.
37569         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
37570         unconditional.
37571         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
37572         conditional code.
37573
37574 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
37575
37576         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
37577         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
37578         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
37579         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
37580         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
37581         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
37582         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
37583         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
37584         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
37585         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
37586         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
37587         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
37588         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
37589         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
37590         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
37591         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
37592         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
37593         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
37594         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
37595         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
37596         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
37597         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
37598         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
37599
37600 2012-07-25  Florian Weimer  <fweimer@redhat.com>
37601
37602         * Versions.def: Add GLIBC_2.17.
37603         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
37604         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
37605         Introduce __libc_secure_getenv.
37606         * stdlib/Versions (2.17): Add secure_getenv
37607         (GLIBC_PRIVATE): Add __libc_secure_getenv.
37608         * stdlib/secure-getenv.c: Rename __secure_getenv to
37609         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
37610         symbol __secure_getenv for GLIBC_2.0.
37611         * stdlib/tst-secure-getenv.c: New.
37612         * stdlib/Makefile (tests): Add testcase.
37613         * manual/startup.texi (Environment Access): Document
37614         secure_getenv.
37615         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
37616         __libc_secure_getenv.
37617         * inet/ruserpass.c (ruserpass): Likewise.
37618         * malloc/mtrace.c (mtrace): Likewise.
37619         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
37620         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
37621         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
37622         * sysdeps/posix/tempname.c: Likewise.  Evaluate
37623         HAVE_SECURE_GETENV.
37624         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
37625         __secure_getenv to __libc_secure_getenv.
37626         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
37627         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
37628         Likewise.
37629         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
37630         Likewise.
37631         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
37632         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
37633         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
37634         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
37635         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
37636         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
37637         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
37638
37639 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
37640
37641         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
37642         (struct La_i86_retval): Likewise.
37643         (struct La_x86_64_regs): Likewise.
37644         (struct La_x86_64_retval): Likewise.
37645         (struct La_x32_regs): Likewise.
37646         (struct La_x32_retval): Likewise.
37647         (struct La_ppc32_regs): Likewise.
37648         (struct La_ppc32_retval): Likewise.
37649         (struct La_ppc64_regs): Likewise.
37650         (struct La_ppc64_retval): Likewise.
37651         (struct La_sh_regs): Likewise.
37652         (struct La_sh_retval): Likewise.
37653         (struct La_s390_32_regs): Likewise.
37654         (struct La_s390_32_retval): Likewise.
37655         (struct La_s390_64_regs): Likewise.
37656         (struct La_s390_64_retval): Likewise.
37657         (struct La_sparc32_regs): Likewise.
37658         (struct La_sparc32_retval): Likewise.
37659         (struct La_sparc64_regs): Likewise.
37660         (struct La_sparc64_retval): Likewise.
37661         (struct audit_ifaces): Remove architecture-specific pltenter and
37662         pltexit members.
37663         * sysdeps/i386/ldsodefs.h: New file.
37664         * sysdeps/powerpc/ldsodefs.h: Likewise.
37665         * sysdeps/s390/ldsodefs.h: Likewise.
37666         * sysdeps/sh/ldsodefs.h: Likewise.
37667         * sysdeps/sparc/ldsodefs.h: Likewise.
37668         * sysdeps/x86_64/ldsodefs.h: Likewise.
37669
37670 2012-07-25  Marek Polacek  <polacek@redhat.com>
37671
37672         [BZ #6808]
37673         * math/libm-test.inc (yn_test): Add another test.
37674         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
37675         to ERANGE when the result is +-Inf.
37676         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
37677         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
37678         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
37679         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
37680
37681 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
37682
37683         * conform/data/time.h-data (NULL): Use macro-constant.  Require
37684         equal to 0.
37685         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
37686         clock_t.
37687         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
37688
37689 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
37690
37691         * configure.in <sysdeps resolving>: Correct printing
37692         Implies_before.
37693         * configure: Regenerate.
37694
37695 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
37696
37697         * math/w_ilogb.c: Include <limits.h>.
37698         * math/w_ilogbl.c: Likewise.
37699
37700 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
37701
37702         * manual/lang.texi (__va_copy): Document primarily as ISO C99
37703         va_copy.  Document allowing for unavailable va_copy only as
37704         pre-C99 compatibility.
37705         * manual/string.texi (Copying and Concatenation): Use va_copy
37706         instead of __va_copy in concat example.
37707
37708 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
37709
37710         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
37711         (__sendto): Use create_address_port.  Initialize APORT and deallocate
37712         it if not null.
37713
37714         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
37715         with O_NOLINK passed to __file_name_lookup.
37716
37717         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
37718         with O_NOLINK passed to __file_name_lookup.
37719
37720         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
37721         negative N or less than NGIDS.
37722
37723         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
37724         type to string_t.  Set ERANGE as errno and return it if NAME is not big
37725         enough.  Use memcpy instead of strncpy.
37726
37727 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
37728
37729         * elf/Makefile (check-data): Remove.
37730         (localplt.data): New vpath directive.
37731         ($(objpfx)check-localplt.out): Use localplt.data from vpath
37732         instead of $(check-data).
37733         * scripts/data/localplt-generic.data: Move to ...
37734         * sysdeps/generic/localplt.data: ... here.
37735         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
37736         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
37737         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
37738         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
37739         ... here.
37740         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
37741         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
37742         ... here.
37743         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
37744         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
37745         ... here.
37746         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
37747         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
37748         ... here.
37749         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
37750         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
37751         ... here.
37752         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
37753         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
37754         ... here.
37755
37756 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37757
37758         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
37759         PPC32 and PPC64 files.
37760         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
37761         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
37762
37763 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37764
37765         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
37766         __makecontext_ret to ...
37767         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
37768         ... here and call exit if uc_link is NULL.  New file.
37769         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
37770         __makecontext_ret.S.
37771         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
37772         __makecontext_ret to ...
37773         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
37774         ... here and call exit if uc_link is NULL.  New file.
37775         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
37776         __makecontext_ret.S.
37777
37778 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37779
37780         * elf/elf.h (R_390_IRELATIVE): New definition.
37781         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
37782         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
37783         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
37784         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
37785         (elf_machine_lazy_rel): Likewise.
37786         * sysdeps/s390/dl-irel.h: New file.
37787         * sysdeps/s390/s390-64/memcpy.S: New asm code.
37788         * sysdeps/s390/s390-64/memset.S: New asm code.
37789         * sysdeps/s390/s390-64/memcmp.S: New asm code.
37790         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
37791         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
37792         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
37793         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
37794         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
37795         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
37796         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
37797         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
37798         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
37799         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
37800         * sysdeps/s390/s390-32/memcpy.S: New asm code.
37801         * sysdeps/s390/s390-32/memset.S: New asm code.
37802         * sysdeps/s390/s390-32/memcmp.S: New asm code.
37803
37804 2012-07-17  Marek Polacek  <polacek@redhat.com>
37805
37806         [BZ #14349]
37807         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
37808         * sysdeps/s390/s390-64/configure.in: Likewise.
37809         * sysdeps/sparc/configure.in: Likewise.
37810         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
37811         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
37812         * sysdeps/i386/configure.in: Likewise.
37813         * sysdeps/x86_64/configure.in: Likewise.
37814         * sysdeps/sh/configure.in: Likewise.
37815         * sysdeps/s390/s390-32/configure: Regenerated.
37816         * sysdeps/s390/s390-64/configure: Likewise.
37817         * sysdeps/x86_64/configure: Likewise.
37818         * sysdeps/sh/configure: Likewise.
37819         * sysdeps/powerpc/powerpc64/configure: Likewise.
37820         * sysdeps/powerpc/powerpc32/configure: Likewise.
37821         * sysdeps/sparc/configure: Likwise.
37822         * sysdeps/i386/configure: Likewise.
37823
37824         * elf/dl-open.c: Comment fixes.
37825
37826 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
37827
37828         * Makefile [CXX] (check-data): Remove.
37829         [CXX] (c++-types.data): New vpath directive.
37830         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
37831         vpath.  Do not allow for C++ type data being missing.
37832         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
37833         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
37834         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
37835         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
37836         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
37837         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
37838         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
37839         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
37840         ... here.
37841         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
37842         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
37843         ... here.
37844         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
37845         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
37846         ... here.
37847         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
37848         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
37849         ... here.
37850         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
37851         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
37852         ... here.
37853         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
37854         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
37855         ... here.
37856         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
37857         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
37858         ... here.
37859         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
37860         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
37861
37862         * elf/tls-macros.h (TLS_LE): Move architecture-specific
37863         definitions to architecture-specific files.
37864         (TLS_IE): Likewise.
37865         (TLS_LD): Likewise.
37866         (TLS_GD): Likewise.
37867         * sysdeps/i386/tls-macros.h: New file.
37868         * sysdeps/powerpc/tls-macros.h: Likewise.
37869         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
37870         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
37871         * sysdeps/sh/tls-macros.h: Likewise.
37872         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
37873         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
37874         * sysdeps/x86_64/tls-macros.h: Likewise.
37875
37876 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
37877
37878         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
37879         zero value for regular exit case.
37880
37881         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
37882         (__start_context): Preserve zero value for regular exit case.
37883
37884 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
37885             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37886
37887         * manual/setjmp.texi (setcontext): Clarify normal process
37888         termination when uc_link is the null pointer.
37889         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
37890         exit call.
37891
37892 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
37893
37894         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
37895         preprocessor.  Test for each exception mask separately.
37896
37897 2012-07-16  Andreas Jaeger  <aj@suse.de>
37898
37899         * po/ru.po: Update from translation team.
37900
37901 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
37902
37903         * conform/data/string.h-data (NULL): Use macro-constant.  Require
37904         equal to 0.
37905         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
37906         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
37907         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
37908         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
37909         [ISO || ISO99 || ISO11] (*_t): Do not allow.
37910
37911 2012-07-13  Andreas Jaeger  <aj@suse.de>
37912
37913         * po/fr.po: Update from translation team.
37914
37915 2012-07-12  Marek Polacek  <polacek@redhat.com>
37916
37917         [BZ #14173]
37918         * math/libm-test.inc (yn_test): Add test for BZ #14173.
37919         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
37920         loop condition.
37921
37922 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
37923
37924         [BZ #13717]
37925         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
37926         Change to 2.4.1 where previously 2.4.0.
37927         * sysdeps/unix/sysv/linux/configure: Regenerated.
37928         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
37929         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
37930         version.
37931         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
37932         (__ASSUME_AT_CLKTCK): Remove.
37933         (__ASSUME_AT_PAGESIZE): Likewise.
37934         (__ASSUME_AT_XID): Likewise.
37935         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
37936         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
37937         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
37938         unconditionally.
37939         (HAVE_AUX_PAGESIZE): Likewise.
37940         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
37941         [__ASSUME_AT_CLKTCK]: Make code unconditional.
37942         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
37943
37944 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
37945
37946         [BZ #14307]
37947         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
37948         the temporary buffer used to invoke __gethostbyname2_r,
37949         __gethostbyaddr_r and gethostbyname4_r to make room for struct
37950         host_data / struct gaih_addrtuple.
37951         * resolv/nss_dns/dns-host.c (global scope): Move definition of
37952         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
37953         header file nss/nsswitch.h.
37954         * nss/nsswitch.h (global scope): Add definition of implementation
37955         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
37956         resolv/nss_dns/dns-host.c).
37957
37958 2012-07-11  Andreas Jaeger  <aj@suse.de>
37959
37960         * po/fr.po: Update from translation team.
37961
37962         * po/sv.po: Update from translation team
37963         * po/fr.po: Another update from translation team.
37964
37965 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37966
37967         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
37968         for subnormals or multiply small sinh result by itself.
37969         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
37970         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37971
37972 2012-07-11  David S. Miller  <davem@davemloft.net>
37973
37974         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37975
37976 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
37977
37978         [BZ #14347]
37979         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
37980         (INTERNAL_MARK): Shift it here.
37981
37982 2012-07-10  Marek Polacek  <polacek@redhat.com>
37983
37984         [BZ #14151]
37985         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
37986         libc_cv_asm_global_directive with .globl.
37987         * configure: Regenerated.
37988         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
37989         with .globl.
37990         * sysdeps/i386/configure: Regenerated.
37991         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
37992         with .globl.
37993         * sysdeps/x86_64/configure: Regenerated.
37994         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
37995         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
37996         * elf/tst-unique2mod2.c: Likewise.
37997         * elf/tst-unique2mod1.c: Likewise.
37998         * elf/tst-unique1mod2.c: Likewise.
37999         * elf/tst-unique1mod1.c: Likewise.
38000         * sysdeps/s390/s390-32/sysdep.h: Likewise.
38001         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
38002         * sysdeps/s390/s390-64/sysdep.h: Likewise.
38003         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
38004         * sysdeps/mach/sysdep.h: Likewise.
38005         * sysdeps/i386/sysdep.h: Likewise.
38006         * sysdeps/i386/i386-mcount.S: Likewise.
38007         * sysdeps/x86_64/_mcount.S: Likewise.
38008         * sysdeps/x86_64/sysdep.h: Likewise.
38009         * sysdeps/sh/_mcount.S: Likewise.
38010         * sysdeps/sh/sysdep.h: Likewise.
38011         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
38012         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
38013         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
38014         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
38015         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
38016         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
38017         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
38018         * locale/localeinfo.h: Likewise.
38019         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
38020         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
38021
38022 2012-07-09  Roland McGrath  <roland@hack.frob.com>
38023
38024         [BZ #14336]
38025         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
38026         system".
38027         * manual/message.texi (The Uniforum approach): Likewise.
38028         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
38029         (glibc iconv Implementation): Likewise.
38030
38031 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
38032
38033         [BZ #14337]
38034         * math/s_clog.c (__clog): Avoid scaling a value down where that
38035         could result in underflow.
38036         * math/s_clog10.c (__clog10): Likewise.
38037         * math/s_clog10f.c (__clog10f): Likewise.
38038         * math/s_clog10l.c (__clog10l): Likewise.
38039         * math/s_clogf.c (__clogf): Likewise.
38040         * math/s_clogl.c (__clogl): Likewise.
38041         * math/libm-test.inc (clog_test): Add more tests.
38042         (clog10_test): Likewise.
38043         * sysdeps/i386/fpu/libm-test-ulps: Update.
38044         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38045
38046 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
38047
38048         [BZ #14283]
38049         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
38050         by 7 not 8 to examine high bit of fractional part.
38051
38052         [BZ #14042]
38053         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
38054         for call to __mcount_internal.
38055         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
38056         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
38057         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
38058
38059 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
38060
38061         [BZ #14154]
38062         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
38063         approximation for values within 0x1p-13f of an odd multiple of
38064         pi/4.
38065         * math/libm-test.inc (tan_test): Do not allow spurious underflow
38066         exception.  Add more tests.
38067         * sysdeps/i386/fpu/libm-test-ulps: Update.
38068
38069         [BZ #6778]
38070         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
38071         inputs and return -1 for them.  Do not check for +Inf in case not
38072         reachable for +Inf.
38073         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
38074         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
38075         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
38076         and return -1 for them.  Do not check for +Inf in case not
38077         reachable for +Inf.
38078         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
38079         define.
38080         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
38081         and return -1 for them.  Do not check for +Inf in case not
38082         reachable for +Inf.
38083         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
38084         spurious underflow.
38085         * sysdeps/i386/fpu/libm-test-ulps: Update.
38086         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38087
38088 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
38089
38090         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
38091
38092 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
38093
38094         [BZ #14157]
38095         [BZ #14331]
38096         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
38097         could result in spurious underflow.  Scale down values above
38098         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
38099         * math/s_csqrtf.c (__csqrtf): Likewise.
38100         * math/s_csqrtl.c (__csqrtl): Likewise.
38101         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
38102         spurious underflow.
38103         * sysdeps/i386/fpu/libm-test-ulps: Update.
38104         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38105
38106 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
38107
38108         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
38109         xopen-msg.sed.
38110         * catgets/xopen-msg.awk: New file.
38111         * catgets/xopen-msg.sed: Removed.
38112
38113         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
38114         po2text.sed.
38115         * intl/po2test.awk: New file.
38116         * intl/po2test.sed: Removed.
38117
38118 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
38119
38120         [BZ #14328]
38121         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
38122         or multiply small sinh result by itself.
38123         * math/s_ctanf.c (__ctanf): Likewise.
38124         * math/s_ctanh.c (__ctanh): Likewise.
38125         * math/s_ctanhf.c (__ctanhf): Likewise.
38126         * math/s_ctanhl.c (__ctanhl): Likewise.
38127         * math/s_ctanl.c (__ctanl): Likewise.
38128         * math/libm-test.inc (ctan_test_tonearest): New function.
38129         (ctan_test_towardzero): Likewise.
38130         (ctan_test_downward): Likewise.
38131         (ctan_test_upward): Likewise.
38132         (ctanh_test_tonearest): Likewise.
38133         (ctanh_test_towardzero): Likewise.
38134         (ctanh_test_downward): Likewise.
38135         (ctanh_test_upward): Likewise.
38136         (main): Call these new functions.
38137         * sysdeps/i386/fpu/libm-test-ulps: Update.
38138         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38139
38140 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
38141
38142         * .gitignore: Delete /ports entry.
38143
38144 2012-07-03  Andreas Jaeger  <aj@suse.de>
38145
38146         * po/bg.po: Update from translation team.
38147         * po/cs.po: Likewise.
38148         * po/de.po: Likewise.
38149         * po/hr.po: Likewise.
38150         * po/nl.pl: Likewise.
38151         * po/pl.po: Likewise.
38152         * po/vi.po: Likewise.
38153
38154 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
38155
38156         * Makeconfig [!+link] (+link-before-libc): New variable.
38157         [!+link] (+link-after-libc): Likewise.
38158         [!+link] (+link-tests): Likewise.
38159         [!+link] (+link): Define in terms of $(+link-before-libc) and
38160         $(+link-after-libc).
38161         [!+link-static] (+link-static-before-libc): New variable.
38162         [!+link-static] (+link-static-after-libc): Likewise.
38163         [!+link-static] (+link-static-tests): Likewise.
38164         [!+link-static] (+link-static): Define in terms of
38165         $(+link-static-before-libc) and $(+link-static-after-libc).
38166         [build-shared] (link-libc-before-gnulib): New variable.
38167         [build-shared] (link-libc-tests): Likewise.
38168         [build-shared] (link-libc): Define in terms of
38169         $(link-libc-before-gnulib).
38170         [!build-shared] (link-libc-tests): New variable.
38171         (link-libc-static-tests): New variable.
38172         [!gnulib] (gnulib-arch): New variable.
38173         [!gnulib] (gnulib-tests): Likewise.
38174         [!gnulib] (static-gnulib-arch): Likewise.
38175         [!gnulib] (static-gnulib-tests): Likewise.
38176         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
38177         Define with "=" instead of ":=".
38178         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
38179         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
38180         * Rules (binaries-all-notests): New variable.
38181         (binaries-all-tests): Likewise.
38182         (binaries-static-notests): Likewise.
38183         (binaries-static-tests): Likewise.
38184         (binaries-all): Define using $(binaries-all-notests) and
38185         $(binaries-all-tests).
38186         (binaries-static): Define using $(binaries-static-notests) and
38187         $(binaries-static-tests).
38188         (binaries-shared-tests): New variable.
38189         (binaries-shared-notests): Likewise.
38190         (binaries-shared): Remove variable.
38191         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
38192         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
38193         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
38194         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
38195         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
38196         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
38197         * elf/Makefile (sln-modules): New variable.
38198         (extra-objs): Add $(sln-modules:=.o).
38199         (ldconfig-modules): Add static-stubs.
38200         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
38201         * elf/static-stubs.c: New file.
38202
38203         [BZ #14283]
38204         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
38205         by 7 not 8 to examine high bit of fractional part.  Use volatile
38206         variables when splitting into final array of floats if
38207         __FLT_EVAL_METHOD__ != 0.
38208         * math/libm-test.inc (cos_test): Add another test.
38209         (sin_test): Likewise.
38210         * sysdeps/i386/fpu/libm-test-ulps: Update.
38211
38212         [BZ #14273]
38213         * math/libm-test.inc (cosh_test): Add more tests.
38214
38215         * version.h (RELEASE): Set to "development".
38216         (VERSION): Set to "2.16.90".
38217
38218 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
38219
38220         * NEWS: Update copyright. Remove last-updated date.
38221         Mention math library bug fixes and timezone data changes.
38222         * README: Mention GNU/Hurd, x32, and HPPA support status.
38223
38224 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
38225
38226         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
38227
38228 2012-06-27  Andreas Jaeger  <aj@suse.de>
38229
38230         * manual/contrib.texi (Contributors): Add Samuel Thibault.
38231
38232 2012-06-25  Andreas Jaeger  <aj@suse.de>
38233
38234         * sysdeps/s390/fpu/libm-test-ulps: Update.
38235
38236 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
38237             Thomas Schwinge  <thomas@codesourcery.com>
38238
38239         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
38240         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
38241         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
38242         fanotify_mark.
38243
38244 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
38245
38246         * sysdeps/mach/start.c: Remove file.
38247         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
38248         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
38249         * sysdeps/sh/init-first.c: Likewise.
38250
38251         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
38252         registers for frame unwinding purposes, add CFI directives.
38253         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
38254         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
38255         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
38256         Likewise.
38257
38258         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
38259         __fortify_fail returning.
38260         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
38261
38262         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
38263         sysdeps/sh/____longjmp_chk.S.
38264         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
38265         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
38266         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
38267         (gen-as-const-headers): Append sigaltstack-offsets.sym.
38268
38269         * sysdeps/sh/abort-instr.h: New file.
38270         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
38271         process in case exit returns.
38272
38273         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
38274         initialize the GOT register before use.
38275
38276         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
38277         calculation of ARGC > 4.
38278
38279         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
38280         meaningful names to some local labels.
38281
38282 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
38283             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
38284
38285         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
38286         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
38287         (__arch_compare_and_exchange_val_16_acq): Likewise.
38288         (__arch_compare_and_exchange_val_32_acq): Likewise.
38289         (atomic_exchange_and_add): Fix gUSA sequence.
38290         (atomic_add): Likewise.
38291         (atomic_add_negative): Likewise.
38292         (atomic_add_zero): Likewise.
38293         (atomic_bit_test_set): Likewise.
38294
38295 2012-06-22  Andreas Schwab  <schwab@redhat.com>
38296
38297         [BZ #13579]
38298         * include/link.h (struct link_map): Add l_free_initfini.
38299         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
38300         l_initfini.
38301         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
38302         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
38303         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
38304         set.
38305
38306 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
38307
38308         * configure.in: Use AC_LANG_SOURCE.
38309         * configure: Regenerate.
38310
38311 2012-06-22  Roland McGrath  <roland@hack.frob.com>
38312
38313         * configure.in (libc_cv_localstatedir): New substituted variable.
38314         * configure: Regenerated.
38315         * config.make.in (localstatedir): New variable, substituted from
38316         libc_cv_localstatedir.
38317         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
38318         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
38319         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
38320         * sysdeps/gnu/configure: Regenerated.
38321
38322 2012-06-21  Jeff Law  <law@redhat.com>
38323
38324         [BZ #14277]
38325         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
38326         free.  Simplify list management for _LIBC case.
38327
38328 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
38329
38330         [BZ #14273]
38331         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
38332         Clear sign bit of 64-bit integer value before comparing against
38333         overflow value.
38334
38335         * sysdeps/mach/configure: Regenerated.
38336
38337 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
38338
38339         [BZ #14278]
38340         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
38341
38342 2012-06-21  Jeff Law  <law@redhat.com>
38343
38344         [BZ #13882]
38345         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
38346         uint16_t for elements in the "seen" array to avoid char overflows.
38347         * elf/dl-fini.c (_dl_sort_fini): Likewise.
38348         * elf/dl-open.c (dl_open_worker): Likewise.
38349
38350 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
38351
38352         * scripts/list-sources.sh: Scan PORTS for translations.
38353         * po/libc.pot: Regenerated.
38354
38355 2012-06-21  Andreas Jaeger  <aj@suse.de>
38356
38357         [BZ #12194]
38358         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
38359         warning.
38360         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
38361         * bits/byteswap-16.h (__bswap_16): Likewise.
38362         * bits/byteswap.h (__bswap_constant_16): Likewise.
38363
38364 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
38365
38366         [BZ #14117]
38367         * sysdeps/i386/fpu_control.h: Removed.
38368         * sysdeps/x86_64/fpu_control.h: Moved to ...
38369         * sysdeps/x86/fpu_control.h: Here.
38370
38371         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
38372         (_FPU_SETCW): Likewise.
38373
38374 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
38375
38376         [BZ #14117]
38377         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
38378         * sysdeps/x86/fpu/bits/mathinline.h: This.
38379         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
38380
38381         [BZ #14050]
38382         [BZ #14117]
38383         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
38384         functions if __x86_64__ is defined.
38385
38386 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
38387
38388         * string/endian.h: Add !__ASSEMBLER__ condition for including
38389         conversion interfaces.
38390
38391 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
38392
38393         [BZ #14241]
38394         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
38395         of ABS(x) in calculating zero to negative powers other than odd
38396         integers.
38397         * math/libm-test.inc (pow_test): Add more tests.
38398
38399 2012-06-15  Andreas Jaeger  <aj@suse.de>
38400
38401         * manual/contrib.texi (Contributors): Update entry of Liubov
38402         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
38403         Machado Filho.
38404
38405 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
38406
38407         * string/string.h: Add __wur to GNU version of strerror_r.
38408
38409 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
38410
38411         [BZ #14229]
38412         * string/Makefile (tests): Add tst-strtok_r.
38413         * string/tst-strtok_r.c: New file.
38414         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
38415         RAX_LP/RDX_LP on SAVE_PTR.
38416
38417 2012-06-14  Roland McGrath  <roland@hack.frob.com>
38418
38419         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
38420
38421 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
38422
38423         * libm_test.inc (csqrt_test): Allow more spurious underflow
38424         exceptions.
38425         (j0_test): Likewise.
38426         (j1_test): Likewise.
38427         (y0_test): Likewise.
38428         (y1_test): Likewise.
38429
38430 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
38431
38432         * po/Makefile (libc.pot): Use UTF-8 charset.
38433
38434 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
38435
38436         [BZ #14210]
38437         Suppress sign-conversion warning from FD_SET.
38438         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
38439         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
38440         not unsigned long int.
38441         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
38442
38443 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
38444
38445         [BZ #14050]
38446         [BZ #14117]
38447         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
38448         __extern_always_inline instead of __extern_inline.
38449         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
38450         (__signbit): Likewise.
38451         (__signbitl): Support C++ namespace.
38452         (lrintf): New inline function.
38453         (lrint): Likewise.
38454         (llrintf): Likewise.
38455         (llrint): Likewise.
38456         (fmaxf): Likewise.
38457         (fmax): Likewise.
38458         (fminf): Likewise.
38459         (fmin): Likewise.
38460         (rint): Likewise.
38461         (rintf): Likewise.
38462         (ceil): Likewise.
38463         (ceilf): Likewise.
38464         (floor): Likewise.
38465         (floorf): Likewise.
38466         (nearbyint): Likewise.
38467         (nearbyintf): Likewise.
38468
38469 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
38470
38471         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
38472         non-default versions.
38473
38474 2012-06-11  Roland McGrath  <roland@hack.frob.com>
38475
38476         [BZ #14218]
38477         * manual/argp.texi (Argp): Reword argp_parse description slightly.
38478
38479 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
38480
38481         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
38482         (FE_UPWARD, FE_DOWNWARD): Don't define.
38483         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
38484         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
38485
38486         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
38487         reading it.
38488         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
38489         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
38490
38491 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
38492
38493         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
38494         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
38495         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
38496         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
38497
38498 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
38499
38500         [BZ #14117]
38501         * sysdeps/i386/fpu/bits/fenv.h: Removed.
38502         * sysdeps/i386/fpu/Implies: New file.
38503         * sysdeps/x86_64/fpu/Implies: Likewise.
38504         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
38505         * sysdeps/x86/fpu/bits/fenv.h: This.
38506
38507         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
38508         __SSE_MATH__.
38509
38510 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
38511
38512         [BZ #14134]
38513         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
38514         character 0xffff that matches the last element of the
38515         conversion table.
38516
38517 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38518
38519         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
38520         fmodl commit.
38521
38522 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38523
38524         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
38525         values higher than 25.6283.
38526
38527 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38528
38529         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
38530         subnormal exponent extraction and add some __builtin_expect.
38531         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
38532         Fix for subnormal mantissa calculation.
38533
38534 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
38535
38536         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
38537         cpu2 is -1 and errno is not ENOSYS.
38538
38539 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
38540
38541         [BZ #14117]
38542         * sysdeps/i386/i486/bits/string.h: Renamed to ...
38543         * sysdeps/x86/bits/string.h: This.
38544         * sysdeps/x86_64/bits/string.h: Removed.
38545
38546         * sysdeps/i386/i486/bits/string.h: Define inline functions only
38547         if not compiling for x86-64, but compiling for >= i486.
38548
38549         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
38550         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
38551
38552         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
38553         New macro from Linux kernel 3.4.0.
38554         (FP_XSTATE_MAGIC2): Likewise.
38555         (FP_XSTATE_MAGIC2_SIZE): Likewise.
38556         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
38557         (struct _fpx_sw_bytes): New struct.
38558         (struct _xsave_hdr): Likewise.
38559         (struct _ymmh_state): Likewise.
38560         (struct _xstate): Likewise.
38561
38562         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
38563         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
38564         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
38565         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
38566         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
38567         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
38568
38569         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
38570         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
38571         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
38572         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
38573         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
38574         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
38575
38576 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
38577
38578         [BZ #13743]
38579         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
38580         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
38581         (sysdep_headers): Include sys/platform/ppc.h.
38582         * sysdeps/powerpc/test-gettimebase.c: Test for
38583         __ppc_get_timebase() to catch future ISA opcode/insn changes.
38584         * manual/Makefile (appendices): Include platform.texi.
38585         * manual/contrib.texi (Contributors): Update @node pointers.
38586         * manual/maint.texi (Maintenance): Likewise.
38587         (Platform): New node.
38588         * manual/platform.texi: New file.  Document the new features.
38589
38590 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
38591             Jakub Jelinek  <jakub@redhat.com>
38592
38593         [BZ #14188]
38594         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
38595         where __builtin_expect is unavailable.
38596
38597 2012-06-03  David S. Miller  <davem@davemloft.net>
38598
38599         * stdlib/longlong.h: Updated from GCC.
38600
38601 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
38602
38603         [BZ #14042]
38604         * sysdeps/powerpc/powerpc32/mcount.c: New file.
38605         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
38606         __mcount_internal.
38607         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
38608         (GLIBC_2.16): Likewise.
38609
38610 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
38611
38612         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
38613
38614 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
38615
38616         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
38617         (default-abi): New variable.
38618         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
38619         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
38620         variable.
38621         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
38622         Likewise.
38623         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
38624         Likewise.
38625         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
38626         Likewise.
38627
38628         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
38629         definition.  Document in comment.
38630
38631 2012-06-01  David S. Miller  <davem@davemloft.net>
38632
38633         * stdlib/longlong.h: Updated from GCC.
38634
38635 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
38636
38637         [BZ #14117]
38638         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
38639         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
38640         sys/debugreg.h sys/io.h here.
38641         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
38642         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
38643         sys/io.h.
38644         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
38645         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
38646         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
38647         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
38648         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
38649         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
38650
38651         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
38652         Define only if __x86_64__ is defined.
38653
38654 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
38655
38656         [BZ #14048]
38657         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
38658         Use int64_t for variable i.
38659         * math/libm-test.inc (fmod_test): Add more tests.
38660
38661         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
38662         z computation is not scheduled after fetestexcept.
38663         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
38664         Use math_force_eval instead of asm to ensure calculation scheduled
38665         before exception test.
38666         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
38667         Ensure a1 + u.d computation is not scheduled after fetestexcept.
38668
38669 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
38670
38671         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
38672         computation is not scheduled after fetestexcept.
38673
38674 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
38675
38676         [BZ #14117]
38677         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
38678         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
38679
38680 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38681
38682         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
38683         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
38684
38685 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
38686
38687         [BZ #14117]
38688         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
38689         <bits/wordsize.h>.
38690         (__WCHAR_MIN): Support __WORDSIZE == 64.
38691         (__WCHAR_MAX): Likewise.
38692
38693         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
38694         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
38695
38696         [BZ #14183]
38697         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
38698         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
38699
38700         [BZ #14117]
38701         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
38702         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
38703
38704         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
38705         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
38706
38707         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
38708         Defined to 1 if __x86_64__ isn't defined.
38709         (_STAT_VER_LINUX_OLD): New.
38710         (st_atime): Remove duplicate.
38711         (st_mtime): Likewise.
38712         (st_ctime): Likewise.
38713
38714 2012-05-31  David S. Miller  <davem@davemloft.net>
38715
38716         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
38717         entries.
38718
38719 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
38720
38721         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
38722         gen-libm-test.pl.
38723
38724         [BZ #14132]
38725         * elf/dl-reloc.c: Include <_itoa.h>.
38726         (_dl_reloc_bad_type): Remove use of INTUSE.
38727         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
38728         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
38729         * stdio-common/psiginfo.c (psiginfo): Likewise.
38730         * stdio-common/psignal.c (psignal): Likewise.
38731         * string/strsignal.c (strsignal): Likewise.
38732         * include/signal.h (_sys_siglist): Declare hidden proto.
38733         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
38734         INTVARDEF with libc_hidden_data_def.
38735         * stdio-common/itoa-udigits.c: Likewise.
38736         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
38737         (_itoa_lower_digits_internal): Remove declaration.
38738         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
38739         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
38740         (_sys_sigabbrev_internal): Remove aliases.
38741         (_sys_siglist): Define hidden alias.
38742
38743 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
38744
38745         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38746         bits/sysctl.h.
38747
38748 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
38749
38750         [BZ #14117]
38751         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
38752         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
38753
38754         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
38755         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
38756         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
38757         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
38758         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
38759         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
38760
38761         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
38762         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
38763         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
38764
38765         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
38766         with __addr.
38767         (insw): Likewise.
38768         (insl): Likewise.
38769         (outsb): Likewise.
38770         (outsw): Likewise.
38771         (outsl): Likewise.
38772
38773         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
38774         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
38775         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
38776
38777         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
38778         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
38779         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
38780         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
38781         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
38782         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
38783
38784         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
38785         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
38786
38787         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
38788         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
38789
38790         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
38791         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
38792         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
38793
38794         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
38795         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
38796         to ...
38797         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
38798
38799         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
38800         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
38801         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
38802
38803         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
38804         for x86-64.
38805         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
38806
38807 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
38808
38809         * math/math.h (M_El): Use two more decimal places.
38810         (M_LOG2El): Likewise.
38811         (M_LOG10El): Likewise.
38812         (M_LN2l): Likewise.
38813         (M_LN10l): Likewise.
38814         (M_PIl): Likewise.
38815         (M_PI_2l): Likewise.
38816         (M_PI_4l): Likewise.
38817         (M_1_PIl): Likewise.
38818         (M_2_PIl): Likewise.
38819         (M_2_SQRTPIl): Likewise.
38820         (M_SQRT2l): Likewise.
38821         (M_SQRT1_2l): Likewise.
38822
38823 2012-05-31  David S. Miller  <davem@davemloft.net>
38824
38825         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
38826         values between float registers.
38827         * sysdeps/sparc/sparc64/memset.S: Likewise.
38828         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
38829
38830 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
38831
38832         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
38833         -D_FORTIFY_SOURCE=1.
38834         (CPPFLAGS-tst-longjmp_chk.c): Define.
38835         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
38836         (CPPFLAGS-tst-longjmp_chk2.c): Define.
38837         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
38838         CFLAGS-tst-wchar-h.c.
38839
38840 2012-05-31  Marek Polacek  <polacek@redhat.com>
38841
38842         [BZ #14132]
38843         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
38844         __endmntent_internal): Remove declaration.
38845         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
38846         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
38847         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
38848
38849 2012-05-30  David S. Miller  <davem@davemloft.net>
38850
38851         * sysdeps/sparc/sparc32/soft-fp/q_util.c
38852         (___Q_simulate_exceptions): Use real FP ops rather than writing
38853         into the %fsr.
38854         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
38855         Likewise.
38856
38857 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
38858
38859         [BZ #14117]
38860         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
38861         * sysdeps/x86/bits/xtitypes.h: This.
38862
38863         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
38864         * sysdeps/x86/bits/wordsize.h: This.
38865
38866         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
38867         * sysdeps/x86/bits/huge_vall.h: This.
38868
38869         * sysdeps/i386/bits/select.h: Removed.
38870         * sysdeps/x86_64/bits/select.h: Renamed to ...
38871         * sysdeps/x86/bits/select.h: This.
38872
38873         * sysdeps/i386/bits/setjmp.h: Removed.
38874         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
38875         * sysdeps/x86/bits/setjmp.h: This.
38876
38877         * sysdeps/i386/bits/mathdef.h: Removed.
38878         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
38879         * sysdeps/x86/bits/mathdef.h: This.
38880
38881 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
38882
38883         [BZ #14132]
38884         * include/sys/socket.h (__connect_internal)
38885         (__libc_sa_len_internal): Remove declaration.
38886         (__connect, __libc_sa_len): Declare hidden_proto.
38887         (SA_LEN): Remove use of INTUSE.
38888         * socket/connect.c: Add libc_hidden_def.
38889         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
38890         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
38891         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
38892         alias.
38893         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
38894         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
38895         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
38896         of adding _internal alias.
38897
38898 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
38899
38900         [BZ #14117]
38901         * sysdeps/i386/bits/link.h: Removed.
38902         * sysdeps/i386/bits/linkmap.h: Likewise.
38903         * sysdeps/x86_64/bits/link.h: Renamed to ...
38904         * sysdeps/x86/bits/link.h: This.
38905         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
38906         * sysdeps/x86/bits/linkmap.h: This.
38907
38908         * sysdeps/i386/bits/endian.h: Removed.
38909         * sysdeps/x86_64/bits/endian.h: Renamed to ...
38910         * sysdeps/x86/bits/endian.h: This.
38911
38912         * sysdeps/i386/bits/byteswap.h: Removed.
38913         * sysdeps/i386/bits/byteswap-16.h: Likewise.
38914         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
38915         * sysdeps/x86/bits/byteswap.h: This.
38916         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
38917         * sysdeps/x86/bits/byteswap-16.h: This.
38918         * sysdeps/i386/Implies: Add x86.
38919         * sysdeps/x86_64/Implies: Likewise.
38920
38921 2012-05-30  David S. Miller  <davem@davemloft.net>
38922
38923         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
38924         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
38925         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
38926         (FP_TRAPPING_EXCEPTIONS): Define.
38927         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
38928         (FP_TRAPPING_EXCEPTIONS): Define.
38929         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
38930         subnormals only when inexact has been signalled or underflow
38931         exceptions are enabled.
38932         (_FP_PACK_CANONICAL): Likewise.
38933
38934 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
38935
38936         [BZ #14183]
38937         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
38938         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
38939
38940 2012-05-30  Richard Henderson  <rth@twiddle.net>
38941
38942         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
38943         with #ifndef NOT_IN_libc.
38944
38945         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
38946         marked to avoid plt entry.
38947
38948 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
38949
38950         [BZ #14112]
38951         * Makeconfig (default-abi): New macro.
38952         (abi-includes): Likewise.
38953         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
38954         $(abi-$(default-abi)-lib-soname) for soname if defined.
38955         ($(common-objpfx)gnu/lib-names.stmp): Generate from
38956         abi-variants.
38957         * Makefile (installed-stubs): Likewise.
38958         * include/stubs-biarch.h: Removed.
38959         * scripts/lib-names.awk: Only handle one library at a time.
38960         * scripts/soversions.awk: Remove WORDSIZE support.
38961         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
38962         entries.
38963         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
38964         Removed.
38965         (syscall-list-default-condition): Likewise.
38966         (syscall-list-default-condition): Likewise.
38967         (syscall-list-includes): Likewise.
38968         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
38969         syscall-list-* with abi-*.  Handle undefined abi-variants.
38970         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
38971         * sysdeps/unix/sysv/linux/i386/Implies: New file.
38972         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
38973         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
38974         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
38975         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
38976         Removed.
38977         (syscall-list-32-options): Likewise.
38978         (syscall-list-32-condition): Likewise.
38979         (syscall-list-64-options): Likewise.
38980         (syscall-list-64-condition): Likewise.
38981         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
38982         macro.
38983         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
38984         Renamed to ...
38985         (abi-*): This.
38986         (abi-64-ld-soname): New macro.
38987         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
38988         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
38989         Renamed to ...
38990         (abi-*): This.
38991         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
38992         * sysdeps/x86_64/x32/shlib-versions: Likewise.
38993
38994 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
38995
38996         * sysdeps/unix/sysv/linux/kernel-features.h
38997         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
38998         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
38999         include <kernel-features.h>.
39000         [!__NR_ftruncate64]: Remove conditional code.
39001         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39002         [__NR_ftruncate64]: Make code unconditional.
39003         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39004         * sysdeps/unix/sysv/linux/truncate64.c: Do not
39005         include <kernel-features.h>.
39006         [!__NR_ftruncate64]: Remove conditional code.
39007         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39008         [__NR_ftruncate64]: Make code unconditional.
39009         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39010         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
39011         include <kernel-features.h>.
39012         [!__NR_ftruncate64]: Remove conditional code.
39013         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39014         [__NR_ftruncate64]: Make code unconditional.
39015         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39016         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
39017         include <kernel-features.h>.
39018         [!__NR_ftruncate64]: Remove conditional code.
39019         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39020         [__NR_ftruncate64]: Make code unconditional.
39021         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39022
39023         * configure.in (libc_cv_fpie): Weaken to a compile test using
39024         LIBC_TRY_CC_OPTION.
39025         * configure: Regenerated.
39026
39027 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39028
39029         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
39030         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
39031         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
39032         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
39033         Refreshed.
39034         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
39035         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
39036         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
39037         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
39038         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
39039         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
39040         Refreshed.
39041
39042 2012-05-27  David S. Miller  <davem@davemloft.net>
39043
39044         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
39045         (___Q_zero): New.
39046         (__Q_simulate_exceptions): Return void.  Change to simulate
39047         exceptions by writing into the %fsr.
39048         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
39049         (__Qp_handle_exceptions): Likewise.
39050         (numbers): Delete.
39051         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
39052         __Qp_handle_exceptions.
39053         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
39054         __Qp_handle_exceptions.
39055         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
39056         as unused and give dummy FP_RND_NEAREST initializer.
39057         (FP_INHIBIT_RESULTS): Define.
39058         (___Q_simulate_exceptions): Update declaration.
39059         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
39060         formatting.
39061         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
39062         as unused and give dummy FP_RND_NEAREST initializer.
39063         (__Qp_handle_exceptions): Update declaration.
39064         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
39065         formatting.
39066
39067 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
39068
39069         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
39070         the temporary FPU control word.
39071         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
39072         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
39073         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
39074         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
39075         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
39076         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
39077         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
39078         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
39079         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
39080         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
39081         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
39082
39083 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
39084
39085         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
39086         fields.
39087
39088 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
39089
39090         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
39091         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
39092         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
39093         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
39094         Likewise.
39095         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
39096         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
39097         Likewise.
39098
39099 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
39100
39101         * po/h.po: Update from translation team.
39102
39103 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
39104
39105         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
39106
39107         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
39108         handling of denormals.
39109         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
39110         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
39111         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
39112         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
39113         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
39114         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
39115         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
39116         Likewise.
39117
39118 2012-05-26  Marek Polacek  <polacek@redhat.com>
39119
39120         [BZ #14152]
39121         * math/libm-test.inc (fma_test): Don't always expect underflow
39122         exception.
39123
39124 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
39125
39126         [BZ #12416]
39127         * elf/tst-execstack.c: Include stackinfo.h.
39128         (do_test): Adjust test case to ensure that pthread_getattr_np
39129         behaviour remains the same after marking stack executable.
39130
39131 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
39132
39133         * sysdeps/unix/sysv/linux/kernel-features.h
39134         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
39135         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
39136         kernel-features.h.
39137         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
39138         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
39139         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
39140         kernel-features.h.
39141         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
39142         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
39143
39144 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
39145
39146         * configure.in: Define the default includes to being none.
39147         * configure: Regenerated.
39148
39149 2012-05-25  Roland McGrath  <roland@hack.frob.com>
39150
39151         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
39152         * sysdeps/x86_64/setjmp.S: Likewise.
39153         * sysdeps/i386/bsd-setjmp.S: Likewise.
39154         * sysdeps/i386/bsd-_setjmp.S: Likewise.
39155         * sysdeps/i386/setjmp.S: Likewise.
39156         * sysdeps/i386/__longjmp.S: Likewise.
39157         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
39158         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
39159
39160         * include/stap-probe.h: New file.
39161         * configure.in: Handle --enable-systemtap.
39162         * configure: Regenerated.
39163         * config.h.in (USE_STAP_PROBE): New #undef.
39164         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
39165         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
39166         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
39167
39168 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
39169
39170         [BZ #13717]
39171         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
39172         to 2.4.0 where earlier.
39173         * sysdeps/unix/sysv/linux/configure: Regenerated.
39174         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
39175         <kernel-features.h>.
39176         [__ASSUME_32BITUIDS]: Make code unconditional.
39177         [!__ASSUME_32BITUIDS]: Remove conditional code.
39178         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
39179         <kernel-features.h>.
39180         [__ASSUME_32BITUIDS]: Make code unconditional.
39181         [!__ASSUME_32BITUIDS]: Remove conditional code.
39182         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
39183         [__ASSUME_32BITUIDS]: Make code unconditional.
39184         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
39185         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
39186         <kernel-features.h>.
39187         [__ASSUME_32BITUIDS]: Make code unconditional.
39188         [!__ASSUME_32BITUIDS]: Remove conditional code.
39189         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
39190         <kernel-features.h>.
39191         [__ASSUME_32BITUIDS]: Make code unconditional.
39192         [!__ASSUME_32BITUIDS]: Remove conditional code.
39193         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
39194         <kernel-features.h>.
39195         [__ASSUME_32BITUIDS]: Make code unconditional.
39196         [!__ASSUME_32BITUIDS]: Remove conditional code.
39197         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
39198         <kernel-features.h>.
39199         [__ASSUME_32BITUIDS]: Make code unconditional.
39200         [!__ASSUME_32BITUIDS]: Remove conditional code.
39201         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
39202         <kernel-features.h>.
39203         [__ASSUME_32BITUIDS]: Make code unconditional.
39204         [!__ASSUME_32BITUIDS]: Remove conditional code.
39205         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
39206         <kernel-features.h>.
39207         [__ASSUME_32BITUIDS]: Make code unconditional.
39208         [!__ASSUME_32BITUIDS]: Remove conditional code.
39209         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
39210         <kernel-features.h>.
39211         [__ASSUME_32BITUIDS]: Make code unconditional.
39212         [!__ASSUME_32BITUIDS]: Remove conditional code.
39213         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
39214         <kernel-features.h>.
39215         [__ASSUME_32BITUIDS]: Make code unconditional.
39216         [!__ASSUME_32BITUIDS]: Remove conditional code.
39217         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
39218         <kernel-features.h>.
39219         [__ASSUME_32BITUIDS]: Make code unconditional.
39220         [!__ASSUME_32BITUIDS]: Remove conditional code.
39221         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
39222         <kernel-features.h>.
39223         [__ASSUME_32BITUIDS]: Make code unconditional.
39224         [!__ASSUME_32BITUIDS]: Remove conditional code.
39225         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
39226         <kernel-features.h>.
39227         [__NR_setresgid] (__setresgid): Do not declare.
39228         [__ASSUME_32BITUIDS]: Make code unconditional.
39229         [!__ASSUME_32BITUIDS]: Remove conditional code.
39230         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
39231         <kernel-features.h>.
39232         [__NR_setresuid] (__setresuid): Do not declare.
39233         [__ASSUME_32BITUIDS]: Make code unconditional.
39234         [!__ASSUME_32BITUIDS]: Remove conditional code.
39235         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
39236         <kernel-features.h>.
39237         [__ASSUME_32BITUIDS]: Make code unconditional.
39238         [!__ASSUME_32BITUIDS]: Remove conditional code.
39239         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
39240         <kernel-features.h>.
39241         [__ASSUME_32BITUIDS]: Make code unconditional.
39242         [!__ASSUME_32BITUIDS]: Remove conditional code.
39243         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
39244         <kernel-features.h>.
39245         [__ASSUME_32BITUIDS]: Make code unconditional.
39246         [!__ASSUME_32BITUIDS]: Remove conditional code.
39247         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
39248         <kernel-features.h>.
39249         [__ASSUME_32BITUIDS]: Make code unconditional.
39250         [!__ASSUME_32BITUIDS]: Remove conditional code.
39251         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
39252         <kernel-features.h>.
39253         [__ASSUME_32BITUIDS]: Make code unconditional.
39254         [!__ASSUME_32BITUIDS]: Remove conditional code.
39255         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
39256         <kernel-features.h>.
39257         [__ASSUME_32BITUIDS]: Make code unconditional.
39258         [!__ASSUME_32BITUIDS]: Remove conditional code.
39259         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
39260         <kernel-features.h>.
39261         [__ASSUME_32BITUIDS]: Make code unconditional.
39262         [!__ASSUME_32BITUIDS]: Remove conditional code.
39263         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
39264         <kernel-features.h>.
39265         [__ASSUME_32BITUIDS]: Make code unconditional.
39266         [!__ASSUME_32BITUIDS]: Remove conditional code.
39267         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
39268         <kernel-features.h>.
39269         [__ASSUME_32BITUIDS]: Make code unconditional.
39270         [!__ASSUME_32BITUIDS]: Remove conditional code.
39271         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
39272         <kernel-features.h>.
39273         [__ASSUME_32BITUIDS]: Make code unconditional.
39274         [!__ASSUME_32BITUIDS]: Remove conditional code.
39275         * sysdeps/unix/sysv/linux/kernel-features.h
39276         (__ASSUME_SETRESUID_SYSCALL): Remove.
39277         (__ASSUME_SETRESGID_SYSCALL): Likewise.
39278         (__ASSUME_32BITUIDS): Likewise.
39279         (__ASSUME_LDT_WORKS): Likewise.
39280         (__ASSUME_O_DIRECTORY): Likewise.
39281         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
39282         architecture but not kernel version.
39283         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
39284         (__ASSUME_MMAP2_SYSCALL): Likewise.
39285         (__ASSUME_STAT64_SYSCALL): Likewise.
39286         (__ASSUME_IPC64): Likewise.
39287         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
39288         <kernel-features.h>.
39289         [__ASSUME_32BITUIDS]: Make code unconditional.
39290         [!__ASSUME_32BITUIDS]: Remove conditional code.
39291         * sysdeps/unix/sysv/linux/opendir.c: Do not include
39292         <kernel-features.h>.
39293         [__ASSUME_O_DIRECTORY]: Make code unconditional.
39294         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
39295         132096]: Remove conditional code.
39296         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
39297         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
39298         <kernel-features.h>.
39299         [__ASSUME_32BITUIDS]: Make code unconditional.
39300         [!__ASSUME_32BITUIDS]: Remove conditional code.
39301         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
39302         <kernel-features.h>.
39303         [__ASSUME_32BITUIDS]: Make code unconditional.
39304         [!__ASSUME_32BITUIDS]: Remove conditional code.
39305         * sysdeps/unix/sysv/linux/setegid.c: Do not include
39306         <kernel-features.h>.
39307         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
39308         unconditional.
39309         (__setresgid): Do not declare.
39310         [__ASSUME_32BITUIDS]: Make code unconditional.
39311         [!__ASSUME_32BITUIDS]: Remove conditional code.
39312         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
39313         <kernel-features.h>.
39314         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
39315         unconditional.
39316         (__setresuid): Do not declare.
39317         [__ASSUME_32BITUIDS]: Make code unconditional.
39318         [!__ASSUME_32BITUIDS]: Remove conditional code.
39319         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
39320         <kernel-features.h>.
39321         [__ASSUME_32BITUIDS]: Make code unconditional.
39322         [!__ASSUME_32BITUIDS]: Remove conditional code.
39323         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
39324         <kernel-features.h>.
39325         [__ASSUME_32BITUIDS]: Make code unconditional.
39326         [!__ASSUME_32BITUIDS]: Remove conditional code.
39327
39328 2012-05-25  Richard Henderson  <rth@twiddle.net>
39329
39330         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
39331         dl_hwcap to ifunc resolver.
39332         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
39333         elf_ifunc_invoke.
39334         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
39335         dl_hwcap to ifunc resolver.
39336         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
39337
39338 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
39339
39340         [BZ #14153]
39341         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
39342         for |x| <= 2**-26, not 2**-57.
39343         * math/libm-test.inc (acos_test): Do not allow spurious underflow
39344         exception.
39345
39346 2012-05-24  Jeff Law  <law@redhat.com>
39347
39348         * stdio-common/Makefile (tests): Add bug25.
39349         * stdio-common/bug25.c: New test.
39350
39351 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
39352
39353         [BZ #13576]
39354         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
39355         multiple of MALLOC_ALIGNMENT in size.
39356         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
39357
39358 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
39359
39360         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
39361         Require >= 256.
39362         (FILENAME_MAX): Use macro-int-constant.
39363         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
39364         (_IOFBF): Use macro-int-constant.
39365         (_IOLBF): Likewise.
39366         (_IONBF): Likewise.
39367         (SEEK_CUR): Likewise.
39368         (SEEK_END): Likewise.
39369         (SEEK_SET): Likewise.
39370         (TMP_MAX): Likewise.
39371         (EOF): Use macro-int-constant.  Require < 0.
39372         (NULL): Use macro-constant.  Require == 0.
39373         (stdin): Require type to be FILE *.
39374         (stdout): Likewise.
39375         (stderr): Likewise.
39376         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
39377         macro-int-constant.
39378         (EXIT_SUCCESS): Likewise.
39379         (NULL): Use macro-constant.  Require == 0.
39380         (RAND_MAX): Use macro-int-constant.
39381         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
39382         [C99-based standards] (strtof): Require function.
39383         [C99-based standards] (strtold): Likewise.
39384         [C99-based standards] (strtoll): Likewise.
39385         [C99-based standards] (strtoull): Likewise.
39386         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
39387         [ISO || ISO99 || ISO11] (limits.h): Likewise.
39388         [ISO || ISO99 || ISO11] (math.h): Likewise.
39389         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
39390         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
39391         [ISO || ISO99 || ISO11] (*_t): Do not allow.
39392
39393 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
39394
39395         [BZ #14132]
39396         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
39397         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
39398         * intl/dgettext.c (DCGETTEXT): Likewise.
39399         * intl/gettext.c (DCGETTEXT): Likewise.
39400         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
39401         * posix/regex_internal.h (gettext): Likewise.
39402         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
39403         Remove declaration.
39404         * include/argz.h (__argz_count_internal)
39405         (__argz_stringify_internal): Remove declaration.
39406         (__argz_count, __argz_stringify): Declare hidden proto.
39407         * intl/dcgettext.c: Remove use of INTDEF.
39408         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
39409         * string/argz-stringify.c: Likewise.
39410         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
39411         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
39412         Declare hidden proto.
39413         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
39414         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
39415         Declare hidden proto.
39416         * include/stdio.h (__asprintf_internal): Don't declare.
39417         (__asprintf): Don't define as macro.  Declare hidden proto.
39418         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
39419         (__fsetlocking): Declare hidden proto.
39420         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
39421         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
39422         hidden proto.
39423         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
39424         (_IO_setlinebuf): Remove use of INTUSE.
39425         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
39426         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
39427         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
39428         Remove declaration.
39429         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
39430         (_IO_do_flush): Remove use of INTUSE.
39431         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
39432         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
39433         (_IO_adjust_column, _IO_least_wmarker)
39434         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
39435         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
39436         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
39437         (_IO_default_doallocate, _IO_wdefault_doallocate)
39438         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
39439         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
39440         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
39441         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
39442         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
39443         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
39444         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
39445         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
39446         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
39447         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
39448         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
39449         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
39450         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
39451         proto.
39452         (_IO_flush_all_internal, _IO_adjust_column_internal)
39453         (_IO_default_uflow_internal, _IO_default_finish_internal)
39454         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
39455         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
39456         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
39457         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
39458         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
39459         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
39460         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
39461         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
39462         (_IO_file_close_internal, _IO_file_close_it_internal)
39463         (_IO_file_underflow_internal, _IO_file_overflow_internal)
39464         (_IO_file_init_internal, _IO_file_attach_internal)
39465         (_IO_file_fopen_internal, _IO_file_read_internal)
39466         (_IO_file_sync_internal, _IO_file_seek_internal)
39467         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
39468         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
39469         (_IO_str_underflow_internal, _IO_str_overflow_internal)
39470         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
39471         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
39472         (_IO_list_all_internal, _IO_link_in_internal)
39473         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
39474         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
39475         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
39476         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
39477         (_IO_do_write_internal, _IO_padn_internal)
39478         (_IO_getline_info_internal, _IO_getline_internal)
39479         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
39480         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
39481         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
39482         (_IO_vfscanf_internal, _IO_vfprintf_internal)
39483         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
39484         (_IO_init_internal, _IO_un_link_internal): Don't declare.
39485         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
39486         with libc_hidden_ver, remove use of INTUSE.
39487         * libio/genops.c: Likewise.
39488         * libio/freopen.c: Likewise.
39489         * libio/freopen64.c: Likewise.
39490         * libio/iofclose.c: Likewise.
39491         * libio/iofdopen.c: Likewise.
39492         * libio/iofflush.c: Likewise.
39493         * libio/iofflush_u.c: Likewise.
39494         * libio/iofgets.c: Likewise.
39495         * libio/iofgets_u.c: Likewise.
39496         * libio/iofopen.c: Likewise.
39497         * libio/iofopncook.c: Likewise.
39498         * libio/iofread.c: Likewise.
39499         * libio/iofread_u.c: Likewise.
39500         * libio/ioftell.c: Likewise.
39501         * libio/iofwrite.c: Likewise.
39502         * libio/iogetline.c: Likewise.
39503         * libio/iogets.c: Likewise.
39504         * libio/iogetwline.c: Likewise.
39505         * libio/iopadn.c: Likewise.
39506         * libio/iopopen.c: Likewise.
39507         * libio/ioseekoff.c: Likewise.
39508         * libio/ioseekpos.c: Likewise.
39509         * libio/iosetbuffer.c: Likewise.
39510         * libio/iosetvbuf.c: Likewise.
39511         * libio/ioungetc.c: Likewise.
39512         * libio/ioungetwc.c: Likewise.
39513         * libio/iovdprintf.c: Likewise.
39514         * libio/iovsprintf.c: Likewise.
39515         * libio/iovsscanf.c: Likewise.
39516         * libio/memstream.c: Likewise.
39517         * libio/obprintf.c: Likewise.
39518         * libio/oldfileops.c: Likewise.
39519         * libio/oldiofclose.c: Likewise.
39520         * libio/oldiofdopen.c: Likewise.
39521         * libio/oldiofopen.c: Likewise.
39522         * libio/oldiopopen.c: Likewise.
39523         * libio/oldstdfiles.c: Likewise.
39524         * libio/putc.c: Likewise.
39525         * libio/setbuf.c: Likewise.
39526         * libio/setlinebuf.c: Likewise.
39527         * libio/stdfiles.c: Likewise.
39528         * libio/strops.c: Likewise.
39529         * libio/vasprintf.c: Likewise.
39530         * libio/vscanf.c: Likewise.
39531         * libio/vsnprintf.c: Likewise.
39532         * libio/vswprintf.c: Likewise.
39533         * libio/wfiledoalloc.c: Likewise.
39534         * libio/wfileops.c: Likewise.
39535         * libio/wgenops.c: Likewise.
39536         * libio/wmemstream.c: Likewise.
39537         * libio/wstrops.c: Likewise.
39538         * libio/__fpurge.c: Likewise.
39539         * libio/__fsetlocking.c: Likewise.
39540         * assert/assert.c: Likewise.
39541         * debug/fgets_chk.c: Likewise.
39542         * debug/fgets_u_chk.c: Likewise.
39543         * debug/fread_chk.c: Likewise.
39544         * debug/fread_u_chk.c: Likewise.
39545         * debug/gets_chk.c: Likewise.
39546         * debug/obprintf_chk.c: Likewise.
39547         * debug/vasprintf_chk.c: Likewise.
39548         * debug/vdprintf_chk.c: Likewise.
39549         * debug/vsnprintf_chk.c: Likewise.
39550         * debug/vsprintf_chk.c: Likewise.
39551         * malloc/mtrace.c: Likewise.
39552         * misc/error.c: Likewise.
39553         * misc/syslog.c: Likewise.
39554         * stdio-common/asprintf.c: Likewise.
39555         * stdio-common/fxprintf.c: Likewise.
39556         * stdio-common/getw.c: Likewise.
39557         * stdio-common/isoc99_fscanf.c: Likewise.
39558         * stdio-common/isoc99_scanf.c: Likewise.
39559         * stdio-common/isoc99_vfscanf.c: Likewise.
39560         * stdio-common/isoc99_vscanf.c: Likewise.
39561         * stdio-common/isoc99_vsscanf.c: Likewise.
39562         * stdio-common/printf-prs.c: Likewise.
39563         * stdio-common/printf_fp.c: Likewise.
39564         * stdio-common/printf_fphex.c: Likewise.
39565         * stdio-common/printf_size.c: Likewise.
39566         * stdio-common/putw.c: Likewise.
39567         * stdio-common/scanf.c: Likewise.
39568         * stdio-common/sprintf.c: Likewise.
39569         * stdio-common/tmpfile.c: Likewise.
39570         * stdio-common/vfprintf.c: Likewise.
39571         * stdio-common/vfscanf.c: Likewise.
39572         * stdlib/strfmon_l.c: Likewise.
39573         * sunrpc/openchild.c: Likewise.
39574         * sunrpc/xdr_stdio.c: Likewise.
39575         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
39576         * sysdeps/mach/hurd/tmpfile.c: Likewise.
39577
39578 2012-05-24  Roland McGrath  <roland@hack.frob.com>
39579
39580         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
39581
39582         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
39583         in the third column, to generate for the shared library an IFUNC
39584         that uses _dl_vdso_vsym.
39585         * Makerules (COMPILE.c, compile-stdin.c): New variables.
39586         * Makeconfig (object-suffixes-noshared): New variable.
39587
39588         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
39589         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
39590         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
39591         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
39592
39593         [BZ #14132]
39594         * include/sys/time.h (__gettimeofday): Remove macro.
39595         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
39596         * time/gettimeofday.c (__gettimeofday): Remove #undef.
39597         Remove INTDEF.
39598         (__gettimeofday): Add libc_hidden_def.
39599         (gettimeofday): Add libc_hidden_weak.
39600         * sysdeps/mach/gettimeofday.c: Likewise.
39601         * sysdeps/posix/gettimeofday.c: Likewise.
39602         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
39603         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
39604         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
39605         (__gettimeofday_internal): Remove strong_alias.
39606         (__gettimeofday): Add libc_hidden_def.
39607         (gettimeofday): Add libc_hidden_weak.
39608         * sysdeps/unix/syscalls.list (gettimeofday):
39609         Remove __gettimeofday_internal alias.
39610
39611 2012-05-24  Daniel Jacobowitz  <drow@false.org>
39612             H.J. Lu  <hongjiu.lu@intel.com>
39613
39614         [BZ #12495]
39615         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
39616         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
39617         (largebin_index_32_big): New.
39618         (largebin_index): Use it for 16-byte alignment.
39619         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
39620         correction with front_misalign.
39621
39622 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
39623
39624         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
39625         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
39626         Likewise.
39627         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
39628         Likewise.
39629         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
39630         Likewise.
39631         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
39632         Likewise.
39633         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
39634         Likewise.
39635         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
39636         Likewise.
39637         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
39638         Likewise.
39639         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
39640         Likewise.
39641         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
39642         Likewise.
39643         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
39644         Likewise.
39645         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
39646         Likewise.
39647         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
39648         Likewise.
39649
39650         * scripts/data/c++-types-x32-linux-gnu.data: New file.
39651         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
39652
39653 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
39654
39655         [BZ #10846]
39656         [BZ #14036]
39657         * math/libm-test.inc (exp_test): Add test from bug 14036.
39658         (pow_test): Add test from bug 10846.
39659
39660         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
39661         and other flags.
39662         (special_function): Do not include flags in test name.
39663         (parse_args): Likewise.
39664         * sysdeps/i386/fpu/libm-test-ulps: Update.
39665         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
39666         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
39667         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
39668         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39669
39670         * math/gen-libm-test.pl (%beautify): Add entries for underflow
39671         exceptions.
39672         * math/libm-test.inc ("Philosophy"): Update comment about
39673         exception testing.
39674         (UNDERFLOW_EXCEPTION): New macro.
39675         (UNDERFLOW_EXCEPTION_OK): Likewise.
39676         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
39677         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
39678         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
39679         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
39680         (INVALID_EXCEPTION_OK): Update value.
39681         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
39682         (OVERFLOW_EXCEPTION_OK): Likewise.
39683         (IGNORE_ZERO_INF_SIGN): Likewise.
39684         (test_exceptions): Handle underflow exceptions.
39685         (acos_test): Update for underflow exception expectations.
39686         (cexp_test): Likewise.
39687         (clog_test): Likewise.
39688         (clog10_test): Likewise.
39689         (csqrt_test): Likewise.
39690         (ctan_test): Likewise.
39691         (ctanh_test): Likewise.
39692         (exp_test): Likewise.
39693         (exp10_test): Likewise.
39694         (exp2_test): Likewise.
39695         (expm1_test): Likewise.
39696         (fma_test): Likewise.
39697         (j0_test): Likewise.
39698         (jn_test): Likewise.
39699         (nexttoward_test): Likewise.
39700         (pow_test): Likewise.
39701         (scalbn_test): Likewise.
39702         (scalbln_test): Likewise.
39703         (tan_test): Likewise.
39704         (y1_test): Likewise.
39705         * sysdeps/i386/fpu/libm-test-ulps: Update.
39706         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39707
39708 2012-05-23  David S. Miller  <davem@davemloft.net>
39709
39710         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
39711         (__libc_sigaction): Remove unused local variables.
39712
39713 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
39714
39715         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
39716
39717 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
39718
39719         mktime: avoid signed integer overflow
39720         * time/mktime.c (__mktime_internal): Do not mishandle the case
39721         where diff == INT_MIN.
39722
39723         mktime: simplify computation of average
39724         * time/mktime.c (ranged_convert): Use new time_t_avg function
39725         instead of rolling our own (probably-slower) code.
39726
39727         mktime: do not assume signed right shift propagates sign bit
39728         * time/mktime.c (isdst_differ): New static function.
39729         (__mktime_internal): No need to normalize tm_isdst now.
39730         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
39731         tm_isdst values.
39732
39733         mktime: merge another wrapv change from gnulib
39734         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
39735         from some compilers.
39736
39737         mktime: remove incorrect attempt at unusual arithmetics
39738         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
39739         The code didn't really work on such machines anyway.
39740         (TYPE_MINIMUM): Assume two's complement.
39741         (twos_complement_arithmetic): Verify that long_int and time_t
39742         are two's complement (or unsigned, in the latter case).
39743
39744         mktime: check signed shifts on long_int and time_t, too
39745         * time/mktime.c (SHR): Check that shifts work as desired
39746         on the types long_int and time_t too, as SHR is used on
39747         such types.
39748
39749         mktime: do not assume 'long' is wide enough
39750         * time/mktime.c (verify): Move decl up.
39751         (long_int): New type.
39752         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
39753         to remove assumption in the code that 'long' is wide enough to
39754         store year values.  This assumption is not true on x32 and on
39755         some non-glibc platforms.
39756
39757         mktime: merge wrapv change from gnulib
39758         * time/mktime.c (WRAPV): New macro.
39759         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
39760         (guess_time_tm, __mktime_internal): Do not assume that signed
39761         integer overflow wraps around; modern compilers generate code
39762         where this assumption is no longer valid.
39763
39764 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
39765
39766         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
39767         Replace "jmp L(pseudo_end)" with "ret".
39768         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
39769         Likewise.
39770
39771 2012-05-23  Andreas Jaeger  <aj@suse.de>
39772
39773         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
39774         * sysdeps/unix/sysv/linux/poll.c: Remove file.
39775
39776 2012-05-23  Andreas Jaeger  <aj@suse.de>
39777             Maximilian Attems  <max@stro.at>
39778
39779         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
39780         New macros.
39781
39782 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
39783
39784         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
39785         code so that pseudo_end is just ret and the stack pointer is
39786         correct also for static library in error case.
39787
39788 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
39789
39790         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
39791         move to syscalls.list.
39792         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
39793         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
39794         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
39795         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
39796
39797         * manual/install.texi (Running make install): Do not mention Linux
39798         kernel version for which pt_chown is not needed.
39799         (Linux): Do not mention problems with nscd with 2.0 kernels.
39800         * INSTALL: Regenerated.
39801
39802 2012-05-23  Andreas Jaeger  <aj@suse.de>
39803
39804         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
39805         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
39806         macro.
39807         * sysdeps/unix/sysv/linux/s390/bits/mman.h
39808         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
39809         * sysdeps/unix/sysv/linux/sh/bits/mman.h
39810         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
39811         * sysdeps/unix/sysv/linux/i386/bits/mman.h
39812         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
39813         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
39814         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
39815         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
39816         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
39817         * sysdeps/unix/sysv/linux/bits/in.h
39818         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
39819
39820 2012-05-22  Roland McGrath  <roland@hack.frob.com>
39821
39822         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
39823         (PREPARE_VERSION): Just use assert instead, it will be elided
39824         under [NDEBUG] anyway.
39825
39826 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
39827
39828         * sysdeps/unix/sysv/linux/Makefile: Include
39829         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
39830         (sysdep_routines): Remove sysctl.
39831         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
39832         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
39833         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
39834         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
39835         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
39836
39837 2012-05-22  Andreas Jaeger  <aj@suse.de>
39838
39839         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
39840         that pseudo_end is just ret and the stack pointer is correct also
39841         for static library in error case.
39842
39843 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
39844
39845         [BZ #14122]
39846         * nss/nsswitch.c (defconfig_entries): New variable.
39847         (__nss_database_lookup): Don't leak defconfig entries.
39848         (nss_parse_service_list): Don't leak on error paths.
39849         (free_database_entries): New function.
39850         (free_defconfig): New function.
39851         (free_mem): Move common code to free_database_entries.
39852
39853 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
39854
39855         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
39856         Add arch_prctl.
39857         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
39858
39859         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
39860         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
39861         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
39862         New macro.
39863         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
39864         (INTERNAL_SYSCALL_TYPES): Likewise.
39865         (LOAD_ARGS_TYPES_[1-6]): Likewise.
39866         (LOAD_REGS_TYPES_[1-6]): Likewise.
39867         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
39868         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
39869
39870 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39871
39872         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
39873         copysignl for GLIBC_2_0.
39874         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
39875         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
39876         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
39877         logbl for GLIBC_2_0.
39878         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
39879         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
39880
39881 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
39882
39883         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
39884         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
39885
39886         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
39887         Use "neg %eax".
39888
39889         * time/mktime.c: Update copyright years.
39890
39891 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
39892
39893         mktime: merge comment-quoting-style change from gnulib
39894         * time/mktime.c: Quote 'like this' in comments.
39895         The GNU coding standards suggest that we no longer quote `like this',
39896         as "`" and "'" are typically rendered asymmetrically nowadays.
39897         The typical gnulib style is to quote 'like this' when quoting
39898         code, and "like this" when quoting English.
39899
39900         * time/mktime.c (compile-command): Add "-I.".
39901
39902         mktime: merge mktime-internal.h change from gnulib
39903         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
39904
39905         mktime: merge time_r change from gnulib
39906         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
39907
39908         mktime: merge DEBUG change from gnulib
39909         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
39910         case system <time.h> has a #define.
39911
39912         mktime: merge <sys/types.h> change from gnulib
39913         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
39914         since <time.t> is now guaranteed to define time_t.
39915
39916         mktime: merge HAVE_CONFIG_H change from gnulib
39917         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
39918
39919 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
39920
39921         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
39922         Use "neg %eax".
39923
39924         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
39925         __rlim_t cast.
39926         (struct rusage): Use anonymous union to pad each field to
39927         __syscall_slong_t.
39928
39929 2012-05-21  David S. Miller  <davem@davemloft.net>
39930
39931         * Makefules (o-iterator): Remove .s cases.
39932         (compile-command.s): Delete.
39933         (COMPILE.s): Delete.
39934         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
39935
39936 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
39937
39938         * configure.in (libc_cv_predef_stack_protector): Only consider
39939         "foobar" and "__stack_chk_fail" lines in libc_undefs.
39940         * configure: Regenerated.
39941
39942 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
39943
39944         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
39945         New macro.  Use R*LP on int and pointer.
39946         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
39947         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
39948         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
39949         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
39950
39951         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
39952         [__WORDSIZE_TIME64_COMPAT32] instead of
39953         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
39954         (struct utmp): Likewise.
39955         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
39956         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
39957         Renamed to ...
39958         (__WORDSIZE_TIME64_COMPAT32): This.
39959         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
39960         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
39961         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
39962         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
39963         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
39964         (__WORDSIZE_TIME64_COMPAT32): New macro.
39965
39966 2012-05-21  Andreas Jaeger  <aj@suse.de>
39967
39968         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
39969         only if [SHARED]. Add prototype for __wcschr_ia32.
39970
39971 2012-05-21  Roland McGrath  <roland@hack.frob.com>
39972
39973         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
39974         of %rbp unmolested in the jmp_buf while mangling the low bits.
39975         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
39976         unmolested high bits of %rbp while demangling the low bits.
39977         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
39978
39979 2012-05-21  Andreas Jaeger  <aj@suse.de>
39980
39981         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
39982         * sunrpc/svc_simple.c: Use it for registerrpc.
39983         * sunrpc/xcrypt.c: Use it for passwd2des.
39984
39985         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
39986
39987 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
39988
39989         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
39990         Don't define if [__SYSCALL_WORDSIZE != 32].
39991         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
39992         New macro.
39993
39994 2012-05-21  Bruno Haible  <bruno@clisp.org>
39995             Andreas Jaeger  <aj@suse.de>
39996
39997         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
39998         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
39999         inptr and inend for must_buffer_ch.
40000         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
40001         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
40002         * stdio-common/Makefile (tests): Remove bug15.
40003         (bug15-ENV): Remove macro.
40004         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
40005         anymore.
40006
40007 2012-05-19  Andreas Jaeger  <aj@suse.de>
40008             Roland McGrath  <roland@hack.frob.com>
40009
40010         * manual/contrib.texi: Completely rewritten. It contains now an
40011         alphabetical list of contributors and their contributions.
40012
40013 2012-05-21  Richard Henderson  <rth@twiddle.net>
40014
40015         * misc/getauxval.c (__getauxval): Use unsigned long int.
40016         * misc/sys/auxv.h: Include <sys/cdefs.h>.
40017         (getauxval): Use unsigned long int.
40018
40019 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
40020
40021         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
40022
40023 2012-05-21  Roland McGrath  <roland@hack.frob.com>
40024
40025         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
40026         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
40027         __alignof__ (long double).
40028
40029 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40030
40031         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40032
40033 2012-05-20  Richard Henderson  <rth@twiddle.net>
40034
40035         * misc/getauxval.c: New file.
40036         * misc/sys/auxv.h: New file.
40037         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
40038         (routines): Add getauxval.
40039         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
40040         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
40041         * elf/dl-sysdep.c (_dl_auxv): Remove.
40042         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
40043         * elf/dl-support.c (_dl_auxv): New variable.
40044         (_dl_aux_init): Initialize it.
40045         * manual/startup.texi (Auxiliary Vector): New node.
40046         * sysdeps/generic/bits/hwcap.h: New file.
40047         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
40048         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
40049         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
40050         * sysdeps/sparc/sysdep.h: ... here.  Include it.
40051         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
40052         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
40053         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
40054         Update.
40055         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
40056         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
40057         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
40058         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
40059         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
40060         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
40061         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
40062         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
40063
40064 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40065
40066         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40067
40068 2012-05-19  David S. Miller  <davem@davemloft.net>
40069
40070         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40071
40072 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
40073
40074         [BZ #14123]
40075         * math/s_ccosh.c: Include <float.h>
40076         (__ccosh): Avoid internal overflow calculating sinh and cosh
40077         values before multiplying by sin and cos values.
40078         * math/s_ccoshf.c: Likewise.
40079         * math/s_ccoshl.c: Likewise.
40080         * math/s_csin.c: Likewise.
40081         * math/s_csinf.c: Likewise.
40082         * math/s_csinl.c: Likewise.
40083         * math/s_csinh.c: Likewise.
40084         * math/s_csinhf.c: Likewise.
40085         * math/s_csinhl.c: Likewise.
40086         * math/libm-test.inc (ccos_test): Add more tests.
40087         (ccosh_test): Likewise.
40088         (csin_test): Likewise.
40089         (csinh_test): Likewise.
40090         * sysdeps/i386/fpu/libm-test-ulps: Update.
40091         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40092
40093 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
40094
40095         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
40096         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
40097
40098         * sysdeps/x86_64/x32/_itoa.h: Add comment.
40099
40100 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
40101
40102         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
40103         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
40104         * sysdeps/powerpc/soft-fp/Versions: Likewise.
40105         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
40106         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
40107         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
40108         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
40109         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
40110         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
40111         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
40112         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
40113         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
40114         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
40115         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
40116         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
40117         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
40118         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
40119         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
40120         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
40121         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
40122         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
40123         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
40124         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
40125         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
40126         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
40127         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
40128         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
40129         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
40130         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
40131         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
40132         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
40133
40134 2012-05-18  Andreas Jaeger  <aj@suse.de>
40135
40136         * csu/.gitignore: Delete.
40137
40138 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
40139
40140         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
40141         (timex): Use __syscall_slong_t.
40142
40143 2012-05-18  Andreas Jaeger  <aj@suse.de>
40144             Carlos O'Donell  <carlos_odonell@mentor.com>
40145
40146         * manual/install.texi (Configuring and compiling): Update
40147         description about files modified in the source directory.
40148         * INSTALL: Regenerated.
40149
40150 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
40151
40152         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
40153         value.  Use "or" to set return value to -1.
40154         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
40155         negate return value.
40156
40157 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
40158
40159         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
40160         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
40161         failure if the compiler has Graphite support disabled.
40162         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
40163         Likewise.
40164         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
40165         (CFLAGS-memmove.c): Likewise.
40166         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
40167         Likewise.
40168
40169 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
40170
40171         * sysdeps/x86_64/x32/_itoa.h: New file.
40172
40173         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
40174         getdents system call only if kernel and user dirents have the
40175         same d_ino and d_off.
40176
40177         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
40178         LLONG_MAX != LONG_MAX.
40179         (_itoa_word): Use _ITOA_WORD_TYPE on value.
40180         (_fitoa_word): Likewise.
40181
40182         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
40183         years.
40184         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
40185         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
40186         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
40187
40188         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
40189         include <bits/wordsize.h>.  Check __x86_64__ instead of
40190         __WORDSIZE.
40191         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
40192         if __x86_64__ is defined.  Use anonymous union on fpstate.
40193
40194         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
40195         anonymous union.
40196
40197 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
40198
40199         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
40200         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
40201         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
40202         Refer to _rtld_local_ro instead of _rtld_global_ro.
40203         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
40204         Likewise.
40205         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
40206         Likewise.
40207         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
40208         Likewise.
40209         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
40210         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
40211         of _rtld_global, and rtld_progname instead of _dl_argv[0].
40212
40213         * sysdeps/powerpc/powerpc32/dl-machine.c
40214         (__elf_machine_runtime_setup) [PROF]: Don't reference
40215         _dl_prof_resolve.
40216
40217 2012-05-18  Andreas Jaeger  <aj@suse.de>
40218
40219         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
40220         function only available for GCCs before 3.4 since GCC 3.4
40221         introduced a builtin.
40222         (lrint): Likewise.
40223         (llrintf): Likewise.
40224         (llrint): Likewise.
40225         (fmaxf): Likewise.
40226         (fmax): Likewise.
40227         (fminf): Likewise.
40228         (fmin): Likewise.
40229         (rint): Likewise.
40230         (rintf): Likewise.
40231         (nearbyint): Likewise.
40232         (nearbyintf): Likewise.
40233         (ceil): Likewise.
40234         (ceilf): Likewise.
40235         (floor): Likewise.
40236         (floorf): Likewise.
40237
40238 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
40239
40240         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
40241         on both fields and cast pointer to __syscall_ulong_t.
40242
40243         * bits/types.h (__fsword_t): New type.
40244         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
40245         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
40246         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
40247         (__FSWORD_T_TYPE): Likewise.
40248         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
40249         (__FSWORD_T_TYPE): Likewise.
40250         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
40251         (__FSWORD_T_TYPE): Likewise.
40252         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
40253         (__FSWORD_T_TYPE): Likewise.
40254         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
40255         __SWORD_TYPE with __fsword_t.
40256         (statfs64): Likewise.
40257
40258 2012-05-17  David S. Miller  <davem@davemloft.net>
40259
40260         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
40261
40262 2012-05-17  Andreas Jaeger  <aj@suse.de>
40263
40264         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
40265         warning.
40266
40267 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
40268
40269         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
40270
40271 2012-05-17  Andreas Jaeger  <aj@suse.de>
40272
40273         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
40274         when it is used.
40275
40276 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
40277
40278         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
40279
40280 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
40281
40282         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
40283         * sysdeps/x86_64/tst-mallocalign1.c: New file.
40284
40285 2012-05-17  Andreas Jaeger  <aj@suse.de>
40286             Carlos O'Donell  <carlos_odonell@mentor.com>
40287
40288         [BZ #14059]
40289         * sysdeps/x86_64/multiarch/init-arch.h
40290         (bit_YMM_Usable): Rename to...
40291         (bit_AVX_Usable): ... this.
40292         (bit_FMA4_Usable): New macro.
40293         (bit_XMM_state): New macro.
40294         (bit_YMM_state): New macro.
40295         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
40296         [__ASSEMBLER__] (index_AVX_Usable): ... this.
40297         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
40298         (CPUID_OSXSAVE): New macro.
40299         (CPUID_AVX): New macro.
40300         (CPUID_FMA4): New macro.
40301         (index_YMM_Usable): Rename to...
40302         (index_AVX_Usable): ... this.
40303         (HAS_AVX): Use HAS_ARCH_FEATURE.
40304         (HAS_FMA4): Likewise.
40305         (HAS_YMM_USABLE): Remove.
40306         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40307         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
40308         are present.
40309         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
40310         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
40311         * sysdeps/x86_64/multiarch/Makefile: Likewise.
40312         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
40313         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
40314
40315 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
40316
40317         * math/libm-test.c: Support platforms without multiple rounding modes.
40318         * math/bug-nextafter.c: Support platforms without FP exceptions.
40319         * math/bug-nexttoward.c: Likewise.
40320         * math/test-fenv.c: Likewise.
40321         * math/test-misc.c: Likewise.
40322         * stdlib/bug-getcontext.c: Likewise.
40323
40324 2012-05-17  Andreas Jaeger  <aj@suse.de>
40325
40326         * manual/examples/search.c (critter_cmp): Change signature to
40327         avoid warnings.
40328         * manual/string.texi (Collation Functions): Likewise.
40329
40330 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
40331
40332         * bits/types.h: Fold copyright years.
40333         * bits/typesizes.h: Likewise.
40334         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
40335         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
40336         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
40337         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
40338         * time/time.h: Likewise.
40339
40340 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
40341
40342         [BZ #208]
40343         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
40344         in instead of returning them.  Return void.
40345         (__libc_mallinfo): Accumulate over all arenas.
40346         (__malloc_stats): Adjust for change in int_mallinfo interface.
40347
40348 2012-05-16  Roland McGrath  <roland@hack.frob.com>
40349
40350         [BZ #10375]
40351         * configure.in (NM): Add AC_CHECK_TOOL for it.
40352         (libc_extra_cflags): New substituted variable.
40353         Check for -fstack-protector being used implicitly.
40354         * configure: Regenerated.
40355         * config.make.in (config-extra-cflags): New variable,
40356         gets @libc_extra_cflags@.
40357         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
40358
40359         [BZ #10375]
40360         * configure.in: Check for _FORTIFY_SOURCE being predefined.
40361         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
40362         * configure: Regenerated.
40363         * config.make.in (CPPUNDEFS): New substituted variable.
40364         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
40365         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
40366         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
40367
40368 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
40369
40370         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
40371         (mq_attr): Use __syscall_slong_t.
40372
40373 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
40374
40375         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
40376         Check __x86_64__ instead of __WORDSIZE.
40377         (_STAT_VER_LINUX): Likewise.
40378         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
40379         __syscall_ulong_t and __syscall_slong_t.
40380         (stat64): Likewise.
40381
40382 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
40383
40384         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
40385
40386 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
40387
40388         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
40389
40390 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
40391
40392         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
40393         __syscall_ulong_t.
40394
40395         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
40396         include <bits/wordsize.h>.  Check __x86_64__ instead of
40397         __WORDSIZE.
40398         (greg_t): Use "__extension__ long long int" if __x86_64__ is
40399         defined.
40400         (mcontext_t): Replace "unsigned long" with "unsigned long long".
40401
40402         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
40403         include <bits/wordsize.h>.  Check __x86_64__ instead of
40404         __WORDSIZE.
40405         (user_regs_struct): Use "__extension__ unsigned long long"
40406         instead of "unsigned long" if __x86_64__ is defined.
40407         (user): Likewise.  Pad after pointer field if __ILP32__ is
40408         defined.
40409
40410 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
40411
40412         * configure.in (makeinfo): Require version 4.5 or later.  Allow
40413         versions 5 to 9.
40414         * configure: Regenerated.
40415         * manual/install.texi (texinfo): Increase version requirement to
40416         4.5 or later.
40417         * INSTALL: Regenerated.
40418
40419         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
40420
40421 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
40422
40423         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
40424
40425         * sysdeps/x86_64/x32/ffs.c: New file.
40426
40427         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
40428         __syscall_ulong_t.
40429         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
40430         defined.  Use __syscall_ulong_t.
40431         (shminfo): Use __syscall_ulong_t.
40432         (shm_info): Likewise.
40433
40434         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
40435         __syscall_ulong_t.
40436
40437         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
40438         <bits/wordsize.h>.
40439         (msgqnum_t): Use __syscall_ulong_t.
40440         (msglen_t): Likewise.
40441         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
40442         __syscall_ulong_t.
40443
40444         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
40445         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
40446
40447         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
40448
40449         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
40450         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
40451
40452         * sysvipc/sys/msg.h (msgbuf): Replace long int with
40453         __syscall_slong_t.
40454
40455         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
40456         include <bits/wordsize.h>.  Check __x86_64__ instead of
40457         __WORDSIZE.
40458
40459         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
40460         "unsigned long long int" if __x86_64__ is defined.
40461         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
40462
40463         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
40464         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
40465         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
40466
40467         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
40468         <stdint.h>.
40469         (GET_PC): Cast to uintptr_t first.
40470         (GET_FRAME): Likewise.
40471         (GET_STACK): Likewise.
40472
40473         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
40474         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
40475         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
40476         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
40477         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
40478         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
40479         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
40480         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
40481         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
40482         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
40483         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
40484         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
40485         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
40486         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
40487         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
40488         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
40489         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
40490         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
40491         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
40492         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
40493         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
40494         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
40495         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
40496         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
40497         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
40498         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
40499         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
40500         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
40501         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
40502
40503 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
40504
40505         * Makerules (+depfiles): Also collect depfiles from .oS in
40506         $(extra-objs).
40507         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
40508         .oS, $(libnldbl-routines)).
40509
40510         * Makerules (native-compile-mkdep-flags): Define.
40511         * sunrpc/Makefile (extra-objs): Add $(addprefix
40512         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
40513         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
40514         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
40515         calling $(make-target-directory).
40516
40517 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40518
40519         * bits/types.h (__snseconds_t): Removed.
40520         * time/time.h (struct timespec): Replace __snseconds_t with
40521         __syscall_slong_t.
40522         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
40523         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
40524         Likewise.
40525         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
40526         (__SNSECONDS_T_TYPE): Likewise.
40527         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
40528         (__SNSECONDS_T_TYPE): Likewise.
40529         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
40530         (__SNSECONDS_T_TYPE): Likewise.
40531
40532 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40533
40534         * sysdeps/mach/hurd/bits/typesizes.h
40535         (__SYSCALL_SLONG_TYPE): New macro.
40536         (__SYSCALL_ULONG_TYPE): Likewise.
40537
40538 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40539
40540         * bits/types.h (__syscall_slong_t): New type.
40541         (__syscall_ulong_t): Likewise.
40542
40543         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
40544         (__SYSCALL_ULONG_TYPE): Likewise.
40545         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
40546         (__SYSCALL_SLONG_TYPE): Likewise.
40547         (__SYSCALL_ULONG_TYPE): Likewise.
40548         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
40549         (__SYSCALL_SLONG_TYPE): Likewise.
40550         (__SYSCALL_ULONG_TYPE): Likewise.
40551         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
40552         (__SYSCALL_SLONG_TYPE): Likewise.
40553         (__SYSCALL_ULONG_TYPE): Likewise.
40554
40555 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40556
40557         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
40558         Add sigaltstack-offsets.sym.
40559         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
40560         <sigaltstack-offsets.h>.
40561         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
40562         longjmp_msg pointer.
40563         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
40564         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
40565         signal stack.
40566         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
40567
40568 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
40569
40570         * elf/stackguard-macros.h: Remove file.
40571         * sysdeps/generic/stackguard-macros.h: New file.
40572         * sysdeps/i386/stackguard-macros.h: Likewise.
40573         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
40574         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
40575         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
40576         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
40577         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
40578         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
40579         * sysdeps/x86_64/stackguard-macros.h: Likewise.
40580         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
40581         <elf/stackguard-macros.h>.
40582
40583         [BZ #14109]
40584         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
40585         __aligned__ in attribute.
40586         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
40587         (gregset_t): Likewise.
40588
40589 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40590
40591         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
40592         * sysdeps/x86_64/64/Implies-after: Here.  New file.
40593         * sysdeps/x86_64/x32/Implies-after: New file.
40594
40595 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40596
40597         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
40598         and access return value for _dl_profile_fixup.  Use R10_LP to
40599         load frame size.
40600
40601 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40602
40603         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
40604
40605 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40606
40607         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
40608         * sysdeps/x86_64/x32/sysdep.h: New file.
40609
40610 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40611
40612         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
40613         * sysdeps/x86_64/setjmp.S: Likewise.
40614
40615 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40616
40617         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
40618         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
40619         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
40620         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
40621         remove unused global constant.
40622
40623 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
40624
40625         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
40626         include of <not-cancel.h>.
40627
40628 2012-05-15  Roland McGrath  <roland@hack.frob.com>
40629
40630         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
40631
40632 2012-05-15  Jeff Law  <law@redhat.com>
40633             Andreas Jaeger  <aj@suse.de>
40634
40635         [BZ #13594]
40636         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
40637         out from...
40638         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
40639         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
40640         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
40641         code changing __hst_map_handle.map.
40642
40643 2012-05-15  Roland McGrath  <roland@hack.frob.com>
40644
40645         * configure.in (sysnames): Look for Implies-before and Implies-after
40646         files.
40647         * configure: Regenerated.
40648
40649 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40650
40651         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
40652         8-byte data alignment with LP_SIZE alignment.
40653
40654 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40655
40656         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
40657         into R10_LP.
40658
40659 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40660
40661         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
40662
40663 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40664
40665         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
40666         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
40667         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
40668         Likewise.
40669         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
40670
40671 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40672
40673         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
40674         (stackinfo_sub_sp): Likewise.
40675
40676 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40677
40678         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
40679         RAX_LP.
40680
40681 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40682
40683         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
40684         into R*_LP.
40685
40686 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40687
40688         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
40689         sizes into R*_LP.
40690
40691 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40692
40693         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
40694
40695 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40696
40697         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
40698         into R11_LP and load __x86_64_shared_cache_size_half into
40699         R8_LP.
40700
40701 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40702
40703         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
40704         R8_LP.
40705
40706 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40707
40708         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
40709         logb for POWER7.
40710         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
40711         logbf for POWER7.
40712         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
40713         logbl for POWER7.
40714         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
40715         powerpc32/power7/fpu/s_logb.c via #include.
40716         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
40717         powerpc32/power7/fpu/s_logbf.c via #include.
40718         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
40719         powerpc32/power7/fpu/s_logbl.c via #include.
40720
40721 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
40722
40723         * README.libm: Remove file.
40724
40725 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
40726
40727         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
40728         count for x32.  Use R*_LP and omit operand-size suffix.
40729
40730 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
40731
40732         * shlib-versions: Move x86_64-.*-linux.* entries to ...
40733         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
40734         * sysdeps/x86_64/x32/shlib-versions: New file.
40735
40736 2012-05-14  Roland McGrath  <roland@hack.frob.com>
40737
40738         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
40739         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
40740         Use _dl_fatal_printf instead.
40741
40742 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
40743
40744         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
40745         set if not set by the user.  Do not allow for being unset.
40746         * sysdeps/unix/sysv/linux/configure: Regenerated.
40747
40748 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
40749
40750         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
40751         the `q' suffix from lea and replace .quad with ASM_ADDR.
40752
40753 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
40754
40755         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
40756         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
40757         instead of $17.
40758         (PTR_DEMANGLE): Likewise.
40759
40760 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
40761
40762         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
40763         (LP_OP): Likewise.
40764         (ASM_ADDR): Likewise.
40765         (RAX_LP): Likewise.
40766         (RBP_LP): Likewise.
40767         (RBX_LP): Likewise.
40768         (RCX_LP): Likewise.
40769         (RDI_LP): Likewise.
40770         (RSI_LP): Likewise.
40771         (RSP_LP): Likewise.
40772         (R8_LP): Likewise.
40773         (R9_LP): Likewise.
40774         (R10_LP): Likewise.
40775         (R10_LP): Likewise.
40776         (R11_LP): Likewise.
40777         (R12_LP): Likewise.
40778         (R13_LP): Likewise.
40779         (R14_LP): Likewise.
40780         (R15_LP): Likewise.
40781
40782 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
40783
40784         * sysdeps/x86_64/x32/dl-machine.h: New file.
40785
40786 2012-05-14  Andreas Jaeger  <aj@suse.de>
40787
40788         * manual/Makefile (subdir): Remove export of subdir.
40789         (all): Remove target.
40790         (.PHONY): Remove all from list.
40791         (mkinstalldirs): Remove.
40792         (.PHONY): Remove installdirs from list.
40793         ($(inst_infodir)/libc.info): Use make-target-directory.
40794         (installdirs): Remove.
40795         (subdir_%): Remove.
40796         (glibc-targets): Remove.
40797         (lib): Remove.
40798         (stubs): Remove.
40799         ($(objpfx)stubs ../po/manual.pot): Remove.
40800         ($(objpfx)stamp%): Remove.
40801         (make-target-directory): Remove.
40802         (subdir_install): Remove.
40803         (routines): Remove.
40804         (aux): Remove.
40805         (sources): Remove.
40806         (objects): Remove.
40807         (headers): Remove.
40808
40809         [BZ #13750]
40810         * manual/.gitignore: Remove, it's not needed anymore.
40811         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
40812         all files in it.
40813         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
40814         directory.
40815         (texis): Renamed to $(objpfx)texis.
40816         (texis-path): New, contains path to generated files.
40817         (chapters.%): Use texis-path for complete path, add extra argument
40818         libc-texinfo.sh.
40819         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
40820         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
40821         (summary,texi, stamp-summary): Use complete path of
40822         files. Generate files in build dir.
40823         (dir-add.texi): Build in build dir.
40824         (libm-err.texi,stamp-libm-err): Likewise.
40825         (version.texi, stamp-version): Likewise.
40826         (.%c.texi): Likewise.
40827         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
40828         (mostlyclean): Remove target.
40829         (realclean): Remove target.
40830         (generated): Add new variable with contents from mostlyclean and
40831         realclean, remove entries duplicated in common-mostlyclean, add
40832         stamp-libm-err and stamp-version.
40833         (generated-dirs): Add libc directory.
40834         ($(inst_infodir)/libc.info): Install files from build dir.
40835
40836         * manual/install.texi (Configuring and compiling): Adjust since
40837         the info files are not part of the tar ball anymore.
40838
40839 2012-05-14  Andreas Jaeger  <aj@suse.de>
40840
40841         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
40842         variable.
40843
40844 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
40845
40846         [BZ #13717]
40847         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
40848         to 2.2.0 where earlier.
40849         * sysdeps/unix/sysv/linux/configure: Regenerated.
40850         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
40851         Remove conditional code.
40852         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
40853         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
40854         Remove conditional code.
40855         [!__NR_lchown]: Likewise.
40856         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
40857         [__NR_lchown]: Likewise.
40858         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
40859         comment referencing __ASSUME_LCHOWN_SYSCALL.
40860         * sysdeps/unix/sysv/linux/i386/sigaction.c
40861         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
40862         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
40863         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
40864         Remove conditional code.
40865         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
40866         (__protocol_available): Remove #if 0 code.
40867         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
40868         conditional code.
40869         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
40870         * sysdeps/unix/sysv/linux/kernel-features.h
40871         (__ASSUME_GETCWD_SYSCALL): Don't define.
40872         (__ASSUME_REALTIME_SIGNALS): Likewise.
40873         (__ASSUME_PREAD_SYSCALL): Likewise.
40874         (__ASSUME_PWRITE_SYSCALL): Likewise.
40875         (__ASSUME_POLL_SYSCALL): Likewise.
40876         (__ASSUME_LCHOWN_SYSCALL): Likewise.
40877         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
40878         non-SPARC.
40879         (__ASSUME_SIOCGIFNAME): Don't define.
40880         (__ASSUME_MSG_NOSIGNAL): Likewise.
40881         (__ASSUME_SENDFILE): Define unconditionally.
40882         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
40883         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
40884         conditional code.
40885         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
40886         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
40887         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
40888         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
40889         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
40890         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
40891         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
40892         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
40893         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
40894         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
40895         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
40896         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
40897         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
40898         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
40899         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
40900         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
40901         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
40902         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
40903         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
40904         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
40905         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
40906         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
40907         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
40908         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
40909         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
40910         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
40911         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
40912         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
40913         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
40914         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
40915         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
40916         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
40917         Remove conditional code.
40918         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
40919         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
40920         Remove conditional code.
40921         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
40922         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
40923         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
40924         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
40925         Remove conditional code.
40926         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
40927         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
40928         Remove conditional code.
40929         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
40930         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
40931         Remove conditional code.
40932         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
40933         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
40934         Remove conditional code.
40935         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
40936         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
40937         Remove conditional code.
40938         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
40939         * sysdeps/unix/sysv/linux/sh/pwrite64.c
40940         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
40941         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
40942         * sysdeps/unix/sysv/linux/sigaction.c
40943         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
40944         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
40945         * sysdeps/unix/sysv/linux/sigpending.c
40946         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
40947         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
40948         * sysdeps/unix/sysv/linux/sigprocmask.c
40949         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
40950         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
40951         * sysdeps/unix/sysv/linux/sigsuspend.c
40952         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
40953         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
40954         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
40955         (__libc_missing_rt_sigs): Remove.
40956         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
40957         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
40958         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
40959         Remove conditional code.
40960         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
40961         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
40962         return 1.
40963         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
40964         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
40965         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
40966         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
40967
40968 2012-05-14  Andreas Jaeger  <aj@suse.de>
40969
40970         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
40971         it's not used in glibc.
40972         (__coshm1): Likewise.
40973         (__acosh1p): Likewise.
40974         (__sgn): Likewise.
40975
40976         * manual/string.texi (Copying and Concatenation): Add missing
40977         variable in concat example.
40978         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
40979
40980 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
40981
40982         [BZ #14103]
40983         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
40984         __builtin_clzl with __builtin_clzll.
40985
40986 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
40987
40988         [BZ #14104]
40989         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
40990         libc_freeres_ptr.
40991
40992 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
40993
40994         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
40995         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
40996         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
40997         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
40998
40999 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
41000
41001         * NEWS: Update ia64 info.
41002
41003 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
41004
41005         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
41006         used as bcopy.
41007
41008 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
41009
41010         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
41011         * sysdeps/unix/syscalls.list (dup3): Likewise.
41012         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
41013         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
41014
41015 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
41016
41017         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
41018         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
41019
41020 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
41021
41022         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
41023         thread pointer.
41024         (TLS_IE): Use mov/add instead of movq/addq to load thread
41025         pointer.
41026         (TLS_GD_PREFIX): New.
41027         (TLS_GD): Use it.
41028
41029 2012-05-11  David S. Miller  <davem@davemloft.net>
41030
41031         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
41032         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
41033         (_FPU_SETCW): Likewise.
41034
41035 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
41036
41037         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
41038         is 32-byte aligned.
41039
41040 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
41041
41042         [BZ #11837]
41043         * iconvdata/gb18030.c: Update tables.
41044         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
41045         characters specially.
41046         (BODY for TO_LOOP): Add encoding of missing ranges.
41047
41048 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
41049
41050         [BZ #13673]
41051         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
41052         * sysdeps/mach/hurd/dup3.c: Likewise.
41053         * sysdeps/mach/hurd/readlinkat.c: Likewise.
41054         * sysdeps/powerpc/memmove.c:: Likewise.
41055
41056 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
41057
41058         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
41059         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
41060
41061 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
41062
41063         * elf/elf.h (R_X86_64_RELATIVE64): New.
41064         (R_X86_64_NUM): Updated.
41065         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
41066         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
41067         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
41068         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
41069         tst-quad1pie tst-quad2pie
41070         (modules-names): Add tst-quadmod1 tst-quadmod2.
41071         ($(objpfx)tst-quad1): New dependency.
41072         ($(objpfx)tst-quad2): Likewise.
41073         ($(objpfx)tst-quad1pie): Likewise.
41074         ($(objpfx)tst-quad2pie): Likewise.
41075         * sysdeps/x86_64/tst-quad1.c: New file.
41076         * sysdeps/x86_64/tst-quad1pie.c: New file.
41077         * sysdeps/x86_64/tst-quad2.c: Likewise.
41078         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
41079         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
41080         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
41081         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
41082         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
41083
41084 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
41085
41086         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
41087         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
41088         * streams/stropts.h (t_scalar_t): Define type.
41089
41090         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
41091         (_PATH_PRESERVE): Set to "/var/lib".
41092         (_PATH_RWHODIR): Set to "/var/spool/rwho".
41093
41094         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
41095         instead of int.
41096
41097         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
41098         if __dir_mkfile succeeded.
41099
41100         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
41101         checking for _hurd_dtablesize.  Unlock it right after having
41102         finished _hurd_dtable allocation.
41103
41104 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
41105
41106         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
41107         * sysdeps/mach/hurd/configure: Regenerated.
41108         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
41109         special-casing to...
41110         * sysdeps/gnu/configure.in: ... this new file.
41111         * sysdeps/unix/sysv/linux/configure: Regenerated.
41112         * sysdeps/gnu/configure: New generated file.
41113
41114         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
41115         for Linux: use nsec instead of usec, as well as:
41116         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
41117         members of type struct timespec.
41118         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
41119         New macros.
41120         (struct stat64): Likewise.
41121         (_STATBUF_ST_NSEC): New macro.
41122         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
41123
41124         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
41125         __strtoul_internal rather than strtoul.
41126
41127 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
41128
41129         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
41130         and reject them.
41131
41132 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
41133
41134         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
41135         which preserves existing values.
41136         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
41137
41138 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
41139
41140         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
41141         TIMEOUT values.  Return EINVAL for NFDS values either negative or
41142         greater than FD_SETSIZE.
41143
41144 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
41145
41146         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
41147         allocated, call __vm_protect to finish enabling the existing space, and
41148         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
41149         allocate the remainder.
41150
41151 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
41152
41153         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
41154         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
41155
41156 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
41157
41158         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
41159         sysdeps/mach/hurd/readlink.c.
41160
41161         * posix/tst-sysconf.c (posix_options): Only use
41162         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
41163         _POSIX_SYNCHRONIZED_IO when they are defined
41164         * sysdeps/mach/hurd/bits/posix_opt.h:
41165         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
41166         (_XOPEN_REALTIME): Undefine macro.
41167         (_XOPEN_REALTIME_THREADS): Undefine macro.
41168         (_XOPEN_SHM): Undefine macro.
41169         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
41170         macro to -1.
41171         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
41172         macro to -1.
41173         (_POSIX_ASYNC_IO): Undefine macro.
41174         (_POSIX_PRIORITIZED_IO): Undefine macro.
41175         (_POSIX_SPIN_LOCKS): Define macro to -1.
41176
41177         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
41178         SA_NODEFER, SA_RESETHAND.
41179         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
41180         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
41181         F_DUPFD_CLOEXEC.
41182
41183 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
41184
41185         * elf/Makefile (pldd-modules): Define unconditionally.
41186
41187 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
41188
41189         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
41190
41191 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
41192
41193         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
41194         Return ENOENT when name is empty.
41195         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
41196
41197 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
41198
41199         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
41200
41201         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
41202
41203 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
41204
41205         Fix mlock in all cases except non-readable pages.
41206         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
41207         instead of VM_PROT_ALL as parameter to __vm_wire function.
41208
41209         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
41210         (__mkdir): When path is `/', just fail with EEXIST.
41211         * sysdeps/mach/hurd/mkdirat.c: Likewise.
41212
41213 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
41214
41215         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
41216         <sys/uio.h> (for writev).
41217         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
41218         and <sys/param.h> (for MIN).
41219
41220 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
41221
41222         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
41223         REQUESTED_TIME.  Properly set the remaining time and return EINTR
41224         if interrupted.
41225
41226 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
41227
41228         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
41229         Depend on against $(link-rpcuserlibs).
41230
41231 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
41232
41233         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
41234         (__libc_stack_end): Do not use attribute_relro.
41235         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
41236         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
41237         to libthread-provided value.
41238         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
41239         attribute_relro.
41240
41241 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
41242
41243         [BZ #3748]
41244         * bits/libc-lock.h (__libc_once_get): New macro.
41245         * sysdeps/mach/bits/libc-lock.h: Likewise.
41246         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
41247         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
41248         instead of using implementation details.
41249
41250         * libio/fileops.c: Unconditionally include <kernel-features.h>.
41251         * libio/freopen.c: Likewise.
41252         * libio/freopen64.c: Likewise.
41253         * misc/syslog.c: Likewise.
41254         * nscd/connections.c: Likewise.
41255         * nscd/netgroupcache.c: Likewise.
41256         * sysdeps/posix/getcwd.c: Likewise.
41257
41258 2012-05-10  Roland McGrath  <roland@hack.frob.com>
41259
41260         * math/w_ilogbf.c: Add #include <limits.h>.
41261
41262 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
41263
41264         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
41265         path instead of returning without unlocking.
41266
41267         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
41268         immediate-write ioctls.
41269         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
41270
41271 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
41272
41273         * sysdeps/mach/hurd/i386/init-first.c (init): Use
41274         __builtin_frame_address instead of making assumptions about the
41275         location of the return address relative to DATA.  Force early load of
41276         the return address.
41277         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
41278         __builtin_frame_address.
41279
41280         dup3 for GNU Hurd.
41281         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
41282         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
41283         implement dup3 and do some further code clean-ups.
41284         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
41285         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
41286
41287 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
41288
41289         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
41290
41291         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
41292         HURD_CRITICAL_END around holding _hurd_dtable_lock.
41293         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
41294         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
41295         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
41296         d->port.lock.
41297
41298         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
41299         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
41300         when handler == SIG_ERR, not when handler != SIG_ERR.
41301
41302 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
41303
41304         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
41305         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
41306         definitions.
41307
41308         accept4 for GNU Hurd.
41309         * include/sys/socket.h (__libc_accept4): New prototype.
41310         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
41311         to implement __libc_accept4.
41312         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
41313         __libc_accept4.
41314         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
41315
41316         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
41317         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
41318         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
41319         signal-defines.sym.
41320
41321 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
41322
41323         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
41324
41325 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
41326
41327         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
41328         assertion on O_CLOEXEC flag.
41329         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
41330         * hurd/intern-fd.c: Likewise.
41331         * hurd/port2fd.c: Likewise.
41332
41333 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
41334
41335         [BZ #3906]
41336         * bits/in.h (IPV6_PKTINFO): Define new macro.
41337         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
41338
41339 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41340
41341         [BZ #13954]
41342         [BZ #13955]
41343         [BZ #13956]
41344         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
41345         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
41346         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
41347         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
41348         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
41349         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
41350         * math/libm-test.inc (logb_test) : Additional logb tests.
41351
41352 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
41353             Andreas Jaeger  <aj@suse.de>
41354
41355         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
41356         * configure: Regenerated.
41357         * config.h.in (LINK_OBSOLETE_RPC): New macro.
41358         * config.make.in (link-obsolete-rpc): New substituted variable.
41359         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
41360         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
41361         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
41362         (shared-only-routines): Don't set it under [link-obsolete-rpc],
41363         so that libc.a contains the symbols.
41364         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
41365         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
41366         * sunrpc/auth_none.c: Likewise.
41367         * sunrpc/auth_unix.c: Likewise.
41368         * sunrpc/authdes_prot.c: Likewise.
41369         * sunrpc/authuxprot.c: Likewise.
41370         * sunrpc/clnt_gen.c: Likewise.
41371         * sunrpc/clnt_perr.c: Likewise.
41372         * sunrpc/clnt_raw.c: Likewise.
41373         * sunrpc/clnt_simp.c: Likewise.
41374         * sunrpc/clnt_tcp.c: Likewise.
41375         * sunrpc/clnt_udp.c: Likewise.
41376         * sunrpc/clnt_unix.c: Likewise.
41377         * sunrpc/des_crypt.c: Likewise.
41378         * sunrpc/des_soft.c: Likewise.
41379         * sunrpc/get_myaddr.c: Likewise.
41380         * sunrpc/key_call.c: Likewise.
41381         * sunrpc/key_prot.c: Likewise.
41382         * sunrpc/netname.c: Likewise.
41383         * sunrpc/pm_getmaps.c: Likewise.
41384         * sunrpc/pm_getport.c: Likewise.
41385         * sunrpc/pmap_clnt.c: Likewise.
41386         * sunrpc/pmap_prot.c: Likewise.
41387         * sunrpc/pmap_prot2.c: Likewise.
41388         * sunrpc/pmap_rmt.c: Likewise.
41389         * sunrpc/publickey.c: Likewise.
41390         * sunrpc/rpc_cmsg.c: Likewise.
41391         * sunrpc/rpc_common.c: Likewise.
41392         * sunrpc/rpc_dtable.c: Likewise.
41393         * sunrpc/rpc_prot.c: Likewise.
41394         * sunrpc/rpc_thread.c: Likewise.
41395         * sunrpc/rtime.c: Likewise.
41396         * sunrpc/svc.c: Likewise.
41397         * sunrpc/svc_auth.c: Likewise.
41398         * sunrpc/svc_raw.c: Likewise.
41399         * sunrpc/svc_run.c: Likewise.
41400         * sunrpc/svc_tcp.c: Likewise.
41401         * sunrpc/svc_udp.c: Likewise.
41402         * sunrpc/svc_unix.c: Likewise.
41403         * sunrpc/svcauth_des.c: Likewise.
41404         * sunrpc/xcrypt.c: Likewise.
41405         * sunrpc/xdr.c: Likewise.
41406         * sunrpc/xdr_array.c: Likewise.
41407         * sunrpc/xdr_float.c: Likewise.
41408         * sunrpc/xdr_intXX_t.c: Likewise.
41409         * sunrpc/xdr_mem.c: Likewise.
41410         * sunrpc/xdr_rec.c: Likewise.
41411         * sunrpc/xdr_ref.c: Likewise.
41412         * sunrpc/xdr_sizeof.c: Likewise.
41413         * sunrpc/xdr_stdio.c: Likewise.
41414
41415 2012-05-10  Roland McGrath  <roland@hack.frob.com>
41416
41417         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
41418         change.  Update copyright years.
41419
41420 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
41421
41422         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
41423
41424 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
41425             Joseph Myers  <joseph@codesourcery.com>
41426             Paul Pluzhnikov  <ppluzhnikov@google.com>
41427
41428         [BZ #14012]
41429         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
41430         requiring rpcgen.
41431         [cross-compiling] (extra-libs): Likewise.
41432         [cross-compiling] (extra-libs-others): Likewise.
41433         [cross-compiling] (librpcsvc-routines): Likewise.
41434         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
41435         [cross-compiling] (omit-deps): Likewise.
41436         (sunrpc-CPPFLAGS): New variable.
41437         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
41438         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
41439         (cross-rpcgen-objs): New variable.
41440         (extra-objs): Append $(cross-rpcgen-objs).
41441         ($(cross-rpcgen-objs)): New rule.
41442         ($(objpfx)cross-rpcgen): Likewise.
41443         (rpcgen-cmd): Define to use $(built-program-file).  Expand
41444         comment.
41445         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
41446         ($(objpfx)x%.stmp): Likewise.
41447         * sunrpc/proto.h [IS_IN_build] (_): Define.
41448         [IS_IN_build] (_libc_intl_domainname): Likewise.
41449
41450 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
41451
41452         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
41453         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
41454         and R_X86_64_TPOFF64.
41455
41456 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
41457
41458         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
41459         sysdeps/unix/sysv/syscalls.list.
41460         (stime): Likewise.
41461         (utime): Likewise.
41462         * sysdeps/unix/sysv/syscalls.list: Remove file.
41463
41464 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
41465
41466         [BZ #3440]
41467         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
41468         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
41469         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
41470         (__LC_IDENTIFICATION): Make these macros useful in #if
41471         expressions, as required by C99.
41472
41473 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
41474
41475         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
41476         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
41477         after this.
41478
41479 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
41480
41481         * stdlib/longlong.h: Updated from GCC.
41482
41483 2012-05-09  Andreas Jaeger  <aj@suse.de>
41484
41485         * nscd/nscd.c (run_modes): Make named enum, reorder so that
41486         default is first entry.
41487         (run_mode): Set type.
41488         (main): Remove informal message about syslog.
41489         (options): Fix typo.
41490
41491         [BZ #14053]
41492         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
41493         to asm.
41494         (lrint): Likewise.
41495         (llrintf): Likewise.
41496         (llrint): Likewise.
41497         (rint): Likewise.
41498         (rintf): Likewise.
41499         (nearbyint): Likewise.
41500         (nearbyintf): Likewise.
41501
41502 2012-05-09  Andreas Jaeger  <aj@suse.de>
41503             Pedro Alves  <palves@redhat.com>
41504
41505         * nscd/nscd.c (run_mode): Use enum.
41506         (main): Cleanup coding style issue.
41507
41508 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
41509             Andreas Jaeger  <aj@suse.de>
41510
41511         * nscd/nscd.c (go_background): Replaced with...
41512         (run_mode): ... this.
41513         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
41514         (options): Add -F --foreground.
41515         (main): Implement it.
41516         (parse_opt): Parse it.
41517
41518 2012-05-09  Andreas Jaeger  <aj@suse.de>
41519
41520         [BZ #14083]
41521         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
41522         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
41523         -Wconversion warning.
41524         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
41525         Likewise.
41526
41527 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
41528
41529         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
41530         == 0.
41531         (LC_ALL): Use macro-int-constant.
41532         (LC_COLLATE): Likewise.
41533         (LC_CTYPE): Likewise.
41534         (LC_MESSAGES): Likewise.
41535         (LC_MONETARY): Likewise.
41536         (LC_NUMERIC): Likewise.
41537         (LC_TIME): Likewise.
41538         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
41539         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
41540         [ISO || ISO99 || ISO11] (*_t): Do not allow.
41541         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
41542         Specify type.
41543         [C99-based standards] (float_t): Expect type.
41544         [C99-based standards] (double_t): Expect type.
41545         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
41546         type.
41547         [C99-based standards] (HUGE_VALL): Likewise.
41548         [C99-based standards] (INFINITY): Likewise.
41549         [C99-based standards] (NAN): Likewise.
41550         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
41551         [C99-based standards] (FP_NAN): Likewise.
41552         [C99-based standards] (FP_NORMAL): Likewise.
41553         [C99-based standards] (FP_SUBNORMAL): Likewise.
41554         [C99-based standards] (FP_ZERO): Likewise.
41555         [C99-based standards] (FP_FAST_FMA): Use
41556         optional-macro-int-constant.  Specify type.  Require == 1.
41557         [C99-based standards] (FP_FAST_FMAF): Likewise.
41558         [C99-based standards] (FP_FAST_FMAL): Likewise.
41559         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
41560         [C99-based standards] (FP_ILOGBNAN): Likewise.
41561         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
41562         Specify type.
41563         [C99-based standards] (MATH_ERREXCEPT): Likewise.
41564         [C99-based standards] (math_errhandling): Specify type.
41565         [ISO99 || ISO11] (signgam): Do not allow.
41566         [non-C99-based standards] (copysignf): Do not allow.
41567         [non-C99-based standards] (exp2f): Likewise.
41568         [non-C99-based standards] (log2f): Likewise.
41569         [non-C99-based standards] (modff): Allow.
41570         [non-C99-based standards] (erff): Do not allow.
41571         [non-C99-based standards] (erfcf): Likewise.
41572         [non-C99-based standards] (gammaf): Likewise.
41573         [non-C99-based standards] (hypotf): Likewise.
41574         [non-C99-based standards] (j0f): Likewise.
41575         [non-C99-based standards] (j1f): Likewise.
41576         [non-C99-based standards] (jnf): Likewise.
41577         [non-C99-based standards] (lgammaf): Likewise.
41578         [non-C99-based standards] (tgammaf): Likewise.
41579         [non-C99-based standards] (y0f): Likewise.
41580         [non-C99-based standards] (y1f): Likewise.
41581         [non-C99-based standards] (ynf): Likewise.
41582         [non-C99-based standards] (isnanf): Likewise.
41583         [non-C99-based standards] (acoshf): Likewise.
41584         [non-C99-based standards] (asinhf): Likewise.
41585         [non-C99-based standards] (atanhf): Likewise.
41586         [non-C99-based standards] (cbrtf): Likewise.
41587         [non-C99-based standards] (expm1f): Likewise.
41588         [non-C99-based standards] (ilogbf): Likewise.
41589         [non-C99-based standards] (log1pf): Likewise.
41590         [non-C99-based standards] (logbf): Likewise.
41591         [non-C99-based standards] (nextafterf): Likewise.
41592         [non-C99-based standards] (remainderf): Likewise.
41593         [non-C99-based standards] (rintf): Likewise.
41594         [non-C99-based standards] (scalbf): Likewise.
41595         [non-C99-based standards] (copysignl): Likewise.
41596         [non-C99-based standards] (exp2l): Likewise.
41597         [non-C99-based standards] (log2l): Likewise.
41598         [non-C99-based standards] (modfl): Allow.
41599         [non-C99-based standards] (erfl): Do not allow.
41600         [non-C99-based standards] (erfcl): Likewise.
41601         [non-C99-based standards] (gammal): Likewise.
41602         [non-C99-based standards] (hypotl): Likewise.
41603         [non-C99-based standards] (j0l): Likewise.
41604         [non-C99-based standards] (j1l): Likewise.
41605         [non-C99-based standards] (jnl): Likewise.
41606         [non-C99-based standards] (lgammal): Likewise.
41607         [non-C99-based standards] (tgammal): Likewise.
41608         [non-C99-based standards] (y0l): Likewise.
41609         [non-C99-based standards] (y1l): Likewise.
41610         [non-C99-based standards] (ynl): Likewise.
41611         [non-C99-based standards] (isnanl): Likewise.
41612         [non-C99-based standards] (acoshl): Likewise.
41613         [non-C99-based standards] (asinhl): Likewise.
41614         [non-C99-based standards] (atanhl): Likewise.
41615         [non-C99-based standards] (cbrtl): Likewise.
41616         [non-C99-based standards] (expm1l): Likewise.
41617         [non-C99-based standards] (ilogbl): Likewise.
41618         [non-C99-based standards] (log1pl): Likewise.
41619         [non-C99-based standards] (logbl): Likewise.
41620         [non-C99-based standards] (nextafterl): Likewise.
41621         [non-C99-based standards] (remainderl): Likewise.
41622         [non-C99-based standards] (rintl): Likewise.
41623         [non-C99-based standards] (scalbl): Likewise.
41624         [ISO || ISO99 || ISO11] (*_t): Do not allow.
41625         [non-C99-based standards] (FP_*): Do not allow.
41626         [C99-based standards] (FP_*): Change to
41627         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
41628         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
41629         allow.
41630         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
41631         (SIG_ERR): Likewise.
41632         [X/Open-based standards] (SIG_HOLD): Likewise.
41633         (SIG_IGN): Likewise.
41634         (SIGABRT): Use macro-int-constant.  Specify type.  Require
41635         positive value.
41636         (SIGFPE): Likewise.
41637         (SIGILL): Likewise.
41638         (SIGINT): Likewise.
41639         (SIGSEGV): Likewise.
41640         (SIGTER): Likewise.
41641         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
41642         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
41643         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
41644         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
41645         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
41646         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
41647         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
41648         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
41649         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
41650         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
41651         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
41652         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
41653         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
41654         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
41655         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
41656         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
41657         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
41658         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
41659         [X/Open-based standards] (SIGTRAP): Likewise.
41660         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
41661         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
41662         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
41663         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
41664         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
41665         allow.
41666
41667 2012-05-08  Ian Wienand  <ianw@vmware.com>
41668
41669         [BZ #14080]
41670         * time/tzset.c (__tzset_parse_tz): Update default rules for
41671         daylight time changes in the Energy Policy Act of 2005.
41672
41673 2012-05-09  Andreas Jaeger  <aj@suse.de>
41674
41675         [BZ #13983]
41676         * elf/ldconfig.c (parse_conf): Change string to make clear that
41677         ldconfig only issued a warning if ld.so.conf does not exist.
41678
41679 2012-05-08  David S. Miller  <davem@davemloft.net>
41680
41681         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
41682         movxtod instead of popping the value on the stack.
41683
41684         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41685
41686 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
41687
41688         * config.h.in: Add HAVE_ARM_PCS_VFP.
41689
41690 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
41691
41692         [BZ #13979]
41693         * include/features.h: Warn if user requests __FORTIFY_SOURCE
41694         checking but the checks are disabled for any reason.
41695
41696 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
41697
41698         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
41699         and ELF64_R_TYPE with ELFW(R_TYPE).
41700
41701 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
41702
41703         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
41704         (ulimit): Likewise.
41705
41706         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
41707         (settimeofday): Likewise.
41708
41709 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
41710
41711         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
41712         a struct th_u2 inside the union, and move tu_block/tu_code into
41713         a new th_u3 union of tu_block/tu_code inside of that.  Move
41714         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
41715         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
41716         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
41717         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
41718         (th_stuff): Change to th_u1.tu_stuff.
41719         (th_data): Define.
41720         (th_msg): Change to th_u1.th_u2.tu_data.
41721
41722 2012-05-07  David S. Miller  <davem@davemloft.net>
41723
41724         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41725
41726         [BZ #14074]
41727         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
41728         (SETUP_PIC_REG): Use it.
41729         (SETUP_PIC_REG_LEAF): Use it.
41730
41731 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
41732
41733         [BZ #13885]
41734         [BZ #13923]
41735         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
41736         USE_AS_EXPM1L.
41737         (EXPL_FINITE): Likewise.
41738         (FLDLOG): Likewise.
41739         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
41740         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
41741         e_expl.S.
41742         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
41743         USE_AS_EXPM1L.
41744         (EXPL_FINITE): Likewise.
41745         (FLDLOG): Likewise.
41746         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
41747         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
41748         e_expl.S.
41749         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
41750         test of -max_value argument for long double.
41751         * sysdeps/i386/fpu/libm-test-ulps: Update.
41752         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41753
41754 2012-05-06  David S. Miller  <davem@davemloft.net>
41755
41756         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
41757         quad soft-float symbols whose references which are compiler
41758         generated.
41759         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
41760
41761 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
41762
41763         [BZ #13884]
41764         [BZ #13914]
41765         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
41766         USE_AS_EXP10L.
41767         (EXPL_FINITE): Likewise.
41768         (FLDLOG): Likewise.
41769         (c0): Likewise.
41770         (c1): Likewise.
41771         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
41772         Adjust comments for base varying.
41773         (__expl_finite): Change alias to EXPL_FINITE.
41774         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
41775         e_expl.S.
41776         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
41777         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
41778         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
41779         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
41780         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
41781         USE_AS_EXP10L.
41782         (EXPL_FINITE): Likewise.
41783         (FLDLOG): Likewise.
41784         (c0): Likewise.
41785         (c1): Likewise.
41786         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
41787         Adjust comments for base varying.
41788         (__expl_finite): Change alias to EXPL_FINITE.
41789         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
41790         tests for bugs.
41791         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41792
41793         [BZ #14064]
41794         * math/libm-test.inc (check_float_internal): Correct ulp
41795         calculation for subnormal expected results.
41796
41797 2012-05-06  Andreas Jaeger  <aj@suse.de>
41798
41799         * Makeconfig (+math-flags): New, set to -frounding-math.
41800         (+cflags): Add +math-flags so that all of glibc gets compiled with
41801         it.
41802
41803         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
41804
41805 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
41806
41807         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
41808         Disable one test.
41809
41810         [BZ #13787]
41811         [BZ #13922]
41812         [BZ #14036]
41813         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
41814         (__ieee754_expl): Allow for and saturate large arguments.
41815         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
41816         (u_threshold): Likewise.
41817         (__exp): Call __ieee754_exp before checking for overflow and
41818         underflow.
41819         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
41820         (u_threshold): Likewise.
41821         (__expf): Call __ieee754_expf before checking for overflow and
41822         underflow.
41823         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
41824         (u_threshold): Likewise.
41825         (__expl): Call __ieee754_expl before checking for overflow and
41826         underflow.
41827         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
41828         (__ieee754_expl): Allow for and saturate large arguments.
41829         * math/libm-test.inc (exp_test): Add another test.  Do not allow
41830         missing overflow exception on overflow.
41831         (expm1_test): Do not allow missing overflow exception on overflow.
41832
41833         * sysdeps/i386/fpu/e_expl.c: Move to ...
41834         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
41835         rather than using inline asm.
41836         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
41837         * sysdeps/x86_64/fpu/e_expl.S: Copy from
41838         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
41839
41840         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
41841         (nice): Likewise.
41842         (poll): Likewise.
41843         (signal): Likewise.
41844         (time): Likewise.
41845         (times): Likewise.
41846
41847 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
41848
41849         * sysdeps/unix/syscalls.list (adjtime): Add entry from
41850         sysdeps/unix/common/syscalls.list.
41851         (fchmod): Likewise.
41852         (fchown): Likewise.
41853         (ftruncate): Likewise.
41854         (getrusage): Likewise.
41855         (gettimeofday): Likewise.
41856         (setpgid): Likewise.
41857         (setregid): Likewise.
41858         (setreuid): Likewise.
41859         (sigaction): Likewise.
41860         (truncate): Likewise.
41861         (vhangup): Likewise.
41862         * sysdeps/unix/common/syscalls.list: Remove file.
41863         * sysdeps/unix/bsd/Implies: Don't include unix/common.
41864         * sysdeps/unix/sysv/linux/Implies: Likewise.
41865
41866 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
41867
41868         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
41869         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
41870         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
41871         Moved to ...
41872         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
41873         Here.
41874         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
41875         to ...
41876         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
41877         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
41878         to ...
41879         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
41880         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
41881         to ...
41882         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
41883         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
41884         to ...
41885         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
41886         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
41887         to ...
41888         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
41889         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
41890         to ...
41891         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
41892         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
41893         to ...
41894         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
41895         Here.
41896         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
41897         to ...
41898         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
41899         Here.
41900         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
41901         to ...
41902         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
41903         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
41904         Moved to ...
41905         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
41906         Here.
41907         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
41908         to ...
41909         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
41910
41911 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
41912
41913         * sysdeps/unix/common/bits/dirent.h: Remove file.
41914         * sysdeps/unix/common/bits/fcntl.h: Likewise.
41915
41916         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
41917         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
41918         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
41919         * sysdeps/unix/bsd/isatty.c: Likewise.
41920         * sysdeps/unix/bsd/tcdrain.c: Likewise.
41921         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
41922         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
41923
41924 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41925
41926         [BZ #13563]
41927         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
41928         long double comparison inaccuracies.
41929         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
41930         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41931
41932 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
41933
41934         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
41935         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
41936
41937 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
41938
41939         [BZ #14049]
41940         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
41941         nonzero digits before rounding a hex value.
41942         * stdlib/tst-strtod.c (tests): Add another test.
41943
41944 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41945
41946         * sysdeps/s390/fpu/libm-test-ulps: Update.
41947
41948 2012-05-03  Andreas Jaeger  <aj@suse.de>
41949
41950         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
41951         does not get optimized out.
41952         (malloc_opt_barrier): New.
41953
41954 2012-05-03  Andreas Jaeger  <aj@suse.de>
41955             Roland McGrath  <roland@hack.frob.com>
41956
41957         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
41958         intermediate file deletion.
41959         (generated): Add .symlist files.
41960
41961 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
41962
41963         [BZ #13775]
41964         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
41965         Redirect under this condition.
41966         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
41967         [__USE_GNU] (__dprintf_chk): Not under this condition.
41968         [__USE_GNU] (__vdprintf_chk): Likewise.
41969         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
41970         under this condition.
41971         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
41972         [__USE_XOPEN2K8] (dprintf): Define under this condition.
41973         [__USE_XOPEN2K8] (vdprintf): Likewise.
41974         [__USE_GNU] (__dprintf_chk): Not under this condition.
41975         [__USE_GNU] (__vdprintf_chk): Likewise.
41976         [__USE_GNU] (dprintf): Likewise.
41977         [__USE_GNU] (vdprintf): Likewise.
41978
41979 2012-05-03  Roland McGrath  <roland@hack.frob.com>
41980
41981         * elf/Makefile (common-generated): Set this instead of generated for
41982         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
41983         $(all-built-dso)-derived lists.
41984
41985 2012-05-03  Andreas Jaeger  <aj@suse.de>
41986
41987         * sysdeps/i386/fpu/libm-test-ulps: Update.
41988
41989         * FAQ: Removed.
41990         * FAQ.in: Likewise.
41991         * scripts/gen-FAQ.pl: Likewise.
41992         * manual/install.texi (Installation): Point to online location of
41993         FAQ.
41994         * Makefile (files-for-dist): Remove FAQ.
41995         (FAQ): Remove.
41996
41997 2012-05-02  Allan McRae  <allan@archlinux.org>
41998
41999         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
42000         (LDFLAGS-reldepmod5.so): Likewise.
42001         (LDFLAGS-reldep6mod1.so): Likewise.
42002         (LDFLAGS-reldep6mod4.so): Likewise.
42003         (LDFLAGS-reldep8mod3.so): Likewise.
42004         (LDFLAGS-unload4mod1.so): Likewise.
42005         (LDFLAGS-unload4mod2.so): Likewise.
42006         (LDFLAGS-tst-initorder): Likewise.
42007         (LDFLAGS-tst-initordera2.so): Likewise.
42008         (LDFLAGS-tst-initordera3.so): Likewise.
42009         (LDFLAGS-tst-initordera4.so): Likewise.
42010         (LDFLAGS-tst-initorderb2.so): Likewise.
42011         (LDFLAGS-noload): Likewise.
42012         (LDFLAGS-next): Likewise.
42013         (LDFLAGS-order2mod1.so): Likewise.
42014         (LDFLAGS-order2mod2.so): Likewise.
42015         (LDFLAGS-tst-initorder2): Likewise.
42016         (LDFLAGS-tst-initorder2a.so): Likewise.
42017         (LDFLAGS-tst-initorder2b.so): Likewise.
42018         (LDFLAGS-tst-initorder2c.so): Likewise.
42019         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
42020
42021 2012-05-02  David S. Miller  <davem@davemloft.net>
42022
42023         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42024
42025 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
42026
42027         [BZ #14055]
42028         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
42029
42030 2012-05-02  Andreas Jaeger  <aj@suse.de>
42031
42032         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
42033         since we manipulate rounding mode.
42034         (CPPFLAGS-test-idouble.c): Likewise.
42035         (CPPFLAGS-test-ifloat.c): Likewise.
42036         (CFLAGS-test-ldouble.c): Likewise.
42037         (CFLAGS-test-double.c): Likewise.
42038         (CFLAGS-test-float.c): Likewise.
42039         (CFLAGS-test-misc.c): Likewise.
42040         (CFLAGS-test-test-fenv.c): Likewise.
42041
42042 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42043
42044         [BZ #2550]
42045         [BZ #2570]
42046         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
42047         comparisons to determine direction to adjust input.
42048
42049 2012-05-01  Roland McGrath  <roland@hack.frob.com>
42050
42051         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
42052         output to the target.
42053
42054         * scripts/localplt.awk: New file.
42055         * elf/Makefile ($(objpfx)check-localplt): Target removed.
42056         (check-localplt-CFLAGS): Variable removed.
42057         ($(all-built-dso:=.jmprel)): New static pattern rule.
42058         (generated): Add those targets.
42059         (localplt-built-dso): New variable.
42060         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
42061
42062         * elf/check-localplt.c: File removed.
42063
42064         * scripts/check-execstack.awk: New file.
42065         * elf/Makefile ($(objpfx)check-execstack): Target removed.
42066         (check-execstack-CFLAGS): Variable removed.
42067         ($(objpfx)check-execstack.h): Target removed.
42068         ($(objpfx)execstack-default): New target.
42069         (generated): Add that instead of check-execstack.h.
42070         ($(all-built-dso:=.phdr)): New static pattern rule.
42071         (generated): Add those targets.
42072         * elf/check-execstack.c: File removed.
42073
42074         * scripts/check-textrel.awk: New file.
42075         * elf/Makefile ($(objpfx)check-textrel): Target removed.
42076         (check-textrel-CFLAGS): Variable removed.
42077         (all-built-dso): Use := to define.o
42078         ($(all-built-dso:=.dyn)): New static pattern rule.
42079         (generated): Add those targets.
42080         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
42081         * config.make.in (READELF): New substituted variable.
42082         * elf/check-textrel.c: File removed.
42083
42084 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
42085
42086         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
42087         allow.
42088         * conform/data/ctype.h-data [C99-based standards] (isblank):
42089         Expect function.
42090         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
42091         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
42092         [ISO || ISO99 || ISO11] (*_t): Do not allow.
42093         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
42094         Specify type.  Require positive value.
42095         (EILSEQ): Likewise.
42096         (ERANGE): Likewise.
42097         [ISO || POSIX] (EILSEQ): Do not expect.
42098         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
42099         Specify type.  Require positive value.
42100         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
42101         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
42102         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
42103         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
42104         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
42105         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
42106         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
42107         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
42108         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
42109         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
42110         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
42111         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
42112         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
42113         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
42114         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
42115         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
42116         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
42117         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
42118         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
42119         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
42120         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
42121         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
42122         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
42123         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
42124         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
42125         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
42126         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
42127         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
42128         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
42129         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
42130         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
42131         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
42132         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
42133         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
42134         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
42135         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
42136         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
42137         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
42138         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
42139         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
42140         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
42141         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
42142         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
42143         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
42144         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
42145         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
42146         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
42147         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
42148         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
42149         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
42150         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
42151         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
42152         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
42153         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
42154         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
42155         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
42156         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
42157         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
42158         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
42159         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
42160         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
42161         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
42162         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
42163         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
42164         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
42165         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
42166         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
42167         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
42168         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
42169         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
42170         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
42171         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
42172         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
42173         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
42174         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
42175         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
42176         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
42177         Require >= 2.
42178         (FLT_ROUNDS): Expect as macro, not constant.
42179         (FLT_MANT_DIG): Use macro-int-constant.
42180         (DBL_MANT_DIG): Likewise.
42181         (LDBL_MANT_DIG): Likewise.
42182         (FLT_DIG): Likewise.
42183         (DBL_DIG): Likewise.
42184         (LDBL_DIG): Likewise.
42185         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
42186         (DBL_MIN_EXP): Likewise.
42187         (LDBL_MIN_EXP): Likewise.
42188         (FLT_MAX_EXP): Use macro-int-constant.
42189         (DBL_MAX_EXP): Likewise.
42190         (LDBL_MAX_EXP): Likewise.
42191         (FLT_MAX_10_EXP): Likewise.
42192         (DBL_MAX_10_EXP): Likewise.
42193         (LDBL_MAX_10_EXP): Likewise.
42194         (FLT_MAX): Use macro-constant.
42195         (DBL_MAX): Likewise.
42196         (LDBL_MAX): Likewise.
42197         (FLT_EPSILON): Use macro-constant.  Give upper bound.
42198         (DBL_EPSILON): Likewise.
42199         (LDBL_EPSILON): Likewise.
42200         (FLT_MIN): Likewise.
42201         (DBL_MIN): Likewise.
42202         (LDBL_MIN): Likewise.
42203         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
42204         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
42205         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
42206         [ISO11] (FLT_HAS_SUBNORM): Likewise.
42207         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
42208         [ISO11] (DBL_DECIMAL_DIG): Likewise.
42209         [ISO11] (FLT_DECIMAL_DIG): Likewise.
42210         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
42211         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
42212         [ISO11] (FLT_TRUE_MIN): Likewise.
42213         [ISO11] (LDBL_TRUE_MIN): Likewise.
42214         [ISO || ISO99 || ISO11] (*_t): Do not allow.
42215         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
42216         (SCHAR_MIN): Use macro-int-constant.  Specify type.
42217         (SCHAR_MAX): Likewise.
42218         (UCHAR_MAX): Likewise.
42219         (CHAR_MIN): Likewise.
42220         (CHAR_MAX): Likewise.
42221         (MB_LEN_MAX): Use macro-int-constant.
42222         (SHRT_MIN): Use macro-int-constant.  Specify type.
42223         (SHRT_MAX): Likewise.
42224         (USHRT_MAX): Likewise.
42225         (INT_MAX): Likewise.
42226         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
42227         bound negative.
42228         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
42229         bound with "U".
42230         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
42231         bound with "L".
42232         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
42233         bound negative.  Suffix upper bound with "L".
42234         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
42235         bound with "UL".
42236         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
42237         Specify type.
42238         [C99-based standards] (LLONG_MAX): Likewise.
42239         [C99-based standards] (ULLONG_MAX): Likewise.
42240         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
42241         == 0.
42242         [ISO11] (max_align_t): Require type.
42243         [ISO || ISO99 || ISO11] (*_t): Do not allow.
42244
42245         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
42246         from $CFLAGS, without defining away __attribute__ calls.
42247         (checknamespace): Use $CFLAGS_namespace.
42248
42249         * conform/conformtest.pl (@keywords): Only include C99 keywords
42250         for standards based on C99 or C11.
42251
42252         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
42253         Disable tests.
42254         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
42255         UNIX98]: Likewise.
42256
42257         * conform/conformtest.pl: Handle "macro-int-constant" and test for
42258         usability of symbols in #if.
42259
42260         * conform/conformtest.pl: If macro or constant types start
42261         "promoted:", expect the symbol to be of the following type
42262         promoted by the integer promotions.
42263
42264         * conform/conformtest.pl: Parse all "constant" and "macro" lines
42265         in one place.  Also handle "macro-constant".
42266
42267         * conform/conformtest.pl: Only accept expected macro values with
42268         "==".  Parse all "macro" lines in one place.
42269         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
42270
42271         * conform/conformtest.pl: Handle braced types on "constant" lines
42272         instead of handling "typed-constant".
42273         * conform/data/signal.h-data: Use "constant" instead of
42274         "typed-constant".
42275
42276         * conform/conformtest.pl: Handle "optional-" at start of lines in
42277         one place rather than duplicating several cases.  Handle each
42278         format of "macro" line with initial "optional-".
42279
42280         * conform/conformtest.pl: Only accept expected constant or
42281         optional-constant values with "==".  Parse all "constant" lines in
42282         one place.  Parse all "optional-constant" lines in one place.
42283         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
42284         * conform/data/fmtmsg.h-data: Likewise.
42285         * conform/data/netinet/in.h-data: Likewise.
42286         * conform/data/tar.h-data: Likewise.
42287         * conform/data/limits.h-data: Use "==" form on "constant" and
42288         "optional-constant" lines.
42289
42290         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
42291         Use -std=c99 for XOPEN2K.
42292         (@knownproblems): Remove.
42293         (newtoken): Don't check %isknown.
42294
42295         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
42296         Do not expect macro.
42297         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
42298         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
42299         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
42300         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
42301         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
42302         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
42303         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
42304         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
42305         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
42306         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
42307         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
42308         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
42309         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
42310         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
42311         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
42312         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
42313         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
42314         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
42315         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
42316         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
42317         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
42318         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
42319         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
42320         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
42321         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
42322         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
42323         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
42324         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
42325         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
42326         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
42327         [XPG3] (acosh): Likewise.
42328         [XPG3] (asinh): Likewise.
42329         [XPG3] (atanh): Likewise.
42330         [XPG3] (cbrt): Likewise.
42331         [XPG3] (expm1): Likewise.
42332         [XPG3] (ilogb): Likewise.
42333         [XPG3] (log1p): Likewise.
42334         [XPG3] (logb): Likewise.
42335         [XPG3] (nextafter): Likewise.
42336         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
42337         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
42338         [XPG3] (remainder): Likewise.
42339         [XPG3] (rint): Likewise.
42340         [XPG3 || XPG4 || UNIX98] (round): Likewise.
42341         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
42342         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
42343         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
42344         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
42345         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
42346         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
42347         [UNIX98 || XOPEN2K] (scalb): Expect.
42348         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
42349         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
42350         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
42351         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
42352         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
42353         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
42354         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
42355         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
42356         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
42357         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
42358         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
42359         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
42360         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
42361         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
42362         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
42363         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
42364         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
42365         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
42366         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
42367         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
42368         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
42369         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
42370         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
42371         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
42372         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
42373         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
42374         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
42375         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
42376         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
42377         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
42378         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
42379         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
42380         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
42381         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
42382         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
42383         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
42384         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
42385         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
42386         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
42387         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
42388         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
42389         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
42390         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
42391         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
42392         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
42393         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
42394         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
42395         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
42396         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
42397         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
42398         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
42399         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
42400         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
42401         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
42402         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
42403         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
42404         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
42405         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
42406         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
42407         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
42408         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
42409         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
42410         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
42411         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
42412         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
42413         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
42414         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
42415         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
42416         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
42417         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
42418         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
42419         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
42420         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
42421         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
42422         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
42423         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
42424         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
42425         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
42426         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
42427         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
42428         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
42429         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
42430         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
42431         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
42432         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
42433         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
42434         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
42435         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
42436         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
42437         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
42438         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
42439         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
42440         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
42441         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
42442         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
42443         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
42444         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
42445         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
42446         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
42447         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
42448         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
42449         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
42450         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
42451         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
42452         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
42453         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
42454         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
42455         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
42456         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
42457         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
42458         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
42459         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
42460         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
42461         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
42462         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
42463         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
42464         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
42465         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
42466         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
42467         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
42468         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
42469         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
42470         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
42471         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
42472         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
42473         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
42474         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
42475         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
42476         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
42477         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
42478         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
42479         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
42480         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
42481         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
42482         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
42483         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
42484         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
42485
42486         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
42487         _XOPEN_SOURCE_EXTENDED for XPG4.
42488
42489         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
42490
42491         * Makeconfig (localtime): Remove variable.
42492         (inst_localtime-file): Likewise.
42493
42494 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
42495
42496         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
42497         Update.
42498         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
42499         Update.
42500         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
42501         Update.
42502         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
42503         Update.
42504         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
42505         Update.
42506         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
42507         Update.
42508         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
42509         Update.
42510         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
42511         Update.
42512         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
42513         Update.
42514
42515 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
42516
42517         [BZ #2550]
42518         [BZ #2570]
42519         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
42520         comparisons to determine direction to adjust input.
42521         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
42522         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
42523         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
42524         Likewise.
42525         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
42526         Likewise.
42527         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
42528         Likewise.
42529         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
42530         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
42531         Likewise.
42532         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
42533         Likewise.
42534         * math/libm-test.inc (nexttoward_test): Add more tests.
42535
42536 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
42537
42538         [BZ #14040]
42539         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
42540         in version GLIBC_2.1, not GLIBC_2.0.
42541         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
42542         Likewise.
42543
42544 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
42545
42546         [BZ #13942]
42547         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
42548         (1 - x) * (1 + x).
42549         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
42550         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
42551         * math/libm-test.inc (acos_test): Add more tests.
42552         (asin_test): Likewise.
42553         * sysdeps/i386/fpu/libm-test-ulps: Update.
42554         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42555
42556         [BZ #14034]
42557         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
42558         of square root.
42559         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
42560         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
42561         * math/libm-test.inc (acos_test_tonearest): New function.
42562         (acos_test_towardzero): Likewise.
42563         (acos_test_downward): Likewise.
42564         (acos_test_upward): Likewise.
42565         (asin_test_tonearest): Likewise.
42566         (asin_test_towardzero): Likewise.
42567         (asin_test_downward): Likewise.
42568         (asin_test_upward): Likewise.
42569         (main): Call the new functions.
42570         * sysdeps/i386/fpu/libm-test-ulps: Update.
42571         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42572
42573         [BZ #13884]
42574         [BZ #13924]
42575         * math/e_exp10.c: Include <float.h>.
42576         (__ieee754_exp10): Handle underflow here rather than multiplying
42577         large negative argument by M_LN10.
42578         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
42579         of __ieee754_expf.
42580         * math/e_exp10l.c: Include <float.h>.
42581         (__ieee754_exp10l): Handle underflow here rather than multiplying
42582         large negative argument by M_LN10l.
42583         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
42584         spurious overflow exception on underflow.
42585
42586 2012-04-29  Marek Polacek  <polacek@redhat.com>
42587
42588         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
42589         (__fortify_function): New macro.
42590         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
42591         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
42592         __extern_always_inline.
42593         * libio/bits/stdio2.h: Likewise.
42594         * libio/bits/stdio.h: Likewise.
42595         * string/string.h: Likewise.
42596         * string/bits/string3.h: Likewise.
42597         * include/stdio.h: Likewise.
42598         * stdlib/bits/stdlib.h: Likewise.
42599         * stdlib/stdlib.h: Likewise.
42600         * rt/bits/mqueue2.h: Likewise.
42601         * rt/mqueue.h: Likewise.
42602         * posix/bits/unistd.h: Likewise.
42603         * posix/unistd.h: Likewise.
42604         * io/bits/poll2.h: Likewise.
42605         * io/bits/fcntl2.h: Likewise.
42606         * io/fcntl.h: Likewise.
42607         * io/sys/poll.h: Likewise.
42608         * misc/bits/syslog.h: Likewise.
42609         * misc/bits/syslog-ldbl.h: Likewise.
42610         * misc/sys/syslog.h: Likewise.
42611         * socket/bits/socket2.h: Likewise.
42612         * socket/sys/socket.h: Likewise.
42613         * debug/tst-chk1.c: Likewise.
42614         * wcsmbs/bits/wchar2.h: Likewise.
42615         * wcsmbs/bits/wchar-ldbl.h: Likewise.
42616         * wcsmbs/wchar.h: Likewise.
42617
42618 2012-04-29  Andreas Jaeger  <aj@suse.de>
42619
42620         * Makerules (tests): Remove enable-check-abi protection.
42621         (check-abi-warn): Remove.
42622         (check-abi-%): Remove check-abi-warn usage.
42623
42624         * configure.in: Remove check-abi configure option.
42625         * configure: Regenerated.
42626         * config.make.in (enable-check-abi): Remove.
42627
42628 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
42629
42630         [BZ #14033]
42631         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
42632         double functions to double *_finite functions.
42633
42634         [BZ #13941]
42635         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
42636         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
42637         LDBL_MIN_EXP.
42638         * stdio-common/Makefile (tests): Add tst-sprintf3.
42639         * stdio-common/tst-sprintf3.c: New file.
42640
42641         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
42642         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
42643
42644 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
42645
42646         * conform/conformtest.pl: Remove duplicate typed-constant
42647         handling.
42648
42649 2012-04-28  David S. Miller  <davem@davemloft.net>
42650
42651         * Makerules (%.abilist): Add vpath on sysdep_dirs.
42652         (check-abi-%): Remove AWK script prerequisite and explicit
42653         abilist directory.
42654         (check-abi): Rewrite to just diff the symlist with the abilist.
42655         (config-tls, config-abi-config): Delete, no longer used.
42656         (update-abi-%): Remove AWK script and explicit abilist directory.
42657         (update-abi): Rewrite to simply compare and conditionally copy the
42658         symlist and the sysdep abilist file.  Remove update-abi-config
42659         checks.
42660         * abilist/ld.abilist: Remove.
42661         * abilist/libBrokenLocale.abilist: Remove.
42662         * abilist/libanl.abilist: Remove.
42663         * abilist/libcrypt.abilist: Remove.
42664         * abilist/libdl.abilist: Remove.
42665         * abilist/librt.abilist: Remove.
42666         * abilist/libthread_db.abilist: Remove.
42667         * abilist/libutil.abilist: Remove.
42668         * scripts/extract-abilist.awk: Remove.
42669         * scripts/merge-abilist.awk: Remove.
42670         * sysdeps/generic/libcidn.abilist: New file.
42671         * sysdeps/generic/libnss_compat.abilist: New file.
42672         * sysdeps/generic/libnss_db.abilist: New file.
42673         * sysdeps/generic/libnss_dns.abilist: New file.
42674         * sysdeps/generic/libnss_files.abilist: New file.
42675         * sysdeps/generic/libnss_hesiod.abilist: New file.
42676         * sysdeps/generic/libnss_nis.abilist: New file.
42677         * sysdeps/generic/libnss_nisplus.abilist: New file.
42678         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
42679         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
42680         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
42681         file.
42682         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
42683         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
42684         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
42685         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
42686         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
42687         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
42688         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
42689         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
42690         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
42691         file.
42692         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
42693         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
42694         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
42695         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
42696         file.
42697         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
42698         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
42699         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
42700         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
42701         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
42702         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
42703         file.
42704         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
42705         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
42706         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
42707         file.
42708         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
42709         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
42710         New file.
42711         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
42712         New file.
42713         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
42714         New file.
42715         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
42716         New file.
42717         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
42718         New file.
42719         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
42720         New file.
42721         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
42722         New file.
42723         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
42724         New file.
42725         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
42726         New file.
42727         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
42728         New file.
42729         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
42730         New file.
42731         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
42732         New file.
42733         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
42734         New file.
42735         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
42736         file.
42737         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
42738         New file.
42739         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
42740         New file.
42741         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
42742         file.
42743         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
42744         New file.
42745         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
42746         New file.
42747         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
42748         file.
42749         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
42750         New file.
42751         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
42752         New file.
42753         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
42754         New file.
42755         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
42756         New file.
42757         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
42758         New file.
42759         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
42760         New file.
42761         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
42762         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
42763         file.
42764         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
42765         New file.
42766         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
42767         file.
42768         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
42769         file.
42770         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
42771         file.
42772         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
42773         file.
42774         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
42775         file.
42776         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
42777         New file.
42778         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
42779         file.
42780         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
42781         file.
42782         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
42783         New file.
42784         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
42785         file.
42786         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
42787         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
42788         file.
42789         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
42790         New file.
42791         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
42792         file.
42793         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
42794         file.
42795         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
42796         file.
42797         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
42798         file.
42799         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
42800         file.
42801         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
42802         New file.
42803         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
42804         file.
42805         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
42806         file.
42807         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
42808         New file.
42809         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
42810         file.
42811         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
42812         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
42813         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
42814         file.
42815         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
42816         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
42817         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
42818         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
42819         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
42820         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
42821         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
42822         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
42823         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
42824         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
42825         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
42826         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
42827         file.
42828         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
42829         New file.
42830         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
42831         file.
42832         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
42833         file.
42834         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
42835         file.
42836         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
42837         file.
42838         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
42839         file.
42840         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
42841         New file.
42842         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
42843         New file.
42844         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
42845         file.
42846         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
42847         New file.
42848         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
42849         file.
42850         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
42851         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
42852         file.
42853         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
42854         New file.
42855         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
42856         file.
42857         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
42858         file.
42859         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
42860         file.
42861         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
42862         file.
42863         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
42864         file.
42865         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
42866         New file.
42867         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
42868         New file.
42869         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
42870         file.
42871         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
42872         New file.
42873         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
42874         file.
42875
42876 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
42877
42878         * conform/conformtest.pl: Fix typo in handling typed-constant from
42879         allow-header.
42880
42881 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
42882
42883         * README: Cut down references to pre-2.6 Linux kernels and
42884         Linuxthreads.  Update lists of configurations in libc and ports
42885         and sort alphabetically.  Say "or newer" with Linux kernel version
42886         requirements.
42887
42888         * config.h.in [IS_IN_build]: Allow compiling without optimization.
42889
42890 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
42891
42892         [BZ #887]
42893         * math/libm-test.inc (logb_test_downward): New test to expose
42894         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
42895         rounding mode.
42896
42897 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
42898
42899         [BZ #14027]
42900         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
42901         to be done.
42902         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
42903         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
42904
42905 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
42906
42907         * sysdeps/unix/i386/brk.S: Remove file.
42908         * sysdeps/unix/i386/dl-brk.S: Likewise.
42909         * sysdeps/unix/i386/pipe.S: Likewise.
42910         * sysdeps/unix/i386/sigreturn.S: Likewise.
42911         * sysdeps/unix/i386/syscall.S: Likewise.
42912         * sysdeps/unix/i386/vfork.S: Likewise.
42913         * sysdeps/unix/i386/wait.S: Likewise.
42914
42915         * sysdeps/unix/common/tcsendbrk.c: Move to ...
42916         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
42917
42918         * configure.in (arm*-none*): Do not allow without
42919         --enable-hacker-mode.
42920         (netbsd*): Remove case setting base_os.
42921         (386bsd*): Likewise.
42922         (freebsd*): Likewise.
42923         (bsdi*): Likewise.
42924         (osf*): Likewise.
42925         (sunos*): Likewise.
42926         (ultrix*): Likewise.
42927         (newsos*): Likewise.
42928         (dynix*): Likewise.
42929         (*bsd*): Likewise.
42930         (sysv*): Likewise.
42931         (isc*): Likewise.
42932         (esix*): Likewise.
42933         (sco*): Likewise.
42934         (minix*): Likewise.
42935         (irix4*): Likewise.
42936         (irix6*): Likewise.
42937         (solaris[2-9]*): Likewise.
42938         (none): Likewise.
42939         * configure: Regenerated.
42940
42941 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42942
42943         [BZ #11521]
42944         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
42945         overflow or cancellation in calculating denominator.
42946         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
42947         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
42948         down expression to avoid unexpected rounding in newer GCCs.
42949         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
42950
42951 2012-04-26  David S. Miller  <davem@davemloft.net>
42952
42953         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
42954         long-double compat symbols.
42955         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
42956         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
42957         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
42958         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
42959         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
42960         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
42961         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
42962         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
42963         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
42964         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
42965         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
42966         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
42967         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
42968
42969 2012-04-25  David S. Miller  <davem@davemloft.net>
42970
42971         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
42972         HWCAP_* values only after the memory barriers have been defined.
42973         (atomic_full_barrier): Define.
42974         (atomic_read_barrier): Define.
42975         (atomic_write_barrier): Define.
42976
42977 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
42978
42979         * shlib-versions: Add libgcc_s version information.
42980         * sysdeps/generic/libgcc_s.h: Remove.
42981         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
42982         libgcc_s.h.
42983         * sysdeps/gnu/unwind-resume.c: Likewise.
42984         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
42985
42986 2012-04-25  David S. Miller  <davem@davemloft.net>
42987
42988         * sysdeps/unix/sparc/brk.S: Delete.
42989         * sysdeps/unix/sparc/dl-brk.S: Delete.
42990         * sysdeps/unix/sparc/pipe.S: Delete.
42991         * sysdeps/unix/sparc/sysdep.S: Delete.
42992         * sysdeps/unix/sparc/sysdep.h: Delete.
42993         * sysdeps/unix/sparc/vfork.S: Delete.
42994         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
42995         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
42996         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
42997         (ret_ERRVAL, r0, r1, MOVE): Define.
42998         (JUMPTARGET): Remove.
42999         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
43000         sysdeps/unix/sparc/sysdep.h
43001         (ENTRY, END): Remove.
43002         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
43003
43004 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
43005
43006         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
43007         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
43008         -DIS_IN_build.
43009
43010         * timezone/README: Update upstream location and email address for
43011         tzcode and tzdata.
43012         * timezone/zdump.c: Update from tzcode 2012b.
43013         * timezone/zic.c: Likewise.
43014
43015         * configure.in (libc_cv_as_needed): Remove test.
43016         * configure: Regenerated.
43017         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
43018         conditional definition.
43019         [$(have-as-needed) != yes] (no-as-needed): Likewise.
43020         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
43021         * config.make.in (have-as-needed): Remove variable.
43022
43023 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
43024             Paul Pluzhnikov  <ppluzhnikov@google.com>
43025
43026         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
43027         strings correctly.
43028
43029 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
43030
43031         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
43032         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
43033         * sysdeps/sh/strlen.S: Likewise.
43034
43035 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
43036
43037         * sysdeps/unix/fork.S: Remove file.
43038         * sysdeps/unix/i386/fork.S: Likewise.
43039         * sysdeps/unix/sparc/fork.S: Likewise.
43040
43041         * sysdeps/unix/system.c: Remove file.
43042         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
43043
43044         * sysdeps/unix/getegid.S: Remove file.
43045         * sysdeps/unix/geteuid.S: Likewise.
43046
43047 2012-04-24  Roland McGrath  <roland@hack.frob.com>
43048
43049         * scripts/check-localplt.awk: New file.
43050         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
43051         of diff.
43052         * scripts/data/localplt-generic.data: Add a comment.
43053
43054         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
43055         NODE when __dir_mkfile failed.
43056         * sysdeps/mach/hurd/symlinkat.c: Likewise.
43057         Reported by Ludovic Courtès <ludo@gnu.org>.
43058
43059 2012-04-24  Andreas Jaeger  <aj@suse.de>
43060
43061         * Makerules (common-clean): Also remove gen-as-const-headers
43062         files.
43063
43064 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
43065
43066         * Makerules (native-compile): Do not change working directory for
43067         build.  Use $(OUTPUT_OPTION) in command.
43068         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
43069
43070 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43071
43072         [BZ #13886]
43073         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
43074         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
43075         * math/libm-test.inc (floor_test): Add more tests.
43076         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
43077
43078 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
43079
43080         * sysdeps/unix/getdents.c: Remove file.
43081         * sysdeps/unix/sysv/getdents.c: Likewise.
43082         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
43083
43084         * sysdeps/unix/syscalls.list (madvise): Add syscall from
43085         sysdeps/unix/mman/syscalls.list.
43086         (mmap): Likewise.
43087         (mprotect): Likewise.
43088         (msync): Likewise.
43089         (munmap): Likewise.
43090         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
43091         * sysdeps/unix/mman/syscalls.list: Remove.
43092         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
43093
43094         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
43095         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
43096         * configure: Regenerated.
43097         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
43098         $(libgcc_s_suffix).
43099         * config.make.in (libgcc_s_suffix): Remove variable.
43100
43101 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
43102
43103         * sysdeps/unix/sysv/gethostname.c: Move to ...
43104         * sysdeps/posix/gethostname.c: ... here.
43105
43106         * sysdeps/unix/execve.S: Remove file.
43107
43108         * sysdeps/unix/_exit.S: Remove file.
43109
43110 2012-04-23  Andreas Jaeger  <aj@suse.de>
43111
43112         [BZ #13739]
43113         * manual/Makefile: Remove make dist support, there's no
43114         need for a stand-alone documentation tar ball.
43115         (TEXI2DVI): Define always, it's not in Makeconfig.
43116         (dist): Removed.
43117         (tar-it): Removed.
43118         (edition): Removed.
43119         (glibc-doc-$(edition).tar): Removed
43120         (%.Z): Removed.
43121         (%.gz): Removed.
43122         (%.uu): Removed.
43123         (ETAGS): Remove, it's in Makeconfig.
43124         (move-if-change): Remove, it's in Makeconfig.
43125
43126 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
43127
43128         [BZ #13970]
43129         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
43130         (strtod, strtof, strtold, strtol, strtoul, strtoq)
43131         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
43132         (strtod_l, strtof_l, strtold_l): Remove __wur.
43133         It is not necessarily an error to ignore strtol's return value.
43134         One can reliably look at the stored endptr to decide whether
43135         the number had valid syntax.
43136
43137 2012-04-21  Andreas Jaeger  <aj@suse.de>
43138
43139         [BZ #13739]
43140         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
43141
43142 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
43143
43144         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
43145         * sysdeps/unix/sysv/Versions: Remove file.
43146
43147 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
43148
43149         [BZ #13927]
43150         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43151
43152 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
43153
43154         [BZ #7064]
43155         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
43156         version from __vm86.
43157
43158 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
43159
43160         * sysdeps/unix/common/lxstat.c: Remove file.
43161         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
43162
43163         * sysdeps/unix/sysv/Makefile: Remove file.
43164
43165         * sysdeps/unix/sysv/direct.h: Remove file.
43166
43167         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
43168         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
43169         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
43170         * sysdeps/unix/sysv/bits/signum.h: Likewise.
43171         * sysdeps/unix/sysv/bits/stat.h: Likewise.
43172         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
43173         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
43174
43175         * sysdeps/unix/sysv/setrlimit.c: Remove file.
43176
43177         * sysdeps/unix/xmknod.c: Remove file.
43178         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
43179
43180         * sysdeps/unix/sysv/settimeofday.c: Remove file.
43181
43182         * sysdeps/unix/sysv/i386/time.S: Remove file.
43183
43184         * sysdeps/unix/fxstat.c: Remove file.
43185         * sysdeps/unix/xstat.c: Likewise.
43186         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
43187
43188         * sysdeps/unix/sysv/sigaction.c: Remove file.
43189
43190         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
43191         (sysdep_headers): Remove variable.
43192         [termio.h not in sysdep_headers] (generated): Likewise.
43193         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
43194         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
43195         * sysdeps/unix/sysv/tcdrain.c: Likewise.
43196         * sysdeps/unix/sysv/tcflow.c: Likewise.
43197         * sysdeps/unix/sysv/tcflush.c: Likewise.
43198         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
43199         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
43200         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
43201         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
43202         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
43203
43204         * sysdeps/unix/siglist.c: Remove file.
43205
43206         * sysdeps/unix/getppid.S: Remove file.
43207
43208         * sysdeps/unix/mkdir.c: Remove file.
43209         * sysdeps/unix/rmdir.c: Likewise.
43210
43211 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
43212
43213         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
43214         ERR_MAX value.
43215         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
43216         errlist-compat value.
43217
43218 2012-04-18  David S. Miller  <davem@davemloft.net>
43219
43220         * sysdeps/generic/memcopy.h (reg_char): Delete.
43221         * debug/strcat_chk.c: Use char, not reg_char.
43222         * debug/strcpy_chk.c: Likewise.
43223         * debug/strncat_chk.c: Likewise.
43224         * debug/strncpy_chk.c: Likewise.
43225         * string/memchr.c: Likewise.
43226         * string/memrchr.c: Likewise.
43227         * string/rawmemchr.c: Likewise.
43228         * string/strcat.c: Likewise.
43229         * string/strchr.c: Likewise.
43230         * string/strchrnul.c: Likewise.
43231         * string/strcmp.c: Likewise.
43232         * string/strcpy.c: Likewise.
43233         * string/strncat.c: Likewise.
43234         * string/strncmp.c: Likewise.
43235         * string/strncpy.c: Likewise.
43236
43237 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
43238
43239         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
43240         __builtin_memcopy is called when src and dest ranges are known to not
43241         overlap.
43242
43243 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
43244
43245         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
43246         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
43247         fwd_align_merge macro call.
43248         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
43249         bwd_align_merge macro call.
43250         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
43251
43252 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
43253
43254         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
43255         bwd_align_merge macros.
43256         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
43257         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
43258         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
43259
43260 2012-04-18  David S. Miller  <davem@davemloft.net>
43261
43262         * sysdeps/sparc/sparc64/memcopy.h: Delete.
43263
43264 2012-04-18  Andreas Jaeger  <aj@suse.de>
43265
43266         [BZ# 6794]
43267         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
43268         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
43269         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
43270
43271         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
43272         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
43273         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
43274
43275         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
43276         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
43277         Adjust for changed ldbl-128 files.
43278
43279         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
43280         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
43281         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
43282
43283 2012-04-17  David S. Miller  <davem@davemloft.net>
43284
43285         * sysdeps/sparc/sparc32/memcopy.h: Delete.
43286
43287 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
43288
43289         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
43290         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
43291         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
43292         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
43293         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
43294         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
43295
43296 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43297
43298         [BZ #6794]
43299         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
43300         * math/libm-test.inc: Add ilogb errno and exception tests.
43301         * math/w_ilogb.c: New file: ilogb wrapper.
43302         * math/w_ilogbf.c: New file: ilogbf wrapper.
43303         * math/w_ilogbl.c: New file: ilogbl wrapper.
43304         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
43305         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
43306         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
43307         exception being thrown with 0.0 as argument.
43308         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
43309         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
43310         exception being thrown with 0.0 as argument.
43311         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
43312         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
43313         exception being thrown with 0.0 as argument.
43314         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
43315         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
43316         exception being thrown with 0.0 as argument.
43317         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
43318         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
43319         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
43320         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
43321         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
43322         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
43323         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
43324         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
43325         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
43326
43327 2012-04-17  Petr Baudis  <pasky@ucw.cz>
43328
43329         * include/sys/uio.h: Change __vector to __iovec to avoid clash
43330         with altivec.
43331
43332 2012-04-16  Marek Polacek  <polacek@redhat.com>
43333
43334         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
43335
43336 2012-04-16  Marek Polacek  <polacek@redhat.com>
43337
43338         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
43339         operands of fdivp instruction.
43340
43341 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
43342
43343         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
43344         * elf/tst-auditmod3b.c: Likewise.
43345         * elf/tst-auditmod4b.c: Likewise.
43346         * elf/tst-auditmod5b.c: Likewise.
43347         * elf/tst-auditmod6b.c: Likewise.
43348         * elf/tst-auditmod6c.c: Likewise.
43349         * elf/tst-auditmod7b.c: Likewise.
43350         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
43351         * sysdeps/x86_64/preconfigure.in: Likewise.
43352         * sysdeps/x86_64/preconfigure: Regenerated.
43353
43354 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
43355
43356         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
43357         __ILP32__.
43358
43359 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
43360
43361         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
43362         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
43363
43364 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
43365
43366         [BZ #13973]
43367         * locale/iso-639.def: Fix gl language name. Spotted by
43368         Yaron Shahrabani.
43369
43370 2012-04-12  Roland McGrath  <roland@hack.frob.com>
43371
43372         [BZ #2074]
43373         * libio/libio.h (__io_write_fn): Update comment.
43374
43375 2012-04-12  Petr Baudis  <pasky@ucw.cz>
43376
43377         [BZ #2074]
43378         * stdio.texi (Hook Functions): The user provided writer function
43379         is not allowed to return -1.
43380
43381 2012-04-11  David S. Miller  <davem@davemloft.net>
43382
43383         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43384
43385 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
43386
43387         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
43388         Add a leading slash to rtkaio.
43389
43390 2012-04-11  Jim Meyering  <meyering@redhat.com>
43391
43392         [BZ #11959]
43393         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
43394         It is not necessarily an error to ignore fwrite's return
43395         value.  One can reliably use ferror to test for errors after
43396         the fact.
43397
43398 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
43399
43400         * bits/types.h (__snseconds_t): New type.
43401         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
43402
43403         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
43404         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
43405         (__SNSECONDS_T_TYPE): Likewise.
43406         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
43407         (__SNSECONDS_T_TYPE): Likewise.
43408         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
43409         (__SNSECONDS_T_TYPE): Likewise.
43410
43411 2012-04-10  Andreas Jaeger  <aj@suse.de>
43412
43413         [BZ #2636]
43414         * manual/time.texi (Processor Time): Return type of times is
43415         elapsed real time since an arbitrary point in the past.
43416         (CPU Time): Move CLK_TCK from here...
43417         (Processor Time): ...to here.  Correct description.
43418         * manual/conf.texi (Constants for Sysconf): Correct description of
43419         _SC_CLK_TCK.
43420
43421 2012-04-10  David S. Miller  <davem@davemloft.net>
43422
43423         [BZ #13967]
43424         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
43425         where the is a gap between DT_REL(A) and DT_JMPREL.
43426
43427 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
43428
43429         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
43430         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
43431         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
43432
43433 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
43434
43435         * elf/dl-support.c (_dl_inhibit_cache): New variable.
43436         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
43437         (dl_main): Handle --inhibit-cache.
43438         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
43439         _dl_inhibit_cache.
43440         * elf/dl-load.c (_dl_map_object): Use it.
43441         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
43442
43443 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
43444
43445         [BZ #13872]
43446         * sysdeps/i386/fpu/e_powl.S (p78): New object.
43447         (__ieee754_powl): Saturate large exponents rather than testing for
43448         overflow of y*log2(x).
43449         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
43450         * math/libm-test.inc (pow_test): Do not permit spurious overflow
43451         exceptions.
43452
43453         [BZ #11521]
43454         * math/s_ctan.c: Include <float.h>.
43455         (__ctan): Avoid internal overflow or cancellation in calculating
43456         denominator.
43457         * math/s_ctanf.c: Likewise.
43458         * math/s_ctanl.c: Likewise.
43459         * math/s_ctanh.c: Likewise.
43460         * math/s_ctanhf.c: Likewise.
43461         * math/s_ctanhl.c: Likewise.
43462         * math/libm-test.inc (ctan_test): Add more tests.
43463         (ctanh_test): Likewise.
43464         * sysdeps/i386/fpu/libm-test-ulps: Update.
43465         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43466
43467 2012-04-09  Andreas Jaeger  <aj@suse.de>
43468
43469         [BZ #6894]
43470         * manual/filesys.texi (Directory Entries): Mention that d_namlen
43471         is an optional BSD extension.
43472
43473         [BZ #10254]
43474         * manual/stdio.texi (Opening Streams): Document additional fopen
43475         parameters.
43476
43477 2012-04-09  Roland McGrath  <roland@hack.frob.com>
43478
43479         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
43480         %eax without telling the compiler.
43481
43482 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
43483
43484         [BZ # 13963]
43485         * manual/install.texi: Use sourceware.org.
43486
43487 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
43488
43489         [BZ #13873]
43490         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
43491         (__ieee754_pow): Generate overflow and underflow using huge*huge
43492         and tiny*tiny rather than just returning constant infinity or zero
43493         for large exponents.
43494         * math/libm-test.inc (pow_test): Require overflow exceptions for
43495         applicable cases of large exponents.
43496
43497         [BZ #706]
43498         * sysdeps/i386/fpu/e_pow.S (p10): New object.
43499         (__ieee754_pow): Use iterative multiplication algorithm only for
43500         integer exponents with absolute value below 1024.  Check for odd
43501         integer exponents when using algorithm for real exponents.
43502         * math/libm-test.inc (pow_test): Add more tests.
43503         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43504
43505 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
43506
43507         [BZ #13705]
43508         * math/libm-test.inc (exp_test): Do not allow overflow exception
43509         on underflow test.
43510
43511 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
43512
43513         [BZ #13705]
43514         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
43515         instead of __kernel_standard_f.
43516
43517 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
43518
43519         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
43520         * sysdeps/x86_64/memset_chk.S: Likewise.
43521
43522 2012-04-08  Andreas Jaeger  <aj@suse.de>
43523
43524         [BZ #10153]
43525         * manual/startup.texi (Environment Access): Describe return value
43526         for putenv and setenv.
43527
43528         [BZ #6895]
43529         * manual/filesys.texi (Directory Entries): Add description for
43530         DT_LNK.
43531
43532         [BZ #6890]
43533         * manual/filesys.texi (Directory Entries): Clarify that it's file
43534         system not operating system in the description of DT_UNKNOWN.
43535
43536         [BZ #6578]
43537         * manual/syslog.texi (closelog): Fix reference, it's openlog.
43538
43539 2012-04-08  Stephen Compall  <s11@member.fsf.org>
43540
43541         [BZ #6649]
43542         * manual/llio.texi (Opening and Closing Files): Add cross
43543         reference to explain mode argument.
43544
43545 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
43546
43547         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
43548         * sysdeps/x86_64/memset_chk.S: Likewise.
43549
43550 2012-04-07  David S. Miller  <davem@davemloft.net>
43551
43552         * elf/elf.h (R_SPARC_WDISP10): Define.
43553         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
43554         R_SPARC_SIZE32.
43555         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
43556         R_SPARC_SIZE64 and R_SPARC_H34.
43557
43558 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
43559
43560         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
43561         conditions and remove no longer applicable assertion.
43562
43563 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
43564
43565         * bits/byteswap.h: Include <features.h>.
43566         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
43567         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
43568
43569 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
43570
43571         * bits/byteswap.h (__bswap_16): Removed.
43572         Include <bits/byteswap-16.h> to get __bswap_16.
43573         * sysdeps/i386/bits/byteswap.h: Likewise.
43574         * sysdeps/s390/bits/byteswap.h: Likewise.
43575         * sysdeps/x86_64/bits/byteswap.h: Likewise.
43576         * bits/byteswap-16.h: New file.
43577         * sysdeps/i386/bits/byteswap-16.h: Likewise.
43578         * sysdeps/s390/bits/byteswap-16.h: Likewise.
43579         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
43580         * string/Makefile (headers): Add bits/byteswap-16.h.
43581
43582 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
43583
43584         [BZ #13895]
43585         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
43586         extra indirection.
43587         * nss/Makefile (tests-static, tests): Add tst-nss-static.
43588         * nss/tst-nss-static.c: New.
43589
43590 2012-04-06  Robert Millan  <rmh@gnu.org>
43591
43592         [BZ #6486]
43593         * manual/llio.texi (File Position Primitive): lseek
43594         refers to WHENCE when it really means OFFSET.
43595
43596 2012-04-06  Andreas Jaeger  <aj@suse.de>
43597
43598         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
43599         strncmp declarations.
43600
43601         * abilist/libc.abilist: Add __poll and __ppoll.
43602
43603 2012-04-05  David S. Miller  <davem@davemloft.net>
43604
43605         * scripts/check-local-headers.sh: Accept a host triplet in the
43606         path matched by the exclude regexp.
43607
43608         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
43609         definition.
43610         * sysdeps/powerpc/powerpc32/dl-machine.h
43611         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
43612         * sysdeps/s390/s390-32/dl-machine.h
43613         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
43614         * sysdeps/sparc/sparc32/dl-machine.h
43615         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
43616         * sysdeps/sparc/sparc64/dl-machine.h
43617         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
43618
43619         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
43620         lazy binding.
43621         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
43622         undefined symbol errors.
43623
43624         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
43625         DT_NEEDED entries.
43626
43627 2012-04-05  Michael Matz  <matz@suse.de>
43628
43629         [BZ #13592]
43630         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
43631
43632 2012-04-05  Andreas Jaeger  <aj@suse.de>
43633
43634         [BZ #13908]
43635         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
43636         comment.
43637
43638 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
43639
43640         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
43641         which ROUND is no valid rounding mode.
43642
43643 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
43644
43645         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
43646         read again.
43647         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
43648
43649 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
43650
43651         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
43652         an exception using FPU order intentionally.
43653
43654 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
43655
43656         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
43657         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
43658         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
43659         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
43660
43661 2012-04-05  Simon Josefsson  <simon@josefsson.org>
43662
43663         [BZ #12340]
43664         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
43665         EINVAL when BUFLEN is too smal.
43666
43667 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
43668
43669         [BZ #13553]
43670         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
43671         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
43672
43673 2012-04-03  Andreas Jaeger  <aj@suse.de>
43674
43675         [BZ #13938]
43676         * manual/setjmp.texi (System V contexts): Fix sentence.
43677
43678         [BZ #13926]
43679         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
43680         New macro for this case.
43681         [!__GNUC__] (__bswap_64): New inline function for this case.
43682         * sysdeps/x86_64/bits/byteswap.h: Likewise.
43683         * bits/byteswap.h: Likewise.
43684         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
43685         ull, guard with __GLIBC_HAVE_LONG_LONG.
43686
43687         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
43688         __GLIBC_HAVE_LONG_LONG.
43689
43690         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
43691         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
43692
43693 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
43694
43695         [BZ #13691]
43696         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
43697         inptr and inend, rather than using last_ch.
43698
43699 2012-04-02  David S. Miller  <davem@davemloft.net>
43700
43701         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
43702         * stdio-common/printf-parse.h (read_int): Change return type to
43703         'int', return -1 on INT_MAX overflow.
43704         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
43705         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
43706         overflows INT_MAX.  Check for overflow of in-format-string precision
43707         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
43708         SIZE_MAX not INT_MAX for integer overflow test.
43709         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
43710         skip the construct in the format string but do not record anything.
43711         * stdio-common/bug22.c: Adjust to test both width/prevision
43712         INT_MAX overflow as well as total length INT_MAX overflow.  Check
43713         explicitly for proper errno values.
43714
43715 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
43716
43717         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
43718         CHAR_MAX.
43719         * string/test-strcmp.c [! WIDE]: Likewise.
43720         * time/tst-mktime2.c: Likewise for INT_MAX.
43721         * string/test-string.h: #include <sys/param.h> for MIN.
43722
43723         * csu/init-first.c (__libc_init_first): Call __ctype_init.
43724         * sysdeps/i386/init-first.c (init): Likewise.
43725         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
43726         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
43727         * sysdeps/sh/init-first.c (init): Likewise.
43728
43729 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
43730
43731         * po/ru.po: Update from translation team.
43732         * po/vi.po: Likewise.
43733
43734 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
43735
43736         * resolv/nss_dns/dns-host.c: Merge copyright years.
43737
43738 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43739
43740         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
43741         Optimize memcpy with prefetch if
43742         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
43743         src, dst pointers have unequal 16 byte alignments.
43744
43745 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
43746
43747         [BZ #13928]
43748         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
43749         from a CNAME entry and return the minimum ttl for the query.
43750         (gaih_getanswer_slice): Likewise.
43751
43752 2012-03-30  Jeff Law  <law@redhat.com>
43753
43754         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
43755         due to long keys.
43756         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
43757         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
43758
43759         * resolv/nss_dns/dns-host.c: Update copyright year.
43760
43761 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
43762
43763         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
43764         requests to save a system call.  Fix check that all bytes are sent.
43765
43766         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
43767         comments for sendmmsg.
43768
43769 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
43770
43771         [BZ #13691]
43772         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
43773         with only 1 character between 0x0041 and 0x01b0.
43774         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
43775         * wcsmbs/tst-mbsnrtowcs.c: New file.
43776
43777 2012-03-29  David S. Miller  <davem@davemloft.net>
43778
43779         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
43780         small copies by hand.
43781
43782 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
43783
43784         [BZ #13761]
43785         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
43786         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
43787         group memberships.
43788
43789 2012-03-28  David S. Miller  <davem@davemloft.net>
43790
43791         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
43792         that branches into memcpy.
43793         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
43794         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
43795         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
43796         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
43797         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
43798         bits.
43799         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
43800         implementation too.
43801         * sysdeps/sparc/mempcpy.S: New file.
43802
43803         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
43804         the IFUNC routine in the libc case.
43805         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
43806
43807         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
43808         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
43809         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
43810         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
43811         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
43812         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
43813         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
43814         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
43815
43816         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
43817         loop to 256 bytes instead of 64 bytes and fix test signedness.
43818
43819         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
43820         * sysdeps/sparc/sparc32/Makefile: rather than here...
43821         * sysdeps/sparc/sparc64/Makefile: and here.
43822
43823 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
43824
43825         * malloc/mallocbug.c: Avoid warnings about unused variables.
43826
43827 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
43828
43829         [BZ #13760]
43830         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
43831         in the right place. Discard and retry query if response is
43832         larger than input buffer size.
43833
43834 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
43835
43836         [BZ #369]
43837         [BZ #2678]
43838         [BZ #3866]
43839         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
43840         x for large integer exponent.
43841         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
43842         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
43843         sign of result as needed afterwards.
43844         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
43845         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
43846         result for underflowing pow the same as for overflow.
43847         (__kernel_standard_l): Handle powl overflow and underflow here
43848         rather than calling __kernel_standard.
43849         * math/libm-test.inc (pow_test): Add more tests.
43850
43851         [BZ #3868]
43852         [BZ #13879]
43853         [BZ #13910]
43854         [BZ #13911]
43855         [BZ #13912]
43856         [BZ #13913]
43857         [BZ #13915]
43858         [BZ #13916]
43859         [BZ #13917]
43860         [BZ #13918]
43861         [BZ #13919]
43862         [BZ #13920]
43863         [BZ #13921]
43864         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
43865         * sysdeps/ieee754/k_standard.c: Include <float.h>.
43866         (__kernel_standard_l): New function.
43867         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
43868         __kernel_standard.
43869         * math/w_acosl.c (__acosl): Likewise.
43870         * math/w_asinl.c (__asinl): Likewise.
43871         * math/w_atan2l.c (__atan2l): Likewise.
43872         * math/w_atanhl.c (__atanhl): Likewise.
43873         * math/w_coshl.c (__coshl): Likewise.
43874         * math/w_exp10l.c (__exp10l): Likewise.
43875         * math/w_exp2l.c (__exp2l): Likewise.
43876         * math/w_fmodl.c (__fmodl): Likewise.
43877         * math/w_hypotl.c (__hypotl): Likewise.
43878         * math/w_j0l.c (__j0l, __y0l): Likewise.
43879         * math/w_j1l.c (__j1l, __y1l): Likewise.
43880         * math/w_jnl.c (__jnl, __ynl): Likewise.
43881         * math/w_lgammal.c (__lgammal): Likewise.
43882         * math/w_log10l.c (__log10l): Likewise.
43883         * math/w_log2l.c (__log2l): Likewise.
43884         * math/w_logl.c (__logl): Likewise.
43885         * math/w_powl.c (__powl): Likewise.
43886         * math/w_remainderl.c (__remainderl): Likewise.
43887         * math/w_scalbl.c (sysv_scalbl): Likewise.
43888         * math/w_sinhl.c (__sinhl): Likewise.
43889         * math/w_sqrtl.c (__sqrtl): Likewise.
43890         * math/w_tgammal.c (__tgammal): Likewise.
43891         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
43892         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
43893         * math/libm-test.inc (acos_test): Add more tests.
43894         (acosh_test): Likewise.
43895         (asin_test): Likewise.
43896         (atanh_test): Likewise.
43897         (exp_test): Likewise.
43898         (exp10_test): Likewise.
43899         (exp2_test): Likewise.
43900         (expm1_test): Likewise.
43901         (lgamma_test): Likewise.
43902         (log_test): Likewise.
43903         (log10_test): Likewise.
43904         (log1p_test): Likewise.
43905         (log2_test): Likewise.
43906         (pow_test): Do not allow some spurious overflow exceptions.
43907         (sqrt_test): Add more tests.
43908         (tgamma_test): Likewise.
43909         (y0_test): Likewise.
43910         (y1_test): Likewise.
43911         (yn_test): Likewise.
43912
43913 2012-03-27  Anton Blanchard  <anton@samba.org>
43914
43915         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
43916         MAP_HUGETLB.
43917         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
43918         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
43919         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
43920
43921 2012-03-27  David S. Miller  <davem@davemloft.net>
43922
43923         * conform/Makefile: Run run-conformtest.sh using $(BASH).
43924
43925         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
43926         have-as-vis3 check.
43927
43928 2012-03-27  Andreas Jaeger  <aj@suse.de>
43929
43930         * sysdeps/x86_64/elf/configure.in: Moved to ...
43931         * sysdeps/x86_64/configure.in: ... here.
43932         * sysdeps/x86_64/elf/start.S: Moved to ...
43933         * sysdeps/x86_64/start.S: ... here.
43934         * sysdeps/x86_64/elf/configure: Delete.
43935
43936         * sysdeps/x86_64/configure.in: Merge contents from
43937         sysdeps/i386/configure.in (without i686 check).
43938
43939         * sysdeps/i386/elf/Versions: Merge into ...
43940         * sysdeps/i386/Versions: ... this.
43941         * sysdeps/i386/elf/Versions: Delete file.
43942         * sysdeps/i386/elf/start.S: Moved to ...
43943         * sysdeps/i386/start.S: ...here.
43944         * sysdeps/i386/elf/configure.in: Merge into...
43945         * sysdeps/i386/configure.in: ...here.
43946         * sysdeps/i386/elf/configure.in: Delete file.
43947         * sysdeps/i386/elf/configure: Delete file.
43948
43949         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
43950         * debug/backtracesyms.c: ... here.
43951         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
43952         * debug/backtracesymsfd.c: ... here.
43953         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
43954         * sysdeps/generic/ifunc-sel.h: ... here.
43955
43956         * sysdeps/unix/i386/start.c: Delete file.
43957         * sysdeps/unix/sparc/start.c: Delete file.
43958         * sysdeps/unix/start.c: Delete file.
43959
43960         * sysdeps/sh/elf/configure.in: Moved to ...
43961         * sysdeps/sh/configure.in: ... here.
43962         * sysdeps/sh/elf/start.S: Moved to ...
43963         * sysdeps/sh/start.S: ... here.
43964         * sysdeps/sh/elf/configure: Delete file.
43965
43966         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
43967         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
43968         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
43969         * sysdeps/powerpc/powerpc64/entry.h: ... here.
43970         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
43971         * sysdeps/powerpc/powerpc64/start.S: here.
43972         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
43973         * sysdeps/powerpc/powerpc64/Makefile: ... this.
43974         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
43975         * sysdeps/powerpc/powerpc64/configure.in: ... this.
43976         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
43977
43978         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
43979         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
43980         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
43981         * sysdeps/powerpc/powerpc32/start.S: ... here.
43982         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
43983         * sysdeps/powerpc/powerpc32/configure.in: ... this.
43984         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
43985
43986         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
43987         * sysdeps/powerpc/ifunc-sel.h: ... here.
43988         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
43989         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
43990
43991         * sysdeps/sparc/elf/configure.in: Moved to ...
43992         * sysdeps/sparc/configure.in: ... here.
43993         * sysdeps/sparc/elf/configure: Delete file.
43994         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
43995         * sysdeps/sparc/sparc32/start.S: ... here.
43996         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
43997         * sysdeps/sparc/sparc64/start.S: ... here.
43998         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
43999         * sysdeps/sparc/sparc32/Makefile: ... this.
44000         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
44001         * sysdeps/sparc/sparc64/Makefile: ... this.
44002
44003         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
44004         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
44005         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
44006         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
44007         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
44008         * sysdeps/s390/s390-32/setjmp.S: ... here.
44009         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
44010         * sysdeps/s390/s390-32/configure.in: ... here.
44011         * sysdeps/s390/s390-32/elf/configure: Delete file.
44012         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
44013         * sysdeps/s390/s390-32/start.S: ... here.
44014
44015         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
44016         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
44017         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
44018         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
44019         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
44020         * sysdeps/s390/s390-64/setjmp.S: ... here.
44021         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
44022         * sysdeps/s390/s390-64/configure.in: ... here
44023         * sysdeps/s390/s390-64/elf/configure: Delete file.
44024         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
44025         * sysdeps/s390/s390-64/start.S: ... here.
44026         * sysdeps/s390/s390-64/elf/configure: Delete.
44027
44028         * configure.in: Remove support for elf directories in sysdeps.
44029
44030         * configure: Regenerated.
44031         * sysdeps/i386/configure: Regenerated.
44032         * sysdeps/powerpc/powerpc32/configure: Regenerated.
44033         * sysdeps/powerpc/powerpc64/configure: Regenerated.
44034         * sysdeps/s390/s390-32/configure: Regenerated.
44035         * sysdeps/s390/s390-64/configure: Regenerated.
44036         * sysdeps/sh/configure: Regenerated.
44037         * sysdeps/sparc/configure: Regenerated.
44038         * sysdeps/x86_64/configure: Regenerated.
44039
44040 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
44041
44042         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44043
44044         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
44045         denormal result into account.
44046
44047 2012-03-25  Roland McGrath  <roland@hack.frob.com>
44048
44049         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
44050         Reported by Allan McRae <allan@archlinux.org>.
44051
44052 2012-03-23  Jeff Law  <law@redhat.com>
44053
44054         * nss/getnssent.c (__nss_getent): Fix typo.
44055
44056 2012-03-23  David S. Miller  <davem@davemloft.net>
44057
44058         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44059
44060 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
44061
44062         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
44063         to pad to uint64_t for each field.
44064         (dl_tls_index): Replace unsigned long with uint64_t.
44065
44066 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
44067         Paul Pluzhnikov  <ppluzhnikov@google.com>
44068
44069         [BZ #6528]
44070         * grp/Makefile (otherlibs): Don't set it.
44071         * inet/Makefile (otherlibs): Likewise.
44072         * login/Makefile (otherlibs): Likewise.
44073         * nscd/Makefile (otherlibs): Likewise.
44074         * posix/Makefile (otherlibs): Likewise.
44075         * pwd/Makefile (otherlibs): Likewise.
44076         * rt/Makefile (otherlibs): Likewise.
44077         * sunrpc/Makefile (otherlibs): Likewise.
44078         * nss/Makefile (otherlibs): Likewise.
44079         Add libnss_files to routines and static-only-routines.
44080         ($(objpfx)getent): Remove rule.
44081         * resolv/Makefile: Add libnss_dns and libresolv to routines and
44082         static-only-routines.
44083
44084 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
44085
44086         [BZ #13892]
44087         * math/s_cexp.c: Include <float.h>.
44088         (__cexp): Handle exp result overflowing not necessarily
44089         overflowing both real and imaginary parts of result.
44090         * math/s_cexpf.c: Likewise.
44091         * math/s_cexpl.c: Likewise.
44092         * math/libm-test.inc (cexp_test): Add more tests.
44093         * sysdeps/i386/fpu/libm-test-ulps: Update.
44094         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44095
44096 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
44097
44098         * include/link.h (ELFW): New macro.
44099         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
44100         Replace ELF64_R_TYPE with ELFW(R_TYPE).
44101
44102 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
44103
44104         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
44105         with uint64_t.
44106
44107 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
44108
44109         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
44110         declaration.
44111         (struct La_x32_retval): Likewise.
44112
44113 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
44114
44115         * sysdeps/x86_64/preconfigure.in: New file.
44116         * sysdeps/x86_64/preconfigure: New generated file.
44117
44118 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
44119
44120         [BZ #13824]
44121         * math/e_exp2l.c: Include <float.h>.
44122         (__ieee754_exp2l): Handle overflow and underflow cases
44123         separately.  Only pass fractional part of argument to
44124         __ieee754_expl.
44125         * math/libm-test.inc (exp2_test): Add more tests.
44126
44127         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
44128         negating x to take absolute value.
44129         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
44130         Likewise.
44131         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
44132         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
44133         Likewise.
44134         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
44135         computing low part if x was negated.
44136         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
44137
44138 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
44139
44140         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
44141         la_x32_gnu_pltexit.
44142         (pltexit): Cast int_retval to ptrdiff_t.
44143         * elf/tst-auditmod3b.c: Likewise.
44144         * elf/tst-auditmod4b.c: Likewise.
44145         * elf/tst-auditmod5b.c: Likewise.
44146         * elf/tst-auditmod6b.c: Likewise.
44147         * elf/tst-auditmod6c.c: Likewise.
44148         * elf/tst-auditmod7b.c: Likewise.
44149
44150         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
44151         and x32_gnu_pltexit.
44152
44153         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
44154         __ELF_NATIVE_CLASS.
44155         (La_x32_regs): New macro.
44156         (La_x32_retval): Likewise.
44157         (la_x32_gnu_pltenter): New function prototype.
44158         (la_x32_gnu_pltexit): Likewise.
44159
44160 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
44161
44162         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
44163         exponent.
44164
44165         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44166
44167         * configure.in (libc_cv_cc_nofma): Check for option to disable
44168         generation of FMA instructions.
44169         * configure: Regenerate.
44170         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
44171         * sysdeps/ieee754/dbl-64/Makefile: New file.
44172         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
44173         Remove brandred-fma4.
44174         (CFLAGS-brandred-fma4.c): Remove.
44175         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
44176         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
44177         define.
44178         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
44179         define.
44180
44181 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
44182
44183         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
44184         LLONG_MAX != LONG_MAX.
44185         (_itoa_word): Use _ITOA_WORD_TYPE on value.
44186         (_fitoa_word): Likewise.
44187         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
44188         LLONG_MAX != LONG_MAX.
44189         * stdio-common/_itowa.h: Include <_itoa.h>.
44190         (_itowa_word): Use _ITOA_WORD_TYPE on value.
44191         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
44192         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
44193         only if not defined.
44194         (_ITOA_WORD_TYPE): Likewise.
44195         (_itoa_word): Use _ITOA_WORD_TYPE on value.
44196         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
44197
44198 2012-03-21  David S. Miller  <davem@davemloft.net>
44199
44200         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44201
44202 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
44203
44204         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
44205         of x86_64 when setting libc_cv_slibdir, libdir and
44206         libc_cv_localedir.
44207         * sysdeps/unix/sysv/linux/configure: Regenerated.
44208
44209 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
44210
44211         * manual/lang.texi (Old Varargs): Remove section.
44212         (How Variadic): Update menu.
44213         (va_start): Do not mention varargs.h.
44214
44215 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
44216             Joseph Myers  <joseph@codesourcery.com>
44217
44218         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
44219         link test.
44220         * configure: Regenerated.
44221
44222 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
44223
44224         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
44225         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
44226         conformtest.pl
44227
44228 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
44229
44230         * NOTES: Remove.
44231         * Makefile (files-for-dist): Remove NOTES.
44232         (NOTES): Remove rule.
44233         * README: Don't refer to NOTES.
44234         * manual/creature.texi: Don't include macros.texi.
44235         * manual/intro.texi (creature.texi): Remove comment referring to
44236         NOTES.
44237
44238         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
44239         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
44240         * configure: Regenerated.
44241         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
44242         LIBC_TRY_CC_OPTION.
44243         (libc_cv_as_i686): Likewise.
44244         (libc_cv_cc_avx): Likewise.
44245         (libc_cv_cc_sse2avx): Likewise.
44246         (libc_cv_cc_fma4): Likewise.
44247         (libc_cv_cc_novzeroupper): Likewise.
44248         * sysdeps/i386/configure: Regenerated.
44249
44250         [BZ #13883]
44251         * sysdeps/i386/fpu/s_cexp.S: Remove.
44252         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
44253         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
44254         * math/libm-test.inc (cexp_test): Add more tests.
44255         * sysdeps/i386/fpu/libm-test-ulps: Update.
44256         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44257
44258 2012-03-21  Allan McRae  <allan@archlinux.org>
44259
44260         * timezone/Makefile: Do not install iso3166.tab and zone.tab
44261
44262 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
44263
44264         [BZ #13871]
44265         * math/w_exp2.c: Do not include <float.h>.
44266         (o_threshold, u_threshold): Remove.
44267         (__exp2): Calculate result before checking finiteness and calling
44268         __kernel_standard.
44269         * math/w_exp2f.c: Likewise.
44270         * math/w_exp2l.c: Likewise.
44271         * math/libm-test.inc (exp2_test): Require overflow exception for
44272         1e6 input.
44273
44274         [BZ #3866]
44275         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
44276         range of signed 64-bit integers before using fistpll.  Remove
44277         checks for whether integers fit in mantissa bits.
44278         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
44279         the range of signed 32-bit integers before using fistpl.  Remove
44280         checks for whether integers fit in mantissa bits.
44281         * sysdeps/i386/fpu/e_powl.S (p64): New object.
44282         (__ieee754_powl): Test for y outside the range of signed 64-bit
44283         integers before using fistpll.  Reduce 64-bit values to 63-bit
44284         ones as needed.
44285         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
44286         divide-by-zero is raised for zero to large negative powers.
44287         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
44288         (__ieee754_powl): Test for y outside the range of signed 64-bit
44289         integers before using fistpll.  Reduce 64-bit values to 63-bit
44290         ones as needed.
44291         * math/libm-test.inc (pow_test): Add more tests.
44292
44293 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
44294
44295         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
44296         <stdio-common/_itoa.h>.
44297         * debug/segfault.c: Likewise.
44298         * elf/dl-cache.c: Likewise.
44299         * elf/dl-minimal.c: Likewise.
44300         * elf/dl-misc.c: Likewise.
44301         * elf/dl-sysdep.c: Likewise.
44302         * elf/dl-version.c: Likewise.
44303         * elf/rtld.c: Likewise.
44304         * hurd/hurdsock.c: Likewise.
44305         * hurd/lookup-retry.c: Likewise.
44306         * malloc/malloc.c: Likewise.
44307         * malloc/mtrace.c: Likewise.
44308         * nscd/nscd_getgr_r.c: Likewise.
44309         * nscd/nscd_getpw_r.c: Likewise.
44310         * nscd/nscd_getserv_r.c: Likewise.
44311         * posix/getopt_init.c: Likewise.
44312         * posix/wordexp.c: Likewise.
44313         * stdio-common/_itoa.c: Likewise.
44314         * stdio-common/printf_fphex.c: Likewise.
44315         * stdio-common/vfprintf.c: Likewise.
44316         * string/_strerror.c: Likewise.
44317         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
44318         * sysdeps/i386/i686/hp-timing.h: Likewise.
44319         * sysdeps/mach/_strerror.c: Likewise.
44320         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
44321         * sysdeps/mach/hurd/sethostid.c: Likewise.
44322         * sysdeps/mach/hurd/xmknodat.c: Likewise.
44323         * sysdeps/mach/xpg-strerror.c: Likewise.
44324         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
44325         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
44326         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
44327         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
44328         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
44329         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
44330         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
44331         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
44332         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
44333         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
44334         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
44335         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
44336         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
44337         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
44338         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
44339         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
44340         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
44341         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
44342         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
44343         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
44344         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
44345
44346         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
44347
44348         * stdio-common/_itoa.h: Moved to ...
44349         * sysdeps/generic/_itoa.h: Here.
44350
44351         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
44352
44353         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
44354         instead of "_itoa.h" and "_itowa.h".
44355         * stdio-common/vfprintf.: Likewise.
44356
44357 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
44358
44359         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
44360         <bits/wordsize.h>.
44361         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
44362         (__signbit): Likwise.
44363         (llrintf): Likwise.
44364         (llrint): Likwise.
44365
44366 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
44367
44368         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
44369         __WORDSIZE != 64.
44370
44371 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
44372
44373         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
44374         OVERFLOW_EXCEPTION_OK.
44375         * math/libm-test.inc ("Philosophy"): Update comment about
44376         exception testing.
44377         (OVERFLOW_EXCEPTION): Define.
44378         (OVERFLOW_EXCEPTION_OK): Likewise.
44379         (INVALID_EXCEPTION_OK): Renumber.
44380         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
44381         (IGNORE_ZERO_INF_SIGN): Likewise.
44382         (test_exceptions): Handle FE_OVERFLOW.
44383         (exp10_test): Expect overflow exceptions.
44384         (exp2_test): Likewise.
44385         (expm1_test): Likewise.
44386         (nextafter_test): Likewise.
44387         (pow_test): Likewise.
44388         (scalbn_test): Likewise.
44389         (scalbln_test): Likewise.
44390
44391 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
44392
44393         * sysdeps/x86_64/bits/atomic.h
44394         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
44395         64bit integer.
44396         (atomic_exchange_acq): Likewise.
44397         (__arch_exchange_and_add_body): Likewise.
44398         (__arch_add_body): Likewise.
44399         (atomic_add_negative): Likewise.
44400         (atomic_add_zero): Likewise.
44401
44402 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
44403
44404         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
44405         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
44406
44407 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
44408
44409         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
44410         Check __x86_64__ instead of __WORDSIZE.
44411
44412 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
44413
44414         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
44415
44416 2012-03-19  David S. Miller  <davem@davemloft.net>
44417
44418         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44419
44420         * sysdeps/sparc/fpu/fenv_private.h: New file.
44421         * sysdeps/sparc/fpu/math_private.h: Use it.
44422         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
44423         Remove.
44424         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
44425         (libc_feholdexcept_setroundl): Remove.
44426         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
44427         Remove.
44428         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
44429         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
44430
44431 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
44432
44433         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
44434         int64_t instead of long int.
44435         (INSERT_WORDS64): Likwise.
44436
44437 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
44438
44439         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
44440         _Unwind_GetCFA return to _Unwind_Ptr first.
44441
44442 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
44443
44444         [BZ #13629]
44445         * math/s_clog.c: Include <float.h>.
44446         (__clog): Scale large or subnormal inputs.
44447         * math/s_clogf.c: Likewise.
44448         * math/s_clogl.c: Likewise.
44449         * math/s_clog10.c: Include <float.h>.
44450         (M_LOG10_2): Define.
44451         (__clog10): Scale large or subnormal inputs.
44452         * math/s_clog10f.c: Likewise.
44453         * math/s_clog10l.c: Likewise.
44454         * math/libm-test.inc (clog_test): Add more tests.
44455         (clog10_test): Likewise.
44456         * sysdeps/i386/fpu/libm-test-ulps: Update.
44457         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44458
44459         [BZ #11451]
44460         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
44461         x and y.
44462         * math/libm-test.inc (atan2_test): Add another test.
44463
44464         * Makerules (common-objdir-compile): Remove.
44465         * sysdeps/unix/Makefile (config-generated): Do not add
44466         $(unix-generated) to variable.
44467         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
44468         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
44469         Remove rule.
44470         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
44471         Likewise.
44472         [generic bits/local_lim.h] (before-compile): Do not append to
44473         variable.
44474         [generic bits/local_lim.h] (common-generated): Likewise.
44475         [generic sys/param.h] (before-compile): Do not append to variable.
44476         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
44477         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
44478         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
44479         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
44480         include.
44481         [generic sys/param.h] (sys/param.h-includes): Remove variable.
44482         [generic sys/param.h] (sys/param.h-includes): Remove rule.
44483         [generic sys/param.h] ($(addprefix
44484         $(common-objpfx),$(sys/param.h-includes))): Likewise.
44485         [generic sys/param.h] (common-generated): Do not append to
44486         variable.
44487         [generic sys/param.h] (sysdep_headers): Likewise.
44488         [generic bits/errno.h] (before-compile): Do not append to
44489         variable.
44490         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
44491         rule.
44492         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
44493         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
44494         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
44495         [generic bits/errno.h] (common-generated): Do not append to
44496         variable.
44497         [generic bits/ioctls.h] (before-compile): Do not append to
44498         variable.
44499         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
44500         rule.
44501         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
44502         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
44503         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
44504         rule.
44505         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
44506         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
44507         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
44508         [generic bits/ioctls.h] (common-generated): Do not append to
44509         variable.
44510         [generic sys/syscall.h] (syscall.h): Remove variable.
44511         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
44512         rule.
44513         [generic sys/syscall.h] (before-compile): Do not append to
44514         variable.
44515         [generic sys/syscall.h] (common-generated): Likewise.
44516         * sysdeps/unix/errnos-tmpl.c: Remove file.
44517         * sysdeps/unix/errnos.awk: Likewise.
44518         * sysdeps/unix/ioctls-tmpl.c: Likewise.
44519         * sysdeps/unix/ioctls.awk: Likewise.
44520         * sysdeps/unix/mk-local_lim.c: Likewise.
44521         * sysdeps/unix/snarf-ioctls: Likewise.
44522
44523 2012-03-19  Richard Henderson  <rth@twiddle.net>
44524
44525         * sysdeps/i386/fpu/fenv_private.h: New file.
44526         * sysdeps/i386/fpu/math_private.h: Use it.
44527         (math_opt_barrier, math_force_eval): Remove.
44528         (libc_feholdexcept_setround_53bit): Remove.
44529         (libc_feupdateenv_53bit): Remove.
44530         * sysdeps/x86_64/fpu/math_private.h: Likewise.
44531         (math_opt_barrier, math_force_eval): Remove.
44532         (libc_feholdexcept): Remove.
44533         (libc_feholdexcept_setround): Remove.
44534         (libc_fetestexcept, libc_fesetenv): Remove.
44535         (libc_feupdateenv_test): Remove.
44536         (libc_feupdateenv, libc_feholdsetround): Remove.
44537         (libc_feresetround): Remove.
44538
44539         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
44540         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
44541
44542         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
44543         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
44544         (libc_feupdateenv_testl): New.
44545         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
44546         (libc_feupdateenv_testf): New.
44547         (libc_feupdateenv): Use libc_feupdateenv_test.
44548         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
44549         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
44550
44551         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
44552         (libc_feholdsetroundf, libc_feholdsetroundl): New.
44553         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
44554         (libc_feresetround_noex): New.
44555         (libc_feresetround_noexf): New.
44556         (libc_feresetround_noexl): New.
44557         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
44558         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
44559         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
44560         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
44561         SET_RESTORE_ROUND.
44562         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
44563         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
44564         (__cos): Likewise.
44565         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
44566         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
44567         SET_RESTORE_ROUND_NOEX.
44568         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
44569         SET_RESTORE_ROUND_NOEXF.
44570         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
44571         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
44572         (libc_feholdsetroundf): New.
44573         (libc_feresetround, libc_feresetroundf): New.
44574
44575         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
44576         (libc_feholdexcept_setround_53bit): Convert from macro to function.
44577         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
44578
44579         * sysdeps/generic/math_private.h: Include <fenv.h>.
44580         (default_libc_feholdexcept): New.
44581         (default_libc_feholdexcept_setround): New.
44582         (default_libc_fesetenv, default_libc_feupdateenv): New.
44583         (libc_feholdexcept): Only define if undefined.
44584         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
44585         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
44586         (libc_feholdexcept_setroundl): Likewise.
44587         (libc_feholdexcept_setround_53bit): Likewise.
44588         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
44589         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
44590         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
44591         (libc_feupdateenv_53bit): Likewise.
44592         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
44593         (libc_feholdexcept): Convert from macro to inline function.
44594         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
44595         (libc_fesetenv, libc_feupdateenv): Likewise.
44596
44597         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
44598         not previously defined.
44599         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
44600         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
44601         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
44602         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
44603         * sysdeps/ieee754/flt-32/math_private.h: New file.
44604         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
44605         math_private.h below SET_FLOAT_WORD.
44606         (__isnan, __isinf_ns, __finite): Remove.
44607         (__isnanf, __isinf_nsf, __finitef): Remove.
44608
44609 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
44610
44611         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44612
44613 2012-03-17  David S. Miller  <davem@davemloft.net>
44614
44615         [BZ #6471]
44616         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
44617         for 2.16.
44618
44619 2012-03-16  David S. Miller  <davem@davemloft.net>
44620
44621         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
44622         warnings.
44623
44624         [BZ #6471]
44625         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
44626         properly.
44627         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
44628         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
44629         sysdep_routines when subdir is sysvipc.
44630         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
44631         __getshmlba helper.
44632
44633         * sysdeps/sparc/fpu/libm-test/ulps: Update.
44634
44635 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
44636
44637         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
44638         [__LP64__].
44639
44640 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
44641
44642         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
44643         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
44644         (__lround): Renamed to ...
44645         (__llround): This.  Replace long int with long long int.
44646         Define lround functions as aliases of llround functions.
44647         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
44648
44649 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
44650
44651         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
44652         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
44653         adresses to uintptr_t.  Replace "long int" and "unsigned long
44654         int" with "greg_t" on va_arg.
44655
44656 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
44657
44658         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
44659         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
44660
44661         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
44662         Move e_machine check before EI_CLASS check.  Handle x32
44663         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
44664         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
44665         SKIP_EM_IA_64 and include
44666         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
44667
44668         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
44669         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
44670         (add_system_dir): New macro.
44671
44672         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
44673         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
44674
44675 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
44676
44677         [BZ #2551]
44678         [BZ #2552]
44679         [BZ #2553]
44680         [BZ #2554]
44681         [BZ #2562]
44682         [BZ #2563]
44683         [BZ #2565]
44684         [BZ #2566]
44685         [BZ #2576]
44686         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
44687         (y0): Likewise.
44688         * math/w_j0f.c (j0f): Likewise.
44689         (y0f): Likewise.
44690         * math/w_j0l.c (__j0l): Likewise.
44691         (__y0l): Likewise.
44692         * math/w_j1.c (j1): Likewise.
44693         (y1): Likewise.
44694         * math/w_j1f.c (j1f): Likewise.
44695         (y1f): Likewise.
44696         * math/w_j1l.c (__j1l): Likewise.
44697         (__y1l): Likewise.
44698         * math/w_jn.c (jn): Likewise.
44699         (yn): Likewise.
44700         * math/w_jnf.c (jnf): Likewise.
44701         (ynf): Likewise.
44702         * math/w_jnl.c (__jnl): Likewise.
44703         (__ynl): Likewise.
44704         * math/libm-test.inc (j0_test): Add more tests.
44705         (j1_test): Likewise.
44706         (jn_test): Likewise.  Add trailing semicolon to existing test.
44707         (y0_test): Likewise.
44708         (y1_test): Likewise.
44709         * sysdeps/i386/fpu/libm-test-ulps: Update.
44710         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44711
44712         [BZ #13851]
44713         [BZ #13854]
44714         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
44715         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
44716         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
44717         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
44718         (__tanl): Set errno for infinite argument.
44719         * sysdeps/i386/fpu/mptan.c: Remove.
44720         * sysdeps/i386/fpu/s_tan.S: Likewise.
44721         * sysdeps/i386/fpu/s_tanl.S: Likewise.
44722         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
44723         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
44724         * math/libm-test.inc (tan_test): Add more tests and enable more
44725         tests for double and long double.
44726         * sysdeps/i386/fpu/libm-test-ulps: Update.
44727         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44728
44729 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
44730
44731         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
44732         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
44733
44734 2012-03-16  Roland McGrath  <roland@hack.frob.com>
44735
44736         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
44737         * configure.in: Use it for both main tree and add-ons.
44738         * configure: Regenerated.
44739
44740 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
44741
44742         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
44743
44744 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
44745
44746         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
44747         in comment.
44748
44749         [BZ #13851]
44750         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
44751         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
44752         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
44753         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
44754         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
44755         infinite argument.
44756         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
44757         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
44758         != 0 for prec == 2.
44759         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
44760         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
44761         * sysdeps/i386/fpu/s_cosl.S: Likewise.
44762         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
44763         * sysdeps/i386/fpu/s_sinl.S: Likewise.
44764         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
44765         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
44766         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
44767         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
44768         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
44769         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
44770         * math/libm-test.inc (cos_test): Add more tests and enable more
44771         tests for long double.
44772         (sin_test): Likewise.
44773         (sincos_test): Likewise.
44774         * sysdeps/i386/fpu/libm-test-ulps: Update.
44775         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44776
44777 2012-03-16  David S. Miller  <davem@davemloft.net>
44778
44779         * sysdeps/sparc/fpu/math_private.h: New file.
44780
44781 2012-03-15  David S. Miller  <davem@davemloft.net>
44782
44783         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
44784         file.
44785         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
44786         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
44787         file.
44788         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
44789         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
44790         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
44791         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
44792         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
44793         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
44794         sysdep routines.
44795         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
44796
44797         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
44798         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
44799
44800         * sysdeps/sparc/sparc-ifunc.h: New file.
44801         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
44802         sparc-ifunc.h
44803         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
44804         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
44805         Likewise.
44806         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
44807         Likewise.
44808         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
44809         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
44810         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
44811         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
44812         Likewise.
44813         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
44814         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
44815         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
44816         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
44817         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
44818         Likewise.
44819         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
44820         Likewise.
44821         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
44822         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
44823         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
44824         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
44825         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
44826         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
44827         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
44828         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
44829         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
44830         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
44831         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
44832         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
44833         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
44834         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
44835         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
44836         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
44837         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
44838         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
44839         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
44840         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
44841         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
44842         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
44843         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
44844         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
44845
44846 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
44847
44848         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
44849         scaling.
44850         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44851
44852 2012-03-15  Andreas Jaeger  <aj@suse.de>
44853
44854         [BZ #13852]
44855         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
44856         ieee754/flt-32 implementation for sin, cos and sincos.
44857         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
44858         * sysdeps/i386/fpu/s_cosf.S: Likewise.
44859         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
44860         * sysdeps/i386/fpu/s_sinf.S: Likewise.
44861         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
44862         ieee754/flt-32 implementation for tan.
44863
44864         * math/libm-test.inc (cos_test): Enable some large input tests for
44865         float as well
44866         (sin_test): Likewise.
44867         (sincos_test): Likewise.
44868         (tan_test): Add tests for large input.
44869
44870         * sysdeps/i386/fpu/libm-test-ulps: Update.
44871
44872 2012-03-15  Andreas Jaeger  <aj@suse.de>
44873
44874         [BZ #13658]
44875         * math/libm-test.inc (cos_test): Add more test cases.
44876         (sin_test): Likewise.
44877         (sincos_test): Likewise.
44878
44879 2012-03-15  Andreas Jaeger  <aj@suse.de>
44880
44881         [BZ #13837]
44882         * math/libm-test.inc (cos_test): Add a test case for large input
44883         value.
44884         (sin_test): Likewise.
44885         (sincos_test): Likewise.
44886
44887 2012-03-15  Andreas Jaeger  <aj@suse.de>
44888             Joseph Myers  <joseph@codesourcery.com>
44889
44890         [BZ #13658]
44891         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
44892         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
44893         * sysdeps/i386/fpu/branred.c: Likewise.
44894         * sysdeps/i386/fpu/dosincos.c: Likewise.
44895         * sysdeps/i386/fpu/mpa.c: Likewise.
44896         * sysdeps/i386/fpu/s_cos.S: Likewise.
44897         * sysdeps/i386/fpu/s_sin.S: Likewise.
44898         * sysdeps/i386/fpu/s_sincos.S: Likewise.
44899         * sysdeps/i386/fpu/sincos32.c: Likewise.
44900
44901         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
44902         Define.
44903         (libc_feupdateenv_53bit): Define.
44904         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
44905         Define.
44906         (libc_feupdateenv_53bit): Define.
44907
44908         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
44909         53 bit (without extend i386 double precision).
44910
44911         * math/libm-test.inc (sincos_test): Add tests for large input.
44912         (sin): Likewise.
44913         (cos): Likewise.
44914
44915         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
44916
44917 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
44918
44919         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44920
44921 2012-03-15  David S. Miller  <davem@davemloft.net>
44922
44923         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
44924         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
44925         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
44926         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
44927         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
44928         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
44929         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
44930         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
44931         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
44932         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
44933         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
44934         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
44935         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
44936         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
44937         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
44938         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
44939         file.
44940         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
44941         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
44942         file.
44943         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
44944         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
44945         file.
44946         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
44947         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
44948         file.
44949         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
44950         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
44951         fmin/fmax sysdep routines.
44952         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
44953
44954 2012-03-14  David S. Miller  <davem@davemloft.net>
44955
44956         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
44957         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
44958         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
44959         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
44960         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
44961         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
44962         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
44963         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
44964         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
44965         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
44966         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
44967         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
44968         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
44969         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
44970         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
44971         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
44972         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
44973         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
44974         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
44975         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
44976         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
44977         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
44978         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
44979         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
44980         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
44981         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
44982         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
44983         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
44984         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
44985         routines.
44986         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
44987         file.
44988         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
44989         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
44990         file.
44991         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
44992         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
44993         file.
44994         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
44995         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
44996         file.
44997         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
44998         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
44999         file.
45000         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
45001         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
45002         file.
45003         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
45004         file.
45005         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
45006         file.
45007         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
45008         file.
45009         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
45010         New file.
45011         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
45012         file.
45013         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
45014         file.
45015         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
45016         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
45017         file.
45018         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
45019         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
45020         file.
45021         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
45022         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
45023         file.
45024         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
45025         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
45026         VIS3 routines.
45027
45028         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
45029         New file.
45030
45031         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45032
45033         * sysdeps/sparc/configure.in: New file.
45034         * sysdeps/sparc/configure: Generate.
45035         * configure.in (libc_cv_sparc_as_vis3): Substitute.
45036         * configure: Regenerate.
45037         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
45038         * config.make.in (have-as-vis3): New.
45039         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
45040         available use -Av9d instead of -Av9a.
45041         * sysdeps/sparc/sparc64/Makefile: Likewise.
45042         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
45043         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
45044         New file.
45045         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
45046         file.
45047         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
45048         New file.
45049         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
45050         file.
45051         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
45052         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
45053         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
45054         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
45055         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
45056
45057         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
45058         fzeros/fnegs to load 0x80000000 into a float register instead of
45059         using the stack.
45060         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
45061
45062 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
45063
45064         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45065         bits/syscall.h.
45066         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
45067         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
45068         ($(inst_includedir)/bits/syscall.h): Remove rule.
45069         ($(objpfx)bits/syscall.d): Include instead of
45070         $(objpfx)syscall-list.d.
45071         (generated): Change syscall-list.h and syscall-list.d to
45072         bits/syscall.h and bits/syscall.d.
45073
45074 2012-03-14  Roland McGrath  <roland@hack.frob.com>
45075
45076         [BZ #13846]
45077         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
45078
45079 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
45080
45081         [BZ #13841]
45082         * math/s_csqrt.c: Include <float.h>.
45083         (__csqrt): Scale large or subnormal inputs.
45084         * math/s_csqrtf.c: Likewise.
45085         * math/s_csqrtl.c: Likewise.
45086         * math/libm-test.inc (csqrt_test): Add more tests.
45087         * sysdeps/i386/fpu/libm-test-ulps: Update.
45088         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45089
45090         [BZ #13840]
45091         * math/libm-test.inc (hypot_test): Add more tests.
45092
45093 2012-03-13  David S. Miller  <davem@davemloft.net>
45094
45095         [BZ #13840]
45096         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
45097         double-precision for the calculation instead of scaling.
45098
45099 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
45100
45101         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
45102         manipulate bits before adding and subtracting TWO52[sx].
45103         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
45104         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
45105         Likewise.
45106         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
45107
45108 2012-03-13  David S. Miller  <davem@davemloft.net>
45109
45110         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
45111         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
45112         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
45113         rtld-global-offsets.h
45114         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
45115
45116         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
45117         large parameters.
45118
45119         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
45120
45121         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
45122         'err' in the ifdef scope in which it is actually used.
45123
45124         * nss/nss_db/db-init.c: Include string.h
45125
45126 2012-03-12  David S. Miller  <davem@davemloft.net>
45127
45128         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
45129         masking out of the most significant byte of random value used.
45130         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
45131         Fix coding style in previous change.
45132
45133         * sysdeps/unix/sysv/linux/kernel-features.h
45134         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
45135         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
45136         expression.
45137         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
45138         later.
45139
45140 2012-03-11  David S. Miller  <davem@davemloft.net>
45141
45142         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
45143         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
45144         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
45145         for 'resultvar' otherwise things get truncated on 64-bit.
45146
45147         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
45148         Fix masking out of the most significant byte of random value used.
45149
45150         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45151
45152 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
45153
45154         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45155
45156 2012-03-09  David S. Miller  <davem@davemloft.net>
45157
45158         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
45159         variables with appropriate CPP guards.
45160         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
45161         from the frame pointer, not the stack pointer.  Correct layout
45162         comments.  Fix test on resulting framesize and the management of
45163         the outregs buffer for pltexit.  Preserve floating point return
45164         values across _dl_call_pltexit call.
45165         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
45166         framesize and the management of the outregs buffer for pltexit.
45167         Preserve floating point return values across _dl_call_pltexit
45168         call.
45169         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
45170         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
45171         (la_sparc64_gnu_pltexit): New functions.
45172         (print_exit): Fix format string for return register value.
45173
45174 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
45175
45176         * sunrpc/Makefile (others): Add rpcgen.
45177         ($(objpfx)rpcgen): Remove special build rule and dependency on
45178         libc.
45179         * sunrpc/rpcgen.c: New file.
45180
45181 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
45182
45183         [BZ #13673]
45184         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
45185         * stdio-common/bug-vfprintf-nargs.c: Likewise.
45186         * sysdeps/i386/crti.S: Likewise.
45187         * sysdeps/i386/crtn.S: Likewise.
45188         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
45189         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
45190         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
45191         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
45192         * sysdeps/sh/crti.S: Likewise.
45193         * sysdeps/sh/crtn.S: Likewise.
45194         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
45195
45196         [BZ #13673]
45197         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
45198         with URL.
45199         * locale/programs/locfile-kw.gperf: Likewise.
45200         * locale/programs/charmap-kw.h: Regenerated.
45201         * locale/programs/locfile-kw.h: Likewise.
45202
45203         [BZ #13673]
45204         * intl/plural.y: Replace FSF snail mail address with URL.
45205         * intl/plural.c: Regenerated.
45206
45207 2012-03-09  Richard Henderson  <rth@twiddle.net>
45208
45209         * include/math_private.h: Remove file.
45210         * math/math_private.h: Move file ...
45211         * sysdeps/generic/math_private.h: ... here.
45212
45213         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
45214         * sysdeps/powerpc/fpu/math_private.h: Likewise.
45215         * sysdeps/x86_64/fpu/math_private.h: Likewise.
45216
45217         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
45218         and <math_private.h>.
45219         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
45220         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
45221         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
45222         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
45223         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
45224         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
45225         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
45226         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
45227         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
45228         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
45229         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
45230         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
45231         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
45232         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
45233         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
45234         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
45235         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
45236         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
45237         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
45238         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
45239         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
45240         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
45241         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
45242         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
45243         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
45244         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
45245         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
45246         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
45247         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
45248         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
45249         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
45250         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
45251         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
45252         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
45253         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
45254         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
45255         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
45256         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
45257         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
45258         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
45259         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
45260         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
45261         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
45262         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
45263         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
45264         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
45265         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
45266         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
45267         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
45268         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
45269         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
45270         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
45271         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
45272         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
45273         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
45274         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
45275         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
45276         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
45277         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
45278         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
45279         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
45280         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
45281         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
45282         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
45283         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
45284         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
45285         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
45286         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
45287         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
45288         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
45289         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
45290         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
45291         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
45292         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
45293         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
45294         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
45295         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
45296         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
45297         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
45298         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
45299         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
45300         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
45301         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
45302         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
45303         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
45304         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
45305         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
45306         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
45307         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
45308         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
45309         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
45310         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
45311         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
45312         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
45313         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
45314         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
45315         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
45316         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
45317         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
45318         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
45319         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
45320         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
45321         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
45322         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
45323         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
45324         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
45325         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
45326         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
45327         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
45328         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
45329         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
45330         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
45331         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
45332         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
45333         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
45334         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
45335         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
45336         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
45337         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
45338         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
45339         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
45340         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
45341         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
45342         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
45343         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
45344         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
45345         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
45346         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
45347         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
45348         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
45349         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
45350         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
45351         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
45352         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
45353         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
45354         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
45355         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
45356         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
45357         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
45358         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
45359         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
45360         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
45361         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
45362         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
45363         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
45364         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
45365         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
45366         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
45367         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
45368         * sysdeps/ieee754/k_standard.c: Likewise.
45369         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
45370         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
45371         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
45372         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
45373         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
45374         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
45375         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
45376         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
45377         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
45378         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
45379         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
45380         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
45381         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
45382         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
45383         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
45384         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
45385         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
45386         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
45387         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
45388         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
45389         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
45390         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
45391         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
45392         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
45393         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
45394         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
45395         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
45396         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
45397         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
45398         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
45399         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
45400         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
45401         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
45402         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
45403         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
45404         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
45405         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
45406         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
45407         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
45408         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
45409         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
45410         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
45411         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
45412         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
45413         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
45414         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
45415         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
45416         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
45417         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
45418         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
45419         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
45420         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
45421         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
45422         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
45423         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
45424         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
45425         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
45426         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
45427         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
45428         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
45429         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
45430         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
45431         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
45432         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
45433         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
45434         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
45435         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
45436         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
45437         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
45438         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
45439         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
45440         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
45441         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
45442         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
45443         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
45444         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
45445         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
45446         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
45447         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
45448         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
45449         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
45450         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
45451         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
45452         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
45453         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
45454         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
45455         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
45456         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
45457         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
45458         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
45459         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
45460         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
45461         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
45462         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
45463         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
45464         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
45465         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
45466         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
45467         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
45468         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
45469         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
45470         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
45471         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
45472         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
45473         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
45474         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
45475         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
45476         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
45477         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
45478         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
45479         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
45480         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
45481         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
45482         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
45483         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
45484         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
45485         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
45486         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
45487         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
45488         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
45489         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
45490         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
45491         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
45492         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
45493         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
45494         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
45495         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
45496         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
45497         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
45498         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
45499         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
45500         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
45501         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
45502         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
45503         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
45504         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
45505         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
45506         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
45507         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
45508         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
45509         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
45510         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
45511         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
45512         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
45513         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
45514         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
45515         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
45516         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
45517         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
45518         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
45519         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
45520         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
45521         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
45522         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
45523         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
45524         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
45525         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
45526         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
45527         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
45528         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
45529         * sysdeps/ieee754/s_lib_version.c: Likewise.
45530         * sysdeps/ieee754/s_matherr.c: Likewise.
45531         * sysdeps/ieee754/s_signgam.c: Likewise.
45532         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
45533         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
45534         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
45535         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
45536         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
45537         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
45538         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
45539         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
45540         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
45541         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
45542         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
45543         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
45544         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
45545         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
45546         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
45547         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
45548         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
45549         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
45550         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
45551         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
45552         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
45553
45554 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
45555
45556         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
45557         * sunrpc/rpc_main.c: Likewise.
45558         * sunrpc/rpc_svcout.c: Likewise.
45559
45560 2012-03-09  David S. Miller  <davem@davemloft.net>
45561
45562         * include/math_private.h: New file.
45563
45564 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
45565
45566         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
45567         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
45568         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
45569         from <bits/socket_type.h>.
45570         (enum __socket_type): Don't define here.
45571         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
45572         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45573         bits/socket_type.h.
45574
45575         [BZ #13566]
45576         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
45577         checking __USE_GNU.
45578
45579         * Makerules ($(inst_includedir)/%.h): New rule.
45580         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
45581         (install-others): Remove variable setting.
45582         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
45583
45584 2012-03-08  Richard Henderson  <rth@twiddle.net>
45585
45586         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
45587         from macro to inline function; merge with the
45588         !__LIBC_INTERNAL_MATH_INLINES version.
45589         (__ieee754_sqrtf): Likewise.
45590
45591         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
45592         to inline function.
45593         (__rintf, __floor, __floorf): Likewise.
45594
45595         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
45596         macro to inline function.
45597         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
45598
45599         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
45600         not <math/math_private.h>.
45601
45602 2012-03-08  David S. Miller  <davem@davemloft.net>
45603
45604         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
45605         copyright year.
45606         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
45607
45608 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
45609
45610         * resolv/gai_misc.c (handle_requests): Fix struct timespec
45611         normalization.
45612         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
45613         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
45614
45615 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
45616
45617         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
45618         be defined individually, they must be defined as a block.  Define
45619         S for printing a string instead of hidint the different by using a
45620         macro for adding the 'l'.
45621         * stdio-common/tst-fphex-wide.c: Adjust.
45622
45623 2012-03-07  Marek Polacek  <polacek@redhat.com>
45624
45625         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
45626
45627 2012-03-08  Marek Polacek  <polacek@redhat.com>
45628
45629         [BZ #13806]
45630         * stdio-common/Makefile (tests): Add tst-fphex-wide.
45631         * stdio-common/tst-fphex.c: Define a few macros to make the
45632         test reusable.  Use them.
45633         * stdio-common/tst-fphex-wide.c: New file.
45634
45635 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
45636
45637         [BZ #6911]
45638         * manual/macros.texi (gnusystems): New macro.
45639         (nongnusystems): Likewise.
45640         (gnulinuxhurdsystems): Likewise.
45641         (gnuhurdsystems): Likewise..
45642         (gnulinuxsystems): Likewise.
45643         * manual/charset.texi: Use new macros or @theglibc{} to refer to
45644         variants of the GNU system, not "GNU system".
45645         * manual/conf.texi: Likewise.
45646         * manual/errno.texi: Likewise.  Update example of errno macro
45647         expansion.
45648         * manual/filesys.texi: Likewise.
45649         (getumask): Document as specific to GNU/Hurd.
45650         * manual/install.texi: Likewise.  Reword some references to
45651         GNU/Linux.
45652         * manual/intro.texi: Likewise.
45653         * manual/io.texi: Likewise.
45654         (File Name Portability): Detail which constraints are inapplicable
45655         to all GNU systems and which are only inapplicable to GNU/Hurd.
45656         * manual/job.texi: Likewise.
45657         * manual/llio.texi: Likewise.
45658         (O_NOCTTY): Document as present on GNU/Linux.
45659         * manual/maint.texi: Likewise.
45660         * manual/memory.texi: Likewise.
45661         * manual/pattern.texi: Likewise.
45662         * manual/pipe.texi: Likewise.
45663         * manual/process.texi: Likewise.
45664         * manual/resource.texi: Likewise.
45665         (RUSAGE_CHILDREN): Remove statement about specifying a particular
45666         child on GNU/Hurd.
45667         * manual/setjmp.texi: Likewise.
45668         * manual/signal.texi: Likewise.
45669         * manual/startup.texi: Likewise.
45670         * manual/stdio.texi: Likewise.
45671         * manual/terminal.texi: Likewise.
45672         (ONLCR): Document as POSIX.
45673         (OXTABS): Document availability on GNU/Linux as XTABS.
45674         (ONOEOT): Document availability separately from other bits.
45675         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
45676         * manual/time.texi: Likewise.
45677         * manual/users.texi: Likewise.
45678         * INSTALL: Regenerated.
45679         * sysdeps/gnu/errlist.c: Regenerated.
45680
45681         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
45682         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
45683         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
45684         puts.
45685         * configure: Regenerated.
45686
45687 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
45688
45689         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
45690         default includes instead of AC_HEADER_CHECK.
45691         * sysdeps/i386/configure: Regenerated.
45692
45693         [BZ #10716]
45694         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
45695         * math/s_cacoshf.c (__cacoshf): Likewise.
45696         * math/s_cacoshl.c (__cacoshl): Likewise.
45697         * math/s_casinh.c (__casinh): Set signs of result from argument.
45698         * math/s_casinhf.c (__casinhf): Likewise.
45699         * math/s_casinhl.c (__casinhl): Likewise.
45700         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
45701         (casinh_test): Add more tests.
45702         * sysdeps/i386/fpu/libm-test-ulps: Update.
45703         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45704
45705 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
45706
45707         * po/zh_TW.po: Update from translation team.
45708
45709         * login/Makefile (distribute): Remove variable.
45710         * catgets/Makefile: Likewise.
45711         * mach/Makefile: Likewise.
45712         * malloc/Makefile: Likewise.
45713         * misc/Makefile: Likewise.
45714         * iconv/Makefile: Likewise.
45715         * nscd/Makefile: Likewise.
45716         * hurd/Makefile: Likewise.
45717         * manual/Makefile: Likewise.
45718         * locale/Makefile: Likewise.
45719         * intl/Makefile: Likewise.
45720         * conform/Makefile: Likewise.
45721         * nss/Makefile: Likewise.
45722         * time/Makefile: Likewise.
45723         * soft-fp/Makefile: Likewise.
45724         * dirent/Makefile: Likewise.
45725         * gmon/Makefile: Likewise.
45726         * po/Makefile: Likewise.
45727         * rt/Makefile: Likewise.
45728         * socket/Makefile: Likewise.
45729         * math/Makefile: Likewise.
45730         * signal/Makefile: Likewise.
45731         * debug/Makefile: Likewise.
45732         * elf/Makefile: Likewise.
45733         * timezone/Makefile: Likewise.
45734         * stdlib/Makefile: Likewise.
45735         * iconvdata/Makefile: Likewise.
45736         * sunrpc/Makefile: Likewise.
45737         * io/Makefile: Likewise.
45738         * argp/Makefile: Likewise.
45739         * inet/Makefile: Likewise.
45740         * hesiod/Makefile: Likewise.
45741         * grp/Makefile: Likewise.
45742         * csu/Makefile: Likewise.
45743         * wctype/Makefile: Likewise.
45744         * crypt/Makefile: Likewise.
45745         * libio/Makefile: Likewise.
45746         * string/Makefile: Likewise.
45747         * nis/Makefile: Likewise.
45748         * resolv/Makefile: Likewise.
45749         * stdio-common/Makefile: Likewise.
45750         * wcsmbs/Makefile: Likewise.
45751         * dlfcn/Makefile: Likewise.
45752         * posix/Makefile: Likewise.
45753
45754         [BZ #6959]
45755         * timezone/Makefile: Don't install timezone files, just the programs
45756         and scripts.
45757
45758 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
45759
45760         * nss/databases.def: Add missing gshadow entry.
45761
45762         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
45763
45764 2012-03-06  Marek Polacek  <polacek@redhat.com>
45765
45766         [BZ #13726]
45767         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
45768         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
45769         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
45770         * stdio-common/tst-long-dbl-fphex.c: New file.
45771
45772 2012-03-06  David S. Miller  <davem@davemloft.net>
45773
45774         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
45775         (set_obp_int): New function.
45776         (get_obp_int): New function.
45777         (__get_clockfreq_via_dev_openprom): Likewise.
45778         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
45779         Avoid unused variable warnings on 'val' and use builtin_expect.
45780         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
45781         __builtin_expect.
45782         (INLINE_CLONE_SYSCALL): Likewise.
45783
45784 2012-03-05  David S. Miller  <davem@davemloft.net>
45785
45786         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45787
45788 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
45789
45790         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45791
45792         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
45793         only for |x| >= 40.
45794         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
45795
45796 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
45797
45798         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
45799         Replace gettimeofday with __vdso_gettimeofday.
45800
45801         * sysdeps/unix/sysv/linux/x86_64/init-first.c
45802         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
45803         __vdso_clock_gettime and __vdso_getcpu.
45804
45805         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
45806         time with __vdso_time.
45807
45808 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
45809
45810         * manual/lang.texi (size_t): Note types to which size_t may be
45811         equivalent with the GNU C Library, but do not describe when
45812         differences between them are significant.
45813
45814 2012-03-05  Andreas Jaeger  <aj@suse.de>
45815
45816         * sysdeps/i386/fpu/libm-test-ulps: Update.
45817
45818 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
45819
45820         [BZ #3976]
45821         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
45822         (__ieee754_pow): Save and restore rounding mode and use
45823         round-to-nearest for main computations.
45824         * math/libm-test.inc (pow_test_tonearest): New function.
45825         (pow_test_towardzero): Likewise.
45826         (pow_test_downward): Likewise.
45827         (pow_test_upward): Likewise.
45828         (main): Call the new functions.
45829         * sysdeps/i386/fpu/libm-test-ulps: Update.
45830         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45831
45832         [BZ #3976]
45833         * math/libm-test.inc (cosh_test_tonearest): New function.
45834         (cosh_test_towardzero): Likewise.
45835         (cosh_test_downward): Likewise.
45836         (cosh_test_upward): Likewise.
45837         (sinh_test_tonearest): Likewise.
45838         (sinh_test_towardzero): Likewise.
45839         (sinh_test_downward): Likewise.
45840         (sinh_test_upward): Likewise.
45841         (main): Call the new functions.
45842         * sysdeps/i386/fpu/libm-test-ulps: Update.
45843         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45844
45845 2012-03-05  Tom de Vries  <tom@codesourcery.com>
45846
45847         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
45848         default stack guard is set in last bytes.
45849         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
45850
45851 2012-03-05  Kees Cook  <keescook@chromium.org>
45852
45853         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
45854
45855         [BZ #13656]
45856         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
45857         possibly allocate from heap instead of stack.
45858         * stdio-common/bug-vfprintf-nargs.c: New file.
45859         * stdio-common/Makefile (tests): Add nargs overflow test.
45860
45861 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
45862
45863         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45864
45865 2012-03-03  Marek Polacek  <polacek@redhat.com>
45866
45867         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
45868         * math/math_private.h: Likewise.
45869         * stdlib/tst-strtod.c: Likewise.
45870         * sysdeps/i386/i486/bits/atomic.h: Likewise.
45871         * sysdeps/x86_64/bits/atomic.h: Likewise.
45872
45873 2012-03-02  David S. Miller  <davem@davemloft.net>
45874
45875         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
45876         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
45877         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
45878         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
45879         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
45880         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
45881         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
45882         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
45883
45884 2012-03-02  Roland McGrath  <roland@hack.frob.com>
45885
45886         [BZ #13792]
45887         * manual/examples/README: New file, says the example source files
45888         can be used under GPL>=2.
45889         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
45890         line containing just "*/".
45891         * manual/examples/add.c: Add copyright header (GPL>=2).
45892         * manual/examples/argp-ex1.c: Likewise.
45893         * manual/examples/argp-ex2.c: Likewise.
45894         * manual/examples/argp-ex3.c: Likewise.
45895         * manual/examples/argp-ex4.c: Likewise.
45896         * manual/examples/atexit.c: Likewise.
45897         * manual/examples/db.c: Likewise.
45898         * manual/examples/dir.c: Likewise.
45899         * manual/examples/dir2.c: Likewise.
45900         * manual/examples/execinfo.c: Likewise.
45901         * manual/examples/filecli.c: Likewise.
45902         * manual/examples/filesrv.c: Likewise.
45903         * manual/examples/fmtmsgexpl.c: Likewise.
45904         * manual/examples/genpass.c: Likewise.
45905         * manual/examples/inetcli.c: Likewise.
45906         * manual/examples/inetsrv.c: Likewise.
45907         * manual/examples/isockad.c: Likewise.
45908         * manual/examples/longopt.c: Likewise.
45909         * manual/examples/memopen.c: Likewise.
45910         * manual/examples/memstrm.c: Likewise.
45911         * manual/examples/mkfsock.c: Likewise.
45912         * manual/examples/mkisock.c: Likewise.
45913         * manual/examples/mygetpass.c: Likewise.
45914         * manual/examples/pipe.c: Likewise.
45915         * manual/examples/popen.c: Likewise.
45916         * manual/examples/rprintf.c: Likewise.
45917         * manual/examples/search.c: Likewise.
45918         * manual/examples/select.c: Likewise.
45919         * manual/examples/setjmp.c: Likewise.
45920         * manual/examples/sigh1.c: Likewise.
45921         * manual/examples/sigusr.c: Likewise.
45922         * manual/examples/stpcpy.c: Likewise.
45923         * manual/examples/strdupa.c: Likewise.
45924         * manual/examples/strftim.c: Likewise.
45925         * manual/examples/strncat.c: Likewise.
45926         * manual/examples/subopt.c: Likewise.
45927         * manual/examples/swapcontext.c: Likewise.
45928         * manual/examples/termios.c: Likewise.
45929         * manual/examples/testopt.c: Likewise.
45930         * manual/examples/testpass.c: Likewise.
45931         * manual/examples/timeval_subtract.c: Likewise.
45932
45933         [BZ #13792]
45934         * manual/time.texi (Elapsed Time): Move timeval_subtract example
45935         function to ...
45936         * manual/timeval_subtract.c.texi: ... here, new file.
45937
45938 2012-03-02  David S. Miller  <davem@davemloft.net>
45939
45940         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
45941
45942 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
45943
45944         [BZ #3976]
45945         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
45946         (__sin): Save and restore rounding mode and use round-to-nearest
45947         for all computations.
45948         (__cos): Save and restore rounding mode and use round-to-nearest
45949         for all computations.
45950         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
45951         <fenv.h>.
45952         (tan): Save and restore rounding mode and use round-to-nearest for
45953         all computations.
45954         * math/libm-test.inc (cos_test_tonearest): New function.
45955         (cos_test_towardzero): Likewise.
45956         (cos_test_downward): Likewise.
45957         (cos_test_upward): Likewise.
45958         (sin_test_tonearest): Likewise.
45959         (sin_test_towardzero): Likewise.
45960         (sin_test_downward): Likewise.
45961         (sin_test_upward): Likewise.
45962         (tan_test_tonearest): Likewise.
45963         (tan_test_towardzero): Likewise.
45964         (tan_test_downward): Likewise.
45965         (tan_test_upward): Likewise.
45966         (main): Call the new functions.
45967         * sysdeps/i386/fpu/libm-test-ulps: Update.
45968         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45969
45970         [BZ #10135]
45971         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
45972         small n, then large n, before computing and testing k+n.
45973         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
45974         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
45975         Likewise.
45976         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
45977         Likewise.
45978         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
45979         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
45980         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
45981         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
45982         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
45983         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
45984         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
45985         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
45986         * math/libm-test.inc (scalbn_test): Add more tests.
45987         (scalbln_test): Likewise.
45988
45989         * manual/filesys.texi (mode_t): Describe constraints on size and
45990         signedness, not exact equivalence to a particular type.
45991         (ino_t): Likewise.
45992         (ino64_t): Likewise.
45993         (dev_t): Likewise.
45994         (nlink_t): Likewise.
45995         (blkcnt_t): Likewise.
45996         (blkcnt64_t): Likewise.
45997         * manual/llio.texi (off_t): Likewise.
45998
45999         [BZ #3976]
46000         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
46001         (__ieee754_exp): Save and restore rounding mode and use
46002         round-to-nearest for all computations.
46003         * math/libm-test.inc (exp_test_tonearest): New function.
46004         (exp_test_towardzero): Likewise.
46005         (exp_test_downward): Likewise.
46006         (exp_test_upward): Likewise.
46007         (main): Call the new functions.
46008         * sysdeps/i386/fpu/libm-test-ulps: Update.
46009         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46010
46011 2012-03-01  Chris Demetriou  <cgd@google.com>
46012
46013         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
46014         have predictable order.
46015
46016 2012-03-01  David S. Miller  <davem@davemloft.net>
46017
46018         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
46019
46020         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
46021         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
46022         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
46023         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
46024
46025         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
46026         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
46027         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
46028         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
46029         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
46030         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
46031         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
46032         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
46033         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
46034
46035         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46036
46037         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
46038         * sysdeps/sparc/fpu/libm-test-ulps: to here.
46039         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
46040
46041         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
46042         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
46043         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
46044         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
46045         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
46046         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
46047         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
46048         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
46049         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
46050         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
46051         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
46052         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
46053         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
46054         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
46055         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
46056         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
46057         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
46058         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
46059         * sysdeps/sparc/elf/configure: Regenerated.
46060
46061 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
46062
46063         * configure.in (AS, LD): Require binutils 2.20 or later.
46064         * configure: Regenerated.
46065         * manual/install.texi (Tools for Compilation): Give binutils 2.20
46066         as required minimum version.
46067         * INSTALL: Regenerated.
46068
46069         [BZ #2541]
46070         [BZ #4108]
46071         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
46072         before squaring exponent.
46073         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
46074         bottom long double and 27 bits of top long double before squaring
46075         exponent.
46076         * math/libm-test.inc (erfc_test): Add more tests.
46077         * sysdeps/i386/fpu/libm-test-ulps: Update.
46078         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
46079         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46080
46081 2012-03-01  Kai Tietz  <ktietz@redhat.com>
46082
46083         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
46084         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
46085         containing bit-fields.
46086         * soft-fp/extended.h (_FP_UNION_E): Likewise.
46087         * soft-fp/single.h (_FP_UNION_S): Likewise.
46088         * soft-fp/double.h (_FP_UNION_D): Likewise.
46089
46090 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
46091
46092         [BZ #13786]
46093         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
46094         not include ../strcmp.S.
46095         [USE_AS_STRNCASECMP_L]: Likewise.
46096         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
46097         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
46098         * sysdeps/i386/i686/multiarch/strncase_l-c.c
46099         (__strncasecmp_l_ia32): Define as alias to
46100         __strncasecmp_l_nonascii.
46101
46102         [BZ #5794]
46103         * math/libm-test.inc (expm1_test): Add test for bug 5794.
46104         * sysdeps/i386/fpu/libm-test-ulps: Update.
46105         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46106
46107         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
46108         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46109
46110 2012-02-29  Jeff Law  <law@redhat.com>
46111
46112         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
46113         out of bounds read.
46114
46115 2012-02-29  Marek Polacek  <polacek@redhat.com>
46116
46117         [BZ #13706]
46118         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
46119         * elf/Makefile: Add rules to run tst-unused-dep.out.
46120
46121 2012-02-28  David S. Miller  <davem@davemloft.net>
46122
46123         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
46124         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
46125         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
46126         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
46127         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
46128         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
46129
46130 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
46131
46132         * math/libm-test.inc (llround_test): Move one test from
46133         lround_test.  Use TEST_f_L in moved test.
46134         (lround_test): Move misplaced test to llround_test.  Add testcase
46135         from bug 2561.
46136
46137 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
46138
46139         * sysdeps/x86_64/fpu/e_expf.S: New file.
46140         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
46141
46142 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
46143
46144         [BZ #13637]
46145         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
46146         of remain_len that may cause incomplete multi-byte character and
46147         false match.
46148         * posix/bug-regex33.c: New file.
46149         * posix/Makefile (tests): Add bug-regex33.
46150
46151 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
46152
46153         * manual/macros.texi: New file.
46154         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
46155         * manual/libc.texinfo: Include macros.texi.
46156         * manual/creatute.texi: Likewise.
46157         * manual/install.texi: Likewise.
46158         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
46159         @glibcadj{} in references to the GNU C Library.
46160         * manual/charset.texi: Likewise.
46161         * manual/conf.texi: Likewise.
46162         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
46163         when not using those macros.
46164         * manual/creature.texi: Likewise.
46165         * manual/crypt.texi: Likewise.
46166         * manual/errno.texi: Likewise.
46167         * manual/filesys.texi: Likewise.
46168         * manual/header.texi: Likewise.
46169         * manual/install.texi: Likewise.
46170         * manual/intro.texi: Likewise.
46171         * manual/io.texi: Likewise.
46172         * manual/job.texi: Likewise.
46173         * manual/lang.texi: Likewise.
46174         * manual/libc.texiinfo: Likewise.
46175         * manual/llio.texi: Likewise.
46176         * manual/locale.texi: Likewise.
46177         * manual/maint.texi: Likewise.
46178         * manual/math.texi: Likewise.
46179         * manual/memory.texi: Likewise.
46180         * manual/message.texi: Likewise.
46181         * manual/nss.texi: Likewise.
46182         * manual/pattern.texi: Likewise.
46183         * manual/process.texi: Likewise.
46184         * manual/resource.texi: Likewise.
46185         * manual/search.texi: Likewise.
46186         * manual/setjmp.texi: Likewise.
46187         * manual/signal.texi: Likewise.
46188         * manual/socket.texi: Likewise.
46189         * manual/startup.texi: Likewise.
46190         * manual/stdio.texi: Likewise.
46191         * manual/string.texi: Likewise.
46192         * manual/sysinfo.texi: Likewise.
46193         * manual/syslog.texi: Likewise.
46194         * manual/terminal.texi: Likewise.
46195         * manual/time.texi: Likewise.
46196         * manual/users.texi: Likewise.
46197         * INSTALL: Regenerated.
46198         * NOTES: Regenerated.
46199         * sysdeps/gnu/errlist.c: Regenerated.
46200
46201 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
46202
46203         * include/dirent.h: Include <dirstream.h> before
46204         <dirent/dirent.h>.
46205
46206 2012-02-28  David S. Miller  <davem@davemloft.net>
46207
46208         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
46209         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
46210         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
46211         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
46212
46213 2012-02-27  David S. Miller  <davem@davemloft.net>
46214
46215         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
46216         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
46217         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
46218         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
46219
46220         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
46221         frame pointer instead of stack pointer relative arg slot.
46222         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
46223         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
46224         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
46225
46226 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
46227
46228         [BZ #3992]
46229         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
46230
46231 2012-02-27  David S. Miller  <davem@davemloft.net>
46232
46233         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
46234         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
46235         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
46236         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
46237         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
46238         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
46239         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
46240         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
46241
46242 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
46243
46244         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
46245         later.  Allow versions 5-9.
46246         * configure: Regenerated.
46247         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
46248         required minimum version and 4.6 as recommended version.  Do not
46249         mention bugs in GCC 2.7 and 2.8.
46250         * INSTALL: Regenerated.
46251
46252 2012-02-27  David S. Miller  <davem@davemloft.net>
46253
46254         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
46255         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
46256         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
46257         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
46258         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
46259         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
46260         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
46261         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
46262
46263         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
46264         manipulate bits before adding and subtracting TWO112[sx].
46265         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
46266
46267 2012-02-27  Roland McGrath  <roland@hack.frob.com>
46268
46269         [BZ #13775]
46270         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
46271         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
46272         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
46273         being in POSIX, because they are in 1003.1-2008.
46274
46275         * rt/tst-aio.c: Include <fcntl.h>.
46276         * rt/tst-aio7.c: Likewise.
46277         * rt/tst-aio64.c: Likewise.
46278
46279         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
46280
46281 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
46282
46283         * manual/install.texi (--with-headers): Describe headers as
46284         interface headers, not private headers.
46285         (Specific advice for GNU/Linux systems): Describe use of headers
46286         from "make headers_install", not private headers from older
46287         kernels.
46288         * INSTALL: Regenerated.
46289         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
46290         Change to 2.6.19.
46291         * sysdeps/unix/sysv/linux/configure: Regenerated.
46292
46293         * manual/llio.texi (fclean): Remove documentation.
46294
46295         * manual/Makefile (libc-texi-generated): New variable.  Include
46296         version.texi.
46297         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
46298         $(libc-texi-generated), not duplicated list of files.
46299         (version.texi, stamp-version): New rules.
46300         (realclean): Remove $(libc-texi-generated), not individual files
46301         from that list.  Do not remove dir-add.texinfo.
46302         * manual/libc.texinfo: Comment out uses of edition numbers and
46303         references to printed manual.  Remove last-updated dates.
46304         (EDITION): Comment out.
46305         (ISBN): Likewise.
46306         (VERSION, UPDATED): Remove.
46307         (version.texi): Include.
46308
46309 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
46310
46311         * sysdeps/posix/spawni.c: Include <signal.h>.
46312         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
46313         * sysdeps/pthread/aio_fsync.c: Likewise.
46314
46315 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
46316
46317         * conform/Makefile (tests): Run only when not cross-compiling and
46318         when fast-check is not defined.
46319
46320         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
46321         * conform/data/limits.h-data: Fixes for POSIX2008.
46322         * conform/run-conformtest.sh: Run all tests.
46323         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
46324         headers.
46325         * include/bits/dlfcn.h: Likewise.
46326         * include/langinfo.h: Likewise.
46327         * include/monetary.h: Likewise.
46328         * include/sys/poll.h: Likewise.
46329
46330         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
46331         for __USE_GNU.
46332         * posix/spawn.h: Define __need_sigset_t.
46333         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
46334         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
46335         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
46336         to get sigevent_t only.
46337         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
46338         only for __USE_GNU.
46339         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
46340         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
46341         process_vm_writev only for __USE_GNU.
46342         * termios/termios.h: Declare tcgetsid also for POSIX2008.
46343
46344         * conform/Makefile: For now ignore errors from run-conformtest.
46345         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
46346         POSIX to avoid namespace pollution.  Don't prepend headers.
46347         * conform/data/aio.h-data: Fixes for POSIX testing.
46348         * conform/data/fcntl.h-data: Likewise.
46349         * conform/data/glob.h-data: Likewise.
46350         * conform/data/grp.h-data: Likewise.
46351         * conform/data/pthread.h-data: Likewise.
46352         * conform/data/pwd.h-data: Likewise.
46353         * conform/data/signal.h-data: Likewise.
46354         * conform/data/spawn.h-data: Likewise.
46355         * conform/data/stdio.h-data: Likewise.
46356         * conform/data/stdlib.h-data: Likewise.
46357         * conform/data/stropts.h-data: Likewise.
46358         * conform/data/sys/mman.h-data: Likewise.
46359         * conform/data/sys/stat.h-data: Likewise.
46360         * conform/data/sys/types.h-data: Likewise.
46361         * conform/data/sys/wait.h-data: Likewise.
46362         * conform/data/time.h-data: Likewise.
46363         * conform/data/unistd.h-data: Likewise.
46364         * conform/data/utime.h-data: Likewise.
46365
46366         * io/sys/stat.h: fchmod was always in POSIX.
46367         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
46368         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
46369         * rt/aio.h: Define __need_timespec before including <time.h>.
46370         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
46371         struct.  Add forward declaration of pthread_attr_t and use it in
46372         sigevent.
46373         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
46374         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
46375         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
46376         always remove CLK_TCK definition.
46377
46378 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
46379
46380         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
46381
46382 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
46383
46384         * conform/run-conformtest.sh: New file.
46385         * conform/Makefile: Run run-conformtest for tests.
46386         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
46387         support.
46388
46389         * conform/data/uchar.h-data: New file.
46390         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
46391         * conform/data/arpa/inet.h-data: Likewise.
46392         * conform/data/assert.h-data: Likewise.
46393         * conform/data/complex.h-data: Likewise.
46394         * conform/data/cpio.h-data: Likewise.
46395         * conform/data/ctype.h-data: Likewise.
46396         * conform/data/dirent.h-data: Likewise.
46397         * conform/data/dlfcn.h-data: Likewise.
46398         * conform/data/errno.h-data: Likewise.
46399         * conform/data/fcntl.h-data: Likewise.
46400         * conform/data/float.h-data: Likewise.
46401         * conform/data/fmtmsg.h-data: Likewise.
46402         * conform/data/fnmatch.h-data: Likewise.
46403         * conform/data/ftw.h-data: Likewise.
46404         * conform/data/glob.h-data: Likewise.
46405         * conform/data/grp.h-data: Likewise.
46406         * conform/data/iconv.h-data: Likewise.
46407         * conform/data/inttypes.h-data: Likewise.
46408         * conform/data/langinfo.h-data: Likewise.
46409         * conform/data/libgen.h-data: Likewise.
46410         * conform/data/limits.h-data: Likewise.
46411         * conform/data/locale.h-data: Likewise.
46412         * conform/data/math.h-data: Likewise.
46413         * conform/data/monetary.h-data: Likewise.
46414         * conform/data/mqueue.h-data: Likewise.
46415         * conform/data/ndbm.h-data: Likewise.
46416         * conform/data/net/if.h-data: Likewise.
46417         * conform/data/netdb.h-data: Likewise.
46418         * conform/data/netinet/in.h-data: Likewise.
46419         * conform/data/nl_types.h-data: Likewise.
46420         * conform/data/poll.h-data: Likewise.
46421         * conform/data/pthread.h-data: Likewise.
46422         * conform/data/pwd.h-data: Likewise.
46423         * conform/data/regex.h-data: Likewise.
46424         * conform/data/sched.h-data: Likewise.
46425         * conform/data/search.h-data: Likewise.
46426         * conform/data/semaphore.h-data: Likewise.
46427         * conform/data/setjmp.h-data: Likewise.
46428         * conform/data/signal.h-data: Likewise.
46429         * conform/data/spawn.h-data: Likewise.
46430         * conform/data/stdarg.h-data: Likewise.
46431         * conform/data/stdio.h-data: Likewise.
46432         * conform/data/stdlib.h-data: Likewise.
46433         * conform/data/string.h-data: Likewise.
46434         * conform/data/strings.h-data: Likewise.
46435         * conform/data/stropts.h-data: Likewise.
46436         * conform/data/sys/ipc.h-data: Likewise.
46437         * conform/data/sys/mman.h-data: Likewise.
46438         * conform/data/sys/msg.h-data: Likewise.
46439         * conform/data/sys/resource.h-data: Likewise.
46440         * conform/data/sys/select.h-data: Likewise.
46441         * conform/data/sys/sem.h-data: Likewise.
46442         * conform/data/sys/shm.h-data: Likewise.
46443         * conform/data/sys/socket.h-data: Likewise.
46444         * conform/data/sys/stat.h-data: Likewise.
46445         * conform/data/sys/statvfs.h-data: Likewise.
46446         * conform/data/sys/time.h-data: Likewise.
46447         * conform/data/sys/timeb.h-data: Likewise.
46448         * conform/data/sys/times.h-data: Likewise.
46449         * conform/data/sys/types.h-data: Likewise.
46450         * conform/data/sys/uio.h-data: Likewise.
46451         * conform/data/sys/un.h-data: Likewise.
46452         * conform/data/sys/utsname.h-data: Likewise.
46453         * conform/data/sys/wait.h-data: Likewise.
46454         * conform/data/syslog.h-data: Likewise.
46455         * conform/data/tar.h-data: Likewise.
46456         * conform/data/termios.h-data: Likewise.
46457         * conform/data/utime.h-data: Likewise.
46458         * conform/data/utmpx.h-data: Likewise.
46459         * conform/data/varargs.h-data: Likewise.
46460         * conform/data/wchar.h-data: Likewise.
46461         * conform/data/wctype.h-data: Likewise.
46462         * conform/data/wordexp.h-data: Likewise.
46463
46464         * include/stropts.h: New file.
46465         * include/uchar.h: New file.
46466         * include/aio.h: Changes to allow conformtest.pl to use the headers.
46467         * include/assert.h: Likewise.
46468         * include/ctype.h: Likewise.
46469         * include/dirent.h: Likewise.
46470         * include/dlfcn.h: Likewise.
46471         * include/fcntl.h: Likewise.
46472         * include/fnmatch.h: Likewise.
46473         * include/glob.h: Likewise.
46474         * include/grp.h: Likewise.
46475         * include/libio.h: Likewise.
46476         * include/locale.h: Likewise.
46477         * include/math.h: Likewise.
46478         * include/net/if.h: Likewise.
46479         * include/netdb.h: Likewise.
46480         * include/netinet/in.h: Likewise.
46481         * include/pthread.h: Likewise.
46482         * include/pwd.h: Likewise.
46483         * include/regex.h: Likewise.
46484         * include/sched.h: Likewise.
46485         * include/search.h: Likewise.
46486         * include/setjmp.h: Likewise.
46487         * include/signal.h: Likewise.
46488         * include/stdio.h: Likewise.
46489         * include/stdlib.h: Likewise.
46490         * include/string.h: Likewise.
46491         * include/sys/cdefs.h: Likewise.
46492         * include/sys/mman.h: Likewise.
46493         * include/sys/msg.h: Likewise.
46494         * include/sys/resource.h: Likewise.
46495         * include/sys/select.h: Likewise.
46496         * include/sys/socket.h: Likewise.
46497         * include/sys/stat.h: Likewise.
46498         * include/sys/statvfs.h: Likewise.
46499         * include/sys/time.h: Likewise.
46500         * include/sys/times.h: Likewise.
46501         * include/sys/uio.h: Likewise.
46502         * include/sys/utsname.h: Likewise.
46503         * include/sys/wait.h: Likewise.
46504         * include/termios.h: Likewise.
46505         * include/time.h: Likewise.
46506         * include/ulimit.h: Likewise.
46507         * include/unistd.h: Likewise.
46508         * include/utime.h: Likewise.
46509         * include/wchar.h: Likewise.
46510         * include/wctype.h: Likewise.
46511         * include/wordexp.h: Likewise.
46512
46513         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
46514
46515         * time/time.h: TIME_UTC must be a macro.
46516         Make timespec_get available for ISO C11 only as well.
46517
46518 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
46519
46520         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
46521         Reported by Peng Haitao <penght@cn.fujitsu.com>.
46522
46523 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
46524
46525         * configure.in: Use -o not -a in test for unsupported multi-arch.
46526
46527 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
46528
46529         * manual/texinfo.tex: Update to version 2012-01-19.16.
46530
46531 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
46532
46533         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
46534
46535 2012-02-24  Roland McGrath  <roland@hack.frob.com>
46536
46537         [BZ #13738]
46538         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
46539         * manual/fdl-1.3.texi: New file.
46540         * manual/fdl-1.1.texi: File removed.
46541
46542         [BZ #13738]
46543         * manual/libc.texinfo (FDL_VERSION): New @set.
46544         Use it for mention of FDL in cover text.
46545         (Documentation License): Use it in @include file name.
46546
46547 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
46548             Roland McGrath  <roland@hack.frob.com>
46549
46550         [BZ #5461]
46551         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
46552         (not LONG_LONG_MAX and LONG_LONG_MIN.
46553         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
46554         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
46555         name.
46556         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
46557
46558 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
46559
46560         [BZ #2547]
46561         [BZ #11365]
46562         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
46563         manipulate bits before adding and subtracting TWO23[sx].
46564         * math/libm-test.inc (nearbyint_test): Add more tests.
46565
46566 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
46567
46568         [BZ #2548]
46569         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
46570         bits before adding and subtracting TWO23[sx].
46571         * math/libm-test.inc (rint_test): Add more tests.
46572         (rint_test_tonearest): Likewise.
46573         (rint_test_towardzero): Likewise.
46574         (rint_test_downward): Likewise.
46575         (rint_test_upward: Likewise.
46576
46577 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
46578
46579         [BZ #10110]
46580         * include/stdc-predef.h: New file.  Extracted from features.h.
46581         * include/features.h: Include stdc-predef.h.
46582         * Makefile (headers): Add stdc-predef.h.
46583         * CONFORMANCE (Compiler limitations): Update.
46584
46585 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
46586
46587         * manual/libc.texinfo (VERSION, UPDATED): Revert.
46588
46589 2012-02-21  David S. Miller  <davem@davemloft.net>
46590
46591         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
46592         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
46593
46594 2012-02-20  David S. Miller  <davem@davemloft.net>
46595
46596         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
46597         using a normal save/restore sequence, rather than allocating a
46598         dummy stack frame just to store a frame pointer and restore.
46599         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
46600
46601 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
46602
46603         * manual/install.texi: Fix stray word in line-wrapped comment.
46604
46605 2012-02-20  David S. Miller  <davem@davemloft.net>
46606
46607         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
46608         both binutils and gcc support GOTDATA.
46609
46610         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
46611         "rd %pc" in the PIC register setup sequences.
46612
46613         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
46614         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
46615         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
46616         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
46617         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
46618         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
46619         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
46620         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
46621         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
46622         (SYSCALL_ERROR_HANDLER): Likewise.
46623         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
46624         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
46625         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
46626         (SYSCALL_ERROR_HANDLER): Likewise.
46627
46628         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
46629         (HAVE_GCC_GOTDATA): New.
46630         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
46631         relocation support in both binutils and gcc.
46632         * sysdeps/sparc/elf/configure: Regenerate.
46633
46634         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
46635         * sysdeps/sparc/sparc32/elf/configure: Delete.
46636         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
46637         * sysdeps/sparc/sparc64/elf/configure: Delete.
46638         * sysdeps/sparc/elf/configure.in: New file.
46639         * sysdeps/sparc/elf/configure: Generate.
46640
46641         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
46642         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
46643         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
46644         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
46645         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
46646
46647 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
46648
46649         * manual/install.texi: Do not mention specific glibc version
46650         numbers.
46651         * manual/libc.texinfo (VERSION, UPDATED): Update.
46652         (@copying): Use @copyright{} and range of years.
46653
46654 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
46655
46656         [BZ #13695]
46657         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
46658         [crti.S not in sysdirs] (generated): Do not append.
46659         [crti.S not in sysdirs] (omit-deps): Likewise.
46660         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
46661         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
46662         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
46663         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
46664         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
46665         Likewise.
46666         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
46667         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
46668         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
46669         * csu/defs.awk: Remove file.
46670         * sysdeps/generic/initfini.c: Likewise.
46671         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
46672         variable.
46673         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
46674         Likewise.
46675
46676 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
46677
46678         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
46679         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
46680         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
46681         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
46682         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
46683         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
46684         <bits/epoll.h>.
46685         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
46686         (__EPOLL_PACKED): Define to empty if not defined by
46687         <bits/epoll.h>.
46688         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
46689         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46690         bits/epoll.h.
46691
46692 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
46693
46694         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
46695         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
46696         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
46697         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
46698         <bits/timerfd.h>.
46699         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
46700         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46701         bits/timerfd.h.
46702
46703 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
46704
46705         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
46706         in C locale.
46707         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
46708         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
46709         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
46710         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46711
46712 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
46713
46714         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
46715         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
46716
46717 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
46718
46719         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
46720         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
46721         defined.
46722         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
46723         Likewise.
46724         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
46725         entry for 2.16.
46726
46727 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
46728
46729         * math/w_acos.c: Use non-signaling floating-point comparisons.
46730         * math/w_acosf.c: Likewise.
46731         * math/w_acosh.c: Likewise.
46732         * math/w_acoshf.c: Likewise.
46733         * math/w_acoshl.c: Likewise.
46734         * math/w_acosl.c: Likewise.
46735         * math/w_asin.c: Likewise.
46736         * math/w_asinf.c: Likewise.
46737         * math/w_asinl.c: Likewise.
46738         * math/w_atanh.c: Likewise.
46739         * math/w_atanhf.c: Likewise.
46740         * math/w_atanhl.c: Likewise.
46741         * math/w_exp2.c: Likewise.
46742         * math/w_exp2f.c: Likewise.
46743         * math/w_exp2l.c: Likewise.
46744         * math/w_j0.c: Likewise.
46745         * math/w_j0f.c: Likewise.
46746         * math/w_j0l.c: Likewise.
46747         * math/w_j1.c: Likewise.
46748         * math/w_j1f.c: Likewise.
46749         * math/w_j1l.c: Likewise.
46750         * math/w_jn.c: Likewise.
46751         * math/w_jnf.c: Likewise.
46752         * math/w_log.c: Likewise.
46753         * math/w_log10.c: Likewise.
46754         * math/w_log10f.c: Likewise.
46755         * math/w_log10l.c: Likewise.
46756         * math/w_log2.c: Likewise.
46757         * math/w_log2f.c: Likewise.
46758         * math/w_log2l.c: Likewise.
46759         * math/w_logf.c: Likewise.
46760         * math/w_logl.c: Likewise.
46761         * math/w_sqrt.c: Likewise.
46762         * math/w_sqrtf.c: Likewise.
46763         * math/w_sqrtl.c: Likewise.
46764         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
46765         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
46766         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
46767         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
46768         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
46769
46770 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
46771
46772         [BZ #9739]
46773         * manual/string.texi (strnlen): Use correct parameter name in
46774         equivalent expression.
46775
46776 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
46777
46778         [BZ #11174]
46779         * manual/users.texi (seteuid): Consistently use neweuid for
46780         argument name.
46781
46782 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
46783
46784         [BZ #13704]
46785         * manual/nss.texi (Services in the NSS configuration): Correct
46786         list of services in example configuration file.
46787
46788 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
46789
46790         [BZ #11322]
46791         * manual/arith.texi: Remove statements about negative zero
46792         behaving identically to zero.
46793
46794 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
46795
46796         [BZ #5993]
46797         * manual/install.texi: Do not document upgrading from libc5.
46798
46799 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
46800
46801         [BZ #4596]
46802         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
46803
46804 2012-02-18  David S. Miller  <davem@davemloft.net>
46805
46806         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
46807         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
46808         %o7 across the call.
46809         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
46810         instead.
46811         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
46812         SETUP_PIC_REG_LEAF.
46813         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
46814         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
46815         * sysdeps/sparc/crtn.S: Likewise.
46816
46817 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
46818
46819         * aout/Makefile: Remove.
46820
46821 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
46822
46823         [BZ #13058]
46824         * manual/examples/argp-ex1.c (main): Format definition in GNU
46825         style.
46826         * manual/examples/argp-ex2.c (main): Likewise.
46827         * manual/examples/argp-ex3.c (main): Likewise.
46828         * manual/examples/argp-ex4.c (main): Likewise.
46829         * manual/examples/longopt.c (main): Use new-style prototype
46830         definition.
46831         * manual/examples/strncat.c (main): Specify return type and use
46832         (void) for arguments.
46833         * manual/examples/subopt.c (main): Use char **argv argument.
46834
46835 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
46836
46837         [BZ #5077]
46838         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
46839         rounding modes.
46840
46841 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
46842
46843         [BZ #6907]
46844         * manual/string.texi (strchr): Change when strchrnul is
46845         recommended.
46846
46847 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
46848
46849         [BZ #174]
46850         * manual/locale.texi (setlocale): Document LOCPATH.
46851
46852 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
46853
46854         [BZ #10210]
46855         * manual/process.texi (execle): Move @dots{} before last argument.
46856
46857 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
46858
46859         [BZ #12047]
46860         * manual/charset.texi (Generic Charset Conversion): Fix typo
46861         (LC_TYPE -> LC_CTYPE).
46862
46863 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
46864
46865         [BZ #5805]
46866         * manual/arith.texi (scalbn): Use @var{} on parameter names.
46867         (scalbnf): Likewise.
46868         (scalbnl): Likewise.
46869         (scalbln): Likewise.
46870         (scalblnf): Likewise.
46871         (scalblnl): Likewise.
46872         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
46873         (vwarnx): Likewise.
46874         (verr): Likewise.
46875         (verrx): Likewise.
46876         * manual/filesys.texi (telldir): Use braces around return type.
46877         * manual/llio.texi (mmap): Add space after comma.
46878         (mmap64): Likewise.
46879         * manual/math.texi (jn): Use @var{} on parameter names.
46880         (jnf): Likewise.
46881         (jnl): Likewise.
46882         (yn): Likewise.
46883         (ynf): Likewise.
46884         (ynl): Likewise.
46885         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
46886         line.
46887         * manual/resource.texi (ulimit): Use @dots{} instead of literal
46888         "...".
46889         (sched_get_priority_min): Remove semicolon on @deftypefun line.
46890         (sched_get_priority_max): Likewise.
46891         * manual/signal.texi (sigvec): Add space after comma.
46892         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
46893         names.
46894         (if_indextoname): Likewise.
46895         (if_freenameindex): Likewise.
46896         (sendto): Use ',' instead of '.' in prototype.
46897         * manual/startup.texi (syscall): Use @dots{} instead of literal
46898         "...".
46899         * manual/stdio.texi (__fpending): Separate initial words of
46900         paragraph from @deftypefun line.
46901         * manual/syslog.texi (syslog): Use @dots{} instead of literal
46902         "...".
46903         (vsyslog): Use @var{} on parameter names.
46904         * manual/terminal.texi (stty): Use @var{} on parameter names.
46905         * manual/users.texi (getutmp): Use @var{} on parameter names.
46906         (getutmpx): Likewise.
46907
46908 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
46909
46910         [BZ #6884]
46911         * manual/stdio.texi (fopen): Fix typos in description of
46912         ",ccs=STRING".
46913
46914 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
46915
46916         [BZ #4026]
46917         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
46918         get clock_id definition.
46919
46920 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
46921
46922         [BZ #4822]
46923         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
46924         (madvise): Cast every argument to void on its own.
46925
46926 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
46927
46928         [BZ #9902]
46929         * manual/startup.texi (Exit Status): Fix typo.
46930
46931 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
46932
46933         [BZ #10140]
46934         * manual/examples/argp-ex1.c: Include <stdlib.h>.
46935         * manual/examples/argp-ex2.c: Likewise.
46936         * manual/examples/argp-ex3.c: Likewise.
46937
46938 2012-02-16  Richard Henderson  <rth@redhat.com>
46939
46940         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
46941         * sysdeps/s390/s390-32/initfini.c: Remove.
46942         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
46943         * sysdeps/s390/s390-64/initfini.c: Remove.
46944
46945 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
46946
46947         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
46948         compiler output for sysdeps/generic/initfini.c.
46949         * sysdeps/sh/elf/initfini.c: Remove file.
46950
46951 2012-02-16  David S. Miller  <davem@davemloft.net>
46952
46953         [BZ #11494]
46954         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
46955
46956         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
46957         * sysdeps/sparc/crti.S: New file.
46958         * sysdeps/sparc/crtn.S: New file.
46959         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
46960         * sysdeps/sparc/sparc64/Makefile: Likewise.
46961
46962 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
46963
46964         [BZ #3335]
46965         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
46966
46967 2012-02-15  Roland McGrath  <roland@hack.frob.com>
46968
46969         [BZ #4822]
46970         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
46971
46972         * mach/devstream.c (cookie_io_functions_t): Macro removed.
46973         (write, read, close): Likewise.
46974         Patch by Aurelien Jarno <aurelien@aurel32.net>.
46975
46976 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
46977
46978         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
46979         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
46980         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
46981         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
46982         <bits/signalfd.h>.
46983         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
46984         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46985         bits/signalfd.h.
46986
46987 2012-02-14  Marek Polacek  <polacek@redhat.com>
46988
46989         * sysdeps/x86_64/crti.S: New file.
46990         * sysdeps/x86_64/crtn.S: New file.
46991         * sysdeps/x86_64/elf/initfini.c: Remove file.
46992
46993 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
46994
46995         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
46996         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
46997         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
46998         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
46999         <bits/inotify.h>.
47000         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
47001         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47002         bits/inotify.h.
47003
47004 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
47005
47006         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
47007         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
47008         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
47009         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
47010         <bits/eventfd.h>.
47011         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
47012         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47013         bits/eventfd.h.
47014
47015 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
47016
47017         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
47018         __feraiseexcept instead of feraiseexcept.
47019
47020         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
47021         nanosleep invocations.
47022         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
47023         strings, and add error checking for a nanosleep invocations.
47024
47025 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
47026
47027         Replace FSF snail mail address with URLs, as per GNU coding standards.
47028         Most of the snail mail addresses were wrong anyway, and omitting
47029         them makes the source code easier to maintain.  Almost all of the
47030         changes are to license notices and to locale LC_IDENTIFICATION
47031         addresses, except for this one:
47032         * manual/libc.texinfo: In "Published by", give the FSF's URL,
47033         not its snail mail address.
47034
47035 2012-02-09  Richard Henderson  <rth@twiddle.net>
47036
47037         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
47038         of kernel-features.h.
47039
47040         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
47041
47042 2012-02-08  Marek Polacek  <polacek@redhat.com>
47043
47044         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
47045         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
47046         * sysdeps/gnu/_G_config.h: Likewise.
47047         * sysdeps/generic/_G_config.h: Likewise.
47048
47049 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
47050
47051         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
47052         tests.
47053         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47054
47055         * sysdeps/powerpc/powerpc32/crti.S: New file.
47056         * sysdeps/powerpc/powerpc32/crtn.S: New file.
47057         * sysdeps/powerpc/powerpc64/crti.S: New file.
47058         * sysdeps/powerpc/powerpc64/crtn.S: New file.
47059
47060         * Makeconfig (have-initfini): Don't set.
47061         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
47062         * configure.in (nopic_initfini): Don't substitute.
47063         * config.h.in (HAVE_INITFINI): Don't #undef.
47064         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
47065         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
47066
47067 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
47068
47069         Support crti.S and crtn.S provided directly by architectures.
47070         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
47071         [crti.S in sysdirs] (omit-deps): Likewise.
47072         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
47073         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
47074         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
47075         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
47076         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
47077         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
47078         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
47079         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
47080         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
47081         compiler output for sysdeps/generic/initfini.c.
47082         * sysdeps/i386/elf/Makefile: Remove file.
47083         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
47084
47085 2012-02-07  Marek Polacek  <polacek@redhat.com>
47086
47087         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
47088         * sysdeps/gnu/_G_config.h: Likewise.
47089         * sysdeps/mach/hurd/_G_config.h: Likewise.
47090
47091 2012-02-07  Marek Polacek  <polacek@redhat.com>
47092
47093         * math/Makefile (tests): Add tst-CMPLX2.
47094         * math/tst-CMPLX2.c: New file.
47095
47096 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
47097
47098         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
47099
47100         * math/libm-test.inc (jn_test): Add missing L suffix.
47101
47102 2012-02-06  Marek Polacek  <polacek@redhat.com>
47103
47104         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
47105         * sysdeps/i386/fpu/e_powf.S: Likewise.
47106         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
47107         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
47108         * sysdeps/i386/fpu/e_acosh.S: Likewise.
47109         * sysdeps/i386/fpu/e_pow.S: Likewise.
47110         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
47111         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
47112         * sysdeps/i386/fpu/s_expm1.S: Likewise.
47113         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
47114         * sysdeps/i386/fpu/e_log2.S: Likewise.
47115         * sysdeps/i386/fpu/e_log2l.S: Likewise.
47116         * sysdeps/i386/fpu/e_scalb.S: Likewise.
47117         * sysdeps/i386/fpu/e_powl.S: Likewise.
47118         * sysdeps/i386/fpu/s_log1p.S: Likewise.
47119         * sysdeps/i386/fpu/e_log10f.S: Likewise.
47120         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
47121         * sysdeps/i386/fpu/e_logl.S: Likewise.
47122         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
47123         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
47124         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
47125         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
47126         * sysdeps/i386/fpu/e_log2f.S: Likewise.
47127         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
47128         * sysdeps/i386/fpu/e_log.S: Likewise.
47129         * sysdeps/i386/fpu/s_cexp.S: Likewise.
47130         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
47131         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
47132         * sysdeps/i386/fpu/e_logf.S: Likewise.
47133         * sysdeps/i386/fpu/e_log10l.S: Likewise.
47134         * sysdeps/i386/fpu/e_atanh.S: Likewise.
47135         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
47136         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
47137         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
47138         * sysdeps/i386/fpu/e_log10.S: Likewise.
47139         * sysdeps/i386/fpu/s_frexp.S: Likewise.
47140         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
47141         * sysdeps/i386/fpu/s_asinh.S: Likewise.
47142         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
47143         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
47144         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
47145         * sysdeps/i386/asm-syntax.h: Likewise.
47146         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
47147         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
47148         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
47149         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
47150         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
47151         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
47152         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
47153         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
47154         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
47155         * sysdeps/powerpc/sysdep.h: Likewise.
47156         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
47157         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
47158
47159 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
47160
47161         [BZ #411]
47162         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
47163
47164 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
47165
47166         * sysdeps/i386/sysdep.h: Include <features.h>.
47167         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
47168         version.
47169
47170 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
47171
47172         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
47173         Define.
47174         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
47175         LOAD_PIC_REG_STR.
47176
47177 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
47178
47179         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
47180         (SETUP_PIC_REG): Use GET_PC_THUNK.
47181         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
47182         macro.
47183
47184 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
47185
47186         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
47187         for non-PIC compilation.
47188         (SETUP_PIC_REG): Add .p2align directive.
47189         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
47190         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
47191         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
47192         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
47193         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
47194         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
47195         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
47196         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
47197         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
47198         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
47199         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
47200         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
47201         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
47202         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
47203         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
47204         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
47205         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
47206         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
47207         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
47208         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
47209         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
47210         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
47211         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
47212         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
47213         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
47214         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
47215         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
47216         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
47217         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
47218         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
47219         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
47220         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
47221         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
47222         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
47223         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
47224         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
47225         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
47226         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
47227         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
47228         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
47229         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
47230
47231 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
47232
47233         * math/tst-CMPLX.c: Include <stdio.h>.
47234
47235 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
47236
47237         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
47238         float.
47239         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
47240         * sysdeps/sparc/bits/mathdef.h: Likewise.
47241
47242 2012-01-31  Marek Polacek  <polacek@redhat.com>
47243
47244         * libio/libio.h: Don't define _PARAMS.
47245         * locale/programs/config.h: Don't define PARAMS.
47246         * stdlib/strtol_l.c: Likewise.
47247         (__strtol_l): Remove PARAMS from the prototype.
47248
47249 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
47250
47251         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
47252         names.  Just use the correct names.  Remove unnecessary wrapper
47253         functions.
47254         * malloc/arena.c: Likewise.
47255         * malloc/hooks.c: Likewise.
47256
47257         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
47258         ARENA_TEST says not to.  Simplify test for creation of a new arena.
47259         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
47260
47261 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
47262
47263         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
47264         into tail calls.
47265         (update_get_addr): New function.
47266         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
47267         GET_ADDR_MODULE parameter.
47268
47269 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
47270
47271         * crypt/cert.c: Remove __STDC__ conditionals.
47272         * crypt/crypt-entry.c: Likewise.
47273         * crypt/crypt_util.c: Likewise.
47274         * libio/filedoalloc.c: Likewise.
47275         * libio/fileops.c: Likewise.
47276         * libio/genops.c: Likewise.
47277         * libio/iofclose.c: Likewise.
47278         * libio/iofdopen.c: Likewise.
47279         * libio/iofopen.c: Likewise.
47280         * libio/iofopen64.c: Likewise.
47281         * libio/iogetdelim.c: Likewise.
47282         * libio/iopopen.c: Likewise.
47283         * libio/obprintf.c: Likewise.
47284         * libio/oldfileops.c: Likewise.
47285         * libio/oldiofclose.c: Likewise.
47286         * libio/oldiofdopen.c: Likewise.
47287         * libio/oldiofopen.c: Likewise.
47288         * libio/oldiopopen.c: Likewise.
47289         * libio/wfiledoalloc.c: Likewise.
47290         * libio/wgenops.c: Likewise.
47291         * locale/programs/xmalloc.c: Likewise.
47292         * misc/syslog.c: Likewise.
47293         * stdio-common/xbug.c: Likewise.
47294         * string/memchr.c: Likewise.
47295         * string/memcmp.c: Likewise.
47296         * string/memrchr.c: Likewise.
47297         * string/rawmemchr.c: Likewise.
47298         * sysdeps/posix/getcwd.c: Likewise.
47299         * time/strftime_l.c: Likewise.
47300
47301 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
47302
47303         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
47304         * config.make.in (config-cflags-sse2avx): Define.
47305         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
47306         Fix typo.
47307
47308 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
47309
47310         * scripts/config.guess: Update from upstream config git repository.
47311         * scripts/config.sub: Likewise.
47312
47313 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
47314
47315         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
47316         (EM_NUM): Update.
47317         (R_TILEPRO_*, R_TILEGX_*): New macros.
47318
47319         * scripts/firstversions.awk: Fix bug in version range handling.
47320
47321         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
47322
47323         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
47324
47325         * include/sys/epoll.h: New file.
47326         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
47327         libc_hidden_def.
47328
47329 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
47330
47331         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
47332         Avoid unnecessary __WORDSIZE == 64 test.
47333         (fmaxf): Use VEX format if possible.
47334         (fmax): Likewise.
47335         (fminf): Likewise.
47336         (fmin): Likewise.
47337
47338         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
47339         * math/math_private.h: Remove libc_fegetround* and
47340         libc_fesetround*.
47341         * sysdeps/i386/configure.in: Check for -msse2avx.
47342         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
47343         also if SSE2AVX is defined.
47344         Remove libc_fegetround* and libc_fesetround*.
47345         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
47346         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
47347         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
47348         of HAS_YMM_USABLE.
47349         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
47350         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
47351         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
47352         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
47353         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
47354
47355         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
47356
47357 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47358
47359         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
47360         size is not set.
47361         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
47362
47363 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
47364
47365         [BZ #13618]
47366         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
47367         relocation.
47368         * Makeconfig (libm): Define.
47369         * elf/Makefile: Add rules to build and run tst-relsort1.
47370         * elf/tst-relsort1.c: New file.
47371         * elf/tst-relsort1mod1.c: New file.
47372         * elf/tst-relsort1mod2.c: New file.
47373
47374 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
47375
47376         * math/s_ldexp.c: Remove __STDC__ conditionals.
47377         * math/s_ldexpf.c: Likewise.
47378         * math/s_ldexpl.c: Likewise.
47379         * math/s_nextafter.c: Likewise.
47380         * math/s_nexttowardf.c: Likewise.
47381         * math/s_significand.c: Likewise.
47382         * math/s_significandf.c: Likewise.
47383         * math/s_significandl.c: Likewise.
47384         * math/w_jnl.c: Likewise.
47385         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
47386         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
47387         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
47388         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
47389         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
47390         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
47391         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
47392         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
47393         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
47394         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
47395         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
47396         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
47397         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
47398         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
47399         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
47400         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
47401         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
47402         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
47403         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
47404         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
47405         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
47406         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
47407         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
47408         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
47409         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
47410         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
47411         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
47412         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
47413         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
47414         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
47415         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
47416         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
47417         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
47418         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
47419         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
47420         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
47421         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
47422         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
47423         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
47424         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
47425         * sysdeps/ieee754/k_standard.c: Likewise.
47426         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
47427         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
47428         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
47429         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
47430         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
47431         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
47432         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
47433         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
47434         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
47435         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
47436         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
47437         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
47438         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
47439         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
47440         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
47441         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
47442         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
47443         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
47444         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
47445         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
47446         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
47447         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
47448         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
47449         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
47450         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
47451         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
47452         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
47453         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
47454         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
47455         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
47456         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
47457         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
47458         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
47459         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
47460         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
47461         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
47462         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
47463         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
47464         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
47465         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
47466         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
47467         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
47468         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
47469         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
47470         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
47471         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
47472         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
47473         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
47474         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
47475         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
47476         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
47477         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
47478         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
47479         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
47480         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
47481         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
47482         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
47483         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
47484         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
47485         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
47486         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
47487         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
47488         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
47489         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
47490         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
47491         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
47492         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
47493         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
47494         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
47495         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
47496         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
47497         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
47498         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
47499         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
47500         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
47501         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
47502         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
47503         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
47504         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
47505         * sysdeps/ieee754/s_matherr.c: Likewise.
47506         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
47507         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
47508         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
47509         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
47510
47511 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
47512
47513         * crypt/md5.h: Remove __STDC__ conditionals.
47514         * libio/libioP.h: Likewise.
47515         * locale/programs/config.h: Likewise.
47516         * sysdeps/generic/sysdep.h: Likewise.
47517         * sysdeps/i386/asm-syntax.h: Likewise.
47518         * sysdeps/s390/asm-syntax.h: Likewise.
47519         * sysdeps/unix/sysdep.h: Likewise.
47520         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
47521         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
47522
47523 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
47524
47525         * libio/libio.h: Remove __STDC__ conditionals.
47526         * malloc/obstack.h: Likewise.
47527         * math/complex.h: Likewise.
47528         * math/math.h: Likewise.
47529         * sysdeps/generic/_G_config.h: Likewise.
47530         * sysdeps/gnu/_G_config.h: Likewise.
47531         * sysdeps/mach/hurd/_G_config.h: Likewise.
47532         * sysdeps/powerpc/bits/mathdef.h: Likewise.
47533         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
47534         * sysdeps/sparc/bits/mathdef.h: Likewise.
47535
47536 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
47537
47538         [BZ #13583]
47539         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
47540         Clean up HAS_* macros.
47541         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
47542         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
47543         possible.
47544         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
47545         HAS_AVX.
47546         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
47547         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
47548         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
47549         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
47550         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
47551
47552 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
47553
47554         * elf/tst-unique3.cc (gets): Remove declaration.
47555         * elf/tst-unique3lib.cc (gets): Likewise.
47556         * elf/tst-unique3lib2.cc (gets): Likewise.
47557         * elf/tst-unique4.cc (gets): Likewise.
47558
47559 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
47560
47561         * include/stdio.h: Add C++ protection.  Add gets declarations and
47562         definitions.
47563         * debug/tst-chk1.c: Don't declare gets here.
47564         * stdio-common/tst-gets.c: Likewise.
47565
47566 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
47567
47568         * posix/glob: Remove directory.
47569
47570 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
47571
47572         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
47573
47574 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
47575
47576         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
47577         of the non-standard EPFNOSUPPORT.
47578
47579 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47580
47581         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
47582         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
47583         ANYWHERE set to 1 only on KERN_NO_SPACE error.
47584
47585 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
47586
47587         * wcsmbs/uchar.h: Test __STDC_VERSION__.
47588
47589 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
47590
47591         * nscd/aicache.c (addhstaiX): Do not cache negative results of
47592         transient errors.
47593         * nscd/grpcache.c (cache_addgr): Likewise.
47594         * nscd/hstcache.c (cache_addhst): Likewise.
47595         * nscd/initgrcache.c (addinitgroupsX): Likewise.
47596         * nscd/pwdcache.c (cache_addpw): Likewise.
47597         * nscd/servicescache.c (cache_addserv): Likewise.
47598
47599 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
47600
47601         * malloc/malloc.c: Various cleanups.
47602         * malloc/hooks.c: Likewise.
47603
47604         * stdlib/Makefile (tests): Add bug-fmtmsg1.
47605         * stdlib/bug-fmtmsg1.c: New file.
47606
47607         * stdlib/fmtmsg.c (init): Add missing unlock.
47608         Patch by Peng Haitao <penght@cn.fujitsu.com>.
47609
47610 2012-01-12  Marek Polacek  <polacek@redhat.com>
47611
47612         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
47613         and _GNU_SOURCE.
47614
47615 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
47616
47617         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
47618         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
47619         macro to ensure uniqueness of label name.
47620         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
47621         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
47622
47623 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
47624
47625         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
47626
47627         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
47628         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
47629         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
47630         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
47631
47632 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
47633
47634         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
47635
47636         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
47637         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
47638         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
47639
47640         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
47641
47642         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
47643         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
47644         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
47645         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
47646
47647         * math/bits/math-finite.h: Add ldexp support.
47648
47649 2012-01-10  Marek Polacek  <polacek@redhat.com>
47650
47651         * locale/programs/localedef.h (show_archive_content): Add noreturn
47652         attribute.
47653
47654 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
47655
47656         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
47657
47658 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
47659
47660         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
47661
47662         * io/Makefile (headers): Add bits/poll2.h.
47663
47664 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
47665
47666         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
47667         typo #include statement.
47668
47669 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
47670
47671         * include/sys/cdefs.h: Define __attribute_alloc_size.
47672         * catgets/gencat.c: Add alloc_size attribute and apply consistently
47673         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
47674         * elf/pldd.c: Likewise.
47675         * iconv/iconv_charmap.c: Likewise.
47676         * iconv/iconvconfig.c: Likewise.
47677         * iconv/strtab.c: Likewise.
47678         * locale/programs/locale.c: Likewise.
47679         * locale/programs/localedef.h: Likewise.
47680         * locale/programs/simple-hash.c: Likewise.
47681         * nscd/nscd.h: Likewise.
47682         * nss/makedb.c: Likewise.
47683         * sysdeps/generic/ldconfig.h: Likewise.
47684         * locale/programs/localedef.c: Remove xmalloc prototype.
47685         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
47686
47687 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
47688
47689         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
47690         appropriate.
47691
47692 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
47693
47694         * math/Makefile (tests): Add tst-CMPLX.
47695         * math/tst-CMPLX.c: New file.
47696
47697         * math/complex.h (CMPLXL): Fix typo.
47698
47699         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
47700         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
47701         GLIBC_2.16.
47702         * debug/tst-chk1.c: Add poll and ppoll tests.
47703         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
47704         * include/sys/poll.h: Add hidden proto for ppoll.
47705         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
47706         * sysdeps/mach/hurd/ppoll.c: Likewise.
47707         * io/ppoll.c: Likewise.
47708         * debug/poll_chk.c: New file.
47709         * debug/ppoll_chk.c: New file.
47710         * include/bits/poll2.h: New file.
47711         * io/bits/poll2.h: New file.
47712
47713         [BZ #1350]
47714         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
47715
47716         * configure.in: static is always set to yes.  Remove.
47717         * config.make.in: Don't set build-static.
47718         * Makeconfig: Remove use of build-static.
47719         * dlfcn/Makefile: Likewise.
47720         * elf/Makefile: Likewise.
47721         * math/Makefile: Likewise.
47722         * misc/Makefile: Likewise.
47723         * nptl/Makefile: Likewise.
47724         * sysdeps/mach/hurd/Makefile: Likewise.
47725
47726         * configure.in: PWD_P is not used anymore.
47727         * config.make.in: Remove PWD_P entry.
47728
47729         * configure.in: Remove last remnants of RANLIB.
47730         No need to check for signed size_t anymore.
47731         Don't set libc_commonpagesize and libc_relro_required here for Alpha
47732         and IA-64.
47733         Remove __builtin_expect test because we require at least gcc 3.4.
47734         * aclocal.m4: Likewise.
47735
47736         * wcsmbs/mbrtoc16.c: Implement using towc function.
47737         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
47738         * wcsmbs/wcsmbsload.c: Likewise.
47739         * iconv/gconv_simple.c: Likewise.
47740         * iconv/gconv_int.h: Likewise.
47741         * iconv/gconv_builtin.h: Likewise.
47742         * iconv/iconv_prog.c: Remove CHAR16 handling.
47743
47744         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
47745
47746         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
47747
47748         * configure.in: Remove --with-elf and --enable-bounded options.
47749         Dont set base_machine for ia64.  More non-ELF conditions removed.
47750         Remove testing and setting of leading underscore information.
47751         * config.make.in (build-bounded): Set to no.
47752         * config.h.in: Remove NO_UNDERSCORES entry.
47753         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
47754         them.
47755         * csu/start.c: Remove !NO_UNDERSCORE code.
47756         * locale/localeinfo.h: Likewise.
47757         * sysdeps/generic/machine-gmon.h: Likewise.
47758         * sysdeps/generic/sysdep.h: Likewise.
47759         * sysdeps/i386/sysdep.h: Likewise.
47760         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
47761         * sysdeps/mach/sysdep.h: Likewise.
47762         * sysdeps/s390/s390-32/sysdep.h: Likewise.
47763         * sysdeps/s390/s390-64/sysdep.h: Likewise.
47764         * sysdeps/sh/sysdep.h: Likewise.
47765         * sysdeps/sparc/sparc32/alloca.S: Likewise.
47766         * sysdeps/unix/i386/sysdep.S: Likewise.
47767         * sysdeps/unix/sparc/start.c: Likewise.
47768         * sysdeps/unix/sparc/sysdep.S: Likewise.
47769         * sysdeps/unix/sparc/sysdep.h: Likewise.
47770         * sysdeps/unix/start.c: Likewise.
47771         * sysdeps/unix/x86_64/sysdep.S: Likewise.
47772         * sysdeps/x86_64/sysdep.h: Likewise.
47773
47774 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
47775
47776         [BZ #13553]
47777         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
47778         for non-gcc.
47779         * argp/argp-fmtstream.h: Use const instead __const.
47780         * argp/argp.h: Likewise.
47781         * assert/assert.h: Likewise.
47782         * bits/fenv.h: Likewise.
47783         * bits/sched.h: Likewise.
47784         * bits/sigset.h: Likewise.
47785         * bits/sigthread.h: Likewise.
47786         * catgets/nl_types.h: Likewise.
47787         * conform/data/pthread.h-data: Likewise.
47788         * crypt/crypt-private.h: Likewise.
47789         * crypt/crypt.h: Likewise.
47790         * crypt/crypt_util.c: Likewise.
47791         * ctype/ctype.h: Likewise.
47792         * debug/execinfo.h: Likewise.
47793         * debug/mbsnrtowcs_chk.c: Likewise.
47794         * debug/mbsrtowcs_chk.c: Likewise.
47795         * debug/wcsnrtombs_chk.c: Likewise.
47796         * debug/wcsrtombs_chk.c: Likewise.
47797         * debug/wcstombs_chk.c: Likewise.
47798         * dirent/dirent.h: Likewise.
47799         * dlfcn/dlfcn.h: Likewise.
47800         * elf/neededtest4.c: Likewise.
47801         * grp/grp.h: Likewise.
47802         * gshadow/gshadow.h: Likewise.
47803         * iconv/gconv.h: Likewise.
47804         * iconv/gconv_int.h: Likewise.
47805         * iconv/gconv_simple.c: Likewise.
47806         * iconv/iconv.h: Likewise.
47807         * iconv/loop.c: Likewise.
47808         * iconv/skeleton.c: Likewise.
47809         * include/aio.h: Likewise.
47810         * include/aliases.h: Likewise.
47811         * include/argz.h: Likewise.
47812         * include/arpa/inet.h: Likewise.
47813         * include/assert.h: Likewise.
47814         * include/dirent.h: Likewise.
47815         * include/dlfcn.h: Likewise.
47816         * include/execinfo.h: Likewise.
47817         * include/fcntl.h: Likewise.
47818         * include/fenv.h: Likewise.
47819         * include/glob.h: Likewise.
47820         * include/grp.h: Likewise.
47821         * include/libintl.h: Likewise.
47822         * include/mntent.h: Likewise.
47823         * include/netdb.h: Likewise.
47824         * include/pwd.h: Likewise.
47825         * include/rpc/netdb.h: Likewise.
47826         * include/sched.h: Likewise.
47827         * include/search.h: Likewise.
47828         * include/shadow.h: Likewise.
47829         * include/signal.h: Likewise.
47830         * include/stdio.h: Likewise.
47831         * include/stdlib.h: Likewise.
47832         * include/string.h: Likewise.
47833         * include/sys/socket.h: Likewise.
47834         * include/sys/stat.h: Likewise.
47835         * include/sys/statfs.h: Likewise.
47836         * include/sys/statvfs.h: Likewise.
47837         * include/sys/syslog.h: Likewise.
47838         * include/sys/time.h: Likewise.
47839         * include/sys/uio.h: Likewise.
47840         * include/time.h: Likewise.
47841         * include/unistd.h: Likewise.
47842         * include/utmp.h: Likewise.
47843         * include/wchar.h: Likewise.
47844         * include/wctype.h: Likewise.
47845         * inet/aliases.h: Likewise.
47846         * inet/arpa/inet.h: Likewise.
47847         * inet/netinet/ether.h: Likewise.
47848         * inet/netinet/in.h: Likewise.
47849         * intl/libintl.h: Likewise.
47850         * io/bits/fcntl2.h: Likewise.
47851         * io/fcntl.h: Likewise.
47852         * io/ftw.h: Likewise.
47853         * io/sys/poll.h: Likewise.
47854         * io/sys/stat.h: Likewise.
47855         * io/sys/statfs.h: Likewise.
47856         * io/sys/statvfs.h: Likewise.
47857         * io/utime.h: Likewise.
47858         * libio/bits/stdio.h: Likewise.
47859         * libio/bits/stdio2.h: Likewise.
47860         * libio/libio.h: Likewise.
47861         * libio/libioP.h: Likewise.
47862         * libio/stdio.h: Likewise.
47863         * locale/lc-ctype.c: Likewise.
47864         * locale/locale.h: Likewise.
47865         * login/utmp.h: Likewise.
47866         * malloc/arena.c: Likewise.
47867         * malloc/malloc.c: Likewise.
47868         * malloc/malloc.h: Likewise.
47869         * malloc/mcheck.c: Likewise.
47870         * malloc/mtrace.c: Likewise.
47871         * math/bits/mathcalls.h: Likewise.
47872         * math/fenv.h: Likewise.
47873         * math/math_private.h: Likewise.
47874         * misc/bits/error.h: Likewise.
47875         * misc/bits/syslog.h: Likewise.
47876         * misc/err.h: Likewise.
47877         * misc/error.h: Likewise.
47878         * misc/fstab.h: Likewise.
47879         * misc/mntent.h: Likewise.
47880         * misc/regexp.h: Likewise.
47881         * misc/search.h: Likewise.
47882         * misc/sgtty.h: Likewise.
47883         * misc/sys/mman.h: Likewise.
47884         * misc/sys/syslog.h: Likewise.
47885         * misc/sys/uio.h: Likewise.
47886         * misc/sys/xattr.h: Likewise.
47887         * misc/ttyent.h: Likewise.
47888         * nis/rpcsvc/ypclnt.h: Likewise.
47889         * nss/nss.h: Likewise.
47890         * posix/bits/unistd.h: Likewise.
47891         * posix/fnmatch.h: Likewise.
47892         * posix/glob.h: Likewise.
47893         * posix/sched.h: Likewise.
47894         * posix/spawn.h: Likewise.
47895         * posix/sys/wait.h: Likewise.
47896         * posix/unistd.h: Likewise.
47897         * posix/wordexp.h: Likewise.
47898         * pwd/pwd.h: Likewise.
47899         * resolv/netdb.h: Likewise.
47900         * resource/sys/resource.h: Likewise.
47901         * rt/aio.h: Likewise.
47902         * rt/bits/mqueue2.h: Likewise.
47903         * rt/mqueue.h: Likewise.
47904         * shadow/shadow.h: Likewise.
47905         * signal/signal.h: Likewise.
47906         * socket/send.c: Likewise.
47907         * socket/sendto.c: Likewise.
47908         * socket/sys/socket.h: Likewise.
47909         * stdio-common/printf.h: Likewise.
47910         * stdlib/bits/stdlib.h: Likewise.
47911         * stdlib/fmtmsg.h: Likewise.
47912         * stdlib/monetary.h: Likewise.
47913         * stdlib/stdlib.h: Likewise.
47914         * stdlib/ucontext.h: Likewise.
47915         * streams/stropts.h: Likewise.
47916         * string/argz.h: Likewise.
47917         * string/bits/string2.h: Likewise.
47918         * string/string.h: Likewise.
47919         * string/strings.h: Likewise.
47920         * sunrpc/rpc/auth.h: Likewise.
47921         * sunrpc/rpc/auth_des.h: Likewise.
47922         * sunrpc/rpc/clnt.h: Likewise.
47923         * sunrpc/rpc/netdb.h: Likewise.
47924         * sunrpc/rpc/pmap_clnt.h: Likewise.
47925         * sunrpc/rpc/xdr.h: Likewise.
47926         * sysdeps/generic/inttypes.h: Likewise.
47927         * sysdeps/generic/net/if.h: Likewise.
47928         * sysdeps/generic/sys/swap.h: Likewise.
47929         * sysdeps/gnu/net/if.h: Likewise.
47930         * sysdeps/gnu/utmpx.h: Likewise.
47931         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
47932         * sysdeps/i386/i486/bits/string.h: Likewise.
47933         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
47934         * sysdeps/s390/bits/string.h: Likewise.
47935         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
47936         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
47937         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
47938         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
47939         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
47940         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
47941         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
47942         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
47943         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
47944         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
47945         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
47946         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
47947         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
47948         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
47949         * sysdeps/unix/sysv/linux/readv.c: Likewise.
47950         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
47951         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
47952         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
47953         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
47954         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
47955         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
47956         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
47957         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
47958         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
47959         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
47960         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
47961         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
47962         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
47963         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
47964         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
47965         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
47966         * sysvipc/sys/ipc.h: Likewise.
47967         * sysvipc/sys/msg.h: Likewise.
47968         * sysvipc/sys/sem.h: Likewise.
47969         * sysvipc/sys/shm.h: Likewise.
47970         * termios/termios.h: Likewise.
47971         * time/sys/time.h: Likewise.
47972         * time/time.h: Likewise.
47973         * wcsmbs/bits/wchar2.h: Likewise.
47974         * wcsmbs/uchar.h: Likewise.
47975         * wcsmbs/wchar.h: Likewise.
47976         * wctype/wctype.h: Likewise.
47977
47978         [BZ #13551]
47979         * Makeconfig: Remove all but ELF support including AIX support.
47980         * Makerules: Likewise.
47981         * config.h.in: Likewise.
47982         * config.make.in: Likewise.
47983         * configure: Likewise.
47984         * configure.in: Likewise.
47985         * csu/Makefile: Likewise.
47986         * csu/version.c: Likewise.
47987         * debug/Makefile: Likewise.
47988         * dlfcn/Makefile: Likewise.
47989         * elf/Makefile: Likewise.
47990         * extra-lib.mk: Likewise.
47991         * iconv/Makefile: Likewise.
47992         * include/libc-symbols.h: Likewise.
47993         * include/shlib-compat.h: Likewise.
47994         * resolv/Makefile: Likewise.
47995         * resolv/res_libc.c: Likewise.
47996         * rt/Makefile: Likewise.
47997         * sysdeps/i386/asm-syntax.h: Likewise.
47998         * sysdeps/i386/sysdep.h: Likewise.
47999         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
48000         * sysdeps/mach/sysdep.h: Likewise.
48001         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
48002         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
48003         * sysdeps/s390/asm-syntax.h: Likewise.
48004         * sysdeps/s390/s390-32/sysdep.h: Likewise.
48005         * sysdeps/s390/s390-64/sysdep.h: Likewise.
48006         * sysdeps/sh/sysdep.h: Likewise.
48007         * sysdeps/unix/sparc/sysdep.h: Likewise.
48008         * sysdeps/wordsize-32/divdi3.c: Likewise.
48009         * sysdeps/x86_64/sysdep.h: Likewise.
48010
48011         * argp/Versions: Remove _argp_unlock_xxx.
48012
48013         [BZ #13559]
48014         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
48015         * abilist/libBrokenLocale.abilist: Likewise.
48016         * abilist/libanl.abilist: Likewise.
48017         * abilist/libc.abilist: Likewise.
48018         * abilist/libcrypt.abilist: Likewise.
48019         * abilist/libdl.abilist: Likewise.
48020         * abilist/libm.abilist: Likewise.
48021         * abilist/libnsl.abilist: Likewise.
48022         * abilist/libpthread.abilist: Likewise.
48023         * abilist/libresolv.abilist: Likewise.
48024         * abilist/librt.abilist: Likewise.
48025         * abilist/libthread_db.abilist: Likewise.
48026         * abilist/libutil.abilist: Likewise.
48027         * abilist/libnss_db.abilist: New file.
48028
48029         * scripts/abilist.awk: Add support for indirect functions.
48030
48031         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
48032
48033         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
48034
48035         * shlib-versions: Remove entries for ports architectures.
48036
48037         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
48038         files in ports.
48039         * elf/stackguard-macros.h: Remove support for IA-64.
48040         * elf/tst-auditmod1.c: Likewise.
48041         * sysdeps/generic/ldsodefs.h: Likewise.
48042
48043         * sysdeps/unix/sysv/linux/configure.in: Ports should define
48044         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
48045         configure files.
48046
48047         [BZ #13552]
48048         * configure.in: Remove --enable-omitfp support.
48049         * FAQ.in: Adjust.
48050         * config.make.in: Likewise.
48051         * Makeconfig: Likewise.
48052         * manual/install.texi: Likewise.
48053
48054         In case anyone cares, the IA-64 architecture could move to ports.
48055         * sysdeps/ia64/*: Removed.
48056         * sysdeps/unix/sysv/linux/ia64/*: Removed.
48057         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
48058
48059         [BZ #13555]
48060         * configure.in: Remove entries for unsupported architectures.
48061
48062         [BZ #13533]
48063         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
48064         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
48065         routines.
48066         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
48067         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
48068         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
48069         fall back to using wcrtomb.
48070         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
48071         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
48072         renaming.
48073         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
48074         * wcsmbs/tst-c16c32-1.c: New file.
48075
48076         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
48077         local variable.
48078
48079         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
48080
48081         * elf/tst-unique3.cc: Add explicit declaration of gets.
48082         * elf/tst-unique3lib.cc: Likewise.
48083         * elf/tst-unique3lib2.cc: Likewise.
48084         * elf/tst-unique4.cc: Likewise.
48085
48086         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
48087
48088 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
48089
48090         [BZ #13566]
48091         * assert/assert.h (static_assert): Don't define for C++.
48092         * libio/stdio.h (gets): Do declare for C++ <= C++11.
48093         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
48094
48095 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
48096
48097         * iconv/loop.c (single loop): Fix assertion in storing of
48098         remaining bytes.
48099
48100         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
48101
48102 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
48103
48104         * posix/getconf.c: Update copyright year.
48105         * nss/getent.c: Likewise.
48106         * nss/makedb.c: Likewise.
48107         * iconv/iconvconfig.c: Likewise.
48108         * iconv/iconv_prog.c: Likewise.
48109         * elf/ldconfig.c: Likewise.
48110         * elf/pldd.c: Likewise.
48111         * elf/sotruss.ksh: Likewise.
48112         * catgets/gencat.c: Likewise.
48113         * csu/version.c: Likewise.
48114         * elf/ldd.bash.in: Likewise.
48115         * elf/sprof.c (print_version): Likewise.
48116         * locale/programs/locale.c: Likewise.
48117         * locale/programs/localedef.c: Likewise.
48118         * login/programs/pt_chown.c: Likewise.
48119         * nscd/nscd.c (print_version): Likewise.
48120         * debug/xtrace.sh: Likewise.
48121         * malloc/memusage.sh: Likewise.
48122         * malloc/mtrace.pl: Likewise.
48123         * debug/catchsegv.sh: Likewise.
48124
48125 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
48126
48127         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
48128         pure attribute.
48129
48130 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
48131
48132         [BZ #13533]
48133         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
48134         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
48135         transformations.
48136         * iconv/gconv_int.h: Likewise.
48137         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
48138         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
48139         from libc for GLIBC_2.16.
48140         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
48141         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
48142         * wcsmbs/uchar.h: Really define mbstate_t.
48143         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
48144         * wcsmbs/c16rtomb.c: New file.
48145         * wcsmbs/mbrtoc16.c: New file.
48146         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
48147         for C/POSIX locale.
48148         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
48149         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
48150
48151         * wcsmbs/wchar.h: Add missing __restrict.
48152
48153 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
48154
48155         [BZ #13532]
48156         * time/Makefile (routines): Add timespec_get.
48157         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
48158         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
48159         timespec for ISO C11.
48160         * time/timespec_get.c: New file.
48161         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
48162         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
48163
48164         [BZ #13531]
48165         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
48166         * stdlib/stdlib.h: Declare aligned_alloc.
48167         * Versions.def: Add GLIBC_2.16 for libc.
48168         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
48169
48170         [BZ 13527]
48171         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
48172         ISO C11.
48173
48174         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
48175         code.
48176
48177         [BZ #13528]
48178         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
48179
48180         [BZ #13529]
48181         * assert/assert.h (static_assert): Define.
48182
48183         * version.h: Update for 2.16 development version.
48184
48185         [BZ #13526]
48186         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
48187         _ISOC11_SOURCE.
48188
48189         * version.h (RELEASE): Bump for 2.15 release.
48190         * include/features.h (__GLIBC_MINOR__): Bump to 15.
48191
48192         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
48193         Patch by Marek Polacek <mpolacek@redhat.com>.
48194
48195         * bits/byteswap.h: Protect long long constants with __extension__.
48196         * sysdeps/i386/bits/byteswap.h: Likewise.
48197         * sysdeps/ia64/bits/byteswap.h: Likewise.
48198         * sysdeps/s390/bits/byteswap.h: Likewise.
48199         * sysdeps/x86_64/bits/byteswap.h: Likewise.
48200
48201 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
48202
48203         [BZ #13540]
48204         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
48205         destination buffer.
48206         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
48207
48208 2011-12-23  Marek Polacek  <polacek@redhat.com>
48209
48210         * elf/dl-addr.c (determine_info): Add inline keyword.
48211         * elf/tst-auditmod4b.c (check_avx): Likewise.
48212         * elf/tst-auditmod6b.c (check_avx): Likewise.
48213         * elf/tst-auditmod6c.c (check_avx): Likewise.
48214         * elf/tst-auditmod7b.c (check_avx): Likewise.
48215
48216 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
48217
48218         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
48219         !__SSE_MATH__.
48220
48221 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
48222
48223         [BZ #13540]
48224         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
48225         processing for last bytes.
48226
48227 2011-08-06  Bruno Haible  <bruno@clisp.org>
48228
48229         [BZ #13061]
48230         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
48231         U+0385, not to U+1FEE.
48232
48233         [BZ #13062]
48234         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
48235         entry for U+00A5 U+0301.
48236
48237 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
48238
48239         [BZ #13166]
48240         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
48241         buffer for the output is too small.
48242
48243         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
48244         optimization.
48245
48246         [BZ #13185]
48247         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
48248         SSE flags if possible.
48249
48250 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
48251
48252         [BZ #13540]
48253         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
48254         processing for last bytes.
48255
48256 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
48257
48258         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
48259         (syscall-list-default-options, syscall-list-default-condition)
48260         (syscall-list-includes): Define.
48261         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
48262         list of ABIs and options and #if conditions for each ABI.  Do not
48263         handle common syscalls between ABIs specially.
48264         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
48265         Remove.
48266         (syscall-list-variants, syscall-list-32bit-options)
48267         (syscall-list-32bit-condition, syscall-list-64bit-options)
48268         (syscall-list-64bit-condition): Define.
48269         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
48270         (syscall-list-variants, syscall-list-32bit-options)
48271         (syscall-list-32bit-condition, syscall-list-64bit-options)
48272         (syscall-list-64bit-condition): Define.
48273         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
48274         Remove.
48275         (syscall-list-variants, syscall-list-32bit-options)
48276         (syscall-list-32bit-condition, syscall-list-64bit-options)
48277         (syscall-list-64bit-condition): Define.
48278         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
48279         Remove.
48280         (syscall-list-variants, syscall-list-32bit-options)
48281         (syscall-list-32bit-condition, syscall-list-64bit-options)
48282         (syscall-list-64bit-condition): Define.
48283
48284 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
48285
48286         * locale/iso-639.def: Add brx entry.
48287
48288         [BZ #13328]
48289         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
48290         Proposed by Mariusz_Cukr <marcukr@op.pl>.
48291
48292         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
48293         __feraiseexcept_renamed.
48294
48295 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
48296
48297         [BZ #13538]
48298         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
48299         EPOLLET with unsigned values.
48300         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
48301         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
48302
48303         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
48304         to large cancellation.
48305         * math/s_cacoshf.c: Likewise.
48306         * math/s_cacoshl.c: Likewise.
48307
48308 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
48309
48310         [BZ #13305]
48311         [BZ #12786]
48312         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
48313         * math/s_cacoshf.c: Likewise.
48314         * math/s_cacoshl.c: Likewise.
48315
48316 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
48317
48318         [BZ #13439]
48319         * iconv/gconv.h: Define __GCONV_SWAP.
48320         * iconvdata/unicode.c: The swap bit must be stored in __flags.
48321         * iconvdata/utf-16.c: Likewise.
48322         * iconvdata/utf-32.c: Likewise.
48323
48324 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
48325
48326         [BZ #13524]
48327         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
48328         numerator after shifting it by one limb.
48329
48330 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
48331
48332         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
48333         under [__USE_EXTERN_INLINES].
48334
48335 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
48336
48337         [BZ #13446]
48338         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
48339
48340 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48341
48342         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
48343         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
48344         optimized code.
48345         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
48346         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
48347         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
48348         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
48349         for strncasecmp/strncasecmp_l compilation.
48350         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
48351         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
48352
48353 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
48354
48355         [BZ #13484]
48356         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
48357         of __asm__.
48358
48359 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
48360
48361         [BZ #13506]
48362         * time/tzfile.c (__tzfile_read): Check values from file header.
48363
48364 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
48365
48366         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
48367         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
48368         * powerpc/powerpc32/dl-start.S: Likewise.
48369         * powerpc/powerpc32/elf/start.S: Likewise.
48370         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
48371         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
48372         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
48373         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
48374         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
48375         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
48376         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
48377         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
48378         * powerpc/powerpc32/fpu/s_round.S: Likewise.
48379         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
48380         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
48381         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
48382         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
48383         * powerpc/powerpc32/memset.S: Likewise.
48384         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
48385         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
48386         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
48387         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
48388         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
48389         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
48390         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
48391         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
48392         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
48393         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
48394         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
48395         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
48396         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
48397
48398 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48399
48400         * math/libm-test.inc: Added more nearbyint tests.
48401         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
48402         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
48403         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
48404         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
48405
48406 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
48407
48408         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
48409         FD_CLOEXEC.
48410
48411 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
48412
48413         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
48414         Add wcscpy-ssse3 wcscpy-c.
48415         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
48416         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
48417         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
48418         * sysdeps/x86_64/wcschr.S: New file.
48419         * sysdeps/x86_64/wcsrchr.S: New file.
48420         * string/test-strcmp.c: Remove checking of wcscmp function for
48421         wrong alignments.
48422         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
48423         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
48424         wcsrchr-sse2 wcsrchr-c.
48425         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
48426         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
48427         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
48428         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
48429         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
48430         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
48431         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
48432         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
48433         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
48434         * wcsmbc/wcschr.c (WCSCHR): New macro.
48435
48436 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
48437
48438         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
48439         * wcsmbs/test-wcsrchr.c: New file.
48440         * string/test-strrchr.c: Add wcsrchr support.
48441         (WIDE): New macro.
48442         * wcsmbs/test-wcscpy.c: New file.
48443         * string/test-strcpy.c: Add wcscpy support.
48444         (WIDE): New macro.
48445
48446 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
48447
48448         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
48449         the inner loop.
48450
48451 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
48452
48453         [BZ #13472]
48454         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
48455
48456 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
48457
48458         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
48459         Minor optimizations.
48460
48461         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
48462         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
48463         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
48464
48465 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
48466
48467         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
48468         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
48469         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
48470         for gcc to avoid warnings.
48471         * inet/Makefile (tests): Add tst-checks.
48472         * inet/tst-checks.c: New file.
48473
48474         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
48475         warning.
48476
48477         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
48478         __wmemcmp_sse2.
48479
48480         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
48481         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
48482
48483         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
48484
48485 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
48486
48487         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
48488         problem.
48489
48490         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
48491
48492 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
48493
48494         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
48495         conditional on GCC version.
48496         (__arch_compare_and_exchange_val_8_acq)
48497         (__arch_compare_and_exchange_val_16_acq)
48498         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
48499         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
48500         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
48501
48502 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
48503
48504         * sysdeps/sh/backtrace.c: New file.
48505
48506 2011-12-02  Andreas Schwab  <schwab@redhat.com>
48507
48508         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
48509         parenthesis.
48510
48511 2011-12-01  Andreas Schwab  <schwab@redhat.com>
48512
48513         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
48514         falling back to utime.
48515
48516 2011-11-30  Andreas Schwab  <schwab@redhat.com>
48517
48518         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
48519         expectations for float.
48520
48521 2011-11-29  Andreas Schwab  <schwab@redhat.com>
48522
48523         * locale/weight.h (findidx): Add parameter len.
48524         * locale/weightwc.h (findidx): Likewise.
48525         * posix/fnmatch_loop.c (FCT): Adjust caller.
48526         * posix/regcomp.c (build_equiv_class): Likewise.
48527         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
48528         * posix/regexec.c (check_node_accept_bytes): Likewise.
48529         * string/strcoll_l.c (STRCOLL): Likewise.
48530         * string/strxfrm_l.c (STRXFRM): Likewise.
48531
48532 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
48533
48534         * Makefile.in: Remove CVSOPT handling.
48535         * configure.in: Remove use of AC_REVISION.
48536         * iconvdata/Makefile (distribute): No need to filter out CVS.
48537         * scripts/list-sources.sh: Remove CVS, subversion and monotone
48538         handling.
48539
48540 2011-11-16  Andreas Schwab  <schwab@redhat.com>
48541
48542         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
48543         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
48544         [USE_AS_STRNCASECMP_L]: Likewise.
48545         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
48546         NO_TLS_DIRECT_SEG_REFS.
48547         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
48548         Fix argument offsets for non-PIC.
48549         [USE_AS_STRNCASECMP_L]: Likewise.
48550         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
48551         NO_TLS_DIRECT_SEG_REFS.
48552
48553 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
48554
48555         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
48556         O_CLOEXEC.
48557         * locale/loadlocale.c (_nl_load_locale): Likewise.
48558
48559 2011-11-15  Andreas Schwab  <schwab@redhat.com>
48560
48561         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
48562         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
48563         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
48564         (SYSCALL_GETTIME): Set errno on error.
48565
48566         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
48567         count references to noai6ai_cached.
48568
48569 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
48570
48571         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
48572
48573         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
48574         FD_CLOEXEC for /proc/self/maps.
48575
48576         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
48577         FD_CLOEXEC for /proc/meminfo.
48578
48579         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
48580         gai.conf.
48581
48582         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
48583         FD_CLOEXEC for given file.
48584
48585         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
48586
48587         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
48588         FD_CLOEXEC for /etc/hosts.
48589         (_gethtent): Likewise.
48590
48591         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
48592
48593         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
48594         cancellation and set FD_CLOEXEC for /etc/netgroup.
48595
48596         * nss/nss_files/files-key.c (search): Don't allow cancellation when
48597         reading /etc/publickey.
48598
48599         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
48600         allow cancellation when reading /etc/group.
48601
48602         * nss/nss_files/files-alias.c (internal_setent): Don't allow
48603         cancellation.
48604         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
48605
48606         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
48607         when using data file.
48608
48609         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
48610
48611         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
48612         (write_nis_obj): Use "c" and "e" in fopen.
48613
48614         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
48615
48616         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
48617
48618         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
48619
48620         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
48621
48622         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
48623         locale.alias.
48624
48625         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
48626
48627         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
48628
48629         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
48630
48631         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
48632         file parsing and set FD_CLOEXEC.
48633
48634 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
48635
48636         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
48637
48638 2011-11-14  Andreas Schwab  <schwab@redhat.com>
48639
48640         * malloc/arena.c (arena_get2): Don't call reused_arena when
48641         _int_new_arena failed.
48642
48643 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
48644
48645         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
48646         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
48647         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
48648         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
48649         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
48650         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
48651         to compile strcasecmp and strncasecmp.
48652         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
48653         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
48654
48655         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
48656
48657 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
48658
48659         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
48660         locale-defines.sym to gen-as-const-headers.
48661         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
48662         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
48663         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
48664         to compile strcasecmp and strncasecmp.
48665         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
48666         strcasecmp_l and strncasecmp_l.
48667         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
48668         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
48669         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
48670         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
48671         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
48672         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
48673         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
48674         * sysdeps/i386/i686/multiarch/strncase.S: New file.
48675         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
48676         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
48677         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
48678
48679 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
48680
48681         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
48682         result of SYSDEP_GETTIME_CPU to retval.
48683         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
48684         parameter list to macro.  Remove trailing semicolon.  Adjust users.
48685
48686         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
48687         variable.
48688
48689         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
48690         mantissa words.
48691         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
48692
48693         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
48694         from unused variable.
48695
48696         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
48697         DWARF definitions.
48698         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
48699         for assembling.
48700
48701         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
48702         over namespaces.
48703
48704         * sunrpc/rpc_prot.c (rejected): Fix case value.
48705
48706         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
48707         unsigned long long int to avoid warnings in shift.
48708
48709         * posix/regex_internal.c (re_string_reconstruct): Actually use result
48710         of use of trans.
48711         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
48712         variable tmp.
48713
48714         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
48715         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
48716         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
48717
48718         * nis/nis_table.c (nis_list): Use variable of correct type for
48719         result of __follow_path call.
48720
48721 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48722
48723         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
48724         of math functions ceil, trunc, floor, round, and sqrt, when
48725         avaliable on the platform.
48726         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
48727         name clash.
48728         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
48729         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
48730         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
48731
48732 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
48733
48734         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
48735         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
48736
48737 2011-11-11  Roland McGrath  <roland@hack.frob.com>
48738
48739         * include/unistd.h: Fix __readlink return type.
48740         Reported by Chris Metcalf <cmetcalf@tilera.com>.
48741
48742 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
48743
48744         * stdlib/ucontext.h: Undo last change for makecontext.
48745
48746 2011-11-11  Andreas Schwab  <schwab@redhat.com>
48747
48748         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
48749
48750         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
48751         * setjmp/setjmp.h: Mark functions as non-leaf.
48752         * setjmp/bits/setjmp2.h: Likewise.
48753         * stdlib/ucontext.h: Likewise.
48754
48755 2011-11-10  Andreas Schwab  <schwab@redhat.com>
48756
48757         * malloc/arena.c (_int_new_arena): Don't increment narenas.
48758         (reused_arena): Don't check arena limit.
48759         (arena_get2): Atomically check arena limit.
48760
48761 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
48762
48763         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
48764         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
48765
48766         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
48767         instructions.
48768
48769 2011-11-07  Andreas Schwab  <schwab@redhat.com>
48770
48771         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
48772         handler when locking.
48773
48774         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
48775         Fix size of allocated buffer.
48776
48777 2011-11-04  Andreas Schwab  <schwab@redhat.com>
48778
48779         [BZ #10103]
48780         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
48781         declarations for long double functions.
48782         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
48783
48784         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
48785
48786 2011-11-03  Andreas Schwab  <schwab@redhat.com>
48787
48788         * nscd/nscd.c (main): Don't start AVC thread until credentials are
48789         installed.
48790
48791         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
48792         is disabled.
48793
48794 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48795
48796         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
48797
48798 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
48799
48800         * include/alloca.h (stackinfo_alloca_round): Define.
48801         (extend_alloca): Use it.
48802         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
48803         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
48804         here.
48805
48806         * scripts/check-local-headers.sh: Ignore libaudit.h.
48807
48808         * nscd/Makefile (extra-objs): Make recursively expanded.
48809
48810 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
48811
48812         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
48813         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
48814
48815         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
48816         * posix/tst-rfc3484-2.c: Likewise.
48817         * posix/tst-rfc3484-3.c: Likewise.
48818
48819         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
48820         process_vm_writev.
48821         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
48822         process_vm_writev.
48823         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
48824         process_vm_writev from libc using GLIBC_2.15 version.
48825
48826         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
48827
48828 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
48829
48830         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
48831         stack usage.
48832
48833 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
48834
48835         [BZ #13367]
48836         * nss/getent.c (initgroups_keys): Show error message in case no group
48837         names are given.
48838
48839         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
48840         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
48841         __bump_nl_timestamp.
48842         * nscd/connections (nscd_init): When host database is served open
48843         netlink socket and request notification about configuration changes.
48844         (main_loop_poll): Track netlink file descriptor and bump timestamp
48845         in case data becomes available.
48846         (main_loop_epoll): Likewise.
48847         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
48848         (database_pers_head): Add extra_data fileds.
48849         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
48850         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
48851         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
48852         Adjust caller.
48853         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
48854         in6ai data, call __free_in6ai.
48855         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
48856         Add -DHAVE_NETLINK.
48857         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
48858         interface information.  Reuse previous data if netlink timestamp
48859         is not changed.
48860         (__bump_nl_timestamp): New function.
48861         (__free_in6ai): New function.
48862
48863 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
48864
48865         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
48866         close_not_cancel_no_status here.
48867         (__check_pf): Reorganize code a bit to not call close twice if OOM.
48868
48869 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
48870
48871         [BZ #13276]
48872         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
48873         return value.
48874
48875         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
48876         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
48877         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
48878
48879 2011-07-03  Andreas Jaeger  <aj@suse.de>
48880
48881         [BZ #10709]
48882         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
48883         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
48884         * math/libm-test.inc (sin_test): Add test case.
48885
48886 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
48887
48888         [BZ #13337]
48889         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
48890         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
48891
48892         * elf/chroot_canon.c (chroot_canon): Cleanups.
48893
48894         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
48895
48896         [BZ #13335]
48897         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
48898         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
48899
48900         * string/test-strchr.c: Make usable for strchrnul testing.
48901         * string/test-strchrnul.c: New file.
48902         * string/Makefile (strop-tests): Add strchrnul.
48903
48904         * po/it.po: Update from translation team.
48905         * po/es.po: Likewise.
48906
48907 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
48908
48909         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
48910         the three constants needed as parameters.  Drop the others.
48911         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
48912         __m128i_strloadu_tolower.
48913         Create and initialize variable zero and use it in all the places
48914         where _mm_setzero_si128 was used.
48915
48916         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
48917         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
48918         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
48919         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
48920         anymore.
48921         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
48922         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
48923         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
48924         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
48925         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
48926         __mpranred, __mptan.
48927         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
48928         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
48929         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
48930         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
48931         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
48932         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
48933         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
48934         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
48935         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
48936
48937 2011-10-28  Andreas Schwab  <schwab@redhat.com>
48938
48939         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
48940         redefine if SHARED.
48941         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
48942
48943         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
48944         wide char related routines to wcsmbs subdir.
48945
48946 2011-10-27  Andreas Schwab  <schwab@redhat.com>
48947
48948         [BZ #13344]
48949         * misc/sys/cdefs.h (__THROWNL): Define.
48950         * posix/unistd.h: Use __THREADNL instead of __THREAD
48951         for memory synchronization functions.
48952
48953 2011-10-26  Roland McGrath  <roland@hack.frob.com>
48954
48955         [BZ #13349]
48956         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
48957         doesn't exist.
48958         * manual/stdio.texi (Obstack Streams): Node removed.
48959
48960 2011-10-26  Andreas Schwab  <schwab@redhat.com>
48961
48962         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
48963         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
48964         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
48965
48966         * math/math_private.h (math_force_eval): Allow non-addressable
48967         arguments.
48968         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
48969
48970 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
48971
48972         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
48973         file is not needed.
48974
48975         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
48976         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
48977         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
48978         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
48979         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
48980         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
48981         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
48982         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
48983         Add AVX variants.
48984         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
48985         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
48986         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
48987         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
48988         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
48989         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
48990         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
48991         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
48992         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
48993         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
48994         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
48995         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
48996         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
48997         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
48998         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
48999         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
49000         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
49001         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
49002         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
49003
49004         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
49005         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
49006
49007         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
49008         place.  Use VEX encoding when compiling for AVX.
49009
49010 2011-10-25  Andreas Schwab  <schwab@redhat.com>
49011
49012         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
49013         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
49014
49015         * string/test-strchr.c (do_test): Don't generate NUL bytes.
49016
49017 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
49018
49019         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
49020         useless if() expression.
49021         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
49022         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
49023         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
49024         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
49025         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
49026         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
49027         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
49028         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
49029         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
49030         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
49031         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
49032         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
49033         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
49034         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
49035         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
49036         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
49037         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
49038         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
49039         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
49040
49041         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
49042
49043 2011-10-25  Andreas Schwab  <schwab@redhat.com>
49044
49045         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
49046         condition.
49047         * elf/dl-fini.c (_dl_sort_fini): Likewise.
49048
49049 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
49050
49051         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
49052         .text section.  Avoid duplicate constants.
49053         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
49054         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
49055         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
49056         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
49057         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
49058         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
49059         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
49060         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
49061         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
49062         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
49063         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
49064         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
49065         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
49066         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
49067         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
49068         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
49069         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
49070         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
49071         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
49072         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
49073         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
49074         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
49075         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
49076         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
49077         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
49078         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
49079         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
49080         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
49081         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
49082         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
49083         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
49084         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
49085         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
49086         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
49087         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
49088         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
49089         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
49090         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
49091         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
49092         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
49093         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
49094         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
49095         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
49096         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
49097         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
49098
49099 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
49100
49101         * sysdeps/x86_64/dla.h: Move to ...
49102         * sysdeps/x86_64/fpu/dla.h: ...here.
49103         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
49104         situations.  Use __builtin_fma only for gcc 4.6 and up.
49105
49106         * config.make.in: Add have-mfma4 entry.
49107         * configure.in: Substitute libc_cv_cc_fma4.
49108         * math/Makefile (dbl-only-routines): Add sincostab.
49109         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
49110         Use __sincostab not sincos.
49111         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
49112         name is a macro.
49113         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
49114         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
49115         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
49116         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
49117         using __copysign.
49118         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
49119         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
49120         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
49121         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
49122         and __inv.
49123         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
49124         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
49125         __copysign.
49126         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
49127         define aliases when function name is a macro.
49128         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
49129         sysdeps/ieee754/dbl-64/sincos.tbl.
49130         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
49131         fma4-enabled routines.
49132         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
49133         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
49134         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
49135         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
49136         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
49137         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
49138         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
49139         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
49140         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
49141         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
49142         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
49143         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
49144         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
49145         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
49146         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
49147         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
49148         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
49149         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
49150         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
49151         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
49152         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
49153         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
49154         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
49155         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
49156         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
49157         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
49158         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
49159         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
49160         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
49161         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
49162
49163         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
49164         rename.
49165         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
49166         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
49167         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
49168         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
49169         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
49170         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
49171         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
49172         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
49173
49174 2011-10-24  Andreas Schwab  <schwab@redhat.com>
49175
49176         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
49177
49178 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
49179
49180         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
49181
49182         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
49183         prediction.
49184         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
49185
49186         * string/strnlen.c: Don't define STRNLEN, reverse logic.
49187         Remove unused variable magic_bits.
49188         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
49189
49190         * string/strnlen.c: Define and use STRNLEN macro.
49191         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
49192         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
49193         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
49194         * wcsmbs/wcslen.c: Define and use WCSLEN.
49195         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
49196         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
49197         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
49198         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
49199         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
49200         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
49201         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
49202
49203 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
49204
49205         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49206         strnlen-sse2-no-bsf.
49207         Rename strlen-no-bsf to strlen-sse2-no-bsf.
49208         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
49209         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
49210         Add strnlen support.
49211         (USE_AS_STRNLEN): New macro.
49212         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
49213         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
49214         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
49215         * sysdeps/x86_64/wcslen.S: New file.
49216
49217 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
49218
49219         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
49220         XMM-moves are used for copying on small sizes.
49221
49222 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
49223
49224         * wcsmbs/Makefile (strop-tests): Add wcschr.
49225         * wcsmbs/test-wcschr.c: New file.
49226         * string/test-strchr.c: Update.
49227         Add wcschr support.
49228         (WIDE): New macro.
49229
49230 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
49231
49232         * wcsmbs/Makefile (strop-tests): Add wcslen.
49233         * wcsmbs/test-wcslen.c: New file.
49234         * string/test-strlen.c: Update.
49235         Add wcslen support.
49236         (WIDE): New macro.
49237
49238 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
49239
49240         * po/it.po: Update from translation team.
49241
49242 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
49243
49244         * sysdeps/x86_64/wcscmp.S: Update.
49245         Fix wrong comparison semantics.
49246         wcscmp shall use signed comparison not unsigned.
49247         Don't use substraction to avoid overflow bug.
49248         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
49249         * wcsmbc/wcscmp.c: Likewise.
49250         * string/test-strcmp.c: Likewise.
49251         Add new tests to check cases with negative values.
49252
49253 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
49254
49255         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
49256         * sysdeps/x86_64/dla.h: ...here.  New file.
49257         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
49258         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
49259         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
49260         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
49261         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
49262         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
49263         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
49264         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
49265         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
49266
49267 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
49268
49269         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
49270         __ynl_finite aliases.
49271
49272 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
49273
49274         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49275
49276         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
49277         define DLA_FMA.
49278         [DLA_FMA] (EMULV): Use DLA_FMA.
49279         [DLA_FMA] (MUL12): Use EMULV.
49280         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
49281         that are not needed.
49282         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
49283         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
49284         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
49285         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
49286         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
49287         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
49288         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
49289
49290 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
49291
49292         * math/s_nan.c: Undef __nan.
49293         * math/s_nanf.c: Undef __nanf.
49294         * math/s_nanl.c: Undef __nanl.
49295         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
49296         "math_private.h".
49297
49298 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
49299
49300         * math/s_catan.c: Add branch predictions.
49301         * math/s_catanf.c: Likewise.
49302         * math/s_catanh.c: Likewise.
49303         * math/s_catanhf.c: Likewise.
49304         * math/s_catanhl.c: Likewise.
49305         * math/s_catanl.c: Likewise.
49306         * math/s_cexp.c: Likewise.
49307         * math/s_cexpf.c: Likewise.
49308         * math/s_cexpl.c: Likewise.
49309         * math/s_clog.c: Likewise.
49310         * math/s_clog10.c: Likewise.
49311         * math/s_clog10f.c: Likewise.
49312         * math/s_clog10l.c: Likewise.
49313         * math/s_clogf.c: Likewise.
49314         * math/s_clogl.c: Likewise.
49315         * math/s_csqrt.c: Likewise.
49316         * math/s_csqrtf.c: Likewise.
49317         * math/s_csqrtl.c: Likewise.
49318         * math/s_ctanf.c: Likewise.
49319         * math/s_ctanh.c: Likewise.
49320         * math/s_ctanhf.c: Likewise.
49321         * math/s_ctanhl.c: Likewise.
49322         * math/s_ctanl.c: Likewise.
49323
49324         * math/math_private.h: Define __nan, __nanf, __nanl.
49325         * math/s_cacosh.c: Include <math_private.h>.
49326         * math/s_cacoshl.c: Likewise.
49327         * math/s_casinh.c: Likewise.
49328         * math/s_casinhf.c: Likewise.
49329         * math/s_casinhl.c: Likewise.
49330         * math/s_ccos.c: Rely entire on ccosh.
49331         * math/s_ccosf.c: Rely entire on ccoshf.
49332         * math/s_ccosl.c: Rely entirely on ccoshl.
49333         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
49334         Remove tests for FE_INVALID.
49335         * math/s_ccoshf.c: Likewise.
49336         * math/s_ccoshl.c: Likewise.
49337         * math/s_csin.c: Likewise.
49338         * math/s_csinf.c: Likewise.
49339         * math/s_csinh.c Likewise.
49340         * math/s_csinhf.c: Likewise.
49341         * math/s_csinhl.c: Likewise.
49342         * math/s_csinl.c: Likewise.
49343         * math/s_ctan.c: Likewise.
49344         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
49345         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
49346         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
49347
49348 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
49349
49350         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
49351         compilation problems.
49352
49353         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
49354         __builtin_expect.
49355
49356 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
49357
49358         * sysdeps/i386/configure.in: Test for -mfma4 option.
49359         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
49360         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
49361         COMMON_CPUID_INDEX_80000001.
49362         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
49363         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
49364         use it if FMA3 is not supported.
49365         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
49366
49367         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
49368         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
49369
49370 2011-10-20  Andreas Schwab  <schwab@redhat.com>
49371
49372         [BZ #12892]
49373         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
49374         it would create a cycle with a link time dependency.
49375
49376 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
49377
49378         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
49379         instruction.
49380         * string/Makefile (strop-tests): Add rawmemchr.
49381         * string/test-rawmemchr.c: New file.
49382
49383         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
49384         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
49385         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
49386         when compiling str{,n}casecmp and when AVX is available.  Hook up
49387         new optimized code in initializers.
49388
49389 2011-10-19  Andreas Schwab  <schwab@redhat.com>
49390
49391         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
49392         __feraiseexcept instead of feraiseexcept.
49393
49394 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
49395
49396         * math/math_private.h: Define defaults for libc_fetestexcept and
49397         libc_feupdateenv.
49398         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
49399         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
49400         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
49401         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
49402         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
49403         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
49404         libc_fetestexcept and libc_feupdateenv.
49405
49406         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
49407         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
49408         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
49409         * sysdeps/x86_64/fpu/math_private.h: Define special version of
49410         libc_feholdexcept_setround.
49411
49412         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
49413         Add s_nearbyint-c and s_nearbyintf-c.
49414         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
49415         nearbyintf inlines.
49416         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
49417         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
49418         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
49419         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
49420
49421         * math/math_private.h: Define defaults for libc_fegetround,
49422         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
49423         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
49424         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
49425         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
49426         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
49427         standard functions.
49428         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
49429         Remove comments and hacks for old compiler versions.
49430         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
49431         libc_fegetround, libc_fesetround, libc_feholdexcept, and
49432         libc_feholdexceptl.
49433
49434 2011-10-18  Andreas Schwab  <schwab@redhat.com>
49435
49436         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
49437         (__feraiseexcept_renamed): Add __NTH.
49438         (feraiseexcept): Add __NTH.  Rename local variables to fix
49439         namespace violations.
49440
49441 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
49442
49443         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
49444
49445         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
49446
49447         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
49448         recently added interfaces.
49449         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
49450
49451         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
49452         about macro parameter expansion.
49453
49454         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
49455         __NO_MATH_INLINES is defined.  Cleanups.
49456
49457         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
49458         and __floorf is target has SSE4.1.
49459         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
49460         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
49461         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
49462         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
49463
49464         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
49465         name.
49466         (floorf): Likewise.
49467
49468         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
49469
49470 2011-10-17  Andreas Schwab  <schwab@redhat.com>
49471
49472         * misc/sys/cdefs.h: Fix last change.
49473
49474         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
49475         database lookup.
49476
49477 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
49478
49479         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
49480
49481         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
49482         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
49483         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
49484         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
49485         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
49486         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
49487         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
49488         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
49489         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
49490         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
49491         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
49492         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
49493         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
49494         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
49495         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
49496         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
49497         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
49498         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
49499         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
49500         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
49501         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
49502         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
49503
49504         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
49505         ceil, ceilf, floor, floorf.
49506
49507         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
49508         Perform IRELATIVE relocations last.
49509
49510         * elf/do-rel.h: Add another parameter nrelative, replacing the
49511         local variable with the same name.  Change name of the function
49512         to end in Rel or Rela (uppercase).
49513         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
49514         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
49515         elf_dynamic_do_##reloc function.
49516
49517 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
49518
49519         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
49520         is sufficient, at least on modern CPUs.
49521
49522         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
49523
49524         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
49525         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
49526
49527         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
49528         __expl_finite.
49529         * math/bits/math-finite.h: Add entries for exp.
49530         * math/e_expl.c: Add __*_finite alias.
49531         * sysdeps/i386/fpu/e_exp.S: Likewise.
49532         * sysdeps/i386/fpu/e_expf.S: Likewise.
49533         * sysdeps/i386/fpu/e_expl.c: Likewise.
49534         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
49535         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
49536         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
49537         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
49538         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
49539         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
49540         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
49541
49542         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
49543         is sufficient, at least on modern CPUs.
49544
49545         * ctype/ctype-info.c (__ctype_init): Define.
49546         * include/ctype.h (__ctype_init): Declare.
49547         (__ctype_b_loc): The variable is always initialized.
49548         (__ctype_toupper_loc): Likewise.
49549         (__ctype_tolower_loc): Likewise.
49550         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
49551         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
49552
49553 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
49554
49555         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
49556
49557         * configure.in: Also look in $cxxmachine/include for C++ system
49558         headers.
49559
49560 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
49561
49562         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
49563         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
49564         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
49565         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
49566         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
49567         (USE_AS_WMEMCMP): New macro.
49568         Fixing indents.
49569         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
49570         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
49571         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
49572         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
49573         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
49574         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
49575         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
49576         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
49577         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
49578         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
49579         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
49580         (USE_AS_WMEMCMP): New macro.
49581         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
49582         * sysdeps/string/test-memcmp.c: Update.
49583         Fix simple_wmemcmp.
49584         Add new tests.
49585         * wcsmbs/wmemcmp.c: Update.
49586         (WMEMCMP): New macro.
49587         Fix overflow bug.
49588
49589 2011-10-12  Andreas Jaeger  <aj@suse.de>
49590
49591         [BZ #13268]
49592         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
49593
49594 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
49595
49596         * libio/iofwide.c (do_length): Avoid warning.
49597
49598         * ctype/ctype.h (__isctype_f): Add missing __THROW.
49599
49600 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
49601
49602         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
49603
49604         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
49605         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
49606         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
49607         * sysdeps/i386/i686/fpu/e_log.S: New file.
49608         * sysdeps/i386/i686/fpu/e_logf.S: New file.
49609         * sysdeps/i386/i686/fpu/e_logl.S: New file.
49610
49611         * ctype/ctype.h: Add support for inlined isXXX functions when
49612         compiling C++ code.
49613
49614 2011-10-14  Andreas Schwab  <schwab@redhat.com>
49615
49616         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
49617
49618         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
49619
49620 2011-10-13  Roland McGrath  <roland@hack.frob.com>
49621
49622         [BZ #13291]
49623         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
49624
49625 2011-10-13  Andreas Schwab  <schwab@redhat.com>
49626
49627         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
49628         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
49629         feraiseexcept.
49630
49631         * sysdeps/x86_64/memrchr.S: Check for zero size.
49632
49633         * string/stratcliff.c: Add memrchr tests.
49634
49635 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
49636
49637         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
49638         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
49639         rawmemchr-sse2 rawmemchr-sse2-bsf.
49640         * sysdeps/i386/i686/multiarch/memchr.S: New file.
49641         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
49642         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
49643         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
49644         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
49645         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
49646         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
49647         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
49648         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
49649         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
49650         * string/memrchr.c (MEMRCHR): New macro.
49651
49652 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
49653
49654         Add integration with gcc's -ffinite-math-only and optimize wrapper
49655         functions in libm.
49656         * Versions.def: Define GLIBC_2.15 version for libm.
49657         * math/Makefile (headers): Add bits/math-finite.h.
49658         * math/bits/math-finite.h: New file.
49659         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
49660         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
49661         * math/e_acoshl.c: Add __*_finite alias.
49662         * math/e_acosl.c: Likewise.
49663         * math/e_asinl.c: Likewise.
49664         * math/e_atan2l.c: Likewise.
49665         * math/e_atanhl.c: Likewise.
49666         * math/e_coshl.c: Likewise.
49667         * math/e_exp10.c: Likewise.
49668         * math/e_exp10f.c: Likewise.
49669         * math/e_exp10l.c: Likewise.
49670         * math/e_exp2l.c: Likewise.
49671         * math/e_fmodl.c: Likewise.
49672         * math/e_gammal_r.c: Likewise.
49673         * math/e_hypotl.c: Likewise.
49674         * math/e_j0l.c: Likewise.
49675         * math/e_j1l.c: Likewise.
49676         * math/e_jnl.c: Likewise.
49677         * math/e_lgammal_r.c: Likewise.
49678         * math/e_log10l.c: Likewise.
49679         * math/e_log2l.c: Likewise.
49680         * math/e_logl.c: Likewise.
49681         * math/e_powl.c: Likewise.
49682         * math/e_sinhl.c: Likewise.
49683         * math/e_sqrtl.c: Likewise.
49684         * math/e_scalb.c: Completely rewritten and optimized.
49685         * math/e_scalbf.c: Likewise.
49686         * math/e_scalbl.c: Likewise.
49687         * math/w_acos.c: Likewise.
49688         * math/w_acosf.c: Likewise.
49689         * math/w_acosl.c: Likewise.
49690         * math/w_acosh.c: Likewise.
49691         * math/w_acoshf.c: Likewise.
49692         * math/w_acoshl.c: Likewise.
49693         * math/w_asin.c: Likewise.
49694         * math/w_asinf.c: Likewise.
49695         * math/w_asinl.c: Likewise.
49696         * math/w_atan2.c: Likewise.
49697         * math/w_atan2f.c: Likewise.
49698         * math/w_atan2l.c: Likewise.
49699         * math/w_atanh.c: Likewise.
49700         * math/w_atanhf.c: Likewise.
49701         * math/w_atanhl.c: Likewise.
49702         * math/w_exp10.c: Likewise.
49703         * math/w_exp10f.c: Likewise.
49704         * math/w_exp10l.c: Likewise.
49705         * math/w_fmod.c: Likewise.
49706         * math/w_fmodf.c: Likewise.
49707         * math/w_fmodl.c: Likewise.
49708         * math/w_j0.c: Likewise.
49709         * math/w_j0f.c: Likewise.
49710         * math/w_j0l.c: Likewise.
49711         * math/w_j1.c: Likewise.
49712         * math/w_j1f.c: Likewise.
49713         * math/w_j1l.c: Likewise.
49714         * math/w_jn.c: Likewise.
49715         * math/w_jnf.c: Likewise.
49716         * math/w_log.c: Likewise.
49717         * math/w_logf.c: Likewise.
49718         * math/w_logl.c: Likewise.
49719         * math/w_log10.c: Likewise.
49720         * math/w_log10f.c: Likewise.
49721         * math/w_log10l.c: Likewise.
49722         * math/w_log2.c: Likewise.
49723         * math/w_log2f.c: Likewise.
49724         * math/w_log2l.c: Likewise.
49725         * math/w_pow.c: Likewise.
49726         * math/w_powf.c: Likewise.
49727         * math/w_powl.c: Likewise.
49728         * math/w_remainder.c: Likewise.
49729         * math/w_remainderf.c: Likewise.
49730         * math/w_remainderl.c: Likewise.
49731         * math/w_scalb.c: Likewise.
49732         * math/w_scalbf.c: Likewise.
49733         * math/w_scalbl.c: Likewise.
49734         * math/w_sqrt.c: Likewise.
49735         * math/w_sqrtf.c: Likewise.
49736         * math/w_sqrtl.c: Likewise.
49737         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
49738         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
49739         used.
49740         * math/math_private.h: Declare __kernel_standard_f.
49741         * math/w_cosh.c: Remove cruft and optimize a bit.
49742         * math/w_coshf.c: Likewise.
49743         * math/w_coshl.c: Likewise.
49744         * math/w_exp2.c: Likewise.
49745         * math/w_exp2f.c: Likewise.
49746         * math/w_exp2l.c: Likewise.
49747         * math/w_hypot.c: Likewise.
49748         * math/w_hypotf.c: Likewise.
49749         * math/w_hypotl.c: Likewise.
49750         * math/w_lgamma.c: Likewise.
49751         * math/w_lgamma_r.c: Likewise.
49752         * math/w_lgammaf.c: Likewise.
49753         * math/w_lgammaf_r.c: Likewise.
49754         * math/w_lgammal.c: Likewise.
49755         * math/w_lgammal_r.c: Likewise.
49756         * math/w_sinh.c: Likewise.
49757         * math/w_sinhf.c: Likewise.
49758         * math/w_sinhl.c: Likewise.
49759         * math/w_tgamma.c: Likewise.
49760         * math/w_tgammaf.c: Likewise.
49761         * math/w_tgammal.c: Likewise.
49762         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
49763         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
49764         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
49765         Minor optimizations.  Pretty printing.  Remove cruft.
49766         * sysdeps/i386/fpu/e_acosf.S: Likewise.
49767         * sysdeps/i386/fpu/e_acosh.S: Likewise.
49768         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
49769         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
49770         * sysdeps/i386/fpu/e_acosl.c: Likewise.
49771         * sysdeps/i386/fpu/e_asin.S: Likewise.
49772         * sysdeps/i386/fpu/e_asinf.S: Likewise.
49773         * sysdeps/i386/fpu/e_atan2.S: Likewise.
49774         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
49775         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
49776         * sysdeps/i386/fpu/e_atanh.S: Likewise.
49777         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
49778         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
49779         * sysdeps/i386/fpu/e_exp10.S: Likewise.
49780         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
49781         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
49782         * sysdeps/i386/fpu/e_exp2.S: Likewise.
49783         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
49784         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
49785         * sysdeps/i386/fpu/e_fmod.S: Likewise.
49786         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
49787         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
49788         * sysdeps/i386/fpu/e_hypot.S: Likewise.
49789         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
49790         * sysdeps/i386/fpu/e_log.S: Likewise.
49791         * sysdeps/i386/fpu/e_log10.S: Likewise.
49792         * sysdeps/i386/fpu/e_log10f.S: Likewise.
49793         * sysdeps/i386/fpu/e_log10l.S: Likewise.
49794         * sysdeps/i386/fpu/e_log2.S: Likewise.
49795         * sysdeps/i386/fpu/e_log2f.S: Likewise.
49796         * sysdeps/i386/fpu/e_log2l.S: Likewise.
49797         * sysdeps/i386/fpu/e_logf.S: Likewise.
49798         * sysdeps/i386/fpu/e_logl.S: Likewise.
49799         * sysdeps/i386/fpu/e_pow.S: Likewise.
49800         * sysdeps/i386/fpu/e_powf.S: Likewise.
49801         * sysdeps/i386/fpu/e_powl.S: Likewise.
49802         * sysdeps/i386/fpu/e_remainder.S: Likewise.
49803         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
49804         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
49805         * sysdeps/i386/fpu/e_scalb.S: Likewise.
49806         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
49807         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
49808         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
49809         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
49810         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
49811         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
49812         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
49813         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
49814         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
49815         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
49816         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
49817         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
49818         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
49819         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
49820         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
49821         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
49822         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
49823         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
49824         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
49825         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
49826         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
49827         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
49828         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
49829         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
49830         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
49831         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
49832         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
49833         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
49834         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
49835         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
49836         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
49837         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
49838         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
49839         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
49840         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
49841         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
49842         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
49843         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
49844         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
49845         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
49846         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
49847         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
49848         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
49849         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
49850         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
49851         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
49852         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
49853         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
49854         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
49855         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
49856         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
49857         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
49858         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
49859         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
49860         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
49861         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
49862         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
49863         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
49864         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
49865         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
49866         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
49867         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
49868         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
49869         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
49870         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
49871         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
49872         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
49873         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
49874         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
49875         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
49876         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
49877         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
49878         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
49879         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
49880         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
49881         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
49882         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
49883         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
49884         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
49885         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
49886         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
49887         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
49888         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
49889         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
49890         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
49891         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
49892         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
49893         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
49894         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
49895         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
49896         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
49897         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
49898         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
49899         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
49900         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
49901         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
49902         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
49903         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
49904         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
49905         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
49906         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
49907         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
49908         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
49909         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
49910         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
49911         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
49912         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
49913         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
49914         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
49915         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
49916         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
49917         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
49918         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
49919         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
49920         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
49921         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
49922         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
49923         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
49924         (__isnanf): Likewise.
49925         (__isinf_ns): Likewise.
49926         (__isinf_nsf): Likewise.
49927         (__finite): Likewise.
49928         (__finitef): Likewise.
49929         (__ieee754_sqrt): Define as macro.
49930         (__ieee754_sqrtf): Define as macro.
49931         (__ieee754_sqrtl): Define as macro.
49932         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
49933         inlined copy.
49934         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
49935         __FINITE_MATH_ONLY__ consistent.
49936         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
49937
49938 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
49939
49940         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
49941         of rawmemchr.
49942
49943         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
49944
49945 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
49946
49947         * po/ja.po: Update from translation team.
49948
49949 2011-10-08  Roland McGrath  <roland@hack.frob.com>
49950
49951         * locale/programs/locarchive.c (prepare_address_space): New function.
49952         (create_archive, enlarge_archive, open_archive): Use it.
49953
49954         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
49955         inside [SHARED], where it is used.
49956
49957         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
49958
49959         * nss/getent.c (netgroup_keys): Remove unused variable.
49960         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
49961
49962 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
49963
49964         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
49965         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
49966         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
49967         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
49968         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
49969         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
49970         * math/Makefile (libm-calls): Add s_isinf_ns.
49971         * math/divtc3.c: Use __isinf_nsl instead of isinf.
49972         * math/multc3.c: Likewise.
49973         * math/s_casin.c: Likewise.
49974         * math/s_casinf.c: Likewise.
49975         * math/s_casinl.c: Likewise.
49976         * math/s_ccos.c: Likewise.
49977         * math/s_ccosf.c: Likewise.
49978         * math/s_ccosl.c: Likewise.
49979         * math/s_ctan.c: Likewise.
49980         * math/s_ctanf.c: Likewise.
49981         * math/s_ctanh.c: Likewise.
49982         * math/s_ctanhf.c: Likewise.
49983         * math/s_ctanhl.c: Likewise.
49984         * math/s_ctanl.c: Likewise.
49985         * math/w_fmod.c: Likewise.
49986         * math/w_fmodf.c: Likewise.
49987         * math/w_fmodl.c: Likewise.
49988         * math/w_remainder.c: Likewise.
49989         * math/w_remainderf.c: Likewise.
49990         * math/w_remainderl.c: Likewise.
49991         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
49992         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
49993         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
49994         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
49995         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
49996         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
49997         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
49998         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
49999
50000         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
50001         of the number.
50002         * stdio-common/printf_fphex.c: Likewise.
50003         * stdio-common/printf_size.c: Likewise.
50004
50005         * math/e_exp10.c: Include math_private.h using <...> not "...".
50006         * math/e_exp10f.c: Likewise.
50007         * math/e_exp10l.c: Likewise.
50008         * math/e_exp2l.c: Likewise.
50009         * math/e_j0l.c: Likewise.
50010         * math/e_j1l.c: Likewise.
50011         * math/e_jnl.c: Likewise.
50012         * math/e_lgammal_r.c: Likewise.
50013         * math/e_rem_pio2l.c: Likewise.
50014         * math/e_scalb.c: Likewise.
50015         * math/e_scalbf.c: Likewise.
50016         * math/e_scalbl.c: Likewise.
50017         * math/k_cosl.c: Likewise.
50018         * math/k_sinl.c: Likewise.
50019         * math/k_tanl.c: Likewise.
50020         * math/s_cacoshf.c: Likewise.
50021         * math/s_catan.c: Likewise.
50022         * math/s_catanf.c: Likewise.
50023         * math/s_catanh.c: Likewise.
50024         * math/s_catanhf.c: Likewise.
50025         * math/s_catanhl.c: Likewise.
50026         * math/s_catanl.c: Likewise.
50027         * math/s_ccosh.c: Likewise.
50028         * math/s_ccoshf.c: Likewise.
50029         * math/s_ccoshl.c: Likewise.
50030         * math/s_cexp.c: Likewise.
50031         * math/s_cexpf.c: Likewise.
50032         * math/s_cexpl.c: Likewise.
50033         * math/s_clog.c: Likewise.
50034         * math/s_clog10.c: Likewise.
50035         * math/s_clog10f.c: Likewise.
50036         * math/s_clog10l.c: Likewise.
50037         * math/s_clogf.c: Likewise.
50038         * math/s_clogl.c: Likewise.
50039         * math/s_csin.c: Likewise.
50040         * math/s_csinf.c: Likewise.
50041         * math/s_csinh.c: Likewise.
50042         * math/s_csinhf.c: Likewise.
50043         * math/s_csinhl.c: Likewise.
50044         * math/s_csinl.c: Likewise.
50045         * math/s_csqrt.c: Likewise.
50046         * math/s_csqrtf.c: Likewise.
50047         * math/s_csqrtl.c: Likewise.
50048         * math/s_ctan.c: Likewise.
50049         * math/s_ctanf.c: Likewise.
50050         * math/s_ctanh.c: Likewise.
50051         * math/s_ctanhf.c: Likewise.
50052         * math/s_ctanhl.c: Likewise.
50053         * math/s_ctanl.c: Likewise.
50054         * math/s_ldexp.c: Likewise.
50055         * math/s_ldexpf.c: Likewise.
50056         * math/s_ldexpl.c: Likewise.
50057         * math/s_significand.c: Likewise.
50058         * math/s_significandf.c: Likewise.
50059         * math/s_significandl.c: Likewise.
50060         * math/w_acos.c: Likewise.
50061         * math/w_acosf.c: Likewise.
50062         * math/w_acosh.c: Likewise.
50063         * math/w_acoshf.c: Likewise.
50064         * math/w_acoshl.c: Likewise.
50065         * math/w_acosl.c: Likewise.
50066         * math/w_asin.c: Likewise.
50067         * math/w_asinf.c: Likewise.
50068         * math/w_asinl.c: Likewise.
50069         * math/w_atan2.c: Likewise.
50070         * math/w_atan2f.c: Likewise.
50071         * math/w_atan2l.c: Likewise.
50072         * math/w_atanh.c: Likewise.
50073         * math/w_atanhf.c: Likewise.
50074         * math/w_atanhl.c: Likewise.
50075         * math/w_cosh.c: Likewise.
50076         * math/w_coshf.c: Likewise.
50077         * math/w_coshl.c: Likewise.
50078         * math/w_dremf.c: Likewise.
50079         * math/w_exp10.c: Likewise.
50080         * math/w_exp10f.c: Likewise.
50081         * math/w_exp10l.c: Likewise.
50082         * math/w_exp2.c: Likewise.
50083         * math/w_exp2f.c: Likewise.
50084         * math/w_fmod.c: Likewise.
50085         * math/w_fmodf.c: Likewise.
50086         * math/w_fmodl.c: Likewise.
50087         * math/w_hypot.c: Likewise.
50088         * math/w_hypotf.c: Likewise.
50089         * math/w_hypotl.c: Likewise.
50090         * math/w_j0.c: Likewise.
50091         * math/w_j0f.c: Likewise.
50092         * math/w_j0l.c: Likewise.
50093         * math/w_j1.c: Likewise.
50094         * math/w_j1f.c: Likewise.
50095         * math/w_j1l.c: Likewise.
50096         * math/w_jn.c: Likewise.
50097         * math/w_jnf.c: Likewise.
50098         * math/w_jnl.c: Likewise.
50099         * math/w_lgamma.c: Likewise.
50100         * math/w_lgamma_r.c: Likewise.
50101         * math/w_lgammaf.c: Likewise.
50102         * math/w_lgammaf_r.c: Likewise.
50103         * math/w_lgammal.c: Likewise.
50104         * math/w_lgammal_r.c: Likewise.
50105         * math/w_log.c: Likewise.
50106         * math/w_log10.c: Likewise.
50107         * math/w_log10f.c: Likewise.
50108         * math/w_log10l.c: Likewise.
50109         * math/w_log2.c: Likewise.
50110         * math/w_log2f.c: Likewise.
50111         * math/w_log2l.c: Likewise.
50112         * math/w_logf.c: Likewise.
50113         * math/w_logl.c: Likewise.
50114         * math/w_pow.c: Likewise.
50115         * math/w_powf.c: Likewise.
50116         * math/w_powl.c: Likewise.
50117         * math/w_remainder.c: Likewise.
50118         * math/w_remainderf.c: Likewise.
50119         * math/w_remainderl.c: Likewise.
50120         * math/w_scalb.c: Likewise.
50121         * math/w_scalbf.c: Likewise.
50122         * math/w_scalbl.c: Likewise.
50123         * math/w_sinh.c: Likewise.
50124         * math/w_sinhf.c: Likewise.
50125         * math/w_sinhl.c: Likewise.
50126         * math/w_sqrt.c: Likewise.
50127         * math/w_sqrtf.c: Likewise.
50128         * math/w_sqrtl.c: Likewise.
50129         * math/w_tgamma.c: Likewise.
50130         * math/w_tgammaf.c: Likewise.
50131         * math/w_tgammal.c: Likewise.
50132
50133         * po/ja.po: Update from translation team.
50134
50135 2011-09-29  Andreas Jaeger  <aj@suse.de>
50136
50137         [BZ #13179]
50138         * sunrpc/netname.c (netname2host): Fix logic.
50139
50140         [BZ #6779]
50141         [BZ #6783]
50142         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
50143         correctly.
50144         * math/w_remainder.c (__remainder): Likewise.
50145         * math/w_remainderf.c (__remainderf): Likewise.
50146         * math/libm-test.inc (remainder_test): Add test cases.
50147
50148 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50149
50150         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
50151         sdiv_qrnnd.
50152
50153 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
50154
50155         * string/test-memcmp.c: Avoid unncessary #defines.
50156         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
50157
50158 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
50159
50160         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
50161         Use new sse2 version for core i3 - i7 as it's faster
50162         than sse42 version.
50163         (bit_Prefer_PMINUB_for_stringop): New.
50164         * sysdeps/x86_64/rawmemchr.S: Update.
50165         Replace with faster SSE2 version.
50166         * sysdeps/x86_64/memrchr.S: New file.
50167         * sysdeps/x86_64/memchr.S: Update.
50168         Replace with faster SSE2 version.
50169
50170 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
50171
50172         * elf/dl-load.c (lose): Add cast to avoid warning.
50173
50174 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
50175
50176         * po/ca.po: Update from translation team.
50177
50178         * inet/getnetgrent_r.c: Hook up nscd.
50179         * nscd/Makefile (routines): Add nscd_netgroup.
50180         (nscd-modules): Add netgroupcache.
50181         (CFLAGS-netgroupcache.c): Define.
50182         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
50183         (cache_search): Add const to second parameter.
50184         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
50185         INNETGR.
50186         (dbs): Add netgrdb entry.
50187         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
50188         (verify_persistent_db): Handle netgrdb.
50189         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
50190         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
50191         GETFDNETGR.
50192         (netgroup_response_header): Define.
50193         (innetgroup_response_header): Define.
50194         (datahead): Add netgroup_response_header and innetgroup_response_header
50195         elements.
50196         * nscd/nscd.conf: Add entries for netgroup cache.
50197         * nscd/nscd.h (dbtype): Add netgrdb.
50198         (_PATH_NSCD_NETGROUP_DB): Define.
50199         (netgroup_iov_disabled): Declare.
50200         (xmalloc, xcalloc, xrealloc): Move declarations here.
50201         (cache_search): Adjust prototype.
50202         Add netgroup-related prototypes.
50203         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
50204         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
50205         (__nscd_innetgr): Declare.
50206         * nscd/selinux.c (perms): Use access_vector_t as element type and
50207         add netgroup-related initializers.
50208         * nscd/netgroupcache.c: New file.
50209         * nscd/nscd_netgroup.c: New file.
50210         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
50211         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
50212         For four parameters use innetgr.
50213         * nss/nss_files/files-init.c: Add definition and callback for netgr.
50214         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
50215         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
50216         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
50217
50218         * nscd/connections.c (register_traced_file): Don't register file
50219         for disabled databases.
50220
50221 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
50222
50223         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
50224
50225         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
50226         from tree and freeing node.
50227
50228 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
50229
50230         * nss/nsswitch.c (__nss_database_lookup): Handle
50231         nss_parse_service_list out of memory case.
50232
50233 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
50234
50235         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
50236         out of memory case.
50237
50238 2011-10-04  Andreas Schwab  <schwab@redhat.com>
50239
50240         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
50241         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
50242         pass it down.
50243         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
50244         elf_machine_rela, elf_machine_lazy_rel.
50245         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
50246         (ELF_DYNAMIC_DO_REL): Likewise.
50247         (ELF_DYNAMIC_DO_RELA): Likewise.
50248         (ELF_DYNAMIC_RELOCATE): Likewise.
50249         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
50250         to ELF_DYNAMIC_DO_REL.
50251         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
50252         (dl_main): In trace mode always set __RTLD_NOIFUNC.
50253         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
50254         elf_machine_rela.
50255         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
50256         skip_ifunc, don't call ifunc function if non-zero.
50257         (elf_machine_rela): Likewise.
50258         (elf_machine_lazy_rel): Likewise.
50259         (elf_machine_lazy_rela): Likewise.
50260         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
50261         (elf_machine_lazy_rel): Likewise.
50262         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
50263         Likewise.
50264         (elf_machine_lazy_rel): Likewise.
50265         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
50266         Likewise.
50267         (elf_machine_lazy_rel): Likewise.
50268         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
50269         (elf_machine_lazy_rel): Likewise.
50270         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
50271         (elf_machine_lazy_rel): Likewise.
50272         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
50273         (elf_machine_lazy_rel): Likewise.
50274         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
50275         (elf_machine_lazy_rel): Likewise.
50276         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
50277         (elf_machine_lazy_rel): Likewise.
50278         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
50279         (elf_machine_lazy_rel): Likewise.
50280
50281 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
50282
50283         * nss/nss_files/files-init.c (_nss_files_init): Use static
50284         initialization for all the *_traced_file variables.
50285
50286 2011-09-28  Andreas Schwab  <schwab@redhat.com>
50287
50288         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
50289
50290 2011-09-27  Roland McGrath  <roland@hack.frob.com>
50291
50292         [BZ #13226]
50293         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
50294
50295 2011-09-27  Andreas Schwab  <schwab@redhat.com>
50296
50297         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
50298         Reread the line before reparsing it.
50299
50300 2011-09-26  Andreas Schwab  <schwab@redhat.com>
50301
50302         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
50303
50304 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
50305             Maxim Kuvyrkov  <maxim@codesourcery.com>
50306             Joseph Myers  <joseph@codesourcery.com>
50307
50308         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
50309         if needed for __stack_chk_guard.
50310
50311 2011-09-19  Roland McGrath  <roland@hack.frob.com>
50312
50313         * sysdeps/posix/spawni.c (script_execute): Always define it.
50314         It will be optimized away if unused.
50315         (maybe_script_execute): New function.
50316         (__spawni): Call it.
50317
50318         * Makerules: Don't include tls.make.
50319         (config-tls): Always set to thread.
50320         * tls.make.c: File removed.
50321
50322 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
50323
50324         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
50325         * config.make.in (CPPFLAGS-config): New substituted variable.
50326
50327 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
50328
50329         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
50330
50331         [BZ #13192]
50332         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
50333         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
50334
50335 2011-09-15  Roland McGrath  <roland@hack.frob.com>
50336
50337         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
50338         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
50339         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
50340         (CALL_FAIL): Likewise.
50341         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
50342         (CALL_FAIL): Macro removed.
50343         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
50344
50345 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
50346
50347         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
50348         for __FINITE_MATH_ONLY__ == 1.
50349
50350 2011-09-15  Andreas Schwab  <schwab@redhat.com>
50351
50352         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
50353         __ieee754_sqrt instead of sqrt.
50354         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
50355         __ieee754_sqrtf instead of sqrtf.
50356         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
50357         __floorf instead of floorf.
50358         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
50359         __floorf, __truncf instead of floorf, truncf.
50360
50361 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
50362
50363         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
50364
50365         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
50366         __extern_always_inline.
50367         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
50368         32-bit.
50369
50370 2011-09-14  Andreas Schwab  <schwab@redhat.com>
50371
50372         * elf/rtld.c (dl_main): Also relocate in dependency order when
50373         doing symbol dependency testing.
50374
50375 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
50376
50377         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
50378         Always define `refsym'.
50379
50380 2011-09-13  Andreas Schwab  <schwab@redhat.com>
50381
50382         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
50383         (__FD_ELT): Renamed from __FDELT.
50384         * misc/bits/select2.h (__FD_ELT): Likewise.
50385         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
50386         __FD_MASK instead of __FDELT, __FDMASK.
50387         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
50388         Likewise.
50389         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
50390         Likewise.
50391
50392         * elf/Makefile (gen-ldd): Fix pattern.
50393
50394         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
50395         (init_tls): Likewise.
50396
50397 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
50398
50399         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
50400
50401 2011-09-12  Andreas Schwab  <schwab@redhat.com>
50402
50403         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
50404         `struct cmsghdr *' instead of `void *'.
50405         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
50406         Likewise.
50407
50408 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
50409
50410         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
50411         if non-absolute.
50412         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
50413         ldd_rewrite_script.
50414
50415 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
50416
50417         * configure.in: Remove --with-tls option.
50418         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
50419         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
50420         out in case it is missing.
50421         * sysdeps/ia64/elf/configure.in: Likewise.
50422         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
50423         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
50424         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
50425         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
50426         * sysdeps/sh/elf/configure.in: Likewise.
50427         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
50428         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
50429         * sysdeps/x86_64/elf/configure.in: Likewise.
50430         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
50431         * sysdeps/mach/hurd/tls.h: Likewise.
50432
50433         [BZ #13067]
50434         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
50435
50436         [BZ #13090]
50437         * configure.in: Fix use of AC_INIT.
50438
50439         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
50440
50441 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
50442
50443         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
50444         __set_errno.
50445         * malloc/hooks.c: Likewise.
50446
50447         [BZ #11929]
50448         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
50449         variables statically.
50450         (narenas): Initialize.
50451         (list_lock): Initialize.
50452         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
50453         initializtion of main_arena and list_lock.  Small cleanups.
50454         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
50455         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
50456         Add initializers to main_arena and mp_.
50457         (malloc_state): Remove pagesize member.  Change all users to use
50458         GLRO(dl_pagesize).
50459
50460         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
50461         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
50462         is always initialized.
50463
50464         * malloc/malloc.c: Removed unused configurations and dead code.
50465         * malloc/arena.c: Likewise.
50466         * malloc/hooks.c: Likewise.
50467         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
50468
50469         * include/tls.h: Removed.  USE___THREAD must always be defined.
50470         * bits/libc-tsd.h: Don't handle !USE___THREAD.
50471         * elf/dl-libc.c: Likewise.
50472         * elf/dl-tsd.c: Likewise.
50473         * include/errno.h: Likewise.
50474         * include/netdb.h: Likewise.
50475         * include/resolv.h: Likewise.
50476         * inet/herrno-loc.c: Likewise.
50477         * inet/herrno.c: Likewise.
50478         * malloc/arena.c: Likewise.
50479         * malloc/hooks.c: Likewise.
50480         * malloc/malloc.c: Likewise.
50481         * resolv/res-state.c: Likewise.
50482         * resolv/res_libc.c: Likewise.
50483         * sysdeps/i386/dl-machine.h: Likewise.
50484         * sysdeps/ia64/dl-machine.h: Likewise.
50485         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
50486         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
50487         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
50488         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
50489         * sysdeps/sh/dl-machine.h: Likewise.
50490         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
50491         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
50492         * sysdeps/unix/i386/sysdep.S: Likewise.
50493         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
50494         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
50495         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
50496         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
50497         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
50498         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
50499         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
50500         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
50501         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
50502         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
50503         * sysdeps/unix/x86_64/sysdep.S: Likewise.
50504         * sysdeps/x86_64/dl-machine.h: Likewise.
50505         * tls.make.c: Likewise.
50506
50507         * configure.in: Remove --with-__thread option.  Make tests for
50508         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
50509         tls_model attribute fail if no support is available.  Remove
50510         USE_IN_LIBIO.
50511         * Makeconfig: Adjust for dropped configure option.  All features are
50512         now mandatory.
50513         * Makerules: Likewise.
50514         * Versions.def: Likewise.
50515         * argp/argp-fmtstream.c: Likewise.
50516         * argp/argp-fmtstream.h: Likewise.
50517         * argp/argp-help.c: Likewise.
50518         * assert/assert.c: Likewise.
50519         * config.h.in: Likewise.
50520         * config.make.in: Likewise.
50521         * configure: Likewise.
50522         * configure.in: Likewise.
50523         * csu/Versions: Likewise.
50524         * csu/init.c: Likewise.
50525         * elf/tst-audit2.c: Likewise.
50526         * elf/tst-tls10.c: Likewise.
50527         * elf/tst-tls10.h: Likewise.
50528         * elf/tst-tls11.c: Likewise.
50529         * elf/tst-tls12.c: Likewise.
50530         * elf/tst-tls14.c: Likewise.
50531         * elf/tst-tlsmod11.c: Likewise.
50532         * elf/tst-tlsmod12.c: Likewise.
50533         * elf/tst-tlsmod13.c: Likewise.
50534         * elf/tst-tlsmod13a.c: Likewise.
50535         * elf/tst-tlsmod14a.c: Likewise.
50536         * elf/tst-tlsmod15b.c: Likewise.
50537         * elf/tst-tlsmod16a.c: Likewise.
50538         * elf/tst-tlsmod16b.c: Likewise.
50539         * elf/tst-tlsmod7.c: Likewise.
50540         * elf/tst-tlsmod8.c: Likewise.
50541         * elf/tst-tlsmod9.c: Likewise.
50542         * gmon/gmon.c: Likewise.
50543         * grp/fgetgrent_r.c: Likewise.
50544         * grp/putgrent.c: Likewise.
50545         * hurd/fopenport.c: Likewise.
50546         * include/libc-symbols.h: Likewise.
50547         * include/tls.h: Likewise.
50548         * intl/gettextP.h: Likewise.
50549         * intl/loadinfo.h: Likewise.
50550         * locale/global-locale.c: Likewise.
50551         * locale/localeinfo.h: Likewise.
50552         * mach/devstream.c: Likewise.
50553         * malloc/arena.c: Likewise.
50554         * malloc/set-freeres.c: Likewise.
50555         * misc/err.c: Likewise.
50556         * misc/getttyent.c: Likewise.
50557         * misc/mntent_r.c: Likewise.
50558         * posix/getopt.c: Likewise.
50559         * posix/wordexp.c: Likewise.
50560         * pwd/fgetpwent_r.c: Likewise.
50561         * resolv/Versions: Likewise.
50562         * resolv/res_hconf.c: Likewise.
50563         * shadow/fgetspent_r.c: Likewise.
50564         * shadow/putspent.c: Likewise.
50565         * stdio-common/printf_fphex.c: Likewise.
50566         * stdio-common/tmpfile.c: Likewise.
50567         * stdlib/abort.c: Likewise.
50568         * stdlib/fmtmsg.c: Likewise.
50569         * sunrpc/auth_unix.c: Likewise.
50570         * sunrpc/clnt_perr.c: Likewise.
50571         * sunrpc/clnt_tcp.c: Likewise.
50572         * sunrpc/clnt_udp.c: Likewise.
50573         * sunrpc/clnt_unix.c: Likewise.
50574         * sunrpc/openchild.c: Likewise.
50575         * sunrpc/svc_simple.c: Likewise.
50576         * sunrpc/svc_tcp.c: Likewise.
50577         * sunrpc/svc_udp.c: Likewise.
50578         * sunrpc/svc_unix.c: Likewise.
50579         * sunrpc/xdr.c: Likewise.
50580         * sunrpc/xdr_array.c: Likewise.
50581         * sunrpc/xdr_rec.c: Likewise.
50582         * sunrpc/xdr_ref.c: Likewise.
50583         * sunrpc/xdr_stdio.c: Likewise.
50584
50585 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
50586
50587         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
50588
50589 2011-07-03  Andreas Jaeger  <aj@suse.de>
50590
50591         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
50592         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
50593         regenerate with gen-libm-tests.pl.
50594
50595 2010-05-12  Petr Baudis  <pasky@suse.cz>
50596
50597         [BZ #11589]
50598         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
50599         around j0() zero points by switching to j1().
50600         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
50601         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
50602         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
50603         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
50604
50605 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
50606
50607         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
50608         instead of 0.
50609         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
50610         instead of 0.
50611         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
50612         Patch in part by Pavel Roskin <proski@gnu.org>.
50613
50614         [BZ #13138]
50615         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
50616         realloc.
50617         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
50618         Free memory block if necessary.
50619
50620         [BZ #12847]
50621         * libio/genops.c (INTDEF): For string streams the _lock pointer can
50622         be NULL.  Don't lock in this case.
50623
50624 2011-09-09  Roland McGrath  <roland@hack.frob.com>
50625
50626         * elf/elf.h (ELFOSABI_GNU): New macro.
50627         (ELFOSABI_LINUX): Define to that.
50628
50629 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
50630
50631         * string/strncat.c (strncat): Undef the symbol in case it has been
50632         defined in bits/string.h.
50633
50634 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
50635
50636         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
50637
50638         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
50639         link map.
50640
50641 2011-08-17  Andreas Jaeger  <aj@suse.de>
50642
50643         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
50644
50645 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
50646             Ian Lance Taylor  <iant@google.com>
50647
50648         * math/libm-test.inc (lround_test): New testcase.
50649         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
50650
50651 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
50652
50653         * Makefile: Remove support for automatic cvs check-ins.
50654         * Makerules: Likewise.
50655         * config.make.in: Likewise.
50656         * configure.in: Likewise.
50657         * intl/Makefile: Likewise.
50658         * locale/Makefile: Likewise.
50659         * po/Makefile: Likewise.
50660         * posix/Makefile: Likewise.
50661         * sysdeps/gnu/Makefile: Likewise.
50662         * sysdeps/mach/hurd/Makefile: Likewise.
50663         * sysdeps/sparc/sparc32/Makefile: Likewise.
50664
50665         [BZ #13118]
50666         * posix/Makefile (bug-regex32-ENV): Define.
50667         Patch by John Stanley <jpsinthemix@verizon.net>.
50668
50669         * misc/Makefile (headers): Add bits/select2.h.
50670         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
50671         * misc/bits/select2.h: New file.
50672         * include/bits/select2.h: New file.
50673         * debug/Makefile (routines): Add fdelt_chk.
50674         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
50675         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
50676         FD_ISSET.
50677         * debug/fdelt_chk.c: New file.
50678
50679         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
50680         * wcsmbs/test-wmemcmp.c: Likewise.
50681         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
50682         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
50683
50684 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
50685
50686         * string/Makefile (strop-tests): Add memcmp.
50687         * string/test-wmemcmp.c: New file.
50688         * string/test-memcmp.c: Add wmemcmp support.
50689
50690 2011-09-08  Roland McGrath  <roland@hack.frob.com>
50691
50692         [BZ #13153]
50693         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
50694         2011-07-19 change.
50695
50696         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
50697         garbage value in a __mach_port_mod_refs call in the cases of the
50698         task-self and thread-self ports.
50699
50700 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50701
50702         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
50703
50704 2011-09-08  Andreas Schwab  <schwab@redhat.com>
50705
50706         * elf/dl-load.c (lose): Check for non-null L.
50707
50708 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
50709
50710         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
50711
50712         * elf/dl-libc.c (dlerror_run): Pass back error code from
50713         dl_catch_error.
50714
50715         [BZ #13123]
50716         * elf/dl-load.c (lose): Free l_origin if it is valid.
50717
50718         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
50719         names.
50720         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
50721         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
50722         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
50723         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
50724         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
50725         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
50726
50727 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50728
50729         * sysdeps/powerpc/fpu/e_hypot.c: New file.
50730         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
50731         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
50732         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
50733         * sysdeps/powerpc/fpu/k_cosf.c: New file.
50734         * sysdeps/powerpc/fpu/k_sinf.c: New file.
50735         * sysdeps/powerpc/fpu/s_cosf.c: New file.
50736         * sysdeps/powerpc/fpu/s_sinf.c: New file.
50737         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
50738         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
50739
50740 2011-08-15  Alan Modra  <amodra@gmail.com>
50741
50742         [BZ #13092]
50743         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
50744         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
50745         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
50746         ppc_mcount to static-only-routines.
50747         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
50748         __mcount_internal.
50749         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
50750         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
50751
50752 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
50753
50754         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
50755         for finite and infinity parameters.
50756
50757 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
50758
50759         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
50760         and add nop instructions for throughput optimization.
50761         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
50762
50763 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
50764
50765         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
50766         aligned copy for power7 with vector-scalar instructions.
50767         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
50768
50769 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
50770
50771         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
50772         AVX check.
50773
50774 2011-09-07  Andreas Schwab  <schwab@redhat.com>
50775
50776         [BZ #13144]
50777         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
50778         last change.
50779
50780 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
50781
50782         * sysdeps/unix/sysv/linux/x86_64/init-first.c
50783         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
50784         syscall wrapper around clock_gettime in __vdso_clock_gettime.
50785         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
50786         clock_gettime.
50787
50788 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
50789
50790         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
50791         Forgot to demangle the pointer.
50792
50793         * sysdeps/i386/sysdep.h: Define atom_text_section.
50794         * sysdeps/x86_64/sysdep.h: Likewise.
50795         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
50796         section with atom_text_section.
50797         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
50798         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
50799         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
50800         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
50801         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
50802
50803         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
50804         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
50805         already be defined.  Change to take two parameters and don't assign
50806         result to variable.  Adjust all users.
50807         Define INTERNAL_GETTIME if not already defined.
50808         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
50809         call.
50810         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
50811         HAVE_CLOCK_GETTIME_VSYSCALL.
50812         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
50813
50814         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
50815         gettimeofday vsyscall, just use time.
50816
50817 2011-09-06  Andreas Schwab  <schwab@redhat.com>
50818
50819         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
50820         <errno.h>.
50821
50822 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
50823
50824         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
50825         syscall on x86-64.
50826         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
50827         syscall.
50828         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
50829         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
50830         syscall if possible.
50831
50832 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
50833
50834         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
50835         e_ident.  Don't pass to find_mapsXX.
50836         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
50837
50838 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
50839
50840         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
50841         strchr-sse2-no-bsf strrchr-sse2-no-bsf
50842         * sysdeps/x86_64/multiarch/strchr.S: Update.
50843         Check bit_slow_BSF bit.
50844         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
50845         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
50846         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
50847
50848 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
50849
50850         [BZ #13134]
50851         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
50852         before glibc 2.15.
50853         (tryshell): Define.
50854         (__spawni): Change last parameter to be flag.  Test
50855         SPAWN_XFLAGS_USE_PATH flag to use path or not.
50856         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
50857         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
50858         * posix/spawni.c: Likewise.
50859         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
50860         * posix/spawnp.c: Likewise.  Change normal version to use
50861         SPAWN_XFLAGS_USE_PATH.
50862         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
50863         SPAWN_XFLAGS_TRY_SHELL.
50864
50865         [BZ #13150]
50866         * posix/glob.h: Remove gcc 1.x support.
50867
50868         [BZ #13068]
50869         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
50870
50871 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
50872
50873         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
50874         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
50875         strrchr-sse2-bsf
50876         * sysdeps/i386/i686/multiarch/strchr.S: New file.
50877         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
50878         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
50879         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
50880         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
50881         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
50882
50883 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
50884
50885         * sysdeps/x86_64/wcscmp.S: New file.
50886
50887         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
50888         wcscmp-c wcscmp-sse2
50889         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
50890         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
50891         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
50892         * wcsmbs/wcscmp.c: Allow renaming.
50893
50894 2011-09-05  David S. Miller  <davem@davemloft.net>
50895
50896         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
50897         stack slot, rather than the struct return pointer slot.
50898         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
50899         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
50900         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
50901         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
50902
50903 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
50904
50905         * po/ja.po: Update from translation team.
50906
50907         [BZ #13144]
50908         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
50909         kernel in 64-bit binaries.
50910
50911 2011-09-01  David S. Miller  <davem@davemloft.net>
50912
50913         * elf/elf.h (HWCAP_SPARC_*): Move to..
50914         * sysdeps/sparc/sysdep.h: this new file and add new values.
50915         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
50916         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
50917         _DL_HWCAP_COUNT to 24.
50918         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
50919         entries.
50920         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
50921         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
50922         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
50923         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
50924         instead of magic constants.
50925         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
50926
50927 2011-08-31  David S. Miller  <davem@davemloft.net>
50928
50929         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
50930         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
50931         Reimplement to do errno handling inline.
50932         (SYSCALL_ERROR_HANDLER): New macro.
50933         (__SYSCALL_STRING): Do not do errno handling in asm.
50934         (__CLONE_SYSCALL_STRING): Delete.
50935         (__INTERNAL_SYSCALL_STRING): Delete.
50936         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
50937         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
50938         (PSEUDO): Reimplement to do errno handling inline.
50939         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
50940         (SYSCALL_ERROR_HANDLER): New macro.
50941         (__SYSCALL_STRING): Do not do errno handling in asm.
50942         (__CLONE_SYSCALL_STRING): Delete.
50943         (__INTERNAL_SYSCALL_STRING): Delete.
50944         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
50945         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
50946         i386.
50947         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
50948         (inline_syscall*): Add 'err' argument.
50949         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
50950         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
50951         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
50952         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
50953
50954         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
50955         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
50956
50957 2011-08-30  Andreas Schwab  <schwab@redhat.com>
50958
50959         * elf/rtld.c (dl_main): Relocate objects in dependency order.
50960
50961 2011-08-29  Jiri Olsa <jolsa@redhat.com>
50962
50963         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
50964         directive.
50965
50966 2011-08-24  David S. Miller  <davem@davemloft.net>
50967
50968         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
50969
50970 2011-08-24  Andreas Schwab  <schwab@redhat.com>
50971
50972         * elf/Makefile: Add rules to build and run unload8 test.
50973         * elf/unload8.c: New file.
50974         * elf/unload8mod1.c: New file.
50975         * elf/unload8mod1x.c: New file.
50976         * elf/unload8mod2.c: New file.
50977         * elf/unload8mod3.c: New file.
50978
50979         * elf/dl-close.c (_dl_close_worker): Reset private search list if
50980         it wasn't used.
50981
50982 2011-08-23  David S. Miller  <davem@davemloft.net>
50983
50984         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
50985         subtract stack bias.
50986         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
50987         %sp not %fp in calculations.
50988         (_JMPBUF_UNWINDS_ADJ): Likewise.
50989
50990         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
50991         (aio_suspend): Call it to force an exception region around the
50992         AIO_MISC_WAIT() invocation.
50993
50994 2011-08-23  Andreas Schwab  <schwab@redhat.com>
50995
50996         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
50997         backslash.
50998
50999 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
51000
51001         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
51002         protection macro.
51003         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
51004         and <dl-machine.h>.
51005         (Elf64_FuncDesc): Remove.
51006
51007 2011-08-22  David S. Miller  <davem@davemloft.net>
51008
51009         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
51010         sigaltstack check, add missing cfi directives.
51011         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
51012         missing cfi directives, and sigaltstack handling.
51013
51014 2011-08-16  Andreas Schwab  <schwab@redhat.com>
51015
51016         [BZ #11724]
51017         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
51018         object is seen twice.
51019         * elf/dl-fini.c (_dl_sort_fini): Likewise.
51020
51021         * elf/Makefile (distribute): Add tst-initorder2.c.
51022         (tests): Add tst-initorder2.
51023         (modules-names): Add tst-initorder2a tst-initorder2b
51024         tst-initorder2c tst-initorder2d.  Add rules to build them.
51025         ($(objpfx)tst-initorder2.out): New rule.
51026         * elf/tst-initorder2.c: New file.
51027         * elf/tst-initorder2.exp: New file.
51028
51029 2011-08-22  Andreas Schwab  <schwab@redhat.com>
51030
51031         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
51032
51033         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
51034         dependencies back to end of function.
51035
51036         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
51037         $(elfobjdir)/ld.so.
51038
51039 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
51040
51041         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
51042         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
51043         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
51044         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
51045         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
51046         of __vdso_gettimeofday.
51047         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
51048         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
51049         attribute_hidden.
51050         (_libc_vdso_platform_setup): Remove initialization of
51051         __vdso_gettimeofday and __vdso_time.
51052
51053 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
51054
51055         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
51056         and fgetc_unlocked.
51057         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
51058         getc_unlocked.
51059
51060         * elf/dl-open.c (add_to_global): Report additions to the global scope
51061         for LD_DEBUG=scopes.
51062         (dl_open_worker): Also print scope of newly loaded dependencies.
51063         (_dl_show_scope): Indicate if there is no scope.
51064
51065         [BZ #13114]
51066         * stdio-common/Makefile (tests): Add bug24.
51067         * stdio-common/bug24.c: New file.
51068
51069 2011-08-19  Andreas Jaeger  <aj@suse.de>
51070
51071         [BZ #13114]
51072         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
51073         non-existant file when using close-on-exec mode.
51074
51075 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
51076
51077         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
51078         the very first instruction.
51079
51080         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
51081         the CFI state in the end.
51082         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
51083         inclusion of dl-trampoline.h.
51084         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
51085
51086 2011-08-19  Andreas Schwab  <schwab@redhat.com>
51087
51088         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
51089         expectations for long double.
51090
51091         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
51092         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
51093
51094 2011-08-14  David S. Miller  <davem@davemloft.net>
51095
51096         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
51097         artificual limit depends upon the system page size.
51098
51099 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
51100
51101         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
51102         * resolv/Makefile: Define CFLAGS-libresolv.
51103
51104 2011-08-17  Andreas Schwab  <schwab@redhat.com>
51105
51106         * nss/makedb.c (compute_tables): Make variables used in nested
51107         function static.
51108
51109 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
51110
51111         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
51112         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
51113         if buffer was too small.
51114
51115         * elf/pldd.c (main): Attach to all threads in the process.
51116         Rewrite /proc handling to use *at functions.
51117
51118 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
51119
51120         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
51121         specifies first scope to show.
51122         (dl_open_worker): Update callers.  Move printing scope of new
51123         object to before the relocation.
51124         * elf/rtld.c (dl_main): Update _dl_show_scope call.
51125         * sysdeps/generic/ldsodefs.h: Update declaration.
51126
51127         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
51128         string for the scope number.
51129
51130 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
51131
51132         * nscd/servicescache.c (cache_addserv): Make sure written is always
51133         initialized.
51134
51135 2011-08-14  Roland McGrath  <roland@hack.frob.com>
51136
51137         * sysdeps/i386/i486/bits/atomic.h
51138         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
51139         statement expression, so as to suppress "set but not used" warning.
51140         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
51141
51142         * string/strncat.c (STRNCAT): Use prototype definition.
51143
51144         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
51145         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
51146         -Iprograms here.
51147         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
51148         (localedef-modules): Add localedef.
51149         (locale-modules): Add locale.
51150
51151         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
51152         * elf/rtld.c (dl_main): Invert order of assignment in last change,
51153         to avoid a warning.
51154
51155 2011-08-14  David S. Miller  <davem@davemloft.net>
51156
51157         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
51158         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
51159
51160 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
51161
51162         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
51163         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
51164         * elf/rtld.c (dl_main): Set l_name of vDSO.
51165         Call _dl_show_scope when DL_DEBUG_SCOPES.
51166         (process_dl_debug): Recognize scopes flag and also set it for all.
51167         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
51168         Declare _dl_show_scope.
51169
51170         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
51171         (do_dlopen): Pass caller_dlopen to dl_open.
51172         (__libc_dlopen_mode): Initialize caller_dlopen.
51173
51174         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
51175         of libc.  Make tolower call locale-independent.  Optimize a bit by
51176         using isdigit instead of isalnum.
51177         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
51178
51179 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
51180
51181         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
51182         was a dependency or dynamically loaded.
51183
51184 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
51185
51186         * intl/l10nflist.c: Allow architecture-specific pop function.
51187         * sysdeps/x86_64/l10nflist.c: New file.
51188
51189         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
51190         classification.
51191
51192 2011-08-10  Andreas Schwab  <schwab@redhat.com>
51193
51194         * include/dirent.h: Add libc_hidden_proto for scandirat and
51195         scandirat64.  Don't declare __scandirat64.
51196         * dirent/scandirat.c: Add libc_hidden_def.
51197         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
51198         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
51199
51200 2011-08-10  David S. Miller  <davem@davemloft.net>
51201
51202         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
51203         enum.
51204         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
51205         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
51206         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
51207
51208 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
51209
51210         * Versions.def [libc]: Add GLIBC_2.15.
51211         * dirent/Makefile (routines): Add scandirat and scandirat64.
51212         * dirent/Versions [libc]: Export scandirat and scandirat64 for
51213         GLIBC_2.15.
51214         * dirent/dirent.h: Declare scandirat and scandirat64.
51215         * dirent/scandirat.c: New file.
51216         * dirent/scandirat64.c: New file.
51217         * sysdeps/wordsize-64/scandirat.c: New file.
51218         * sysdeps/wordsize-64/scandirat64.c: New file.
51219         * dirent/opendir.c: Define opendirat.
51220         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
51221         using scandirat.
51222         * dirent/scandir64.c: Adjust for scandir.c change.
51223         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
51224         __scandirat64, and __scandir_cancel_handler.
51225         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
51226         additional parameter and use openat instead of open (outside of ld.so).
51227         Add new __opendir as wrapper around __opendirat.
51228         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
51229         here without requiring old scandirat implementation.
51230
51231 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
51232
51233         * dirent/scandir.c (cancel_handler): Renamed to
51234         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
51235         defined.  Adjust users.
51236         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
51237         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
51238
51239 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
51240
51241         * string/test-string.h (IMPL): Use __STRING to expand name and then
51242         stringify it.
51243
51244         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
51245         of cleanups.
51246
51247 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
51248
51249         * string/Makefile: Update.
51250         (strop-tests): Append strncat.
51251         * string/test-wcscmp.c: New file.
51252         New comprehensive test for wcscmp.
51253         * string/test-strcmp.c: Update.
51254         (WIDE): New define.
51255
51256 2011-07-22  Andreas Schwab  <schwab@redhat.com>
51257
51258         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
51259         line.
51260
51261 2011-07-26  Andreas Schwab  <schwab@redhat.com>
51262
51263         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
51264         encoding to ACE if AI_IDN.
51265
51266 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
51267
51268         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
51269         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
51270
51271 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
51272
51273         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
51274         Fix overflow bug in strncat.
51275         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
51276
51277         * string/test-strncat.c: Update.
51278         Add new tests for checking overflow bugs.
51279
51280 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
51281
51282         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
51283         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
51284         * sysdeps/i386/i686/multiarch/strcat.S: New file.
51285         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
51286         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
51287         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
51288         * sysdeps/i386/i686/multiarch/strncat.S: New file.
51289         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
51290         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
51291
51292         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
51293         (USE_AS_STRCAT): Define.
51294         Add strcat and strncat support.
51295         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
51296
51297 2011-07-25  Andreas Schwab  <schwab@redhat.com>
51298
51299         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
51300         __n bigger than INT_MAX+1.
51301         (__strncmp_g): Likewise.
51302
51303 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
51304
51305         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
51306         * libio/stido.h: Likewise.
51307
51308         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
51309         (AF_NFC): Define.
51310         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
51311         (AF_NFC): Define.
51312
51313         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
51314         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
51315         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
51316         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
51317         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
51318
51319         [BZ #13021]
51320         * scripts/test-installation.pl: Don't expect libnss_test1 to be
51321         installed.
51322
51323         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
51324         typo.
51325         (_dl_x86_64_save_sse): Likewise.
51326
51327 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
51328
51329         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
51330         OSXSAVE.
51331         (_dl_x86_64_save_sse): Likewise.
51332
51333         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
51334
51335         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
51336
51337 2011-07-21  Andreas Schwab  <schwab@redhat.com>
51338
51339         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
51340         change.
51341         (_dl_x86_64_save_sse): Use correct AVX check.
51342
51343 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
51344
51345         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
51346         bug in strncpy/strncat.
51347         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
51348
51349 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
51350
51351         * string/tester.c (test_strcat): Add tests for different alignments
51352         of source and destination.
51353         (test_strncat): Likewise.
51354
51355 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
51356
51357         [BZ #12852]
51358         * posix/glob.c (glob): Check passed in values before using them in
51359         expressions to avoid some overflows.
51360         (glob_in_dir): Likewise.
51361
51362         [BZ #13007]
51363         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
51364         check for AVX enablement so that we don't crash with old kernels and
51365         new hardware.
51366         * elf/tst-audit4.c: Add same checks here.
51367         * elf/tst-audit6.c: Likewise.
51368
51369         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
51370
51371 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
51372
51373         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
51374
51375 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
51376
51377         * po/cs.po: Update from translation team.
51378         * po/bg.po: Likewise.
51379
51380 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
51381
51382         * misc/sys/cdefs.h: Add support for const attribute.
51383         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
51384         to gnu_dev_{major,minor,makedev} functions.
51385
51386 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
51387
51388         * intl/dcigettext.c (get_output_charset): Add missing bracket.
51389
51390 2011-07-20  Andreas Schwab  <schwab@redhat.com>
51391
51392         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
51393         strlen results.
51394
51395 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51396
51397         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
51398         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
51399         register in order to avoid conflicts with the soft frame pointer
51400         being held in r11 when necessary.
51401         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
51402         (INTERNAL_VSYSCALL_NCS): Likewise.
51403
51404 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
51405
51406         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
51407         * elf/dl-fini.c (_dl_fini): Adjust caller.
51408         * elf/dl-close.c (_dl_close_worker): Likewise.
51409         * sysdeps/generic/ldsodefs.h: Adjust declaration.
51410
51411 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
51412
51413         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
51414         "aux_cache->nlibs < 0".
51415
51416         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
51417         in the reload-count case.
51418
51419 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
51420
51421         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
51422         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
51423         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
51424         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
51425         * sysdeps/x86_64/multiarch/strcat.S: New file.
51426         * sysdeps/x86_64/multiarch/strncat.S: New file.
51427         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
51428         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
51429         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
51430         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
51431         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
51432         (USE_AS_STRCAT): Define.
51433         Add strcat and strncat support.
51434         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
51435         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
51436         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
51437         * string/strncat.c: Update.
51438         (USE_AS_STRNCAT): Define.
51439         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
51440         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
51441         and i7.
51442         * sysdeps/x86_64/multiarch/init-arch.h
51443         (bit_Prefer_PMINUB_for_stringop): New.
51444         (index_Prefer_PMINUB_for_stringop): Likewise.
51445         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
51446         bit_Prefer_PMINUB_for_stringop.
51447
51448 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
51449
51450         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
51451         buffer64.
51452         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
51453         of casting of buffer.
51454         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
51455         buffer32 and buffer64.
51456         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
51457         writes instead of casting of buffer.
51458         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
51459         buffer32.
51460         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
51461         casting of buffer.
51462
51463 2011-07-19  Andreas Schwab  <schwab@redhat.com>
51464
51465         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
51466
51467 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
51468
51469         * nscd/nscd.c (termination_handler): Don't do anything for a database
51470         if it has not yet been initialized.
51471
51472 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
51473
51474         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
51475
51476 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
51477
51478         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
51479
51480 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
51481
51482         * po/nl.po: Update from translation team.
51483         * po/sv.po: Likewise.
51484
51485 2011-07-16  Roland McGrath  <roland@hack.frob.com>
51486
51487         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
51488         now disallowed by GCC.
51489
51490         * configure.in (use-default-link): Default to yes if a test -shared
51491         link meets our qualifications.
51492         * configure: Regenerated.
51493
51494         * config.make.in (output-format): New variable.
51495         * configure.in: Check for ld --print-output-format support.
51496         * configure: Regenerated.
51497         * Makerules ($(common-objpfx)format.lds)
51498         [$(output-format) != unknown]: Just use $(output-format),
51499         instead of the linker-script munging.
51500
51501 2011-07-14  Roland McGrath  <roland@hack.frob.com>
51502
51503         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
51504         of $(common-objpfx)shlib.lds.
51505         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
51506
51507         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
51508         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
51509
51510         * configure.in (-z relro check): Adjust test code to add a large
51511         writable data section after it.
51512         * configure: Regenerated.
51513
51514 2011-07-11  Roland McGrath  <roland@hack.frob.com>
51515
51516         * configure.in (-z relro check): Fix test code to make the variable
51517         truly const.
51518         * configure: Regenerated.
51519
51520 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
51521
51522         * nscd/nscd.h (struct traced_file): Define.
51523         (struct database_dyn): Remove inotify_descr, reset_res, and filename
51524         elements.  Add traced_files.
51525         (inotify_fd): Declare.
51526         (register_traced_file): Declare.
51527         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
51528         (inotify_fd): Export.
51529         (resolv_conf_descr): Remove.
51530         (nscd_init): Move inotify descriptor creation to main.
51531         Don't register files for notification here.
51532         (register_traced_file): New function.
51533         (invalidate_cache): Don't use reset_res to determine whether to call
51534         res_init, go through the list of registered files.
51535         (main_loop_poll): The inotify descriptors are now stored in the
51536         structures for the traced files.
51537         (main_loop_epoll): Likewise
51538         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
51539         to __nss_disable_nscd.
51540         * nscd/cache.c (prune_cache): There is no single inotify descriptor
51541         for a database anymore.  Check the records for all the registered
51542         files instead.
51543         * nss/Makefile (libnss_files-routines): Add files-init.
51544         (libnss_db-routines): Add db-init.
51545         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
51546         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
51547         * nss/nss_db/db-init.c: New file.
51548         * nss/nss_files/files-init.c: New file.
51549         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
51550         __nss_lookup_function.
51551         (__nss_lookup_function): Call nss_load_library.
51552         (nss_load_all_libraries): New function.
51553         (__nss_disable_nscd): Take parameter with callback function for files
51554         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
51555         used for the cached services.
51556         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
51557         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
51558         options for features to all the files in nscd.
51559
51560         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
51561
51562 2011-07-10  Roland McGrath  <roland@hack.frob.com>
51563
51564         * csu/elf-init.c (__libc_csu_init): Comment typo.
51565
51566 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
51567
51568         * po/pl.po: Update from translation team.
51569         * po/ja.po: Likewise.
51570         * po/ru.po: Likewise.
51571         * po/ko.po: Likewise.
51572         * po/fr.po: Likewise.
51573
51574 2011-07-09  Roland McGrath  <roland@hack.frob.com>
51575
51576         * configure.in (.ctors/.dtors header and trailer check):
51577         Use an empirical test on a built program.
51578         * configure: Regenerated.
51579
51580         * configure.in (-z relro check): Use an empirical test on a built DSO.
51581         Detect, but do not require, on ia64.
51582         * configure: Regenerated.
51583
51584         * configure.in (READELF): Find it with AC_CHECK_TOOL.
51585         Update tests that use readelf to use $READELF instead.
51586         * configure: Regenerated.
51587
51588 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
51589
51590         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
51591         if the result is not used.
51592
51593 2011-07-05  Andreas Jaeger  <aj@suse.de>
51594
51595         [BZ#9696]
51596         * stdlib/tst-strtod.c: Add testcase.
51597
51598 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
51599
51600         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
51601         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
51602         The latter has a higher limit.  Take additional parameter to pass to
51603         the new function.
51604         (__pathconf): Pass file to __statfs_link_max.
51605         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
51606         __statfs_link_max.
51607         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
51608         __statfs_link_max.
51609
51610         [BZ #12868]
51611         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
51612         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
51613         Handle Lustre.
51614         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
51615         (__statfs_filesize_max): Likewise.
51616         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
51617
51618 2011-07-05  Andreas Jaeger  <aj@suse.de>
51619
51620         * resolv/res_comp.c (dn_skipname): Remove unused variable.
51621
51622 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
51623
51624         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
51625         `status' variable.
51626         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
51627         Likewise.
51628
51629 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
51630
51631         * Makefile (strop-tests): Add strncat.
51632         * string/test-strncat.c: New file.
51633
51634 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
51635
51636         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
51637
51638 2011-06-21  Andreas Jaeger  <aj@suse.de>
51639
51640         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
51641         Copy rule from iconvdata/Makefile.
51642
51643 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
51644
51645         [BZ #12922]
51646         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
51647         but no long options are defined, just return 'W'.
51648
51649 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
51650
51651         [BZ #9696]
51652         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
51653
51654 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
51655
51656         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
51657         netgroups to read.
51658         (innetgr): Likewise.
51659
51660 2011-07-05  Roland McGrath  <roland@hack.frob.com>
51661
51662         * config.make.in (install_root): Default to $(DESTDIR).
51663
51664 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
51665
51666         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
51667
51668 2011-07-02  Roland McGrath  <roland@hack.frob.com>
51669
51670         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
51671
51672         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
51673         containing directory rather than embedding absolute directory names.
51674
51675         * scripts/check-local-headers.sh: Rewritten using awk.
51676         Match by word, not by line.  Print error messages for matches.
51677         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
51678
51679         * Makerules [shlib-lds-flags empty]:
51680         ($(common-objpfx)libc_pic.opts): New target.
51681         ($(common-objpfx)libc_pic.os.clean): New target.
51682         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
51683
51684         * config.make.in (OBJCOPY): New variable.
51685         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
51686         * configure: Regenerated.
51687
51688         * config.make.in (use-default-link): New variable.
51689         * configure.in (use_default_link): Grok --with-default-link to set it.
51690         * configure: Regenerated.
51691         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
51692         (shlib-lds, shlib-lds-flags): Define to empty.
51693
51694         * Makerules (shlib-lds): New variable.
51695         (shlib-lds-flags): New variable.
51696         (build-shlib, build-moduile, build-module-asneeded): Use it.
51697         ($(common-objpfx)libc.so): Use $(shlib-lds).
51698         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
51699         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
51700
51701         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
51702         DT_FLAGS/DT_FLAGS_1 with zero flags.
51703
51704         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
51705         linker script munging.
51706
51707 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
51708
51709         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
51710         as 128-bit value.
51711         * crypt/sha512.c (sha512_process_block): Perform total addition using
51712         128-bit if possible.
51713         (__sha512_finish_ctx): Likewise.
51714         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
51715         as 64-bit value.
51716         * crypt/sha256.c (SWAP64): Define.
51717         (sha256_process_block): Perform total addition using 64-bit if
51718         possible.
51719         (__sha256_finish_ctx): Likewise.
51720
51721 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
51722
51723         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
51724         * nscd/initgrcache.c (addinitgroupsX): Likewise.
51725         * nscd/hstcache.c (cache_addhst): Likewise.
51726         * nscd/grpcache.c (cache_addgr): Likewise.
51727         * nscd/aicache.c (addhstaiX): Likewise
51728         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
51729
51730 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
51731
51732         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
51733         * nscd/initgrcache.c (addinitgroupsX): Likewise.
51734         * nscd/hstcache.c (cache_addhst): Likewise.
51735         * nscd/grpcache.c (cache_addgr): Likewise.
51736         * nscd/aicache.c (addhstaiX): Likewise
51737
51738 2011-07-01  Andreas Schwab  <schwab@redhat.com>
51739
51740         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
51741         domain only when needed.
51742
51743 2011-06-30  Andreas Schwab  <schwab@redhat.com>
51744
51745         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
51746         is always restored.
51747
51748 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
51749
51750         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
51751         are re-adding the entry.
51752         * nscd/servicescache.c (cache_addserv): Likewise.
51753
51754 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
51755
51756         * sysdeps/generic/dl-irel.h: fix protection against multiple
51757         inclusions.
51758         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
51759
51760 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
51761
51762         [BZ #12935]
51763         * malloc/memusage.sh: Fix quoting in message.
51764         * debug/xtrace.sh: Likewise.
51765
51766         * configure.in: Remove support for --experimental-malloc option, make
51767         it the default.
51768         * config.make.in: Likewise.
51769         * malloc/Makefile: Likewise.
51770
51771 2011-06-27  Andreas Schwab  <schwab@redhat.com>
51772
51773         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
51774         two-byte characters.
51775
51776 2011-06-27  Roland McGrath  <roland@hack.frob.com>
51777
51778         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
51779         AC_CACHE_CHECK invocation.
51780         * configure: Regenerated.
51781
51782         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
51783
51784 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
51785
51786         [BZ #12350]
51787         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
51788         bit from old_res_options.
51789
51790         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
51791
51792         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
51793         value type for setfct.
51794
51795 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
51796
51797         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
51798         __gettimeofday instead of gettimeofday.
51799
51800 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
51801
51802         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
51803
51804 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
51805
51806         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
51807
51808         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
51809         info.
51810
51811 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
51812
51813         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
51814         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
51815         strcpy-sse2-unaligned strncpy-sse2-unaligned
51816         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
51817         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
51818         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
51819         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
51820         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
51821         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
51822         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
51823         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
51824         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
51825         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
51826         (STRCPY): Support SSE2 and SSSE3 versions.
51827
51828 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
51829
51830         [BZ #12874]
51831         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
51832         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
51833         kernels which artificially limit size of requests.
51834
51835 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
51836
51837         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
51838         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
51839         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
51840         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
51841         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
51842         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
51843         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
51844         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
51845         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
51846         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
51847         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
51848         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
51849         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
51850         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
51851         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
51852         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
51853         Enable unaligned load optimization for Intel Core i3, i5 and i7
51854         processors.
51855         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
51856         Define.
51857         (index_Fast_Unaligned_Load): Define.
51858         (HAS_FAST_UNALIGNED_LOAD): Define.
51859
51860 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
51861
51862         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
51863
51864 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
51865
51866         [BZ #12907]
51867         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
51868         until it is clear that the information is realy needed.
51869         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
51870
51871 2011-06-22  Andreas Schwab  <schwab@redhat.com>
51872
51873         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
51874
51875 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
51876
51877         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
51878         /sys/devices/system/cpu/online if it is usable.
51879
51880         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
51881         reading the information from the /proc filesystem to once a second.
51882
51883 2011-06-21  Andreas Jaeger  <aj@suse.de>
51884
51885         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
51886         NULL after inclusion of kernel headers.
51887
51888 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
51889
51890         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
51891         calls to internal_setent.
51892
51893         [BZ #12885]
51894         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
51895         addresses using gethostbyname4_r ignore IPv4 addresses.
51896
51897         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
51898         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
51899
51900         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
51901
51902 2011-06-20  David S. Miller  <davem@davemloft.net>
51903
51904         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
51905         inclusions.
51906         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
51907
51908         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
51909         (elf_irel): Use it.
51910         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
51911         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
51912         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
51913         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
51914         * sysdeps/x86_64/dl-irel.h: Likewise.
51915
51916         * elf/dl-runtime.c: Use elf_ifunc_invoke.
51917         * elf/dl-sym.c: Likewise.
51918
51919 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
51920
51921         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
51922         need to dereference resplen2.
51923
51924 2011-06-14  Andreas Schwab  <schwab@redhat.com>
51925
51926         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
51927
51928 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
51929
51930         * Makeconfig: Define vardbdir and inst_vardbdir.
51931         * nss/Makefile: Add rules to install db-Makefile.
51932
51933         * nss/nss_db/db-XXX.c: Cleanup.
51934
51935         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
51936         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
51937         GLIBC_PRIVATE.
51938         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
51939         * nss/makedb.c: Implement -g option to specify that value strings
51940         are generated and should not be added to table iterated over for
51941         get*ent calls.
51942         * nss/nss_db/db-initgroups.c: New file.
51943
51944         * nss/getent.c: Add support for initgroups lookups through getgrouplist
51945         interface.
51946
51947         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
51948         (internal_getgrouplist): Adjust to name change.
51949         Update use_initgroups_entry if this is not the first call.
51950         * nss/databases.def: Add initgroups entry.
51951
51952         * nss/makedb.c (compute_tables): Check result of multiple hash table
51953         sizes to minimize maximum chain length.
51954
51955 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
51956
51957         * Versions.def: Add entry for libnss_db.
51958         * shlib-versions: Likewise.
51959         * nss/Makefile: Add rules to build libnss_db.
51960         * nss/Versions: Add libnss_db information.  Organize libnss_files
51961         entries better.
51962         * nss/db-Makefile: Add gshadow support.  Change rules for the new
51963         makedb progra.  Some minor improvements to generate smaller files.
51964         * nss/nss_db/nss_db.h: Move NSS database header data structures to
51965         here from...
51966         * nss/makedb.c: ...here.
51967         Improve database format to be smaller and require less memory at
51968         runtime.
51969         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
51970         db anymore.
51971         * nss/nss_db/db-netgrp.c: Likewise.
51972         * nss/nss_db/db-open.c: Likewise.
51973         * nss/nss_files/flies-XXX.x: Adjust comments.
51974         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
51975         * nss/nss_files/files-grp.c: Likewise.
51976         * nss/nss_files/files-hosts.c: Likewise.
51977         * nss/nss_files/files-network.c: Likewise.
51978         * nss/nss_files/files-proto.c: Likewise.
51979         * nss/nss_files/files-pwd.c: Likewise.
51980         * nss/nss_files/files-rpc.c: Likewise.
51981         * nss/nss_files/files-service.c: Likewise.
51982         * nss/nss_files/files-sgrp.c: Likewise.
51983         * nss/nss_files/files-spwd.c: Likewise.
51984         * nss/nss_db/db-alias.c: Removed.
51985         * nss/nss_db/dummy-db.h: Removed.
51986
51987 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
51988
51989         * nss/makedb.c: Rewritten to not use database library.
51990         * nss/Makefile: Update to build new makedb program.
51991
51992 2011-06-14  Andreas Jaeger  <aj@suse.de>
51993
51994         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
51995         memset declaration.
51996
51997 2011-06-10  Andreas Schwab  <schwab@redhat.com>
51998
51999         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
52000         tmpbuf.
52001
52002 2011-06-10  Roland McGrath  <roland@hack.frob.com>
52003
52004         * Makerules (shlib.lds): Fail if the linker script comes out empty.
52005         * elf/Makefile ($(objpfx)ld.so): Likewise.
52006
52007         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
52008         Don't list ld.so twice in dependencies.
52009
52010         * posix/bug-regex31.c: Include <stdlib.h>.
52011
52012         * nscd/hstcache.c (cache_addhst): Remove unused variable.
52013
52014         * nis/nss_compat/compat-spwd.c
52015         (getspent_next_nss_netgr): Remove unused variable.
52016         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
52017
52018         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
52019         nonmembers" output to use the right array.
52020
52021         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
52022
52023         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
52024
52025         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
52026         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
52027         * catgets/gencat.c (read_input_file): Likewise.
52028         * locale/programs/locarchive.c (enlarge_archive): Likewise.
52029
52030         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
52031         variable definition inside #if's controlling its use.
52032
52033         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
52034
52035         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
52036
52037         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
52038
52039         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
52040         unreachable code.
52041
52042         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
52043
52044         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
52045         * configure: Regenerated.
52046
52047         * Makerules: Revert last change.
52048         * elf/Makefile: Likewise.
52049
52050 2011-06-09  Roland McGrath  <roland@hack.frob.com>
52051
52052         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
52053         * elf/Makefile ($(objpfx)librtld.os): Likewise.
52054         (reloc-link): Likewise.
52055
52056 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
52057
52058         * elf/Makefile: Add rules to build pldd.
52059         * elf/pldd.c: New file.
52060         * elf/pldd-xx.c: New file.
52061
52062 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
52063
52064         * version.h: Update for 2.15 development version.
52065
52066 2011-06-07  David S. Miller  <davem@davemloft.net>
52067
52068         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
52069         ifuncs.
52070         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
52071         elf_machine_lazy_rel): Likewise.
52072         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
52073         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
52074         elf_machine_lazy_rel): Likewise.
52075         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
52076         dl_hwcap via passed in argument.
52077         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
52078         Likewise.
52079
52080 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52081
52082         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
52083
52084 2011-06-06  Roland McGrath  <roland@hack.frob.com>
52085
52086         [BZ #12849]
52087         * manual/fdl-1.1.texi: New file, verbatim from:
52088         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
52089         * manual/lgpl-2.1.texi: New file, verbatim from:
52090         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
52091         * manual/Makefile (licenses): New variable, list those new file names.
52092         (texis): Use it.
52093         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
52094
52095         * manual/fdl.texi: File removed.
52096         * manual/lesser.texi: File removed.
52097         * manual/libc.texinfo (Copying, Documentation License):
52098         Use new @include file names, put @appendix directive before @include.
52099
52100 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
52101
52102         [BZ #12841]
52103         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
52104         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
52105         (mq_open): Add __NTH.
52106
52107 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
52108
52109         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52110         Assume Intel Core i3/i5/i7 processor if AVX is available.
52111
52112 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
52113
52114         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
52115         typo.
52116
52117 2011-05-31  Andreas Schwab  <schwab@redhat.com>
52118
52119         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
52120         memory.  Use alloca_account.  Fix memory leak when retrying.
52121
52122 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
52123
52124         * version.h (RELEASE): Bump for 2.14 release.
52125         * include/features.h (__GLIBC_MINOR__): Bump to 14.
52126
52127         * config.make.in (RANLIB): Remove entry.
52128
52129 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
52130
52131         * po/Makefile (po-sed-cmd): Add ksh to extensions.
52132         (libc.pot): Work around missing support for .ksh extension in xgettext.
52133
52134         [BZ #12684]
52135         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
52136         if both request failed.
52137         (send_dg): In case of server errors clear resplen or *resplen2.
52138
52139         [BZ #12454]
52140         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
52141         when there are multiple maps.
52142         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
52143         (_dl_fini): Remove test here.
52144
52145         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
52146
52147 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
52148
52149         [BZ #12350]
52150         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
52151         bit from old_res_options.
52152         (gaih_inet): Likewise.
52153
52154         [BZ #11099]
52155         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
52156         as signed.
52157
52158         * resolv/res_init.c (res_setoptions): Make the code more compact.
52159
52160         [BZ #11558]
52161         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
52162         set RES_USEVC.
52163
52164         [BZ #11634]
52165         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
52166
52167         * malloc/malloc.h: Mark malloc hook variables as deprecated.
52168
52169         [BZ #11781]
52170         * malloc/malloc.h: Declare malloc hook variables as volatile.
52171
52172         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
52173         in last patch.
52174
52175         [BZ #11799]
52176         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
52177         raise in the comment.
52178         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
52179         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
52180         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
52181
52182 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
52183
52184         [BZ #12811]
52185         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
52186         grow the buffers more if it already has to be sufficient.
52187         (build_wcs_upper_buffer): Likewise.
52188         * posix/regexec.c (check_matching): Likewise.
52189         (clean_state_log_if_needed): Likewise.
52190         (extend_buffers): Don't enlarge buffers beyond size of the input
52191         buffer.
52192         Patches mostly by Emil Wojak <emil@wojak.eu>.
52193         * posix/bug-regex32.c: New file.
52194         * posix/Makefile (tests): Add bug-regex32.
52195
52196         * locale/findlocale.c (_nl_find_locale): Return right away if
52197         _nl_explode_name failed.
52198         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
52199
52200         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
52201
52202         * debug/xtrace.sh: Unify messages.
52203         * malloc/memusage.sh: Likewise.
52204
52205         [BZ #12813]
52206         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
52207         time symbol from vDSO.  Substitute with vsyscall if not available.
52208         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
52209         __vdso_time.
52210
52211         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
52212         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
52213         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
52214         Add sendmmsg and internal_sendmmsg.
52215         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
52216         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
52217         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
52218
52219         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
52220         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
52221         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
52222
52223 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
52224
52225         [BZ #12813]
52226         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
52227         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
52228         available.
52229         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
52230         __vdso_getcpu.
52231
52232         [BZ #12814]
52233         * iconvdata/Makefile (tests): Add bug-iconv9.
52234         * iconvdata/bug-iconv9.c: New file.
52235
52236 2011-05-27  Andreas Schwab  <schwab@redhat.com>
52237
52238         [BZ #12814]
52239         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
52240
52241 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
52242
52243         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
52244         (struct user_regs_struct): Change intcs field back to cs.
52245
52246 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
52247
52248         * po/ja.po: Update from translation team.
52249
52250 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
52251
52252         [BZ #12795]
52253         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
52254         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
52255
52256 2011-05-20  Andreas Schwab  <schwab@redhat.com>
52257
52258         * stdlib/longlong.h: Update from GCC.
52259
52260 2011-05-23  Andreas Schwab  <schwab@redhat.com>
52261
52262         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
52263         parameter name.
52264         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
52265         Add parameter name.
52266         (__sysconf): Pass it down.
52267
52268 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
52269
52270         [BZ #12671]
52271         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
52272         some situations.
52273         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
52274         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
52275         add in in __libc_use_alloca calls.  Adjust callers.
52276         (glob): Use malloc in some situations.
52277
52278         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
52279         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
52280         pltexit.
52281
52282 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
52283
52284         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
52285         and CLOCK_BOOTTIME_ALARM.
52286
52287         [BZ #12782]
52288         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
52289         is returned.
52290
52291         * string/_strerror.c (__strerror_r): Print negative errors as signed
52292         numbers.
52293
52294         [BZ #12777]
52295         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
52296         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
52297         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
52298
52299         * configure.in: Fix typo in redirection and correct removal of test
52300         files in two cases.
52301
52302         [BZ #12788]
52303         * locale/setlocale.c (new_composite_name): Fix test to check for
52304         identical name of all categories.
52305
52306         [BZ #12792]
52307         * libio/filedoalloc.c (local_isatty): New function.
52308         (_IO_file_doallocate): Use local_isatty.
52309         * stdio-common/perror.c (perror): In case a new stream is used
52310         forward the stream error.
52311         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
52312         error flag.
52313
52314 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
52315
52316         [BZ #11869]
52317         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
52318         alloca.
52319         * include/alloca.h (extend_alloca_account): Define.
52320
52321         [BZ #11857]
52322         * posix/regex.h: Fix comments with documentation of user-accessible
52323         fields after compilation and describe correct free'ing of pattern
52324         after re_compile_pattern.
52325         Patch by Reuben Thomas <rrt@sc3d.org>.
52326
52327 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
52328
52329         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
52330         and -mno-altivec to prevent the compiler from using Altivec and/or
52331         VSX instructions when the corresponding registers are not available.
52332
52333 2011-05-19  Andreas Schwab  <schwab@redhat.com>
52334
52335         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
52336
52337 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
52338
52339         * libio/freopen.c (freopen): Use __dup2, not dup2.
52340         * libio/freopen64.c (freopen64): Likewise.
52341
52342 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
52343
52344         [BZ #12775]
52345         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
52346         * math/Makefile (tests): Add test-powl.
52347         (CFLAGS-test-powl.c): Define.
52348         * math/test-powl.c: New file.
52349
52350 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
52351
52352         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
52353
52354 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
52355
52356         [BZ #11837]
52357         * iconvdata/gb18030.c: Update to GB18020-2005.
52358
52359 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
52360
52361         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
52362         RE_SYNTAX_POSIX_AWK): Update to match recent development.
52363         Patch by Aharon Robbins <arnold@skeeve.com>.
52364
52365         [BZ #11892]
52366         * stdlib/putenv.c (putenv): Don't always create copy of the variable
52367         on the stack.
52368
52369         [BZ #11895]
52370         * misc/pselect.c (__pselect): Handle timeout value errors hidden
52371         through underflows.
52372
52373         [BZ #12766]
52374         * misc/error.c (error_at_line): Ensure file_name and old_file_name
52375         point to strings before performing equality test for error_one_per_line
52376         mode.
52377
52378         [BZ #11697]
52379         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
52380
52381         [BZ #11820]
52382         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
52383         (struct user_fpregs_struct): Avoid __uint*_t types.
52384
52385         [BZ #6420]
52386         * malloc/mtrace.c (tr_where): Add additional parameter to point to
52387         symbol info.  Use it instead of calling _dl_addr locally.
52388         (lock_and_info): New function.
52389         (tr_freehook): Call lock_and_info and pass symbol info as additional
52390         parameter to tr_where.
52391         (tr_mallochook): Likewise.
52392         (tr_reallochook): Likewise.
52393         (tr_memalignhook): Likewise.
52394
52395         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
52396         used and couldn't be at all thread-safe.
52397
52398 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
52399
52400         * libio/freopen.c (freopen): Don't close old file descriptor
52401         before the new one is opened.  Instead dup the new file descriptor
52402         to the old one after the new stream is created.
52403         * libio/freopen64.c (freopen64): Likewise.
52404         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
52405         * libio/fileops.c (_IO_new_file_close_it): Handle new
52406         _IO_FLAGS2_NOCLOSE flag.
52407         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
52408         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
52409         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
52410         _IO_FLAGS2_NOCLOSE flag.
52411         * include/unistd.h: Add hidden_proto for dup3.
52412         Define __have_dup3.
52413         * io/dup3.c: Define hidden symbol.
52414         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
52415
52416         [BZ #7101]
52417         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
52418         when an incomplete long option is used.
52419         * posix/tst-getopt_long1.c: New file.
52420         * posix/Makefile (tests): Add tst-getopt_long1.
52421
52422         [BZ #10138]
52423         * scripts/config.guess: Update from autoconf-2.68.
52424         * scripts/config.sub: Likewise.
52425
52426         [BZ #10157]
52427         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
52428         tests into ...
52429         (has_cpuclock): ...this.  New function.
52430         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
52431         macro here based on has_cpuclock code.
52432
52433         [BZ #10149]
52434         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
52435         First byte (not low byte) is now always NUL.
52436         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
52437
52438         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
52439         Use non-cancelable interfaces.
52440
52441         [BZ #9809]
52442         * locale/iso-639.def: Add entry for Sorani.
52443
52444         [BZ #11901]
52445         * include/stdlib.h: Move include protection to the right place.
52446         Define abort_msg_s.  Declare __abort_msg with it.
52447         * stdlib/abort.c (__abort_msg): Adjust type.
52448         * assert/assert.c (__assert_fail_base): New function.  Majority
52449         of code from __assert_fail.  Allocate memory for __abort_msg with
52450         mmap.
52451         (__assert_fail): Now call __assert_fail_base.
52452         * assert/assert-perr.c: Remove bulk of implementation.  Use
52453         __assert_fail_base.
52454         * include/assert.hL Declare __assert_fail_base.
52455         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
52456         mmap.
52457         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
52458
52459 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
52460
52461         [BZ #11952]
52462         [BZ #12453]
52463         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
52464         until all modules are registered in the DTV.
52465         * elf/Makefile: Add rules to build and run tst-tls19.
52466         * elf/tst-tls19.c: New file.
52467         * elf/tst-tls19mod1.c: New file.
52468         * elf/tst-tls19mod2.c: New file.
52469         * elf/tst-tls19mod3.c: New file.
52470         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
52471
52472         [BZ #12083]
52473         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
52474         correctly.
52475
52476         [BZ #12601]
52477         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
52478         two-byte sequence errors.
52479         * iconvdata/Makefile (tests): Add bug-iconv8.
52480         * iconvdata/bug-iconv8.c: New file.
52481
52482         [BZ #12626]
52483         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
52484         buf2 definition.
52485
52486         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
52487
52488         [BZ #12432]
52489         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
52490         (dummy_getcfa): New function.
52491         (init): Get _Unwind_GetCFA address, use dummy if not found.
52492         (backtrace_helper): In recursion check, also check whether CFA changes.
52493         (__backtrace): Completely initialize arg.
52494
52495         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
52496         storing incomplete byte sequence in state object.  Avoid testing for
52497         guaranteed too small input if we know there is enough data available.
52498
52499 2011-05-11  Andreas Schwab  <schwab@redhat.com>
52500
52501         * Makeconfig (+link-pie): Indent.
52502         * Rules (binaries-pie): Define if $(have-fpie) and
52503         $(build-shared).
52504         (binaries-shared): Also filter out $(binaries-pie).
52505         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
52506         * nscd/Makefile (others-pie): Add nscd.
52507         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
52508         ($(objpfx)nscd): Remove command override.
52509         * login/Makefile (others-pie): Add pt_chown.
52510         ($(objpfx)pt_chown): Remove command override.
52511         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
52512         remove command overrides.
52513
52514 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
52515
52516         * libio/tst_putwc.c: Fix error messages.
52517
52518         [BZ #12724]
52519         * libio/fileops.c (_IO_new_file_close_it): Always flush when
52520         currently writing and seek to current position when not.
52521         * libio/Makefile (tests): Add bug-fclose1.
52522         * libio/bug-fclose1.c: New file.
52523
52524 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
52525
52526         [BZ #12511]
52527         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
52528         don't set DF_1_NODELETE here.
52529         (do_lookup_x): When entering new entry test for copy relocation
52530         and if necessary set DF_1_NODELETE flag.
52531         * elf/tst-unique4.cc: New file.
52532         * elf/tst-unique4.h: New file.
52533         * elf/tst-unique4lib.cc: New file.
52534         * elf/Makefile: Add rules to build and run tst-unique4.
52535         Patch by Piotr Bury <pbury@goahead.com>.
52536
52537 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
52538
52539         [BZ #12052]
52540         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
52541
52542         [BZ #12625]
52543         * misc/mntent_r.c (addmntent): Flush the stream after the output
52544
52545         [BZ #12393]
52546         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
52547         (is_trusted_path_normalize): Skip initial colon.  Append slash
52548         to empty buffer.  Duplicate is_trusted_path code but allow
52549         constructed patch to be prefix.
52550         (is_dst): Allow $ORIGIN followed by /.
52551         (_dl_dst_substitute): Correct clearing of check_for_trusted.
52552         Correct testing of result of is_trusted_path_normalize
52553         (decompose_rpath): Fix warning.
52554
52555 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
52556
52557         [BZ #11257]
52558         * grp/initgroups.c (internal_getgrouplist): When we found the service
52559         list through the initgroups entry in nsswitch.conf do not always
52560         continue on a successful lookup.  Don't always use the
52561         __nss_group_database value if it is set.
52562         * nss/nsswitch.conf (initgroups): Change action for successful db
52563         lookup to continue for compatibility.
52564
52565 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
52566
52567         [BZ #11532]
52568         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
52569         and CP774 modules.
52570         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
52571         and CP774 modules.
52572         * iconvdata/tst-tables.sh: Likewise.
52573         * iconvdata/cp770.c: New file.
52574         * iconvdata/cp771.c: New file.
52575         * iconvdata/cp772.c: New file.
52576         * iconvdata/cp773.c: New file.
52577         * iconvdata/cp774.c: New file.
52578         * iconvdata/testdata/CP770: New file.
52579         * iconvdata/testdata/CP770..UTF8: New file.
52580         * iconvdata/testdata/CP771: New file.
52581         * iconvdata/testdata/CP771..UTF8: New file.
52582         * iconvdata/testdata/CP772: New file.
52583         * iconvdata/testdata/CP772..UTF8: New file.
52584         * iconvdata/testdata/CP773: New file.
52585         * iconvdata/testdata/CP773..UTF8: New file.
52586         * iconvdata/testdata/CP774: New file.
52587         * iconvdata/testdata/CP774..UTF8: New file.
52588
52589         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
52590         END CHARMAP line.
52591         * iconvdata/gen-8bit-gap.sh: Likewise.
52592         * iconvdata/gen-8bit.sh: Likewise.
52593
52594         * locale/iso-639.def: Add ary entry.
52595
52596         [BZ #11258]
52597         * locale/C-translit.h.in: Add U20A1 transliteration.
52598
52599         [BZ #12178]
52600         * locale/iso-639.def: Add wae entry.
52601         Patch by Kevin Bortis <bortis@translate-wae.ch>.
52602
52603         [BZ #12545]
52604         * locale/programs/localedef.c (construct_output_path): Use ssize_t
52605         for n.
52606
52607         [BZ #12711]
52608         * locale/C-translit.h.in: Add entry for U20B9.
52609         Patch by pravin.d.s@gmail.com.
52610
52611 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
52612
52613         [BZ #12713]
52614         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
52615         ENAMETOOLONG use generic getcwd.
52616         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
52617         in rtld.  Use *stat64.
52618         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
52619         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
52620         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
52621         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
52622         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
52623         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
52624         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
52625         __fstatat64 macros.
52626         * include/dirent.h: Add libc_hidden_proto for rewinddir.
52627         * dirent/rewinddir.c: Add libc_hidden_def.
52628         * sysdeps/mach/hurd/rewinddir.c: Likewise.
52629         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
52630
52631         * include/dirent.h (__alloc_dir): Add flags parameter.
52632         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
52633         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
52634         __alloc_dir.
52635         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
52636         from fdopendir if O_CLOEXEC is already set.
52637
52638 2011-03-15  Alan Modra  <amodra@gmail.com>
52639
52640         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
52641         l_tls_firstbyte_offset non-zero.  Save padding offset in
52642         l_tls_firstbyte_offset for later use.
52643         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
52644         freeing static tls block.
52645
52646 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
52647
52648         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
52649         where #ifdef was intended.  The intent is to prevent ARG_MAX from
52650         being defined by the kernel headers.
52651
52652 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
52653
52654         [BZ #12734]
52655         * resolv/resolv.h: Define RES_NOTLDQUERY.
52656         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
52657         no-tld-query and set RES_NOTLDQUERY.
52658         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
52659         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
52660         modern BIND to search name as TLD unless forbidden.
52661
52662 2011-05-07  Petr Baudis  <pasky@suse.cz>
52663             Ulrich Drepper  <drepper@gmail.com>
52664
52665         [BZ #12393]
52666         * elf/dl-load.c (fillin_rpath): Move trusted path check...
52667         (is_trusted_path): ...to here.
52668         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
52669         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
52670         using is_trusted_path_normalize() in setuid scripts.
52671
52672 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
52673
52674         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
52675         __BEGIN/__END_DECLS.
52676
52677 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
52678
52679         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
52680         NSS_STATUS_NOTFOUND if no record was found.
52681
52682 2011-05-05  Andreas Schwab  <schwab@redhat.com>
52683
52684         * sunrpc/Makefile (headers): Add rpc/netdb.h.
52685         (headers-not-in-tirpc): Remove rpc/netdb.h
52686         * resolv/netdb.h: Revert last change.
52687
52688 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
52689
52690         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
52691         circular dependency between libgcc.a and libc.a.
52692
52693 2011-05-05  Andreas Schwab  <schwab@redhat.com>
52694
52695         * resolv/netdb.h: Don't include <rpc/netdb.h>.
52696         * nis/Makefile: Don't install rpcsvc/*.
52697         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
52698         instead of <rpc/types.h>.
52699         (MAXHOSTNAMELEN): Define.
52700
52701 2011-05-03  Andreas Schwab  <schwab@redhat.com>
52702
52703         * elf/ldconfig.c (add_dir): Don't crash on empty path.
52704
52705 2011-04-28  Maciej Babinski  <mbabinski@google.com>
52706
52707         [BZ #12714]
52708         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
52709         gethostbyname4_r when IPv6 results are possible.
52710
52711 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
52712
52713         [BZ #12723]
52714         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
52715         _PC_PIPE_BUF handling.
52716
52717 2011-04-30  Bruno Haible  <bruno@clisp.org>
52718
52719         [BZ #12717]
52720         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
52721         * resolv/netdb.h (getnameinfo): Change type of flags parameter
52722         to 'int'.
52723         * inet/getnameinfo.c (getnameinfo): Likewise.
52724
52725 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
52726
52727         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
52728         to groups setting in database lookup.
52729         * nss/nsswitch.conf: Add initgroups entry.
52730
52731 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
52732
52733         [BZ #12685]
52734         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
52735         mode string.
52736         Patch by Eric Blake <eblake@redhat.com>.
52737
52738 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
52739
52740         * sunrpc/Makefile (need-export-routines): Add svc_run.
52741         (routines): Remove svc_run.
52742         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
52743         * sunrpc/clnt_perr.c (clnt_perrno): Export.
52744         * sunrpc/svc_run.c (svc_run): Likewise.
52745         * sunrpc/svc_udp.c (svcudp_create): Likewise.
52746
52747 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
52748
52749         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
52750         problem in reallocation in last patch.
52751
52752 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
52753
52754         * sunrpc/Makefile: Move inclusion of Rules.
52755
52756 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
52757
52758         * nss/nss_files/files-initgroups.c: New file.
52759         * nss/Makefile (libnss_files-routines): Add files-initgroups.
52760         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
52761         _nss_files_initgroups_dyn.
52762
52763 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
52764
52765         * elf/elf.h (R_ARM_IRELATIVE): Define.
52766
52767 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
52768
52769         * po/ru.po: Update from translation team.
52770
52771 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
52772
52773         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
52774         dependencies.
52775
52776 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
52777
52778         [BZ #12653]
52779         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
52780         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
52781         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
52782         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
52783         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
52784
52785 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
52786
52787         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
52788         differing bytes.
52789         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
52790         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
52791         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
52792
52793 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
52794
52795         [BZ #12420]
52796         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
52797         storing it.
52798         * stdlib/bug-getcontext.c: New file.
52799         * stdlib/Makefile: Add rules to build and run bug-getcontext.
52800
52801 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52802
52803         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
52804         instructions into .machine "z9-109".
52805         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
52806         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
52807
52808 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52809
52810         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
52811         between environment variables and auxiliary vector.
52812
52813 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
52814
52815         * Makefile: Add rules to build linkobj/libc.so.
52816         * include/libc-symbols.h: Define libc_hidden_nolink.
52817         * include/rpc/auth.h: Mark functions which are to be hidden.
52818         * include/rpc/auth_des.h: Likewise.
52819         * include/rpc/auth_unix.h: Likewise.
52820         * include/rpc/clnt.h: Likewise.
52821         * include/rpc/des_crypt.h: Likewise.
52822         * include/rpc/key_prot.h: Likewise.
52823         * include/rpc/pmap_clnt.h: Likewise.
52824         * include/rpc/pmap_prot.h: Likewise.
52825         * include/rpc/pmap_rmt.h: Likewise.
52826         * include/rpc/rpc_msg.h: Likewise.
52827         * include/rpc/svc.h: Likewise.
52828         * include/rpc/svc_auth.h: Likewise.
52829         * include/rpc/xdr.h: Likewise.
52830         * nis/Makefile: Link all DSOs against linkobj/libc.so.
52831         * nss/Makefile: Likewise.
52832         * sunrpc/Makefile: Don't install headers.  Build library with normal
52833         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
52834         * sunrpc/auth_des.c: Hide exported symbols by default, export some
52835         for the compat linking library.  Remove use of INTDEF/INTUSE.
52836         * sunrpc/auth_none.c: Likewise.
52837         * sunrpc/auth_unix.c: Likewise.
52838         * sunrpc/authdes_prot.c: Likewise.
52839         * sunrpc/authuxprot.c: Likewise.
52840         * sunrpc/clnt_gen.c: Likewise.
52841         * sunrpc/clnt_perr.c: Likewise.
52842         * sunrpc/clnt_raw.c: Likewise.
52843         * sunrpc/clnt_simp.c: Likewise.
52844         * sunrpc/clnt_tcp.c: Likewise.
52845         * sunrpc/clnt_udp.c: Likewise.
52846         * sunrpc/clnt_unix.c: Likewise.
52847         * sunrpc/des_crypt.c: Likewise.
52848         * sunrpc/des_soft.c: Likewise.
52849         * sunrpc/get_myaddr.c: Likewise.
52850         * sunrpc/key_call.c: Likewise.
52851         * sunrpc/key_prot.c: Likewise.
52852         * sunrpc/netname.c: Likewise.
52853         * sunrpc/pm_getmaps.c: Likewise.
52854         * sunrpc/pm_getport.c: Likewise.
52855         * sunrpc/pmap_clnt.c: Likewise.
52856         * sunrpc/pmap_prot.c: Likewise.
52857         * sunrpc/pmap_prot2.c: Likewise.
52858         * sunrpc/pmap_rmt.c: Likewise.
52859         * sunrpc/publickey.c: Likewise.
52860         * sunrpc/rpc_cmsg.c: Likewise.
52861         * sunrpc/rpc_common.c: Likewise.
52862         * sunrpc/rpc_dtable.c: Likewise.
52863         * sunrpc/rpc_prot.c: Likewise.
52864         * sunrpc/rpc_thread.c: Likewise.
52865         * sunrpc/rtime.c: Likewise.
52866         * sunrpc/svc.c: Likewise.
52867         * sunrpc/svc_auth.c: Likewise.
52868         * sunrpc/svc_authux.c: Likewise.
52869         * sunrpc/svc_raw.c: Likewise.
52870         * sunrpc/svc_run.c: Likewise.
52871         * sunrpc/svc_simple.c: Likewise.
52872         * sunrpc/svc_tcp.c: Likewise.
52873         * sunrpc/svc_udp.c: Likewise.
52874         * sunrpc/svc_unix.c: Likewise.
52875         * sunrpc/svcauth_des.c: Likewise.
52876         * sunrpc/xcrypt.c: Likewise.
52877         * sunrpc/xdr.c: Likewise.
52878         * sunrpc/xdr_array.c: Likewise.
52879         * sunrpc/xdr_float.c: Likewise.
52880         * sunrpc/xdr_intXX_t.c: Likewise.
52881         * sunrpc/xdr_mem.c: Likewise.
52882         * sunrpc/xdr_rec.c: Likewise.
52883         * sunrpc/xdr_ref.c: Likewise.
52884         * sunrpc/xdr_sizeof.c: Likewise.
52885         * sunrpc/xdr_stdio.c: Likewise.
52886
52887 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
52888
52889         [BZ #12650]
52890         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
52891         * sysdeps/ia64/dl-tls.h: Likewise.
52892         * sysdeps/powerpc/dl-tls.h: Likewise.
52893         * sysdeps/s390/dl-tls.h: Likewise.
52894         * sysdeps/sh/dl-tls.h: Likewise.
52895         * sysdeps/sparc/dl-tls.h: Likewise.
52896         * sysdeps/x86_64/dl-tls.h: Likewise.
52897         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
52898
52899 2011-03-14  Andreas Schwab  <schwab@redhat.com>
52900
52901         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
52902         rpath element also skip the following colon.
52903         (expand_dynamic_string_token): Add is_path parameter and pass
52904         down to DL_DST_REQUIRED and _dl_dst_substitute.
52905         (decompose_rpath): Call expand_dynamic_string_token with
52906         non-zero is_path.  Ignore empty rpaths.
52907         (_dl_map_object_from_fd): Call expand_dynamic_string_token
52908         with zero is_path.
52909
52910 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
52911
52912         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
52913         Make cancelable.
52914
52915 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
52916
52917         [BZ #12655]
52918         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
52919         Patch by Filipe David Manana <fdmanana@apache.org>.
52920
52921 2011-04-07  Andreas Schwab  <schwab@redhat.com>
52922
52923         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
52924         Maintain aligned stack.
52925         (CHECK_RSP): Remove unused macro.
52926
52927 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
52928
52929         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
52930         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
52931
52932 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
52933
52934         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
52935
52936         * include/features.h: Mention __USE_XOPEN2K8 in comment.
52937
52938 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
52939
52940         [BZ #12518]
52941         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
52942         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
52943         * sysdeps/x86_64/memmove.c: New file.
52944         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
52945         (memcpy): Renamed to ...
52946         (__new_memcpy): This.
52947         (memcpy): Provide GLIBC_2_14 memcpy.
52948         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
52949         (memcpy): Provide GLIBC_2_2_5 memcpy.
52950
52951 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
52952
52953         [BZ #12631]
52954         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
52955
52956 2011-03-30  Andreas Schwab  <schwab@redhat.com>
52957
52958         * misc/syncfs.c: New file.
52959         * misc/Makefile (routines): Add syncfs.
52960         * posix/unistd.h: Declare syncfs.
52961         * sysdeps/unix/syscalls.list: Add syncfs.
52962
52963 2011-04-01  Andreas Schwab  <schwab@redhat.com>
52964
52965         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
52966         open_by_handle_at.
52967         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
52968         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
52969         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
52970         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
52971         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
52972         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
52973         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
52974
52975 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
52976
52977         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
52978         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
52979         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
52980         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
52981         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
52982         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
52983         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
52984
52985         * io/Makefile: Compile fallocate.c, fallocate64.c, and
52986         sync_file_range.c with -fexceptions.
52987         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
52988         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
52989         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
52990         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
52991         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
52992         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
52993         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
52994         sync_file_range as cancellation point
52995         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
52996         now a wrapper around __call_sync_file_range with cancellation handling.
52997         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
52998         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
52999         function name to __call_sync_file_range.
53000         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
53001         Add call_sync_file_range.
53002
53003 2011-04-01  Andreas Schwab  <schwab@redhat.com>
53004
53005         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
53006         bits/timex.h.
53007
53008 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
53009
53010         * iconv/iconv.h: Fix typo in comment.
53011         * io/fcntl.h: Likewise.
53012         * libio/stdio.h: Likewise.
53013         * posix/spawn.h: Likewise.
53014         * posix/unistd.h: Likewise.
53015         * stdlib/stdlib.h: Likewise.
53016         * time/time.h: Likewise.
53017         * wcsmbs/wchar.h: Likewise.
53018
53019         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
53020         open_by_handle): Add.
53021         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
53022         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
53023         Augment a few comments.
53024         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
53025         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
53026         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
53027         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
53028         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
53029         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
53030         open_by_handle.
53031
53032         * io/fcntl.h (AT_EMPTY_PATH): Define.
53033
53034 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
53035
53036         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
53037         * sysdeps/unix/sysv/linux/bits/time.h: New file.
53038         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
53039         to...
53040         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
53041         * Versions.def: Add GLIBC_2.14.
53042         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
53043         Export.
53044
53045 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
53046
53047         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
53048         round counter.
53049         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
53050
53051 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
53052
53053         [BZ #12597]
53054         * string/test-strncmp.c (do_page_test): New function.
53055         (check2): Likewise.
53056         (test_main): Call check2.
53057         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
53058
53059 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
53060
53061         [BZ #12587]
53062         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
53063         Handle cache information in CPU leaf 4.
53064         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
53065
53066 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
53067
53068         [BZ #12583]
53069         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
53070         character representation.
53071         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
53072
53073 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
53074
53075         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
53076         END(__isnan) to END(__isnanf) to match function entry point/label
53077         EALIGN(__isnanf,...).
53078
53079 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
53080
53081         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
53082
53083 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
53084
53085         [BZ #12510]
53086         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
53087         copy from the symbol referenced in the relocation to initialize the
53088         used variable.
53089         Patch by Piotr Bury <pbury@goahead.com>.
53090         * elf/Makefile: Add rules to build and tst-unique3.
53091         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
53092         * elf/tst-unique3.cc: New file.
53093         * elf/tst-unique3.h: New file.
53094         * elf/tst-unique3lib.cc: New file.
53095         * elf/tst-unique3lib2.cc: New file.
53096
53097         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
53098
53099 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
53100
53101         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
53102         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
53103         to _start.
53104
53105 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
53106
53107         * elf/dl-load.c (_dl_map_object): If we are looking for the first
53108         to-be-loaded object along a path to loader is ld.so.
53109
53110 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
53111             Ulrich Drepper  <drepper@gmail.com>
53112
53113         * sysdeps/x86_64/memset.S: After aligning destination, code
53114         branches to different locations depending on the value of
53115         misalignment, when multiarch is enabled. Fix this.
53116
53117 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
53118
53119         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
53120         Set _x86_64_preferred_memory_instruction for AMD processsors.
53121         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53122         Set bit_Prefer_SSE_for_memop for AMD processors.
53123
53124 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
53125
53126         * libio/fmemopen.c (fmemopen): Optimize a bit.
53127
53128 2011-03-03  Andreas Schwab  <schwab@redhat.com>
53129
53130         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
53131
53132 2011-03-03  Roland McGrath  <roland@redhat.com>
53133
53134         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
53135
53136 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
53137
53138         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
53139         __bzero_ultra1 instead of __memset_ultra1.
53140
53141 2011-02-23  Andreas Schwab  <schwab@redhat.com>
53142             Ulrich Drepper  <drepper@gmail.com>
53143
53144         [BZ #12509]
53145         * include/link.h (struct link_map): Add l_orig_initfini.
53146         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
53147         returning unsuccessfully.
53148         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
53149         close of a file loaded at startup, restore the original l_initfini
53150         list.
53151         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
53152         list, store the pointer.
53153         * elf/Makefile ($(objpfx)noload-mem): New rule.
53154         (noload-ENV): Define.
53155         (tests): Add $(objpfx)noload-mem.
53156         * elf/noload.c: Include <memcheck.h>.
53157         (main): Call mtrace.  Close all opened handles.
53158
53159 2011-02-17  Andreas Schwab  <schwab@redhat.com>
53160
53161         [BZ #12454]
53162         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
53163         dependencies are missing.
53164
53165 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
53166
53167         Fix __if_freereq crash: Unlike the generic version which uses free,
53168         Hurd needs munmap.
53169         * sysdeps/mach/hurd/ifreq.h: New file.
53170
53171 2011-01-27  Petr Baudis  <pasky@suse.cz>
53172             Ulrich Drepper  <drepper@gmail.com>
53173
53174         [BZ 12445]#
53175         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
53176         to extend_alloca().
53177         * stdio-common/bug23.c: New file.
53178         * stdio-common/Makefile (tests): Add bug23.
53179
53180 2010-09-28  Andreas Schwab  <schwab@redhat.com>
53181             Ulrich Drepper  <drepper@gmail.com>
53182
53183         [BZ #12489]
53184         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
53185         before performing relro protection.  At old place add assertion
53186         to make sure nothing changed.
53187
53188 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
53189             Glauber de Oliveira Costa  <glommer@gmail.com>
53190
53191         * elf/elf.h: Add new ARM TLS relocs.
53192
53193 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
53194
53195         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
53196         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
53197         cast from r3.
53198         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
53199         'tests' variable.
53200         * sysdeps/wordsize-64/tst-writev.c: New file.
53201
53202 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
53203
53204         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
53205         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
53206         insns in _dl_start to prevent a TOC reference before relocs are
53207         resolved.
53208
53209 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
53210
53211         [BZ #12469]
53212         * Makeconfig: Remove RANLIB definition.
53213         * Makerules: Don't use RANLIB.
53214         * aclocal.m4: Remove ranlib test.
53215         * configure.in: No need to check for ranlib.
53216         * elf/rtld-Rules: Don't use RANLIB.
53217
53218 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
53219
53220         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
53221         protection macro.
53222         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
53223         inclusion protection macro.
53224
53225         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
53226         SIGRTMIN and SIGRTMAX and print information in that case only when
53227         SIGRTMIN is defined.
53228
53229 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
53230
53231         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
53232         arginfo fn returning -1.
53233
53234         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
53235         and thousands string is zero terminated.
53236
53237 2011-02-03  Andreas Schwab  <schwab@redhat.com>
53238
53239         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
53240         sysdeps/unix/sysv/linux/bits/socket.h.
53241
53242 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
53243
53244         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
53245         (__CPU_COUNT): Remove old macros.
53246         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
53247         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
53248         (__CPU_ALLOC, __CPU_FREE): Add macros.
53249         (__sched_cpualloc, __sched_cpufree): Add declarations.
53250
53251 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
53252
53253         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
53254         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
53255         * nscd/aicache.c (addhstaiX): Return timeout of added value.
53256         (readdhstai): Return value of addhstaiX call.
53257         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
53258         (addgrbyX): Return value returned by cache_addgr.
53259         (readdgrbyname): Return value returned by addgrbyX.
53260         (readdgrbygid): Likewise.
53261         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
53262         (addpwbyX): Return value returned by cache_addpw.
53263         (readdpwbyname): Return value returned by addhstbyX.
53264         (readdpwbyuid): Likewise.
53265         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
53266         (addservbyX): Return value returned by cache_addserv.
53267         (readdservbyname): Return value returned by addservbyX:
53268         (readdservbyport): Likewise.
53269         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
53270         (addhstbyX): Return value returned by cache_addhst.
53271         (readdhstbyname): Return value returned by addhstbyX.
53272         (readdhstbyaddr): Likewise.
53273         (readdhstbynamev6): Likewise.
53274         (readdhstbyaddrv6): Likewise.
53275         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
53276         (readdinitgroups): Return value returned by addinitgroupsX.
53277         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
53278         (prune_cache): Keep track of timeout value of re-added entries.
53279         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
53280         * nscd/nscd.h: Adjust prototypes of readd* functions.
53281
53282 2011-02-04  Roland McGrath  <roland@redhat.com>
53283
53284         * nis/nis_server.c (nis_servstate): Use the right name for 0.
53285         (nis_stats): Likewise.
53286         * nis/nis_modify.c (nis_modify): Likewise.
53287         * nis/nis_remove.c (nis_remove): Likewise.
53288         * nis/nis_add.c (nis_add): Likewise.
53289
53290         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
53291
53292         * posix/fnmatch_loop.c: Add some consts.
53293
53294         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
53295
53296 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
53297
53298         [BZ #12460]
53299         * config.make.in (config-cflags-novzeroupper): Define.
53300         * configure.in: Substitute libc_cv_cc_novzeroupper.
53301         * elf/Makefile (AVX-CFLAGS): Define.
53302         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
53303         (CFLAGS-tst-auditmod4a.c): Likewise.
53304         (CFLAGS-tst-auditmod4b.c): Likewise.
53305         (CFLAGS-tst-auditmod6b.c): Likewise.
53306         (CFLAGS-tst-auditmod6c.c): Likewise.
53307         (CFLAGS-tst-auditmod7b.c): Likewise.
53308         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
53309
53310 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
53311
53312         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
53313         function to the callback.
53314         Patch partly by Jiri Olsa <jolsa@redhat.com>.
53315
53316 2011-02-02  Andreas Schwab  <schwab@redhat.com>
53317
53318         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
53319         of errno.
53320
53321 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
53322
53323         [BZ #11724]
53324         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
53325         of constructors.
53326         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
53327         of destructors.
53328         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
53329
53330         [BZ #11724]
53331         * elf/Makefile: Add rules to build and run new test.
53332         * elf/tst-initorder.c: New file.
53333         * elf/tst-initorder.exp: New file.
53334         * elf/tst-initordera1.c: New file.
53335         * elf/tst-initordera2.c: New file.
53336         * elf/tst-initordera3.c: New file.
53337         * elf/tst-initordera4.c: New file.
53338         * elf/tst-initorderb1.c: New file.
53339         * elf/tst-initorderb2.c: New file.
53340         * elf/tst-order-a1.c: New file.
53341         * elf/tst-order-a2.c: New file.
53342         * elf/tst-order-a3.c: New file.
53343         * elf/tst-order-a4.c: New file.
53344         * elf/tst-order-b1.c: New file.
53345         * elf/tst-order-b2.c: New file.
53346         * elf/tst-order-main.c: New file.
53347         New test case by George Gensure <werkt0@gmail.com>.
53348
53349 2010-10-01  Andreas Schwab  <schwab@redhat.com>
53350
53351         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
53352         decoding ACE if AI_CANONIDN.
53353
53354 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
53355
53356         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
53357
53358 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
53359
53360         * version.h (RELEASE): Bump for 2.13 release.
53361         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
53362
53363         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
53364
53365         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
53366         MADV_NOHUGEPAGE.
53367         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
53368         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
53369         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
53370         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
53371         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
53372         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
53373
53374         * posix/getconf.c: Update copyright year.
53375         * catgets/gencat.c: Likewise.
53376         * csu/version.c: Likewise.
53377         * debug/catchsegv.sh: Likewise.
53378         * debug/xtrace.sh: Likewise.
53379         * elf/ldconfig.c: Likewise.
53380         * elf/ldd.bash.in: Likewise.
53381         * elf/sprof.c (print_version): Likewise.
53382         * iconv/iconv_prog.c: Likewise.
53383         * iconv/iconvconfig.c: Likewise.
53384         * locale/programs/locale.c: Likewise.
53385         * locale/programs/localedef.c: Likewise.
53386         * malloc/memusage.sh: Likewise.
53387         * malloc/mtrace.pl: Likewise.
53388         * nscd/nscd.c (print_version): Likewise.
53389         * nss/getent.c: Likewise.
53390
53391         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
53392         PF_CAIF, and PF_ALG.
53393         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
53394
53395 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
53396
53397         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
53398         (modules-names): Use them.
53399         (ifunc-test-modules, ifunc-pie-tests): Define.
53400         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
53401         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
53402         (test-extras): Likewise.
53403         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
53404         $(compile-command.c).
53405         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
53406         (all-built-dso): Define.
53407         (check-textrel.out, check-execstack.out): Depend on it.
53408
53409         * configure.in: Don't override --enable-multi-arch.
53410
53411 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
53412
53413         [BZ #6812]
53414         * nscd/hstcache.c (tryagain): Define.
53415         (cache_addhst): Return tryagain not notfound for temporary errors.
53416         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
53417         failed.
53418
53419 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
53420
53421         [BZ #10563]
53422         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
53423         to make the syscall.
53424         * sysdeps/unix/sysv/linux/setgroups.c: New file.
53425
53426         [BZ #12378]
53427         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
53428         and fall back to matching as normal character if the string ends before
53429         the matching ']' is found.  This is what POSIX requires.
53430         * posix/testfnm.c: Adjust test result.
53431         * posix/globtest.sh: Adjust test result.  Add new test.
53432         * posix/tst-fnmatch.input: Likewise.
53433         * posix/tst-fnmatch2.c: Add new test.
53434
53435 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
53436
53437         * elf/Makefile (check-execstack): Revert last change.  Depend on
53438         check-execstack.h.
53439         (check-execstack.h): New target.
53440         (generated): Add check-execstack.h.
53441         * elf/check-execstack.c: Include "check-execstack.h".
53442         (main): Revert last change.
53443         (handle_file): Return zero if GNU_STACK is absent and
53444         DEFAULT_STACK_PERMS doesn't include PF_X.
53445
53446 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
53447
53448         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
53449         in child fails because the descriptor is already closed.
53450         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
53451         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
53452         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
53453
53454         [BZ #12397]
53455         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
53456         syscall.
53457
53458         [BZ #10484]
53459         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
53460         temporary buffer used to handle multi lookups locally.
53461         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
53462
53463 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
53464
53465         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
53466         loader is ld.so.
53467
53468 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
53469
53470         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
53471         alignment for SSE2.
53472
53473 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
53474
53475         [BZ #12394]
53476         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
53477         characters.  When rounding increased number of integer digits recompute
53478         number of groups.
53479         * stdio-common/tst-grouping.c: New file.
53480         * stdio-common/Makefile: Add rules to build and run tst-grouping.
53481
53482 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
53483
53484         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
53485         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
53486
53487         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
53488         void.
53489         * bits/select.h: Likewise.
53490
53491 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
53492
53493         * po/ja.po: Update from translation team.
53494
53495 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
53496
53497         [BZ #11155]
53498         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
53499         implementation just like for lxstat, fxstatat, et al.
53500
53501 2010-12-27  Jim Meyering  <meyering@redhat.com>
53502
53503         [BZ #12348]
53504         * posix/regexec.c (build_trtable): Return failure indication upon
53505         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
53506
53507 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
53508
53509         [BZ #12201]
53510         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
53511         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
53512         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
53513         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
53514
53515         [BZ #12207]
53516         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
53517
53518         [BZ #12204]
53519         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
53520         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
53521
53522 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
53523
53524         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
53525         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
53526         script has SORT_BY_INIT_PRIORITY.
53527         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
53528         NO_CTORS_DTORS_SECTIONS is defined.
53529         * elf/soinit.c: Likewise.
53530         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
53531         NO_CTORS_DTORS_SECTIONS is defined.
53532         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
53533         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
53534         * sysdeps/sh/init-first.c: Likewise.
53535         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
53536
53537 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
53538
53539         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
53540         always use the slow path.
53541
53542 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
53543
53544         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
53545         similar rule which adds the sysdep directories to the header search in
53546         order to pick up the correct platform stackinfo.h.
53547         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
53548         perform test if it is, otherwise return successfully without testing.
53549         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
53550         DEFAULT_STACK_PERMS define in stackinfo.h.
53551         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
53552         defined in stackinfo.h.
53553         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
53554         DEFAULT_STACK_PERMS defined in stackinfo.h.
53555         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
53556         * sysdeps/ia64/stackinfo.h: Likewise.
53557         * sysdeps/s390/stackinfo.h: Likewise.
53558         * sysdeps/sh/stackinfo.h: Likewise.
53559         * sysdeps/sparc/stackinfo.h: Likewise.
53560         * sysdeps/x86_64/stackinfo.h: Likewise.
53561         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
53562         PF_X for powerpc64.  Retain PF_X for powerpc32.
53563
53564 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
53565
53566         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
53567         accurately.
53568         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
53569         GETDENTS_64BIT_ALIGNED.
53570
53571 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
53572
53573         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
53574
53575 2010-12-10  Andreas Schwab  <schwab@redhat.com>
53576
53577         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
53578         _GNU_SOURCE.
53579
53580         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
53581         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
53582         Remove __restrict.
53583         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
53584         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
53585
53586 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
53587
53588         [BZ #11655]
53589         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
53590         are initialized.
53591
53592 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
53593
53594         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
53595
53596 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
53597
53598         * po/it.po: Update from translation team.
53599
53600 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
53601
53602         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
53603         unused codes.
53604
53605 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
53606
53607         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
53608
53609 2010-11-24  Andreas Schwab  <schwab@redhat.com>
53610
53611         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
53612         specially.
53613         (gaih_getanswer_slice): Likewise.
53614
53615 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
53616
53617         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
53618
53619 2010-05-31  Petr Baudis  <pasky@suse.cz>
53620
53621         [BZ #11149]
53622         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
53623         silently even in the chroot mode.
53624
53625 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
53626
53627         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
53628         last patch a bit.  Pretty printing
53629
53630 2010-05-31  Petr Baudis <pasky@suse.cz>
53631
53632         [BZ #10085]
53633         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
53634         initialization of skip_initgroups_dyn.
53635
53636 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
53637
53638         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
53639         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
53640
53641 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
53642
53643         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
53644
53645 2010-11-11  Andreas Schwab  <schwab@redhat.com>
53646
53647         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
53648         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
53649         (tst-fnmatch-ENV): Set MALLOC_TRACE.
53650         ($(objpfx)tst-fnmatch-mem): New rule.
53651         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
53652         * posix/tst-fnmatch.c (main): Call mtrace.
53653
53654 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
53655
53656         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53657         Support Intel processor model 6 and model 0x2c.
53658
53659 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
53660
53661         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
53662           signed comparison.
53663
53664 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
53665
53666         [BZ #12205]
53667         * string/test-strncasecmp.c (check_result): New function.
53668         (do_one_test): Use it.
53669         (check1): New function.
53670         (test_main): Use it.
53671         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
53672         Support strcasecmp and strncasecmp.
53673
53674 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
53675
53676         [BZ #12194]
53677         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
53678         * sysdeps/x86_64/bits/byteswap.h: Likewise.
53679
53680 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
53681
53682         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
53683         IFUNC support.
53684         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
53685         memset-x86-64.
53686         * sysdeps/x86_64/multiarch/bzero.S: New file.
53687         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
53688         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
53689         * sysdeps/x86_64/multiarch/memset.S: New file.
53690         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
53691         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53692         Set bit_Prefer_SSE_for_memop for Intel processors.
53693         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
53694         Define.
53695         (index_Prefer_SSE_for_memop): Define.
53696         (HAS_PREFER_SSE_FOR_MEMOP): Define.
53697
53698 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
53699
53700         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
53701         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
53702
53703 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
53704
53705         [BZ #12191]
53706         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
53707         (__x86_64_raw_data_cache_size_half): Likewise.
53708         (__x86_64_raw_shared_cache_size): Likewise.
53709         (__x86_64_raw_shared_cache_size_half): Likewise.
53710
53711         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
53712         (__x86_64_raw_data_cache_size_half): Likewise.
53713         (__x86_64_raw_shared_cache_size): Likewise.
53714         (__x86_64_raw_shared_cache_size_half): Likewise.
53715         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
53716         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
53717         and __x86_64_raw_shared_cache_size_half.  Round
53718         __x86_64_data_cache_size_half, __x86_64_data_cache_size
53719         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
53720         to multiple of 256 bytes.
53721
53722 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
53723
53724         [BZ #12167]
53725         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
53726         of inacessible symlinks.  Verify result of symlink before returning it.
53727         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
53728         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
53729
53730 2010-10-28  Erich Ritz  <erichritz@gmail.com>
53731
53732         * math/math.h (isinf): Fix typo in comment.
53733
53734 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
53735
53736         * po/da.po: Update from translation team.
53737
53738 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
53739
53740         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
53741         is added to the list.
53742
53743 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53744             Ulrich Drepper  <drepper@gmail.com>
53745
53746         * elf/dl-object.c (_dl_new_object): Don't append the new object to
53747         the global list here.  Move code to...
53748         (_dl_add_to_namespace_list): ...here.  New function.
53749         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
53750         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
53751         * elf/dl-load.c (lose): Don't remove the element from the list.
53752         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
53753         (_dl_map_object): Likewise.
53754
53755 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
53756
53757         [BZ #12159]
53758         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
53759         into all bytes of SSE register.
53760         Patch by Richard Li <richardpku@gmail.com>.
53761
53762 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
53763
53764         [BZ #12140]
53765         * malloc/malloc.c (_int_free): Fill correct number of bytes when
53766         perturbing.
53767
53768 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
53769
53770         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
53771         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
53772         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
53773         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
53774         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
53775         submachine.
53776         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
53777
53778 2010-10-22  Andreas Schwab  <schwab@redhat.com>
53779
53780         * include/dlfcn.h (__RTLD_SECURE): Define.
53781         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
53782         mode & __RTLD_SECURE instead.
53783         (open_path): Rename preloaded parameter to secure.
53784         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
53785         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
53786         * elf/dl-deps.c (openaux): Likewise.
53787         * elf/rtld.c (struct map_args): Remove is_preloaded.
53788         (map_doit): Don't use it.
53789         (dl_main): Likewise.
53790         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
53791         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
53792
53793 2010-09-09  Andreas Schwab  <schwab@redhat.com>
53794
53795         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
53796         (sysd-rules-targets): Remove duplicates.
53797         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
53798         rtld-%.$o dependency.
53799
53800 2010-10-18  Andreas Schwab  <schwab@redhat.com>
53801
53802         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
53803         _dl_map_object do it.
53804
53805 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
53806
53807         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
53808         fast fma builtins, define the macros in the C99 standard.
53809         (FP_FAST_FMAF): Likewise.
53810         (FP_FAST_FMAL): Likewise.
53811         * sysdeps/x86_64/bits/mathdef.h: Likewise.
53812
53813         * bits/mathdef.h: Update copyright year.
53814         * sysdeps/powerpc/bits/mathdef.h: Likewise.
53815
53816 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
53817
53818         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
53819         builtins, define the macros in the C99 standard.
53820         (FP_FAST_FMAF): Likewise.
53821         (FP_FAST_FMAL): Likewise.
53822         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
53823         multiply/add.
53824         (FP_FAST_FMAF): Likewise.
53825
53826 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
53827
53828         [BZ #3268]
53829         * math/libm-test.inc (fma_test): Some new testcases.
53830         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
53831         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
53832         y and infinite z.  Do multiplication by C already in long double.
53833         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
53834         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
53835         y and infinite z.  Do bitwise or of inexact bit into u.d.
53836         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
53837         * sysdeps/i386/fpu/s_fmaf.S: Removed.
53838         * sysdeps/i386/fpu/s_fma.S: Removed.
53839         * sysdeps/i386/fpu/s_fmal.S: Removed.
53840
53841 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
53842
53843         [BZ #3268]
53844         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
53845         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
53846         computation is not scheduled after fetestexcept.  Fix value
53847         of minimum denormal long double.
53848
53849 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
53850
53851         [BZ #3268]
53852         * math/libm-test.inc (fma_test): Add some more tests.
53853         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
53854         correctly.
53855
53856 2010-10-15  Andreas Schwab  <schwab@redhat.com>
53857
53858         * scripts/data/localplt-s390-linux-gnu.data: New file.
53859         * scripts/data/localplt-s390x-linux-gnu.data: New file.
53860
53861 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
53862
53863         [BZ #3268]
53864         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
53865         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
53866         instead of dbl-64.
53867         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
53868         inlines.
53869         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
53870         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
53871         if one of x and y is very large and the other is subnormal.
53872         * sysdeps/s390/fpu/s_fmaf.c: New file.
53873         * sysdeps/s390/fpu/s_fma.c: New file.
53874         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
53875         * sysdeps/powerpc/fpu/s_fma.S: New file.
53876         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
53877         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
53878         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
53879
53880 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
53881
53882         [BZ #3268]
53883         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
53884         fma tests.
53885         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
53886         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
53887         * sysdeps/i386/i686/multiarch/s_fma.c: Include
53888         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
53889         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
53890         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
53891         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
53892
53893 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
53894
53895         [BZ #12078]
53896         * posix/regcomp.c (parse_branch): One more memory leak plugged.
53897         * posix/bug-regex31.input: Add test case.
53898
53899 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
53900
53901         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
53902         * posix/bug-regex31.input: New file.
53903
53904         [BZ #12078]
53905         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
53906         (parse_sub_exp): Fix last change, use postorder.
53907
53908         * posix/bug-regex31.c: New file.
53909         * posix/Makefile: Add rules to build and run bug-regex31.
53910
53911         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
53912
53913         [BZ #12078]
53914         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
53915
53916         [BZ #12108]
53917         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
53918         to have entries in sys_siglist.
53919
53920         [BZ #12093]
53921         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
53922         be NULL.
53923
53924 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
53925
53926         [BZ #3268]
53927         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
53928         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
53929         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
53930         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
53931         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
53932         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
53933         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
53934         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
53935         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
53936         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
53937         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
53938         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
53939         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
53940         * math/ftestexcept.c (fetestexcept): Likewise.
53941         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
53942         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
53943         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
53944         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
53945         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
53946         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
53947         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
53948
53949 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
53950
53951         [BZ #12107]
53952         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
53953         newline.
53954
53955 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
53956
53957         * string/bug-strstr1.c: New file.
53958         * string/Makefile: Add rules to build and run bug-strstr1.
53959
53960 2010-10-05  Eric Blake  <eblake@redhat.com>
53961
53962         [BZ #12092]
53963         * string/str-two-way.h (two_way_long_needle): Always clear memory
53964         when skipping input due to the shift table.
53965
53966 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
53967
53968         [BZ #12005]
53969         * malloc/mcheck.c: Handle large requests.
53970
53971         [BZ #12077]
53972         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
53973         for strncmp and strncasecmp.
53974         * string/stratcliff.c: Add tests for strcmp and strncmp.
53975         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
53976
53977 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
53978
53979         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
53980         __set_fpscr.
53981
53982 2010-09-30  Andreas Jaeger  <aj@suse.de>
53983
53984         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
53985         (CGROUP_SUPER_MAGIC): Define.
53986         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
53987         Handle btrfs and cgroup file systems.
53988         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
53989         Likewise.
53990
53991 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
53992
53993         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
53994         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
53995
53996 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53997
53998         [BZ #12067]
53999         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
54000         trying to locate the ELF header.
54001
54002 2010-09-27  Andreas Schwab  <schwab@redhat.com>
54003
54004         [BZ #11611]
54005         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
54006         Mask out sign-bit copies when constructing f_fsid.
54007
54008 2010-09-24  Petr Baudis <pasky@suse.cz>
54009
54010         * debug/stack_chk_fail_local.c: Add missing licence exception.
54011         * debug/warning-nop.c: Likewise.
54012
54013 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
54014
54015         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
54016         implementing getdents64 using getdents syscall, set d_type if
54017         __ASSUME_GETDENTS32_D_TYPE.
54018
54019 2010-09-16  Andreas Schwab  <schwab@redhat.com>
54020
54021         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
54022         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
54023
54024 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
54025
54026         [BZ #12037]
54027         * posix/unistd.h: Undo change of feature selection for ftruncate from
54028         2010-01-11.
54029
54030 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
54031
54032         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
54033         detection.
54034
54035 2010-09-20  Andreas Schwab  <schwab@redhat.com>
54036
54037         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
54038         fanotify_mark.
54039         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
54040
54041 2010-09-14  Andreas Schwab  <schwab@redhat.com>
54042
54043         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
54044         variables after CHECK_SP call.
54045         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
54046
54047 2010-09-13  Andreas Schwab  <schwab@redhat.com>
54048             Ulrich Drepper  <drepper@redhat.com>
54049
54050         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
54051         re-relocationg ld.so.
54052         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
54053         _dl_init_paths call.
54054         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
54055         here anymore.
54056
54057 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
54058
54059         * resolv/res_init.c (__res_vinit): Count the default server we added.
54060
54061 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
54062             Ulrich Drepper  <drepper@redhat.com>
54063
54064         [BZ #11968]
54065         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
54066         (____longjmp_chk): Use %ebx for saving value across system call.
54067         Add unwind info.
54068
54069 2010-09-06  Andreas Schwab  <schwab@redhat.com>
54070
54071         * manual/Makefile: Don't mix pattern rules with normal rules.
54072
54073 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
54074
54075         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
54076         operation.
54077         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
54078         * libio/iofopncook.c (_IO_cookie_init): Likewise.
54079         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
54080         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
54081         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
54082         Likewise.
54083
54084 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
54085
54086         [BZ #11979]
54087         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
54088         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
54089
54090 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
54091
54092         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
54093         * sysdeps/x86_64/addmul_1.S: Likewise.
54094         * sysdeps/x86_64/lshift.S: Likewise.
54095         * sysdeps/x86_64/mul_1.S: Likewise.
54096         * sysdeps/x86_64/rshift.S: Likewise.
54097         * sysdeps/x86_64/sub_n.S: Likewise.
54098         * sysdeps/x86_64/submul_1.S: Likewise.
54099
54100 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
54101
54102         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
54103         Define __sched_param instead of SCHED_* and sched_param when
54104         <bits/sched.h> is included with __need_schedparam defined.
54105         * bits/sched.h [__need_schedparam]
54106         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
54107         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
54108         (__defined_schedparam): Define to 1.
54109         (__sched_param): New structure, identical to sched_param.
54110         (__need_schedparam): Undefine.
54111
54112 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
54113
54114         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
54115         (epoll_create1): Declare.
54116
54117         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
54118
54119 2010-08-31  Andreas Schwab  <schwab@redhat.com>
54120
54121         [BZ #7066]
54122         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
54123         shifting retval into place.
54124
54125 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
54126
54127         * nis/rpcsvc/nis.h: Update copyright notice.
54128         * nis/rpcsvc/nis.x: Likewise.
54129         * nis/rpcsvc/nis_callback.h: Likewise.
54130         * nis/rpcsvc/nis_callback.x: Likewise.
54131         * nis/rpcsvc/nis_object.x: Likewise.
54132         * nis/rpcsvc/nis_tags.h: Likewise.
54133         * nis/rpcsvc/yp.h: Likewise.
54134         * nis/rpcsvc/yp.x: Likewise.
54135         * nis/rpcsvc/ypupd.h: Likewise.
54136         * nis/yp_xdr.c: Likewise.
54137         * nis/ypupdate_xdr.c: Likewise.
54138
54139         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
54140         mainly the body of pmap_getport.  Add parameters to specify timeouts.
54141         (pmap_getport): Use __libc_rpc_getport.
54142         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
54143         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
54144         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
54145
54146 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
54147
54148         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
54149         fanotify_mark.
54150
54151 2010-08-27  Roland McGrath  <roland@redhat.com>
54152
54153         * sysdeps/i386/i686/multiarch/Makefile
54154         (CFLAGS-varshift.c): New variable.
54155
54156 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
54157
54158         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
54159         * sysdeps/i386/i686/multiarch/varshift.c: New file.
54160
54161         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
54162
54163         * sysdeps/x86_64/strlen.S: Minimal code improvement.
54164
54165 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
54166
54167         * sysdeps/x86_64/strlen.S: Unroll the loop.
54168         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
54169         strlen-sse2 strlen-sse2-bsf.
54170         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
54171         __strlen_no_bsf if bit_Slow_BSF is set.
54172         (__strlen_sse42): Removed.
54173         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
54174         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
54175
54176 2010-08-25  Roland McGrath  <roland@redhat.com>
54177
54178         * sysdeps/x86_64/multiarch/varshift.S: File removed.
54179         * sysdeps/x86_64/multiarch/varshift.c: New file.
54180         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
54181         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
54182         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
54183         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
54184
54185 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
54186
54187         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
54188         strlen-sse2 strlen-sse2-bsf.
54189         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
54190         __strlen_sse2_bsf if bit_Slow_BSF is unset.
54191         (__strlen_sse2): Removed.
54192         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
54193         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
54194         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
54195         bit_Slow_BSF for Atom.
54196         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
54197         (index_Slow_BSF): Define.
54198         (HAS_SLOW_BSF): Define.
54199
54200 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
54201
54202         [BZ #10851]
54203         * resolv/res_init.c (__res_vinit): When no server address at all
54204         is given default to loopback.
54205
54206 2010-08-24  Roland McGrath  <roland@redhat.com>
54207
54208         * configure.in: Remove config-name.h generation.
54209         * configure: Regenerated.
54210         * config-name.in: File removed.
54211         * scripts/config-uname.sh: New file.
54212         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
54213         ($(objdir)config-name.h): New target.
54214
54215         * sunrpc/rpc_parse.h: Avoid nested comment.
54216
54217 2010-08-24  Richard Henderson  <rth@redhat.com>
54218             Ulrich Drepper  <drepper@redhat.com>
54219             H.J. Lu  <hongjiu.lu@intel.com>
54220
54221         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
54222         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
54223         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
54224         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
54225         _mm_alignr_epi8 with _mm_loadu_si128.
54226         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
54227         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
54228         (__m128i_shift_right): Removed.
54229         * sysdeps/i386/i686/multiarch/varshift.h: New file.
54230         * sysdeps/i386/i686/multiarch/varshift.S: New file.
54231         * sysdeps/x86_64/multiarch/varshift.h: New file.
54232         * sysdeps/x86_64/multiarch/varshift.S: New file.
54233
54234 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
54235
54236         * configure.in: Move assembler checks to before sysdep dir checking.
54237
54238 2010-08-20  Petr Baudis  <pasky@suse.cz>
54239
54240         * LICENSES: Sync the sunrpc license.
54241
54242 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
54243
54244         * sunrpc/auth_des.c: Update copyright notice once again.
54245         * sunrpc/auth_none.c: Likewise.
54246         * sunrpc/auth_unix.c: Likewise.
54247         * sunrpc/authdes_prot.c: Likewise.
54248         * sunrpc/authuxprot.c: Likewise.
54249         * sunrpc/bindrsvprt.c: Likewise.
54250         * sunrpc/clnt_gen.c: Likewise.
54251         * sunrpc/clnt_perr.c: Likewise.
54252         * sunrpc/clnt_raw.c: Likewise.
54253         * sunrpc/clnt_simp.c: Likewise.
54254         * sunrpc/clnt_tcp.c: Likewise.
54255         * sunrpc/clnt_udp.c: Likewise.
54256         * sunrpc/clnt_unix.c: Likewise.
54257         * sunrpc/des_crypt.c: Likewise.
54258         * sunrpc/des_soft.c: Likewise.
54259         * sunrpc/get_myaddr.c: Likewise.
54260         * sunrpc/getrpcport.c: Likewise.
54261         * sunrpc/key_call.c: Likewise.
54262         * sunrpc/key_prot.c: Likewise.
54263         * sunrpc/openchild.c: Likewise.
54264         * sunrpc/pm_getmaps.c: Likewise.
54265         * sunrpc/pm_getport.c: Likewise.
54266         * sunrpc/pmap_clnt.c: Likewise.
54267         * sunrpc/pmap_prot.c: Likewise.
54268         * sunrpc/pmap_prot2.c: Likewise.
54269         * sunrpc/pmap_rmt.c: Likewise.
54270         * sunrpc/rpc/auth.h: Likewise.
54271         * sunrpc/rpc/auth_unix.h: Likewise.
54272         * sunrpc/rpc/clnt.h: Likewise.
54273         * sunrpc/rpc/des_crypt.h: Likewise.
54274         * sunrpc/rpc/key_prot.h: Likewise.
54275         * sunrpc/rpc/netdb.h: Likewise.
54276         * sunrpc/rpc/pmap_clnt.h: Likewise.
54277         * sunrpc/rpc/pmap_prot.h: Likewise.
54278         * sunrpc/rpc/pmap_rmt.h: Likewise.
54279         * sunrpc/rpc/rpc.h: Likewise.
54280         * sunrpc/rpc/rpc_des.h: Likewise.
54281         * sunrpc/rpc/rpc_msg.h: Likewise.
54282         * sunrpc/rpc/svc.h: Likewise.
54283         * sunrpc/rpc/svc_auth.h: Likewise.
54284         * sunrpc/rpc/types.h: Likewise.
54285         * sunrpc/rpc/xdr.h: Likewise.
54286         * sunrpc/rpc_clntout.c: Likewise.
54287         * sunrpc/rpc_cmsg.c: Likewise.
54288         * sunrpc/rpc_common.c: Likewise.
54289         * sunrpc/rpc_cout.c: Likewise.
54290         * sunrpc/rpc_dtable.c: Likewise.
54291         * sunrpc/rpc_hout.c: Likewise.
54292         * sunrpc/rpc_main.c: Likewise.
54293         * sunrpc/rpc_parse.c: Likewise.
54294         * sunrpc/rpc_parse.h: Likewise.
54295         * sunrpc/rpc_prot.c: Likewise.
54296         * sunrpc/rpc_sample.c: Likewise.
54297         * sunrpc/rpc_scan.c: Likewise.
54298         * sunrpc/rpc_scan.h: Likewise.
54299         * sunrpc/rpc_svcout.c: Likewise.
54300         * sunrpc/rpc_tblout.c: Likewise.
54301         * sunrpc/rpc_util.c: Likewise.
54302         * sunrpc/rpc_util.h: Likewise.
54303         * sunrpc/rpcinfo.c: Likewise.
54304         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
54305         * sunrpc/rpcsvc/key_prot.x: Likewise.
54306         * sunrpc/rpcsvc/klm_prot.x: Likewise.
54307         * sunrpc/rpcsvc/mount.x: Likewise.
54308         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
54309         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
54310         * sunrpc/rpcsvc/rex.x: Likewise.
54311         * sunrpc/rpcsvc/rstat.x: Likewise.
54312         * sunrpc/rpcsvc/rusers.x: Likewise.
54313         * sunrpc/rpcsvc/sm_inter.x: Likewise.
54314         * sunrpc/rpcsvc/spray.x: Likewise.
54315         * sunrpc/rpcsvc/yppasswd.x: Likewise.
54316         * sunrpc/rtime.c: Likewise.
54317         * sunrpc/svc.c: Likewise.
54318         * sunrpc/svc_auth.c: Likewise.
54319         * sunrpc/svc_authux.c: Likewise.
54320         * sunrpc/svc_raw.c: Likewise.
54321         * sunrpc/svc_run.c: Likewise.
54322         * sunrpc/svc_simple.c: Likewise.
54323         * sunrpc/svc_tcp.c: Likewise.
54324         * sunrpc/svc_udp.c: Likewise.
54325         * sunrpc/svc_unix.c: Likewise.
54326         * sunrpc/svcauth_des.c: Likewise.
54327         * sunrpc/xcrypt.c: Likewise.
54328         * sunrpc/xdr.c: Likewise.
54329         * sunrpc/xdr_array.c: Likewise.
54330         * sunrpc/xdr_float.c: Likewise.
54331         * sunrpc/xdr_mem.c: Likewise.
54332         * sunrpc/xdr_rec.c: Likewise.
54333         * sunrpc/xdr_ref.c: Likewise.
54334         * sunrpc/xdr_sizeof.c: Likewise.
54335         * sunrpc/xdr_stdio.c: Likewise.
54336
54337         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
54338         handling.
54339
54340 2010-08-19  Andreas Schwab  <schwab@redhat.com>
54341
54342         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
54343
54344 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
54345
54346         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
54347         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
54348         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
54349         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
54350         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
54351         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
54352         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
54353         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
54354         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
54355         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
54356         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
54357         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
54358         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
54359         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
54360
54361 2010-07-26  Anton Blanchard  <anton@samba.org>
54362
54363         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
54364         * malloc/arena.c (heap_trim): Likewise.
54365
54366 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
54367
54368         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
54369         here.  Not...
54370         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
54371         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
54372
54373 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
54374
54375         * sysdeps/i386/elf/Makefile: New file.
54376
54377 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
54378
54379         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
54380         from fanotify_init.
54381         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
54382         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
54383
54384 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
54385
54386         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
54387         of strncasecmp_l.
54388         * sysdeps/multiarch/strcmp.S: Likewise.
54389
54390 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
54391
54392         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
54393         strncase_l-nonascii.
54394         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
54395         Add strncase_l-ssse3.
54396         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
54397         * sysdeps/x86_64/strcmp.S: Likewise.
54398         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
54399         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
54400         * sysdeps/x86_64/strncase.S: New file.
54401         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
54402         * sysdeps/x86_64/strncase_l.S: New file.
54403         * string/Makefile (strop-tests): Add strncasecmp.
54404         * string/test-strncasecmp.c: New file.
54405
54406         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
54407         warning.
54408
54409         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
54410         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
54411
54412 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
54413
54414         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
54415
54416 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
54417
54418         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
54419         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
54420         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
54421
54422 2010-05-01  Alan Modra  <amodra@gmail.com>
54423
54424         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
54425         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
54426         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
54427         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
54428         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
54429         tidying.  Don't tail-call __sigjmp_save for static lib.
54430         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
54431         save location.
54432         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
54433         (CALL_MCOUNT): Add eh info, and nop after bl.
54434         (TAIL_CALL_SYSCALL_ERROR): New macro.
54435         (PSEUDO_RET): Use it.
54436         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
54437         Correct save location of integer regs and cr.
54438         (_dl_profile_resolve): Correct cr save location.  Delete nops
54439         after bl when SHARED.  Reduce cfi size a little by better
54440         placement of cfi directives.
54441         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
54442         make a stack frame.  Instead use parm save area as a temp.
54443         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
54444         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
54445         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
54446         Don't make a stack frame for parent, use parm save area.
54447         Increase child stack frame to 112 bytes.  Don't save unused reg,
54448         and adjust reg usage.  Set up cfi on error recovery and
54449         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
54450         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
54451         (__makecontext): Add dummy nop after jump to exit.
54452         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
54453         Use correct parm save area and cr save, reduce stack frame.
54454         Correct cfi for possible PSEUDO_RET frame setup.
54455         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
54456         Branch to local label emitted by PSEUDO_RET rather than
54457         __syscall_error.
54458
54459 2010-08-12  Andreas Schwab  <schwab@redhat.com>
54460
54461         [BZ #11904]
54462         * locale/programs/locale.c (print_assignment): New function.
54463         (show_locale_vars): Use it.
54464
54465 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
54466
54467         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
54468         field.
54469         (struct statfs64): Likewise.
54470         (_STATFS_F_FLAGS): Define.
54471         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
54472         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
54473         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
54474         (ST_VALID): Define locally.
54475         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
54476         __statvfs_getflags, use the provided value.
54477         * sysdeps/unix/sysv/linux/kernel-features.h: Define
54478         __ASSUME_STATFS_F_FLAGS.
54479
54480         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
54481
54482         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
54483         Add sys/fanotify.h.
54484         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
54485         fanotify_mask for GLIBC_2.13.
54486         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
54487         fanotify_init and fanotify_mark.
54488         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
54489         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
54490
54491         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
54492         Add prlimit.
54493         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
54494         prlimit64 for GLIBC_2.13.
54495         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
54496         prlimit64.
54497         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
54498         syscall.
54499         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
54500         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
54501         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
54502         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
54503         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
54504         add prlimit alias.
54505         * sysdeps/unix/sysv/linux/prlimit.c: New file.
54506
54507         [BZ #11903]
54508         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
54509         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
54510
54511         * nss/Makefile: Add rules to build and run tst-nss-test1.
54512         * shlib-versions: Add entry for libnss_test1.
54513         * nss/nss_test1.c: New file.
54514         * nss/tst-nss-test1.c: New file.
54515
54516         * nss/nsswitch.c (__nss_database_custom): Define new variable.
54517         (__nss_configure_lookup): Set appropriate entry in
54518         __nss_configure_lookup to true.
54519         * nss/nsswitch.h: Define enum with indeces of databases in
54520         databases and __nss_database_custom arrays.  Declare
54521         __nss_database_custom.
54522         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
54523         to avoid using nscd when custom rules are installed.
54524         * nss/getXXbyYY_r.c: Likewise.
54525         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
54526
54527         * nss/nss_files/files-parse.c: Whitespace fixes.
54528
54529 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
54530
54531         [BZ #11883]
54532         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
54533         * posix/fnmatch_loop.c: Likewise.
54534
54535 2010-07-17  Andi Kleen  <ak@linux.intel.com>
54536
54537         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
54538         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
54539         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
54540         * Versions.def [GLIBC_2.13]: Add.
54541
54542 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
54543
54544         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
54545         Also fail if tpwd after pwuid call is NULL.
54546
54547 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
54548
54549         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
54550         when converting to ms.
54551
54552 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
54553
54554         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
54555         EOPNOTSUPP errors with ENOTTY.
54556         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
54557         EOPNOTSUPP errors with ENOTTY.
54558
54559 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
54560
54561         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
54562         Add strcasecmp_l-ssse3.
54563         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
54564         strcasecmp.
54565         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
54566         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
54567         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
54568
54569 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
54570
54571         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
54572
54573         * string/Makefile (strop-tests): Add strcasecmp.
54574         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
54575         strcasecmp_l-nonascii.
54576         (gen-as-const-headers): Add locale-defines.sym.
54577         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
54578         * sysdeps/x86_64/strcasecmp.S: New file.
54579         * sysdeps/x86_64/strcasecmp_l.S: New file.
54580         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
54581         * sysdeps/x86_64/locale-defines.sym: New file.
54582         * string/test-strcasecmp.c: New file.
54583
54584         * string/test-strcasestr.c: Test both ends of the range of characters.
54585         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
54586
54587 2010-07-29  Roland McGrath  <roland@redhat.com>
54588
54589         [BZ #11856]
54590         * manual/locale.texi (Yes-or-No Questions): Fix example code.
54591
54592 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
54593
54594         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
54595         for ld.so.
54596
54597 2010-07-27  Andreas Schwab  <schwab@redhat.com>
54598
54599         * manual/memory.texi (Malloc Tunable Parameters): Document
54600         M_PERTURB.
54601
54602 2010-07-26  Roland McGrath  <roland@redhat.com>
54603
54604         [BZ #11840]
54605         * configure.in (-fgnu89-inline check): Set and substitute
54606         gnu89_inline, not libc_cv_gnu89_inline.
54607         * configure: Regenerated.
54608         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
54609
54610 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
54611
54612         * string/test-strnlen.c: New file.
54613         * string/Makefile (strop-tests): Add strnlen.
54614         * string/tester.c (test_strnlen): Add a few more test cases.
54615         * string/tst-strlen.c: Better error reporting.
54616
54617         * sysdeps/x86_64/strnlen.S: New file.
54618
54619 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
54620
54621         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
54622         lower-latency instructions.
54623
54624 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
54625
54626         * string/test-strcasestr.c: New file.
54627         * string/test-strstr.c: New file.
54628         * string/Makefile (strop-tests): Add strstr and strcasestr.
54629         * string/str-two-way.h: Don't undefine MAX.
54630         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
54631
54632 2010-07-21  Andreas Schwab  <schwab@redhat.com>
54633
54634         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
54635         strcasestr-nonascii.
54636         (CFLAGS-strcasestr-nonascii.c): Define.
54637         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
54638         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
54639         Remove unused attribute.
54640
54641 2010-07-20  Roland McGrath  <roland@redhat.com>
54642
54643         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
54644         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
54645         ld.so.cache was broken.  With it, there is no way to disable dsocaps
54646         like LD_HWCAP_MASK can disable hwcaps.
54647
54648 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
54649
54650         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
54651
54652 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
54653
54654         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
54655         call in strcasestr.
54656         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
54657         __strcasestr_sse42_nonascii.
54658         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
54659         strcasestr-nonascii.c.
54660         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
54661
54662 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
54663
54664         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
54665         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
54666         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
54667         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
54668
54669 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
54670
54671         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
54672         fcntl.
54673
54674 2010-07-06  Andreas Schwab  <schwab@redhat.com>
54675
54676         [BZ #11577]
54677         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
54678         dl_signal_cerror.
54679
54680 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
54681
54682         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
54683         _PC_PIPE_BUF using F_GETPIPE_SZ.
54684
54685 2010-07-05  Roland McGrath  <roland@redhat.com>
54686
54687         * manual/arith.texi (Rounding Functions): Fix rint description
54688         implicit in round description.
54689
54690 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
54691
54692         * elf/Makefile: Fix linking for a few tests to make recent linker
54693         happy.
54694
54695 2010-06-30  Andreas Schwab  <schwab@redhat.com>
54696
54697         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
54698         $(common-objpfx)libc_nonshared.a.
54699
54700 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
54701
54702         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
54703         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
54704         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
54705         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
54706         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
54707         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
54708         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
54709         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
54710         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
54711         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
54712         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
54713         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
54714         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
54715         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
54716         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
54717         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
54718         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
54719         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
54720         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
54721         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
54722         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
54723         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
54724         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
54725         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
54726         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
54727         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
54728         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
54729         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
54730         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
54731         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
54732         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
54733         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
54734         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
54735         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
54736         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
54737         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
54738         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
54739         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
54740         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
54741         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
54742         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
54743         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
54744         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
54745         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
54746         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
54747         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
54748         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
54749         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
54750
54751 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
54752
54753         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
54754         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
54755         * string/memmove.c (memmove): Renamed to ...
54756         (MEMMOVE): ...this.  Default to memmove.
54757         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
54758         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
54759         (END_CHK): Define.
54760         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
54761         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
54762         mempcpy-ssse3-back memmove-ssse3-back.
54763         * sysdeps/x86_64/multiarch/bcopy.S: New file .
54764         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
54765         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
54766         * sysdeps/x86_64/multiarch/memcpy.S: New file.
54767         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
54768         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
54769         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
54770         * sysdeps/x86_64/multiarch/memmove.c: New file.
54771         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
54772         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
54773         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
54774         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
54775         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
54776         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
54777         Define.
54778         (index_Fast_Copy_Backward): Define.
54779         (HAS_ARCH_FEATURE): Define.
54780         (HAS_FAST_REP_STRING): Define.
54781         (HAS_FAST_COPY_BACKWARD): Define.
54782
54783 2010-06-21  Andreas Schwab  <schwab@redhat.com>
54784
54785         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
54786         Restore proper fallback handling.
54787
54788 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
54789
54790         [BZ #11701]
54791         * posix/group_member.c (__group_member): Correct checking loop.
54792
54793         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
54794         OOM in getpwuid_r correctly.  Return error number when the caller
54795         should return, otherwise -1.
54796         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
54797         call returning > 0 value.
54798         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
54799
54800 2010-06-07  Andreas Schwab  <schwab@redhat.com>
54801
54802         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
54803         libc_nonshared.a from targets in modules-names.
54804
54805 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
54806
54807         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
54808         requires it.
54809
54810 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
54811
54812         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
54813         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
54814         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
54815         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
54816
54817 2010-06-02  Andreas Schwab  <schwab@redhat.com>
54818
54819         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
54820
54821 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
54822
54823         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
54824         and F_GETPIPE_SZ.
54825         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
54826         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
54827         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
54828         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
54829         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
54830         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
54831
54832 2010-06-14  Roland McGrath  <roland@redhat.com>
54833
54834         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
54835
54836 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
54837
54838         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
54839         __REDIRECT followed by __THROW.
54840         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
54841         * posix/getopt.h (getopt): Likewise.
54842
54843 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
54844
54845         * hurd/lookup-at.c (__file_name_lookup_at): Accept
54846         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
54847         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
54848         in AT_FLAGS.
54849         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
54850         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
54851
54852 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
54853
54854         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
54855
54856 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
54857
54858         [BZ #11640]
54859         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54860         Properly check family and model.
54861
54862 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
54863
54864         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
54865
54866 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
54867
54868         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
54869
54870 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
54871
54872         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
54873         symbol reference.
54874
54875 2010-05-19  Andreas Schwab  <schwab@redhat.com>
54876
54877         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
54878         symbol reference.
54879
54880 2010-05-21  Andreas Schwab  <schwab@redhat.com>
54881
54882         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
54883         and internal_recvmmsg.
54884         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
54885         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
54886         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
54887         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
54888
54889         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
54890         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
54891         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
54892
54893 2010-05-20  Andreas Schwab  <schwab@redhat.com>
54894
54895         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
54896
54897 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
54898
54899         POWER7 optimizations.
54900         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
54901         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
54902
54903 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
54904
54905         * version.h: Update for 2.13 development version.
54906
54907 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
54908
54909         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
54910         exceptions.  Return 0.
54911
54912 2010-05-07  Roland McGrath  <roland@redhat.com>
54913
54914         * elf/ldconfig.c (main): Add a const.
54915
54916 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
54917
54918         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
54919         (args_options): Add no-idn option.
54920         (ahosts_keys_int): Add idn_flags to ai_flags.
54921         (parse_option): Handle 'i' option to clear idn_flags.
54922
54923         * malloc/malloc.c (_int_free): Possible race in the most recently
54924         added check.  Only act on the data if no current modification
54925         happened.
54926
54927 See ChangeLog.17 for earlier changes.