ARM: Remove configure check for binutils 2.21 for ARMv7
[platform/upstream/glibc.git] / ChangeLog
1 2015-01-02  Will Newton  <will.newton@linaro.org>
2
3         * sysdeps/arm/armv7/configure: Removed.
4         * sysdeps/arm/armv7/configure.ac: Likewise.
5
6 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
7
8         * All files with FSF copyright notices: Update copyright dates
9         using scripts/update-copyrights.
10         * intl/plural.c: Regenerated.
11         * locale/programs/charmap-kw.h: Likewise.
12         * locale/programs/locfile-kw.h: Likewise.
13
14 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
15
16         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
17
18 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
19
20         [BZ #17748]
21         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
22         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
23         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
24         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
25         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
26         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
27         define as weak alias of __fegetenv.  Use libm_hidden_weak.
28         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
29         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
30         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
31         define as weak alias of __fegetenv.  Use libm_hidden_weak.
32         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
33         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
34         define as weak alias of __fegetenv.  Use libm_hidden_weak.
35         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
36         libm_hidden_def.
37         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
38         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
39         Likewise.
40         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
41         define as weak alias of __fegetenv.  Use libm_hidden_weak.
42         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
43         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
44         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
45         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
46         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
47         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
48         __fegetenv instead of fegetenv.
49         (libc_feholdsetround_noex_ctx): Likewise.
50
51 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
52
53         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
54         (Elf_MIPS_ABIFlags_v0): New structure.
55         (EF_MIPS_FP64): Define.
56         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
57         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
58         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
59         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
60         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
61         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
62         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
63         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
64         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
65         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
66         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
67         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
68         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
69         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
70         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
71         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
72         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
73         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
74         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
75         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
76         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
77         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
78         field.
79         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
80         EF_MIPS_FP64.
81         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
82         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
83         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
84         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
85         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
86         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
87         * sysdeps/mips/tst-abi-interlink.c: Likewise.
88         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
89         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
90         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
91         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
92         record the current FP ABI extension.
93         (mips-mode-switch): Define to show if kernel headers support mode
94         switching.
95         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
96         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
97         supported SYSV ABI version to 3.
98         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
99         feature.
100
101 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
102             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
103
104         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
105         path.
106         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
107
108 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
109
110         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
111         __fegetround and redefine to call __fegetround.  Remove condition
112         on [!__NO_MATH_INLINES].
113         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
114         function.
115         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
116         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
117         Remove macro.
118         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
119         instead of <fenv_libc.h>.
120         (__llrintl): Call fegetround instead of __fegetround.
121         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
122         instead of <fenv_libc.h>.
123         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
124         (__lrintl): Call fegetround instead of __fegetround.
125         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
126         instead of <fenv_libc.h>.
127         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
128         (__rintl): Call fegetround instead of __fegetround.
129
130 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
131
132         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
133         arrays.
134
135 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
136
137         [BZ #17775]
138         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
139         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
140         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
141
142 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
143
144         * sysdeps/i386/tls-macros.h: Include <features.h>.
145         (TLS_LE): Use non-PIC version for GCC >= 5.0.
146         (TLS_IE): Likewise.
147         (TLS_LD): Likewise.
148         (TLS_GD): Likewise.
149         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
150         define for GCC >= 5.0.
151
152 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
153
154         * math/test-fenv.c (test_single_exception, set_single_exc,
155         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
156         feexcp_mask_test, feenable_test, fe_single_test): Add
157         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
158         case where they are not used.
159         * math/libm-test.inc: Likewise.
160         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
161         unused in the absence of FP rounding/exception support.
162         * stdio-common/tst-printf-round.c: Likewise.
163         * stdlib/tst-strtod-round.c: Likewise.
164         * stdlib/tst-strtod-underflow.c: Likewise.
165
166 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
167
168         [BZ #17723]
169         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
170         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
171         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
172         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
173         libm_hidden_weak.
174         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
175         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
176         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
177         libm_hidden_def.
178         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
179         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
180         libm_hidden_weak.
181         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
182         Likewise.
183         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
184         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
185         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
186         libm_hidden_weak.
187         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
188         libm_hidden_def.
189         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
190         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
191         (__feraiseexcept): Likewise.
192         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
193         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
194         libm_hidden_weak.
195         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
196         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
197         libm_hidden_def.
198         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
199         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
200         Use libm_hidden_def.
201         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
202         libm_hidden_def.
203         (feraiseexcept): Define as weak not strong alias.  Use
204         libm_hidden_weak.
205         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
206         New inline function.  Factored out of ...
207         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
208         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
209         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
210         feraiseexcept.
211         * math/w_acos.c (__acos): Likewise.
212         * math/w_asin.c (__asin): Likewise.
213         * math/w_ilogb.c (__ilogb): Likewise.
214         * math/w_j0.c (y0): Likewise.
215         * math/w_j1.c (y1): Likewise.
216         * math/w_jn.c (yn): Likewise.
217         * math/w_log.c (__log): Likewise.
218         * math/w_log10.c (__log10): Likewise.
219         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
220         * sysdeps/aarch64/fpu/math_private.h
221         (libc_feupdateenv_test_aarch64): Likewise.
222         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
223         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
224         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
225         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
226         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
227         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
228         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
229         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
230         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
231         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
232
233 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
234
235         [BZ #17732]
236         * io/test-utime.c (main): Replace %ld with %jd and cast to
237         intmax_t.
238         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
239         * nptl/tst-mutex5.c: Include <stdint.h>.
240         (do_test): Replace %ld with %jd and cast to intmax_t.
241         * posix/tst-regex.c (run_test): Likewise.
242         (run_test_backwards): Likewise.
243         * rt/tst-clock.c: Include <stdint.h>.
244         (clock_test): Replace %ld with %jd and cast to intmax_t.
245         * rt/tst-cpuclock1.c: Include <stdint.h>.
246         (do_test): Replace %lu with %ju and cast to uintmax_t.
247         * rt/tst-cpuclock2.c: Include <stdint.h>.
248         (do_test): Replace %lu with %ju and cast to uintmax_t.
249         * rt/tst-mqueue1.c: Include <stdint.h>.
250         (check_attrs): Replace %ld with %jd and cast to intmax_t.
251         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
252         intmax_t.
253         * rt/tst-mqueue4.c (do_test): Likewise.
254         * rt/tst-timer4.c: Include <stdint.h>.
255         (check_ts): Replace %ld with %jd and cast to intmax_t.
256         (do_test): Likewise.
257         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
258         and cast to intmax_t.
259         * sysdeps/pthread/tst-timer.c (main): Likewise.
260         * time/clocktest.c (main): Likewise.
261         * time/tst-posixtz.c (do_test): Likewise.
262         * timezone/tst-timezone.c (main): Likewise.
263
264 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
265             H.J. Lu  <hongjiu.lu@intel.com>
266
267         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
268         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
269         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
270         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
271         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
272         version if bit_Fast_Unaligned_Load is set.
273         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
274         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
275         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
276         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
277         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
278         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
279         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
280         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
281         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
282         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
283         to 4.
284         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
285         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
286         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
287         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
288
289 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
290
291         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
292         instead of #if to avoid a Wundef warning.
293         * stdlib/tst-limits.c (do_test): Likewise.
294
295         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
296         parallel other exception macros.
297         (fegetenv): Convert from macro to extern inline so that it applies
298         retroactively to inline functions already seen by the compiler.
299         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
300
301         * posix/Makefile (before-compile): Use $(objpfx) for
302         posix-conf-vars-def.h.
303
304 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
305
306         * posix/getconf.c (main): Use size_t for type of I.
307         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
308         NSPEC.
309
310         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
311         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
312         * posix/posix-envs.def: Likewise.
313         * sysdeps/posix/sysconf.c: Likewise.
314         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
315         (specs): Remove array.
316         * scripts/gen-posix-conf-vars.awk: Support generation of specs
317         array.
318
319         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
320         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
321         (__sysconf): Use CONF_IS_* macros.
322
323         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
324         ($(objpfx)posix-conf-vars-def.h): New target.
325         * posix/posix-conf-vars.list: New file.
326         * posix/posix-conf-vars.h: New file.
327         * posix/confstr.c: Include posix-conf-vars.h.
328         (confstr): Use CONF_IS_* macros.
329         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
330         CONF_IS_* macros.
331         * scripts/gen-posix-conf-vars.awk: New file.
332
333 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
334
335         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
336         fegetround): Add no-op macros to avoid linknamespace issues.
337
338         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
339         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
340
341         * sysdeps/unix/sysv/linux/tile/sysdep.h
342         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
343         assembly-specific section to avoid a redefinition warning.
344
345         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
346         long before casting to pointer to avoid a cast warning.
347
348 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
349
350         * sysdeps/tile/tilegx/Implies: New file.
351
352 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
353
354         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
355
356 2014-12-23  Florian Weimer  <fweimer@redhat.com>
357
358         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
359
360 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
361
362         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
363         not define.
364         * sysdeps/unix/sysv/linux/utimes.c: Do not include
365         <kernel-features.h>.
366         (__utimes) [__NR_utimes]: Make code unconditional.
367         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
368         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
369         (__ASSUME_UTIMES): Do not undefine.
370         * sysdeps/unix/sysv/linux/tile/kernel-features.h
371         (__ASSUME_UTIMES): Likewise.
372         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
373         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
374         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
375         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
376
377 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
378
379         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
380
381 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
382
383         [BZ #17747]
384         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
385         alias to weak alias for j0l, y0l.
386         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
387         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
388
389         [BZ #17746]
390         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
391         conversion.
392
393 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
394
395         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
396         to zero if not already defined.
397
398 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
399
400         [BZ #17724]
401         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
402         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
403         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
404         (char *) casts added.
405         * sysdeps/ieee754/k_standardf.c: New file.
406         * sysdeps/ieee754/k_standardl.c: Likewise.
407         * math/Makefile (libm-support): Remove k_standard.
408         (libm-calls): Add k_standard.
409
410 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
411
412         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
413         Optimize to avoid an unnecessary FPCR read.
414
415 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
416
417         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
418         Optimize to reduce FPCR/FPSR accesses.
419
420 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
421
422         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
423         Call libc_fetestexcept_aarch64.
424
425 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
426
427         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
428         Call libc_fesetround_aarch64.
429
430 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
431
432         [BZ #17733]
433         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
434         (__bind): Do not define as weak alias.
435         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
436         define.
437         (__getsockname): Do not define as weak alias.
438
439 2014-12-22  Will Newton  <will.newton@linaro.org>
440
441         * manual/install.texi: Document that we require bison 2.7
442         or above.
443         * INSTALL: Regenerate.
444         * configure.ac: Use AC_CHECK_PROG_VER instead of
445         AC_PATH_PROG when checking for bison and check for
446         version 2.7 or above.
447         * configure: Regenerate.
448
449 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
450
451         [BZ #17745]
452         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
453         * sysdeps/tile/ffsll.c (ffsll): To here.
454
455         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
456
457 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
458
459         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
460         if not defined.
461         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
462         definition.
463         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
464         hidden ___tls_get_addr.
465         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
466         hidden __tls_get_addr.
467         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
468         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
469         Likewise.
470
471 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
472
473         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
474         _dl_init call.
475
476 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
477
478         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
479         from "call _dl_init@PLT".
480         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
481
482 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
483
484         * manual/search.texi: (Array Sort Function): Clarify stable sorting
485         guarantees.
486
487 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
488
489         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
490
491 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
492
493         [BZ #17744]
494         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
495         strnlen.
496
497 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
498
499         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
500         of multu on MIPSr6.
501         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
502         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
503         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
504         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
505         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
506
507 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
508
509         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
510         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
511         (PTR_SUBU): Use subu for mips32r6/mips64r6.
512         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
513         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
514         mips32r6/mips64r6.
515         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
516
517 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
518
519         * string/strncat.c (STRNCAT): Simplify implementation.
520
521 2014-12-19  David S. Miller  <davem@davemloft.net>
522
523         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
524         access the quad as both a long double and as a series of 4 words.
525
526         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
527         link_map->l_info array access.
528
529 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
530
531         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
532
533         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
534         * math/atest-exp2.c (TIMEOUT): Likewise.
535         * math/atest-sincos.c (TIMEOUT): Likewise.
536
537 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
538
539         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
540         -Wno-error with -fno-builtin-lround.
541
542 2014-12-19  Torvald Riegel  <triegel@redhat.com>
543
544         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
545         Contains futex constants and functions moved over from ...
546         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
547         <lowlevellock-futex.h>.
548         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
549         (lll_timedwait_tid): Add comments and parentheses around macro
550         arguments.
551
552 2014-12-19  Torvald Riegel  <triegel@redhat.com>
553
554         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
555         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
556         (__lll_private_flag): Remove.
557         (lll_futex_wait): Likewise.
558         (lll_futex_timed_wait): Likewise.
559         (lll_futex_wake): Likewise.
560         (lll_futex_requeue): Likewise.
561         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
562         (__lll_timedwait_tid): Spell out argument names.
563         (lll_timedwait_tid): Add comments and parentheses around macro
564         arguments.
565         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
566         LLL_SHARED and LLL_PRIVATE usable from assembly code.
567
568 2014-12-19  Torvald Riegel  <triegel@redhat.com>
569
570         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
571         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
572         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
573         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
574         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
575         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
576         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
577         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
578         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
579         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
580         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
581         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
582         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
583         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
584         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
585         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
586         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
587         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
588         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
589
590 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
591
592         * sysdeps/x86_64/x32/Makefile: New file.
593
594 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
595
596         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
597         1L with (mp_limb_t) 1.
598
599 2014-12-17  Roland McGrath  <roland@hack.frob.com>
600
601         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
602         * nptl/libc_pthread_init.c: ... here.
603         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
604         * nptl/register-atfork.c: ... here.
605
606         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
607         Use pthread_sigmask rather than INTERNAL_SYSCALL.
608         Use assert_perror to check its return value.
609         (__gai_create_helper_thread): Likewise.
610
611         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
612
613         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
614
615 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
616
617         [BZ #17725]
618         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
619         __profil_counter.
620         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
621         Likewise.
622         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
623         Likewise.
624         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
625         Likewise.
626         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
627         (profil_counter): Likewise.
628         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
629         (profil_counter): Likewise.
630         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
631         Likewise.
632         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
633         Likewise.
634         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
635         (profil_counter): Likewise.
636         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
637         Likewise.
638         [!__profil_counter] (profil_counter): Define as weak alias of
639         __profil_counter.
640         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
641         (profil_counter): Rename to __profil_counter.
642         [!__profil_counter] (profil_counter): Define as weak alias of
643         __profil_counter.
644         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
645         (profil_counter): Rename to __profil_counter.
646         [!__profil_counter] (profil_counter): Define as weak alias of
647         __profil_counter.
648         * sysdeps/posix/profil.c: Update comment referring to
649         profil_counter.
650         (__profil): Use __profil_counter instead of profil_counter.
651         * sysdeps/posix/sprofil.c (profil_counter): Rename to
652         __profil_counter.  Use __profil_counter_ushort and
653         __profil_counter_uint in definitions.
654         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
655         instead of profil_counter_uint and profil_counter_ushort.
656
657         [BZ #17722]
658         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
659         define as weak alias of __inet_makeaddr.
660         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
661         as weak alias of __inet_addr.
662         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
663         as weak alias of __inet_pton.  Use libc_hidden_weak.
664         * include/arpa/inet.h (__inet_pton): Declare.  Use
665         libc_hidden_proto.
666         (inet_makeaddr): Don't use libc_hidden_proto.
667         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
668         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
669         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
670         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
671         Remove variable.
672         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
673         (test-xfail-POSIX/time.h/linknamespace): Likewise.
674
675 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
676
677         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
678
679 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
680
681         * stdio-common/bug-vfprintf-nargs.c (do_test):
682         Cast value to intptr_t to avoid format warning
683         for usage with PRIdPTR printing macro.
684
685 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
686
687         * libio/tst-widetext.c (do_test):
688         Use format type %td instead of %Zd for ptrdiff_t
689         in order to avoid format warning.
690
691 2014-12-17  Andreas Schwab  <schwab@suse.de>
692
693         * nscd/mem.c (gc): Add size_t cast to match printf format.
694
695 2014-12-16  Roland McGrath  <roland@hack.frob.com>
696
697         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
698         (init): Apply PTR_MANGLE to pointers before storing them.
699         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
700         before using them.
701
702 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
703
704         [BZ #17719]
705         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
706         define as weak alias of __memrchr.
707         (__memrchr): Do not define as strong alias of memrchr.
708         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
709         Remove variable.
710         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
711         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
712         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
713
714         [BZ #17717]
715         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
716         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
717         (if_indextoname): Rename to __if_indextoname and define as weak
718         alias of __if_indextoname.  Use libc_hidden_weak.
719         (if_freenameindex): Rename to __if_freenameindex and define as
720         weak alias of __if_freenameindex.
721         (if_nameindex): Rename to __if_nameindex and define as weak alias
722         of __if_nameindex.
723         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
724         __if_nametoindex and define as weak alias of __if_nametoindex.
725         Use libc_hidden_weak.
726         (if_freenameindex): Rename to __if_freenameindex and define as
727         weak alias of __if_freenameindex.
728         (if_nameindex): Rename to __if_nameindex and define as weak alias
729         of __if_nameindex.
730         (if_indextoname): Rename to __if_indextoname and define as weak
731         alias of __if_indextoname.  Use libc_hidden_weak.
732         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
733         __if_nametoindex and define as weak alias of __if_nametoindex.
734         Use libc_hidden_weak.
735         (if_freenameindex): Rename to __if_freenameindex and define as
736         weak alias of __if_freenameindex.  Use libc_hidden_weak.
737         (if_nameindex_netlink): Use __if_freenameindex instead of
738         if_freenameindex.
739         (if_nameindex): Rename to __if_nameindex and define as weak alias
740         of __if_nameindex.  Use libc_hidden_weak.
741         (if_indextoname): Rename to __if_indextoname and define as weak
742         alias of __if_indextoname.  Use libc_hidden_weak.
743         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
744         libc_hidden_proto.
745         [!_ISOMAC] (__if_freenameindex): Likewise.
746         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
747         if_nametoindex.
748         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
749         variable.
750         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
751         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
752         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
753         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
754         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
755         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
756         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
757
758         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
759         Remove variable.
760         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
761         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
762
763 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
764
765         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
766         subscript above bounds'
767
768         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
769         bounds.
770
771 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
772
773         * libio/tst-fopenloc.c: Use test-skeleton.c.
774
775         * stdlib/tst-bsearch.c: Use test-skeleton.c.
776         (entry): Rename to ITEM.
777         (do_test, comp): Adjust.
778
779         * stdio-common/tst-fseek.c: Use test-skeleton.c.
780
781 2014-12-16  Torvald Riegel  <triegel@redhat.com>
782
783         * string/tester.c: Include <libc-internal.h>.
784         (test_memset): Ignore -Wmemset-transposed-args.
785
786 2014-12-16  Torvald Riegel  <triegel@redhat.com>
787
788         * misc/tst-mntent2.c (do_test): Fix warning.
789
790 2014-12-16  Torvald Riegel  <triegel@redhat.com>
791
792         * elf/tst-unique4lib.cc(a): Mark as used.
793
794 2014-12-16  Florian Weimer  <fweimer@redhat.com>
795
796         [BZ #17630]
797         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
798         names.
799
800 2014-12-16  Allan McRae  <allan@archlinux.org>
801
802         * stdio-common/Makefile (tests): Re-add bug26.
803
804 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
805
806         [BZ #17657]
807         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
808         static array.
809
810 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
811
812         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
813         (__lll_lock_wait): Likewise.
814         (__lll_timedlock_wait): Likewise.
815         (__lll_timedwait_tid): Likewise.
816         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
817         (__lll_robust_timedlock_wait): Likewise.
818         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
819         (lll_cond_trylock): Likewise.
820         (__lll_lock): Likewise.
821         (__lll_robust_lock): Likewise.
822         (__lll_cond_lock): Likewise.
823         (lll_robust_cond_lock): Likewise.
824         (__lll_timedlock): Likewise.
825         (__lll_robust_timedlock): Likewise.
826         (__lll_unlock): Likewise.
827         (__lll_robust_unlock): Likewise.
828         (lll_wait_tid): Likewise.
829         (lll_timedwait_tid): Likewise.
830
831 2014-12-15  Torvald Riegel  <triegel@redhat.com>
832
833         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
834
835 2014-12-15  Torvald Riegel  <triegel@redhat.com>
836
837         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
838
839 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
840
841         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
842         * stdio-common/tst-sprintf.c: Likewise.
843
844 2014-12-15  Torvald Riegel  <triegel@redhat.com>
845
846         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
847
848 2014-12-15  Jeff Law  <law@redhat.com>
849
850         [BZ #16617]
851         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
852         on the heap.  (CVE-2012-3406)
853         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
854         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
855         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
856
857 2014-12-15  Will Newton  <will.newton@linaro.org>
858
859         * manual/install.texi: Bump required version of texinfo
860         to 4.7 from 4.5.
861         * INSTALL: Regenerated.
862         * configure.ac: Check for makeinfo version 4.7 and above.
863         * configure: Regenerated.
864
865 2014-12-12  Roland McGrath  <roland@hack.frob.com>
866
867         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
868         PREFIX, string constant to insert between directory and name.
869         * sysdeps/posix/shm_open.c: Update caller.
870         * sysdeps/posix/shm_unlink.c: Likewise.
871         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
872         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
873         (SEM_SHM_PREFIX): New macro.
874         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
875         [$(have-thread-library) = no].
876         * nptl/Makefile (libpthread-routines): Add shm-directory.
877         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
878         * sysdeps/nptl/shm-directory.h: New file.
879         * sysdeps/posix/shm-directory.c
880         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
881         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
882         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
883         INTERNAL_SYSCALL.
884         (__where_is_shmfs): Function removed.
885         (mountpoint, defaultmount, defaultdir, __namedsem_once):
886         Variables removed.
887         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
888         Use SHM_GET_NAME.
889         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
890
891         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
892         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
893         unconditional for use inside libpthread.
894         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
895
896 2014-12-12  Roland McGrath  <roland@hack.frob.com>
897
898         * nptl/pthread_getaffinity.c: New file.
899         * nptl/pthread_setaffinity.c: New file.
900         * nptl/pthread_getname.c: New file.
901         * nptl/pthread_setname.c: New file.
902
903         * nptl/pthread_create.c (START_THREAD_DEFN)
904         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
905
906 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
907             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
908
909         * resolv/res_send.c (send_vc): Disable warning resplen may
910         be used uninitialized.
911
912 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
913
914         * nptl/tst-mutex6.c
915         (ATTR_NULL): New define checks ATTR against NULL.
916         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
917         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
918
919 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
920
921         [BZ #17581]
922         * malloc/hooks.c
923         (mem2mem_check): Revert my previous change.
924         (malloc_check_get_size): Revert my previous change.
925         (mem2chunk_check): Revert my previous change.
926
927 2014-12-11  Roland McGrath  <roland@hack.frob.com>
928
929         * sysdeps/posix/shm-directory.c: New file.
930         * sysdeps/posix/shm-directory.h: New file.
931         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
932         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
933         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
934         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
935         Transmute EPERM to EACCES.
936         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
937         from ...
938         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
939         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
940
941 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
942
943         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
944         pointer and cast to uintptr_t.
945         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
946         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
947         Add cast to avoid warning.
948         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
949
950 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
951
952         * nptl/semaphore.h: Move to ...
953         * sysdeps/pthread/semaphore.h: ... here.
954         * Makefile (installed-headers): Change nptl/semaphore.h to
955         sysdeps/pthread/semaphore.h.
956
957 2014-12-11  Roland McGrath  <roland@hack.frob.com>
958
959         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
960         generated error format strings.
961
962         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
963         -Wformat-extra-args warnings for scanf formats.
964         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
965         test of zero-length format (duh).
966         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
967         corner-case scanf format test.
968         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
969         generated fprintf format string.
970         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
971         corner-case sprintf format tests.
972         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
973         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
974         -Wformat-extra-args warnings throughout.
975         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
976         (CFLAGS-scanf4.c): Likewise.
977         (CFLAGS-scanf7.c): Likewise.
978         (CFLAGS-tst-sprintf.c): Likewise.
979         (CFLAGS-tst-printf.c): Likewise.
980         (CFLAGS-tst-printfsz.c): Likewise.
981
982 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
983
984         * include/cpio.h: New file.
985         * include/fmtmsg.h: Likewise.
986
987         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
988         corresponding format argument to size_t.
989         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
990         arguments.
991         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
992         corresponding format argument to size_t.
993         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
994         arguments.
995         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
996         corresponding format argument to size_t.
997         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
998         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
999         (CFLAGS-tst-mbswcs2.c): Likewise.
1000         (CFLAGS-tst-mbswcs3.c): Likewise.
1001         (CFLAGS-tst-mbswcs4.c): Likewise.
1002         (CFLAGS-tst-mbswcs5.c): Likewise.
1003         (CFLAGS-tst-trans.c): Likewise
1004
1005 2014-12-11  Roland McGrath  <roland@hack.frob.com>
1006
1007         * posix/regexbug1.c (main): Use "%s" format with regerror results,
1008         rather than assuming they won't contain any '%'s.
1009
1010 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
1011
1012         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
1013         inhibit_loop_to_libcall to avoid recursive calls.
1014         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
1015         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
1016
1017 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
1018
1019         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
1020         prototype.
1021
1022 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
1023
1024         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
1025         integer value instead of boolean.
1026
1027 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
1028
1029         * malloc/malloc.c: Fix powerof2 check.
1030
1031 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
1032
1033         * locale/programs/locfile.h (maybe_swap_uint32):
1034         Remove inline and add unused attribute.
1035
1036 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
1037
1038         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
1039         Truncating assembler expression to a .long expression.
1040
1041 2014-12-11  Andreas Schwab  <schwab@suse.de>
1042
1043         * elf/rtld.c (struct map_args): Constify str member.
1044         (do_preload): Constify fname argument.
1045
1046 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1047
1048         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
1049         constants definition.
1050
1051 2014-12-11  Andreas Schwab  <schwab@suse.de>
1052
1053         [BZ #16657]
1054         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
1055         FORCE_ELISION instead of DO_ELISION.
1056         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
1057         Remove.
1058         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
1059         Likewise.
1060
1061         * iconvdata/gconv-modules: Remove duplicate entry.
1062
1063 2014-12-11  Will Newton  <will.newton@linaro.org>
1064
1065         Merge gettext 0.19.3 into intl/.
1066
1067         This involves a number of cosmetic changes to comments
1068         and ANSI function definitions and prototypes throughout
1069         all the files. The gettext copyright header is used but
1070         with the date ranges taken from the glibc copy.
1071
1072         * NEWS: Add gettext merge to 2.21.
1073         * intl/bindtextdom.c: Switch to gettext copyright.
1074         Use ANSI definitions and prototypes.
1075         Use gl_* locking primitives rather than __libc_* ones.
1076         Use __builtin_expect rather than __glibc_likely/unlikely.
1077         * intl/dcgettext.c: Switch to gettext copyright.
1078         Use ANSI definitions and prototypes.
1079         * intl/dcigettext.c: Switch to gettext copyright.
1080         Use ANSI definitions and prototypes.
1081         (INTDIV0_RAISES_SIGFPE): New define.
1082         Use gl_* locking primitives rather than __libc_* ones.
1083         Include eval-plural.h instead of plural-eval.c.
1084         Use __builtin_expect rather than __glibc_likely/unlikely.
1085         * intl/dcngettext.c: Switch to gettext copyright.
1086         Use ANSI definitions and prototypes.
1087         * intl/dgettext.c: Likewise.
1088         * intl/dngettext.c: Likewise.
1089         * intl/plural-eval.c: Renamed to...
1090         * intl/eval-plural.h: ...this.
1091         * intl/explodename.c: Switch to gettext copyright.
1092         Use ANSI definitions and prototypes.
1093         (_nl_explode_name): Use strchr instead of __rawmemchr.
1094         * intl/finddomain.c: Switch to gettext copyright.
1095         Use ANSI definitions and prototypes.
1096         Use gl_* locking primitives rather than __libc_* ones.
1097         (_nl_find_domain): Use malloc rather than alloca for
1098         allocation of temporary locale name.
1099         * intl/gettext.c: Switch to gettext copyright.
1100         Use ANSI definitions and prototypes.
1101         * intl/gettextP.h: Switch to gettext copyright.
1102         Use ANSI definitions and prototypes.
1103         Use gl_* locking primitives rather than __libc_* ones.
1104         * intl/gmo.h: Switch to gettext copyright.
1105         (struct sysdep_string): Move struct segment_pair outside of
1106         struct definition.
1107         * intl/hash-string.c: Use ANSI definitions and prototypes.
1108         * intl/hash-string.h: Switch to gettext copyright.
1109         Use ANSI definitions and prototypes.
1110         * intl/l10nflist.c: Switch to gettext copyright.
1111         Use ANSI definitions and prototypes.
1112         (_nl_normalize_codeset): Avoid integer overflow.
1113         * intl/loadinfo.h: Switch to gettext copyright.
1114         Use ANSI definitions and prototypes.
1115         (LIBINTL_DLL_EXPORTED): New define.
1116         (PATH_SEPARATOR): New define.
1117         * intl/loadmsgcat.c: Switch to gettext copyright.
1118         * intl/localealias.c: Switch to gettext copyright.
1119         Use ANSI definitions and prototypes.
1120         (_nl_expand_alias): Use PATH_SEPARATOR.
1121         * intl/ngettext.c: Switch to gettext copyright.
1122         Use ANSI definitions and prototypes.
1123         * intl/plural-exp.c: Likewise.
1124         * intl/plural-exp.h: Switch to gettext copyright.
1125         Use ANSI definitions and prototypes.
1126         (struct expression): Move definition of enum operator outside
1127         of struct definition.
1128         * intl/plural.c: Regenerate.
1129         * intl/plural.y: Switch to gettext copyright.
1130         Use ANSI definitions and prototypes.
1131         Port to bison 3.0.
1132         * intl/textdomain.c: Switch to gettext copyright.
1133         Use ANSI definitions and prototypes.
1134         Use gl_* locking primitives rather than __libc_* ones.
1135
1136 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
1137
1138         * debug/warning-nop.c: Add used atrribute.
1139
1140 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
1141
1142         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
1143
1144         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
1145         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
1146         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
1147
1148 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
1149             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1150
1151         [BZ #17634]
1152         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
1153         Undefine after defining function.  Define as weak alias of
1154         __wcschr.  Use libc_hidden_weak.
1155         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
1156         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
1157         (libc_hidden_def): Also define __GI___wcschr alias.
1158         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
1159         __wcschr and define as weak alias of __wcschr.
1160         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
1161         __wcschr.
1162         [!WCSCHR] (DEFAULT_WCSCHR): Define.
1163         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
1164         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
1165         libc_hidden_weak.  Do not use libc_hidden_def.
1166         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
1167         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
1168         __GI___wcschr alias.
1169         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
1170         [IS_IN (libc)] (wcschr): Define as macro expanding to
1171         __redirect_wcschr.
1172         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
1173         [IS_IN (libc)] (__wcschr_power6): Likewise.
1174         [IS_IN (libc)] (__wcschr_power7): Likewise.
1175         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
1176         instead of wcschr.
1177         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
1178         __libc_wcschr.
1179         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
1180         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
1181         __wcschr and define as weak alias of __wcschr.  Use
1182         libc_hidden_builtin_def.
1183         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
1184         as weak alias of __wcschr.  Use libc_hidden_weak.
1185         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
1186         wcschr.
1187         * time/era.c (_nl_init_era_entries): Likewise.
1188         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
1189         variable.
1190         (test-xfail-XPG3/time.h/linknamespace): Likewise.
1191         (test-xfail-XPG4/time.h/linknamespace): Likewise.
1192
1193 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
1194
1195         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
1196         format for long int variable.
1197
1198 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
1199
1200         [BZ #10672]
1201         * manual/search.texi: (Array Sort Function): Remove claim how to make
1202         qsort stable.
1203
1204 2014-12-10  Andreas Schwab  <schwab@suse.de>
1205
1206         [BZ #12847]
1207         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
1208         user-controlled locks.
1209
1210 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
1211
1212         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
1213         register.
1214
1215 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
1216
1217         * configure.ac (--disable-werror): New configure option.
1218         (enable_werror): New AC_SUBST.
1219         * configure: Regenerated.
1220         * config.make.in (enable-werror): New variable.
1221         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
1222         -Wno-error=undef.
1223         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
1224         * manual/install.texi (Configuring and compiling): Document
1225         --disable-werror.
1226         * INSTALL: Regenerated.
1227         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
1228         (CFLAGS-tst-chk2.c): Likewise.
1229         (CFLAGS-tst-chk3.c): Likewise.
1230         (CFLAGS-tst-chk4.cc): Likewise.
1231         (CFLAGS-tst-chk5.cc): Likewise.
1232         (CFLAGS-tst-chk6.cc): Likewise.
1233         (CFLAGS-tst-lfschk1.c): Likewise.
1234         (CFLAGS-tst-lfschk2.c): Likewise.
1235         (CFLAGS-tst-lfschk3.c): Likewise.
1236         (CFLAGS-tst-lfschk4.cc): Likewise.
1237         (CFLAGS-tst-lfschk5.cc): Likewise.
1238         (CFLAGS-tst-lfschk6.cc): Likewise.
1239
1240         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
1241         (main): Disable -Wdeprecated-declarations around calls to
1242         register_printf_function.
1243
1244         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
1245         (do_test): Disable -Wdiv-by-zero around some calls to
1246         fwrite_unlocked and fread_unlocked.
1247
1248         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
1249         (DIAG_POP_NEEDS_COMMENT): Likewise.
1250         (_DIAG_STR1): Likewise.
1251         (_DIAG_STR): Likewise.
1252         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
1253         * stdio-common/bug21.c: Include <libc-internal.h>.
1254         (do_test): Disable -Wformat around call to sscanf.
1255         * stdio-common/scanf14.c: Include <libc-internal.h>.
1256         (main): Disable -Wformat around some calls to scanf functions.
1257
1258 2014-12-09  Torvald Riegel  <triegel@redhat.com>
1259
1260         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
1261
1262 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1263
1264         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
1265         stack variable alignment.
1266
1267 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
1268
1269         [BZ #17682]
1270         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
1271         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
1272         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
1273         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
1274         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
1275         __getrlimit instead of getrlimit.
1276         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
1277         __gettimeofday instead of gettimeofday.
1278         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
1279         Likewise.
1280         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
1281         Likewise.
1282         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
1283         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
1284         Remove variable.
1285         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
1286         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
1287
1288 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1289
1290         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
1291         for wide-character tests.
1292
1293 2014-12-04  Roland McGrath  <roland@hack.frob.com>
1294
1295         * io/openat64.c: #include <libc-internal.h>
1296         (__openat64): Prototypify.  Use ignore_value on MODE.
1297         * io/openat.c: Likewise.
1298         * misc/reboot.c: #include <libc-internal.h>
1299         (reboot): Prototypify.  Use ignore_value on HOWTO.
1300         * misc/ptrace.c: #include <libc-internal.h>
1301         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
1302
1303 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
1304
1305         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
1306         XPG4, UNIX98 and XOPEN2K.
1307         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
1308         Remove variable.
1309         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
1310
1311 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
1312
1313         * libio/fileops.c: Use ISO C style for function definitions.
1314         * libio/iofopen.c: Likewise.
1315         * libio/wfileops.c: Likewise.
1316
1317         [BZ #17653]
1318         * libio/fileops.c (_IO_new_file_underflow): Unset cached
1319         offset on EOF.
1320         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
1321         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
1322         (fgets_func): Function pointer to fgets and fgetws.
1323         (do_ftell_test): Add test to verify ftell value after read
1324         EOF.
1325         (do_test): Set fgets_func.
1326
1327         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
1328         O_TRUNC flag for w and w+ modes.
1329         (do_rewind_test): Likewise.
1330         (do_ftell_test): Likewise.
1331         (do_write_test): Likewise.
1332
1333         [BZ #17647]
1334         * libio/fileops.c (do_ftell): Seek only when there are
1335         unflushed writes.
1336         * libio/wfileops.c (do_ftell_wide): Likewise.
1337         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
1338         test case.
1339         (do_one_test): Call it.
1340
1341 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
1342
1343         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
1344         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
1345         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
1346         Remove variable.
1347         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
1348         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
1349         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
1350
1351 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
1352
1353         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
1354         Remove variable.
1355         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
1356
1357         [BZ #17668]
1358         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
1359         as weak alias of __getifaddrs.  Use libc_hidden_weak.
1360         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
1361         __freeifaddrs.  Use libc_hidden_weak.
1362         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
1363         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
1364         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
1365         __freeifaddrs.  Use libc_hidden_weak.
1366         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
1367         __getifaddrs and define as weak alias of __getifaddrs.  Use
1368         libc_hidden_weak.
1369         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
1370         __freeifaddrs.  Use libc_hidden_weak.
1371         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
1372         Remove variable.
1373         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
1374         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
1375
1376 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
1377
1378         [BZ #17601]
1379         * sysdeps/mips/start.S (__start): Use indirect jump to call
1380         __libc_start_main.
1381
1382 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
1383
1384         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
1385
1386         * nptl/tst-mutex1.c: Include <stdbool.h>.
1387         [!ATTR] (ATTR_NULL): New macro.
1388         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
1389         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
1390         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
1391
1392         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
1393         to char *.
1394
1395         [BZ #17665]
1396         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
1397         Change conditional to [__USE_MISC].
1398
1399         [BZ #17664]
1400         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
1401         fgets_unlocked.
1402         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
1403         __fgets_unlocked.
1404         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
1405         fgets_unlocked.
1406         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
1407         Remove variable.
1408         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
1409         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
1410         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
1411         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
1412         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
1413         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
1414         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
1415         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
1416         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
1417
1418         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
1419
1420 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1421
1422         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1423         Remove strpbrk objects.
1424         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1425         (__libc_ifunc_impl_list): Remove strpbrk implementation.
1426         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
1427         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
1428         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
1429         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
1430
1431         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1432         Remove strcspn objects.
1433         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1434         (__libc_ifunc_impl_list): Remove strcspn implementation.
1435         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
1436         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
1437         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
1438         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
1439
1440         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1441         Remove strspn objetcs.
1442         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1443         (__libc_ifunc_impl_list): Remove strspn implementation.
1444         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
1445         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
1446         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
1447         * sysdeps/powerpc/powerpc64/strspn.S: New file.
1448
1449 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
1450
1451         [BZ #17581]
1452         * malloc/hooks.c
1453         (mem2mem_check): Add a terminator to the chain of checking blocks.
1454         (malloc_check_get_size): Use it here.
1455         (mem2chunk_check): Ditto.
1456
1457 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1458
1459         * sysdeps/powerpc/powerpc64/strtok.S: New file.
1460         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
1461
1462 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
1463
1464         * bits/ioctl-types.h: Indent preprocessor directives correctly.
1465
1466         * nptl/nptl-init.c: Include libc-internal.h.
1467         (__pthread_initialize_minimal_internal): Use ROUND_UP.
1468
1469         * elf/ldconfig.c (search_dir): Expand comment.
1470
1471 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
1472
1473         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
1474         variable.
1475         (linknamespace-symlist-stdlibs-tests): Likewise.
1476         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
1477         instead of $(objpfx)symlist-stdlibs.
1478         (linknamespace-libs-isoc): New variable.
1479         (linknamespace-libs): Use $(linknamespace-libs-isoc).
1480         (linknamespace-libs-ISO): New variable.
1481         (linknamespace-libs-ISO99): Likewise.
1482         (linknamespace-libs-ISO11): Likewise.
1483         (linknamespace-libs-XPG3): Likewise.
1484         (linknamespace-libs-XPG4): Likewise.
1485         (linknamespace-libs-POSIX): Likewise.
1486         (linknamespace-libs-UNIX98): Likewise.
1487         (linknamespace-libs-XOPEN2K): Likewise.
1488         (linknamespace-libs-POSIX2008): Likewise.
1489         (linknamespace-libs-XOPEN2K8): Likewise.
1490         ($(objpfx)symlist-stdlibs): Replace by
1491         $(linknamespace-symlist-stdlibs-tests).  Use
1492         $(linknamespace-libs-$*) as set of libraries.
1493         ($(linknamespace-header-tests)): Update dependencies.  Use
1494         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
1495         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
1496         * conform/linknamespace.pl: Remove comment about considering
1497         definitions of symbols from irrelevant libraries.
1498
1499 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
1500
1501         [BZ #13862]
1502         * elf/dl-tls.c: Include <atomic.h>.
1503         (oom): Remove #ifdef SHARED/#endif.
1504         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
1505         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
1506         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
1507         big enough.
1508         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
1509         * nptl/Makefile (tests): Add tst-stack4.
1510         (modules-names): Add tst-stack4mod.
1511         ($(objpfx)tst-stack4): New.
1512         (tst-stack4mod.sos): Likewise.
1513         ($(objpfx)tst-stack4.out): Likewise.
1514         ($(tst-stack4mod.sos)): Likewise.
1515         (clean): Likewise.
1516         * nptl/tst-stack4.c: New file.
1517         * nptl/tst-stack4mod.c: Likewise.
1518
1519 2014-11-27  J. Brown  <jb999@gmx.de>
1520
1521         * sysdeps/x86/bits/string.h: Add recent CPUs.
1522
1523 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
1524
1525         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
1526         sigblock.
1527
1528         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
1529         feof.
1530
1531         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
1532         variable.
1533
1534 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
1535
1536         * nscd/connections.c: Include libc-internal.h because of macro
1537         usage ignore_value.
1538
1539 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
1540
1541         * string/bits/string3.h (__warn_memset_zero_len): Don't
1542         declare for gcc newer than 5.0.
1543         (memset): Don't test for zero-length __LEN for gcc newer than
1544         5.0.
1545
1546 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
1547
1548         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
1549         size_t for %zu format.
1550
1551         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
1552         difference, not %ju.
1553
1554 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
1555
1556         * include/libc-internal.h (ignore_value): New macro.
1557         * nscd/connections.c (restart): Wrap calls to setuid and setgid
1558         with ignore_value.
1559
1560         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
1561         definition.
1562
1563         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
1564         pthread_cleanup_push to void *.
1565
1566         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
1567         Undefine.
1568
1569         [BZ #16619]
1570         [BZ #16740]
1571         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
1572         instead of 1L << 52.
1573
1574         * libio/bug-rewind.c (do_test): Check fwscanf return values.
1575         * libio/bug-rewind2.c (do_test): Likewise.
1576
1577         * debug/test-stpcpy_chk-ifunc.c: Remove file.
1578         * debug/test-strcpy_chk-ifunc.c: Likewise.
1579         * wcsmbs/test-wcschr-ifunc.c: Likewise.
1580         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
1581         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
1582         * wcsmbs/test-wcslen-ifunc.c: Likewise.
1583         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
1584         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
1585         * Rules [$(multi-arch) = no] (tests): Do not filter out
1586         $(tests-ifunc).
1587         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
1588         * debug/Makefile (tests-ifunc): Remove variable.
1589         (tests): Do not add $(tests-ifunc).
1590         * wcsmbs/Makefile (tests-ifunc): Remove variable.
1591         (tests): Do not add $(tests-ifunc).
1592         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
1593         [TEST_IFUNC]: Remove conditionals.
1594         * string/test-string.h (TEST_IFUNC): Remove macro.
1595         [TEST_IFUNC]: Remove conditionals.
1596
1597         * string/test-strchr.c [!WIDE] (L): New macro.
1598         [WIDE] (L): Likewise.
1599         (check1): Use CHAR instead of char.  Use L on string and character
1600         constants.
1601
1602 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
1603
1604         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
1605         tests.
1606         * sysdeps/powerpc/bits/atomic.h
1607         (__arch_atomic_exchange_and_add_32_acq): Add definition.
1608         (__arch_atomic_exchange_and_add_32_rel): Likewise.
1609         (atomic_exchange_and_add_acq): Likewise.
1610         (atomic_exchange_and_add_rel): Likewise.
1611         * sysdeps/powerpc/powerpc32/bits/atomic.h
1612         (__arch_atomic_exchange_and_add_64_acq): Add definition.
1613         (__arch_atomic_exchange_and_add_64_rel): Likewise.
1614         * sysdeps/powerpc/powerpc64/bits/atomic.h
1615         (__arch_atomic_exchange_and_add_64_acq): Add definition.
1616         (__arch_atomic_exchange_and_add_64_rel): Likewise.
1617
1618 2014-11-26  Torvald Riegel  <triegel@redhat.com>
1619
1620         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
1621         Change synchronization of __sched_fifo_min_prio and
1622         __sched_fifo_max_prio.
1623         * nptl/pthread_mutexattr_getprioceiling.c
1624         (pthread_mutexattr_getprioceiling): Likewise.
1625         * nptl/pthread_mutexattr_setprioceiling.c
1626         (pthread_mutexattr_setprioceiling): Likewise.
1627         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
1628         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
1629         Likewise.
1630
1631 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
1632
1633         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
1634         void.
1635
1636 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
1637
1638         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
1639         third argument const.
1640
1641 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
1642
1643         fnmatch: work around GCC compiler warning bug with uninit var
1644         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
1645         This works around a bug with x86-64 GCC 4.9.2 and earlier
1646         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
1647         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
1648         used uninitialized in this function [-Wmaybe-uninitialized]".
1649
1650 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
1651
1652         * posix/bug-regex31.c (main): Return RES not 0.
1653
1654 2014-11-25  Anton Blanchard <anton@samba.org>
1655
1656         * sysdeps/powerpc/bits/atomic.h
1657         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
1658
1659 2014-11-24  Sterling Augustine  <saugustine@google.com>
1660
1661         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
1662
1663 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
1664
1665         [BZ #17608]
1666         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
1667
1668 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
1669
1670         [BZ #17633]
1671         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
1672         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
1673         variable.
1674         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
1675         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
1676
1677 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
1678
1679         * string/strncpy.c (strncpy): Improve performance by using memset.
1680
1681 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
1682
1683         * string/strcpy.c (strcpy):
1684         Improve performance by using strlen and memcpy.
1685
1686 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
1687
1688         * string/strcoll_l.c (get_next_seq): __always_inline.
1689         * string/strcoll_l.c (do_compare): __always_inline.
1690
1691 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
1692
1693         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
1694         defined.
1695         * include/mqueue.h: Likewise.
1696         * include/stdlib.h: Likewise.
1697
1698         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
1699         (get_null_defines): Adjust.
1700         * sunrpc/Makefile: Adjust comment.
1701         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
1702         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
1703         (CFLAGS-interp.c): Likewise.
1704         (CFLAGS-ldconfig.c): Likewise.
1705         (CPPFLAGS-.os): Likewise.
1706         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
1707         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
1708         * extra-modules.mk (extra-modules.mk): Likewise.
1709         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
1710         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
1711         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
1712         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
1713         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
1714         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
1715         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
1716         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
1717         * iconvdata/Makefile (CPPFLAGS): Likewise.
1718         (cpp-srcs-left): Add libof for all iconvdata routines.
1719         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
1720         * include/assert.h: Likewise.
1721         * include/ctype.h: Likewise.
1722         * include/errno.h: Likewise.
1723         * include/libc-symbols.h: Likewise.
1724         * include/math.h: Likewise.
1725         * include/netdb.h: Likewise.
1726         * include/resolv.h: Likewise.
1727         * include/stdio.h: Likewise.
1728         * include/stdlib.h: Likewise.
1729         * include/string.h: Likewise.
1730         * include/sys/stat.h: Likewise.
1731         * include/wctype.h: Likewise.
1732         * intl/l10nflist.c: Likewise.
1733         * libidn/idn-stub.c: Likewise.
1734         * libio/libioP.h: Likewise.
1735         * nptl/libc_multiple_threads.c: Likewise.
1736         * nptl/pthreadP.h: Likewise.
1737         * posix/regex_internal.h: Likewise.
1738         * resolv/res_hconf.c: Likewise.
1739         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
1740         * sysdeps/arm/memmove.S: Likewise.
1741         * sysdeps/arm/sysdep.h: Likewise.
1742         * sysdeps/generic/_itoa.h: Likewise.
1743         * sysdeps/generic/symbol-hacks.h: Likewise.
1744         * sysdeps/gnu/errlist.awk: Likewise.
1745         * sysdeps/gnu/errlist.c: Likewise.
1746         * sysdeps/i386/i586/memcpy.S: Likewise.
1747         * sysdeps/i386/i586/memset.S: Likewise.
1748         * sysdeps/i386/i686/memcpy.S: Likewise.
1749         * sysdeps/i386/i686/memmove.S: Likewise.
1750         * sysdeps/i386/i686/mempcpy.S: Likewise.
1751         * sysdeps/i386/i686/memset.S: Likewise.
1752         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
1753         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
1754         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
1755         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
1756         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
1757         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
1758         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
1759         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
1760         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
1761         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
1762         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
1763         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
1764         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
1765         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
1766         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
1767         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
1768         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
1769         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
1770         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
1771         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
1772         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
1773         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
1774         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
1775         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
1776         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
1777         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
1778         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
1779         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
1780         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
1781         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
1782         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
1783         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
1784         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
1785         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
1786         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
1787         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
1788         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
1789         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
1790         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
1791         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
1792         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
1793         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
1794         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
1795         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
1796         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
1797         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
1798         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
1799         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
1800         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
1801         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
1802         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
1803         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
1804         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
1805         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
1806         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
1807         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
1808         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
1809         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
1810         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
1811         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
1812         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
1813         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
1814         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
1815         * sysdeps/nptl/bits/libc-lock.h: Likewise.
1816         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
1817         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
1818         * sysdeps/posix/closedir.c: Likewise.
1819         * sysdeps/posix/opendir.c: Likewise.
1820         * sysdeps/posix/readdir.c: Likewise.
1821         * sysdeps/posix/rewinddir.c: Likewise.
1822         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
1823         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
1824         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
1825         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
1826         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
1827         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
1828         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
1829         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
1830         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
1831         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
1832         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
1833         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
1834         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
1835         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
1836         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
1837         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
1838         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
1839         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
1840         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
1841         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
1842         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
1843         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
1844         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
1845         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
1846         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
1847         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
1848         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
1849         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
1850         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
1851         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
1852         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
1853         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
1854         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
1855         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
1856         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
1857         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
1858         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
1859         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
1860         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
1861         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
1862         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
1863         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
1864         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
1865         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
1866         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
1867         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
1868         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
1869         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
1870         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
1871         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
1872         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
1873         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
1874         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
1875         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
1876         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
1877         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
1878         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
1879         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
1880         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
1881         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
1882         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
1883         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
1884         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
1885         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
1886         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
1887         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
1888         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
1889         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
1890         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
1891         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
1892         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
1893         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
1894         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
1895         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
1896         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
1897         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
1898         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
1899         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
1900         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
1901         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
1902         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
1903         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
1904         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
1905         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
1906         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
1907         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
1908         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
1909         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
1910         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
1911         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
1912         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
1913         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
1914         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
1915         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
1916         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
1917         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
1918         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
1919         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
1920         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
1921         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
1922         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
1923         * sysdeps/unix/alpha/sysdep.S: Likewise.
1924         * sysdeps/unix/alpha/sysdep.h: Likewise.
1925         * sysdeps/unix/make-syscalls.sh: Likewise.
1926         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
1927         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
1928         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
1929         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
1930         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
1931         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
1932         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
1933         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
1934         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
1935         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
1936         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
1937         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
1938         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
1939         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
1940         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
1941         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
1942         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
1943         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
1944         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
1945         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
1946         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
1947         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
1948         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
1949         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
1950         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
1951         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
1952         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
1953         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
1954         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
1955         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
1956         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
1957         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
1958         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
1959         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
1960         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
1961         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
1962         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
1963         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
1964         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
1965         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
1966         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
1967         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
1968         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
1969         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
1970         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
1971         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
1972         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
1973         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
1974         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
1975         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
1976         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
1977         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
1978         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
1979         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
1980         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
1981         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
1982         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
1983         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
1984         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
1985         * sysdeps/x86_64/memcpy.S: Likewise.
1986         * sysdeps/x86_64/memmove.c: Likewise.
1987         * sysdeps/x86_64/memset.S: Likewise.
1988         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
1989         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
1990         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
1991         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
1992         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
1993         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
1994         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
1995         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
1996         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
1997         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
1998         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
1999         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
2000         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
2001         * sysdeps/x86_64/multiarch/memset.S: Likewise.
2002         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
2003         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
2004         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
2005         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
2006         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
2007         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
2008         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
2009         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
2010         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
2011         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
2012         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
2013         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
2014         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
2015         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
2016         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
2017         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
2018         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
2019         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
2020         * sysdeps/x86_64/strcmp.S: Likewise.
2021
2022         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
2023
2024         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
2025         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
2026         * elf/rtld-Rules: Likewise.
2027         * elf/setup-vdso.h: Likewise.
2028         * include/assert.h: Likewise.
2029         * include/bits/stdlib-float.h: Likewise.
2030         * include/errno.h: Likewise.
2031         * include/sys/stat.h: Likewise.
2032         * include/unistd.h: Likewise.
2033         * sysdeps/aarch64/setjmp.S: Likewise.
2034         * sysdeps/alpha/setjmp.S: Likewise.
2035         * sysdeps/arm/__longjmp.S: Likewise.
2036         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
2037         * sysdeps/arm/setjmp.S: Likewise.
2038         * sysdeps/arm/sysdep.h: Likewise.
2039         * sysdeps/generic/_itoa.h: Likewise.
2040         * sysdeps/generic/dl-sysdep.h: Likewise.
2041         * sysdeps/generic/ldsodefs.h: Likewise.
2042         * sysdeps/i386/dl-tls.h: Likewise.
2043         * sysdeps/i386/setjmp.S: Likewise.
2044         * sysdeps/m68k/setjmp.c: Likewise.
2045         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
2046         * sysdeps/mach/hurd/opendir.c: Likewise.
2047         * sysdeps/posix/getcwd.c: Likewise.
2048         * sysdeps/posix/opendir.c: Likewise.
2049         * sysdeps/posix/profil.c: Likewise.
2050         * sysdeps/powerpc/dl-procinfo.h: Likewise.
2051         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
2052         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
2053         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
2054         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
2055         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
2056         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
2057         * sysdeps/s390/dl-tls.h: Likewise.
2058         * sysdeps/s390/s390-32/setjmp.S: Likewise.
2059         * sysdeps/s390/s390-64/setjmp.S: Likewise.
2060         * sysdeps/sh/sh3/setjmp.S: Likewise.
2061         * sysdeps/sh/sh4/setjmp.S: Likewise.
2062         * sysdeps/unix/alpha/sysdep.h: Likewise.
2063         * sysdeps/unix/arm/sysdep.S: Likewise.
2064         * sysdeps/unix/i386/sysdep.S: Likewise.
2065         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
2066         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
2067         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
2068         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
2069         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
2070         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
2071         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
2072         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
2073         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
2074         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
2075         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
2076         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
2077         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
2078         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
2079         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
2080         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
2081         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
2082         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
2083         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
2084         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
2085         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
2086         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
2087         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2088         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
2089         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
2090         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
2091         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
2092         * sysdeps/unix/x86_64/sysdep.S: Likewise.
2093         * sysdeps/x86_64/setjmp.S: Likewise.
2094
2095         * include/math.h: Use IS_IN instead of IS_IN_libm.
2096         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
2097         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
2098         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
2099         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
2100         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
2101         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
2102         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
2103         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
2104         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
2105         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
2106         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
2107         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
2108         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
2109         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
2110         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
2111         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
2112         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
2113         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
2114         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
2115         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
2116         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
2117         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
2118         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
2119         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
2120         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
2121         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
2122         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
2123         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
2124         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
2125         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
2126         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
2127         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
2128         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
2129         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
2130         Likewise.
2131         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
2132         Likewise.
2133         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
2134         Likewise.
2135         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
2136         Likewise.
2137         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
2138         Likewise.
2139         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
2140         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
2141         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
2142         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
2143         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
2144         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
2145         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
2146         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
2147         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
2148         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
2149         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
2150         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
2151         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
2152         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
2153         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
2154         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
2155         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
2156         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
2157         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
2158         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
2159         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
2160         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
2161         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
2162         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
2163         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
2164         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
2165         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
2166
2167         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
2168         * nptl/pthreadP.h: Likewise.
2169         * nptl_db/structs.def: Likewise.
2170         * sysdeps/arm/sysdep.h: Likewise.
2171         * sysdeps/nptl/bits/libc-lock.h: Likewise.
2172         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
2173         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
2174         * sysdeps/unix/alpha/sysdep.h: Likewise.
2175         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
2176         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
2177         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
2178         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
2179         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
2180         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
2181         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
2182         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
2183         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
2184         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
2185         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
2186         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
2187         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
2188         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
2189         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
2190         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
2191         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
2192         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
2193         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
2194         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
2195         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
2196         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
2197         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
2198         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
2199         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
2200         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
2201
2202         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
2203         * nptl/pthreadP.h: Likewise.
2204         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
2205         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
2206         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
2207         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
2208         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
2209         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
2210         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
2211         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
2212         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
2213         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
2214         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
2215         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
2216         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
2217         Likewise.
2218         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
2219         Likewise.
2220         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
2221         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
2222         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
2223         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
2224         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
2225         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
2226         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
2227         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
2228
2229         * dlfcn/dladdr.c: Use IS_IN.
2230         * dlfcn/dladdr1.c: Likewise.
2231         * dlfcn/dlclose.c: Likewise.
2232         * dlfcn/dlerror.c: Likewise.
2233         * dlfcn/dlinfo.c: Likewise.
2234         * dlfcn/dlmopen.c: Likewise.
2235         * dlfcn/dlopen.c: Likewise.
2236         * dlfcn/dlsym.c: Likewise.
2237         * dlfcn/dlvsym.c: Likewise.
2238
2239         * include/ifaddrs.h: Use IS_IN.
2240         * inet/check_pf.c: Likewise.
2241         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
2242         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
2243
2244         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
2245         IS_IN_ldconfig.
2246         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
2247         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
2248
2249         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
2250         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
2251         IS_IN (libc).
2252
2253         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
2254
2255         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
2256         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
2257         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
2258         * include/libc-symbols.h (IS_IN_LIB): New macro.
2259         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
2260         * include/netdb.h: Likewise.
2261         * include/stap-probe.h: Remove all uses of IN_LIB.
2262
2263         * Makeconfig (module-cppflags-real): Define MODULE_NAME
2264         instead of IN_MODULE.
2265         * include/libc-symbols.h (IN_MODULE): Define using
2266         MODULE_NAME.
2267         (PASTE_NAME, PASTE_NAME1): New macros.
2268         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
2269         of IN_LIB.
2270         (STAP_PROBE_ASM): Likewise.
2271
2272 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2273
2274         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
2275         __mach_init in dlopened libc.
2276
2277 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
2278
2279         * sysdeps/arm/preconfigure.ac: Delete EABI check.
2280         * sysdeps/arm/preconfigure: Regenerate.
2281
2282 2014-11-21  Roland McGrath  <roland@hack.frob.com>
2283
2284         * nptl/pthread_create.c (__pthread_create_2_1): Set
2285         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
2286         when copying values from IATTR into PD.
2287
2288 2014-11-21  Will Newton  <will.newton@linaro.org>
2289             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
2290
2291         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
2292         Refactor inline-asm.  Also add comment.
2293
2294         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
2295         ElfW macro instead of hardcoded Elf64 types.
2296         (la_aarch64_gnu_pltenter): Likewise.
2297         * sysdeps/aarch64/dl-machine.h
2298         (elf_machine_runtime_setup): Use ElfW(Addr).
2299
2300         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
2301         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
2302         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
2303         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
2304         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
2305         (R_AARCH64_TLS_DTPMOD64): Rename to ..
2306         (R_AARCH64_TLS_DTPMOD): This.
2307         (R_AARCH64_TLS_DTPREL64): Rename to ...
2308         (R_AARCH64_TLS_DTPREL): This.
2309         (R_AARCH64_TLS_TPREL64): Rename to ...
2310         (R_AARCH64_TLS_TPREL): This.
2311         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
2312         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
2313         R_AARCH64_TLS_TPREL64.
2314         (elf_machine_rela): Likewise.
2315
2316 2014-11-21  Torvald Riegel  <triegel@redhat.com>
2317
2318         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
2319         by setting it to 0.  64b atomics are not supported currently.
2320
2321 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
2322
2323         [BZ #16469]
2324         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
2325         search domain names.
2326
2327 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
2328
2329         [BZ #16469]
2330         * NEWS: Update.
2331         * resolv/res_query.c (__libc_res_nquerydomain): Retain
2332         trailing dot.
2333         * posix/tst-getaddrinfo5.c: New.
2334         * posix/Makefile (tests): Add it.
2335
2336 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
2337
2338         [BZ #14498]
2339         * NEWS: Fixed.
2340         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
2341         after parsing line but before break_if_match.
2342         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
2343         if there is a protocol mismatch.
2344
2345 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
2346
2347         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
2348         because the potential race is on the user-supplied stream.
2349
2350 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
2351
2352         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
2353         string literal if not passed a buffer.
2354         * manual/job.texi (ctermid): Update reasoning, note deviation
2355         from posix, suggest mtasurace when not passed a buffer, for
2356         future non-preliminary safety notes.
2357
2358 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
2359
2360         * manual/users.texi (cuserid): Fix MT-Safety note for the case
2361         of not passing it a buffer.
2362         Reported by Peng Haitao.
2363
2364 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
2365
2366         * manual/Makefile ($(objpfx)stamp-summary): Require
2367         check-safety.sh to pass.
2368         * manual/check-safety.sh: Wish for verification that every
2369         @deftypefn and @deftypefun is followed by a @safety remark.
2370
2371 2014-11-20  Roland McGrath  <roland@hack.frob.com>
2372
2373         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
2374
2375         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
2376         PTHREAD_CANCEL_ASYNCHRONOUS.
2377         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
2378         send SIGCANCEL.
2379
2380         * nptl/default-sched.h: New file.
2381         * sysdeps/unix/sysv/linux/default-sched.h: New file.
2382         * nptl/pthread_create.c: Include it.
2383         (__pthread_create_2_1): Use collect_default_sched instead of making
2384         Linux syscalls here directly.
2385
2386 2014-11-20  Torvald Riegel  <triegel@redhat.com>
2387
2388         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
2389         __pthread_once): Use C11 atomics.
2390
2391 2014-11-20  Torvald Riegel  <triegel@redhat.com>
2392
2393         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
2394
2395 2014-11-20  Torvald Riegel  <triegel@redhat.com>
2396
2397         * include/atomic.h (__atomic_link_error, __atomic_check_size,
2398         atomic_thread_fence_acquire, atomic_thread_fence_release,
2399         atomic_thread_fence_seq_cst, atomic_load_relaxed,
2400         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
2401         atomic_compare_exchange_weak_relaxed,
2402         atomic_compare_exchange_weak_acquire,
2403         atomic_compare_exchange_weak_release,
2404         atomic_exchange_acquire, atomic_exchange_release,
2405         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
2406         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
2407         atomic_fetch_and_acquire,
2408         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
2409
2410 2014-11-20  Torvald Riegel  <triegel@redhat.com>
2411
2412         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
2413         USE_ATOMIC_COMPILER_BUILTINS): Define.
2414         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
2415         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2416         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
2417         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2418         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
2419         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2420         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
2421         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2422         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
2423         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2424         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
2425         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2426         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
2427         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2428         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
2429         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2430         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
2431         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2432         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
2433         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2434         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
2435         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2436         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
2437         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2438         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
2439         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2440         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
2441         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2442         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
2443         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2444         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
2445         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2446         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
2447         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2448         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
2449         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2450         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
2451         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2452         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
2453         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2454
2455 2014-11-19  Roland McGrath  <roland@hack.frob.com>
2456
2457         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
2458         the sched_priority value here.  It was already checked when the user
2459         called pthread_attr_setschedparam.
2460
2461         * nptl/tst-bad-schedattr.c: New file.
2462         * nptl/Makefile (tests): Add it.
2463
2464 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
2465             Florian Weimer  <fweimer@redhat.com>
2466             Joseph Myers  <joseph@codesourcery.com>
2467             Adam Conrad  <adconrad@0c3.net>
2468             Andreas Schwab  <schwab@suse.de>
2469             Brooks  <bmoses@google.com>
2470
2471         [BZ #17625]
2472         * wordexp-test.c (__dso_handle): Add prototype.
2473         (__register_atfork): Likewise.
2474         (__app_register_atfork): New function.
2475         (registered_forks): New global.
2476         (register_fork): New function.
2477         (test_case): Add 3 new tests for WRDE_CMDSUB.
2478         (main): Call __app_register_atfork.
2479         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
2480         fork count is non-zero fail the test.
2481         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
2482         is set.
2483         (parse_dollars): Remove check for WRDE_NOCMD.
2484         (parse_dquote): Likewise.
2485
2486 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
2487
2488         * Makeconfig (built-modules): List non-library modules to be
2489         built.
2490         (module-cppflags): Include libc-modules.h for
2491         everything except shlib-versions.v.i.
2492         (CPPFLAGS): Use it.
2493         (before-compile): Add libc-modules.h.
2494         ($(common-objpfx)libc-modules.h,
2495         $(common-objpfx)libc-modules.stmp): New targets.
2496         (common-generated): Add libc-modules.h and libc-modules.stmp.
2497         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
2498         * include/libc-symbols.h: Don't include libc-modules.h.
2499         * include/libc-modules.h: Remove file.
2500         * scripts/gen-libc-modules.awk: New script to generate
2501         libc-modules.h.
2502         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
2503         Depend on libc-modules.stmp.
2504
2505         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
2506
2507         * Makeconfig (in-module): Get value of libof set for the
2508         translation unit.
2509         (CPPFLAGS): Use $(in-module).
2510         * Makerules: Don't suffix routine names for nonlib.
2511         * include/libc-modules.h: New file.
2512         * include/libc-symbols.h: Include libc-modules.h
2513         (IS_IN): New macro to replace IS_IN_* macros.
2514         * elf/Makefile: Set libof-* for each routine.
2515         * elf/rtld-Rules: Likewise.
2516         * extra-modules.mk: Likewise.
2517         * iconv/Makefile: Likewise.
2518         * iconvdata/Makefile: Likewise.
2519         * locale/Makefile: Likewise.
2520         * malloc/Makefile: Likewise.
2521         * nss/Makefile: Likewise.
2522         * sysdeps/gnu/Makefile: Likewise.
2523         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
2524         * sysdeps/unix/sysv/linux/Makefile: Likewise.
2525         * sysdeps/s390/s390-64/Makefile: Likewise.
2526         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
2527         CPPFLAGS for nscd instead of nonlib.
2528
2529 2014-11-18  Roland McGrath  <roland@hack.frob.com>
2530
2531         * nptl/createthread.c: New file.
2532
2533         * nptl/createthread.c: Moved ...
2534         * sysdeps/unix/sysv/linux/createthread.c: ... here.
2535
2536         * nptl/createthread.c: Add proper top-line comment.
2537         (do_clone): Folded into ...
2538         (create_thread): ... here.  Take new arguments STOPPED_START and
2539         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
2540         increment __nptl_threads, do event-reporting logic, do
2541         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
2542         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
2543         resource cleanup if sched_setaffinity or sched_setscheduler fails,
2544         just send SIGCANCEL.
2545         * nptl/pthread_create.c: Forward-declare create_thread before
2546         including createthread.c.
2547         (start_thread): Use new macro START_THREAD_DEFN to replace defining
2548         declaration, and new macro START_THREAD_SELF to replace argument.
2549         Remove return statement.
2550         (report_thread_creation): New function.
2551         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
2552         synchronization logic, and __nptl_nthreads increment here, around
2553         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
2554         PD->parent_cancelhandling here, before create_thread.  When
2555         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
2556         __deallocate_stack, and ENOMEM translation here.
2557
2558 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
2559
2560         [BZ #17616]
2561         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
2562         (mptwo): Rename to __mptwo.
2563         (__inv): Use __mptwo instead of mptwo.
2564         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
2565         (mptwo): Rename to __mptwo.
2566         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
2567         of mpone and __mptwo instead of mptwo.
2568         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
2569         instead of mpone.
2570         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
2571         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
2572         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
2573         of mpone and __mptwo instead of mptwo.
2574         (__mpranred): Use __mpone instead of mpone.
2575         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
2576         variable.
2577         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
2578         (test-xfail-ISO99/math.h/linknamespace): Likewise.
2579         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
2580         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
2581         (test-xfail-ISO11/math.h/linknamespace): Likewise.
2582         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
2583         (test-xfail-XPG3/math.h/linknamespace): Likewise.
2584         (test-xfail-XPG4/math.h/linknamespace): Likewise.
2585         (test-xfail-POSIX/math.h/linknamespace): Likewise.
2586         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
2587         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
2588         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
2589         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
2590         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
2591         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
2592         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
2593         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
2594         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
2595         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
2596
2597 2014-11-18  Tom de Vries  <tom@codesoucery.com>
2598
2599         * manual/signal.texi (Primitives Interrupted by Signals): In section,
2600         replace BSD Handler xref with BSD Signal Handling.
2601
2602 2014-11-17  Richard Henderson  <rth@redhat.com>
2603
2604         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
2605         (_FP_PACK_RAW_2): Remove.
2606         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
2607         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
2608         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
2609         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
2610         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
2611         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
2612         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
2613         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
2614         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
2615         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
2616         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
2617         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
2618         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
2619         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
2620         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
2621         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
2622
2623 2014-11-14  Roland McGrath  <roland@hack.frob.com>
2624
2625         * signal/signal.h [__USE_MISC]
2626         (struct sigvec): Remove type.
2627         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
2628         (sigvec): Remove declaration.
2629         * sysdeps/posix/sigvec.c: Moved ...
2630         * signal/sigvec.c: ... here, replacing old file.
2631         (struct sigvec): New type, copied from old signal.h definition.
2632         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
2633         (__sigvec): Convert definition to prototype.
2634         (sigvec): Replace weak_alias with compat_symbol.
2635         * signal/Versions (libc: GLIBC_2.21): New version set.
2636         * include/signal.h: Remove __sigvec declaration.
2637         * sysdeps/unix/bsd/sigvec.c: Remove file.
2638         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
2639         * manual/signal.texi (BSD Handler): Remove subsection.
2640         Move siginterrupt up to ...
2641         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
2642         (Blocking in BSD): Fold subsection into its parent.
2643         * NEWS: Mention sigvec removal.
2644
2645 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
2646
2647         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
2648         (DLA_FMS): Make definition conditional only on [__FMA4__].
2649         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
2650         definition.
2651
2652         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
2653         Make definition conditional only on [PROF].
2654         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
2655         definition.
2656         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
2657         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
2658
2659         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
2660         !__GNUC__].
2661         * include/signal.h (__sigpause): Move declaration above call to
2662         libc_hidden_proto.
2663         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
2664         variable.
2665         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
2666         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
2667
2668 2014-11-14  David S. Miller  <davem@davemloft.net>
2669
2670         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
2671         Define before including <string/memcpy.c> and <string/mempcpy.c>.
2672
2673 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
2674
2675         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
2676         * configure: Regenerated.
2677         * manual/install.texi (Tools for Compilation): Document a
2678         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
2679         compiler verified to work.
2680         * INSTALL: Regenerated.
2681
2682         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
2683         redeclare with asm name.
2684         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
2685         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
2686         including <string.h>.
2687         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
2688         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
2689         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
2690         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
2691         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
2692         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
2693         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
2694
2695 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
2696
2697         * stdlib/strtol.c (__strtol): Use prototype definition.
2698
2699         [BZ #17594]
2700         * stdlib/strtol.c (SYM__): New macro.
2701         (SYM__1): Likewise.
2702         (__strtol): Likewise.
2703         (strtol): Rename to __strtol and define as weak alias of
2704         __strtol.  Use libc_hidden_weak.
2705
2706 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
2707
2708         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
2709         Use numbered labels in inline assembly.
2710
2711 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
2712
2713         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
2714         Add setjmp LIBC_PROBE.
2715         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
2716         Likewise.
2717         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
2718         Add longjmp, longjmp_target LIBC_PROBE.
2719         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
2720         Likewise.
2721
2722 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
2723
2724         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
2725         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
2726         to get rid of unused variable warning.
2727
2728 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
2729
2730         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
2731         Check for unwind_backtrace ==  NULL only in SHARED case.
2732         (__backchain_backtrace): Compile only in SHARED case.
2733         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
2734         Likewise.
2735         (__backchain_backtrace): Declare as static.
2736
2737 2014-11-12  Roland McGrath  <roland@hack.frob.com>
2738
2739         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
2740         (__libc_multiple_threads_ptr): Variable moved ...
2741         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
2742
2743 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
2744
2745         * conform/GlibcConform.pm: New file.
2746         * conform/conformtest.pl: Use GlibcConform module.
2747         * conform/linknamespace.pl: New file.
2748         * conform/list-header-symbols.pl: Likewise.
2749         * conform/Makefile (linknamespace-symlists-base): New variable.
2750         (linknamespace-symlists-tests): Likewise.
2751         (linknamespace-header-base): Likewise.
2752         (linknamespace-header-tests): Likewise.
2753         (tests-special): Add new tests.
2754         ($(linknamespace-symlists-tests)): New rule.
2755         (linknamespace-libs): New variable.
2756         ($(objpfx)symlist-stdlibs): New rule.
2757         ($(linknamespace-header-tests)): Likewise.
2758         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
2759         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
2760         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
2761         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
2762         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
2763         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
2764         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
2765         (test-xfail-ISO/math.h/linknamespace): Likewise.
2766         (test-xfail-ISO/signal.h/linknamespace): Likewise.
2767         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
2768         (test-xfail-ISO/time.h/linknamespace): Likewise.
2769         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
2770         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
2771         (test-xfail-ISO99/math.h/linknamespace): Likewise.
2772         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
2773         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
2774         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
2775         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
2776         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
2777         (test-xfail-ISO11/math.h/linknamespace): Likewise.
2778         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
2779         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
2780         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
2781         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
2782         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
2783         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
2784         (test-xfail-XPG3/math.h/linknamespace): Likewise.
2785         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
2786         (test-xfail-XPG3/search.h/linknamespace): Likewise.
2787         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
2788         (test-xfail-XPG3/time.h/linknamespace): Likewise.
2789         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
2790         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
2791         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
2792         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
2793         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
2794         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
2795         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
2796         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
2797         (test-xfail-XPG4/math.h/linknamespace): Likewise.
2798         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
2799         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
2800         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
2801         (test-xfail-XPG4/search.h/linknamespace): Likewise.
2802         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
2803         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
2804         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
2805         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
2806         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
2807         (test-xfail-XPG4/time.h/linknamespace): Likewise.
2808         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
2809         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
2810         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
2811         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
2812         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
2813         (test-xfail-POSIX/math.h/linknamespace): Likewise.
2814         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
2815         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
2816         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
2817         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
2818         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
2819         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
2820         (test-xfail-POSIX/time.h/linknamespace): Likewise.
2821         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
2822         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
2823         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
2824         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
2825         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
2826         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
2827         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
2828         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
2829         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
2830         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
2831         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
2832         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
2833         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
2834         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
2835         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
2836         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
2837         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
2838         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
2839         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
2840         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
2841         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
2842         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
2843         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
2844         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
2845         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
2846         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
2847         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
2848         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
2849         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
2850         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
2851         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
2852         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
2853         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
2854         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
2855         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
2856         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
2857         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
2858         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
2859         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
2860         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
2861         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
2862         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
2863         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
2864         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
2865         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
2866         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
2867         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
2868         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
2869         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
2870         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
2871         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
2872         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
2873         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
2874         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
2875         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
2876         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
2877         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
2878         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
2879         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
2880         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
2881         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
2882         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
2883         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
2884         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
2885         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
2886         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
2887         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
2888         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
2889         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
2890         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
2891         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
2892         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
2893         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
2894         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
2895         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
2896         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
2897         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
2898         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
2899         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
2900         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
2901         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
2902         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
2903         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
2904         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
2905         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
2906         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
2907         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
2908         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
2909         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
2910         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
2911         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
2912         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
2913         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
2914         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
2915         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
2916         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
2917         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
2918         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
2919
2920         [BZ #17589]
2921         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
2922         of fgets_unlocked.
2923
2924         [BZ #17585]
2925         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
2926         (memmem): Rename to __memmem and define as weak alias of
2927         __memmem.  Use libc_hidden_weak.
2928         (__memmem): Use libc_hidden_def.
2929         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
2930         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
2931         memmem.
2932
2933         [BZ #17582]
2934         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
2935         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
2936         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
2937         and define as weak alias of __fgets_unlocked.  Use
2938         libc_hidden_weak.
2939         (__fgets_unlocked): Use libc_hidden_def.
2940         * include/stdio.h (__fgets_unlocked): Declare.  Use
2941         libc_hidden_proto.
2942         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
2943         __fgets_unlocked instead of fgets_unlocked.
2944         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
2945         (GET_NPROCS_CONF_PARSER): Likewise.
2946         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
2947         (GET_NPROCS_CONF_PARSER): Likewise.
2948
2949         [BZ #17574]
2950         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
2951         weak alias of __wmemset.  Use libc_hidden_weak.
2952         (__wmemset): Use libc_hidden_def.
2953         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
2954         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
2955         of wmemset.
2956
2957         [BZ #17573]
2958         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
2959         with asm name __mempcpy.
2960         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
2961
2962         [BZ #17572]
2963         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
2964         and define as weak alias of __rawmemchr.
2965         (__rawmemchr): Do not define as strong alias of rawmemchr.
2966
2967         [BZ #17571]
2968         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
2969         alias of __qsort_r.
2970         (qsort): Call __qsort_r instead of qsort_r.
2971         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
2972         (__qsort_r): Declare.  Call libc_hidden_proto.
2973         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
2974         instead of qsort_r.
2975         * nscd/gai.c (__qsort_r): Define to qsort_r.
2976         * posix/tst-rfc3484.c (__qsort_r): Likewise.
2977         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
2978         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
2979
2980         [BZ #17570]
2981         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
2982         define as weak alias of __malloc_info.
2983
2984         [BZ #17584]
2985         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
2986         as weak alias of __rewinddir.  Don't use libc_hidden_def.
2987         (__rewinddir): Use libc_hidden_def.
2988         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
2989         as weak alias of __rewinddir.  Don't use libc_hidden_def.
2990         (__rewinddir): Use libc_hidden_def.
2991         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
2992         weak alias of __rewinddir.  Don't use libc_hidden_def.
2993         (__rewinddir): Use libc_hidden_def.
2994         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
2995         (__rewinddir): Use libc_hidden_proto.
2996         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
2997         rewinddir.
2998         (__getcwd): Use __rewinddir instead of rewinddir.
2999
3000         [BZ #17583]
3001         * libio/fileno.c (fileno): Rename to __fileno and define as weak
3002         alias of __fileno.  Use libc_hidden_weak.
3003         (__fileno): Use libc_hidden_def.
3004         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
3005         * libio/ftello.c (ftello): Rename to __ftello and define as weak
3006         alias of __ftello.
3007         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
3008         __ftello.
3009         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
3010         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
3011         libc_hidden_def.
3012         (fread_unlocked): Don't use libc_hidden_ver.
3013         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
3014         and define as weak alias of __fread_unlocked.  Don't use
3015         libc_hidden_def.
3016         (__fread_unlocked): Use libc_hidden_def.
3017         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
3018         (ftello): Don't use libc_hidden_proto.
3019         (__ftello): Declare.  Use libc_hidden_proto.
3020         (fread_unlocked): Don't use libc_hidden_proto.
3021         (__fread_unlocked): Declare.  Use libc_hidden_proto.
3022         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
3023         and __ftello instead of fileno, fread_unlocked and ftello.
3024
3025 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
3026
3027         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
3028         GOT12.
3029         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
3030         Likewise.
3031         (_dl_start_user): Likewise.
3032         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
3033
3034 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
3035             Siddhesh Poyarekar  <siddhesh@redhat.com>
3036
3037         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
3038         Move argv and envp down instead of moving argc up.
3039         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
3040
3041 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
3042
3043         [BZ #17506]
3044         * test-skeleton.c (main): Return successful if one of
3045         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
3046         * string/tst-strcoll-overflow.c: Define expected status.
3047
3048 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
3049
3050         [BZ #17475]
3051         * locale/iso-639.def: Define Bhili and Tulu language codes.
3052
3053 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
3054
3055         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
3056
3057 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
3058
3059         [BZ #17555]
3060         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
3061
3062 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
3063
3064         * configure.ac: Updated check of minimal required version to
3065         2.22.
3066         * manual/install.texi (Tools for Compilation): Updated version
3067         number.
3068         * configure: Regenerated.
3069         * INSTALL: Likewise.
3070
3071 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
3072
3073         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
3074         __tls_get_addr.
3075
3076 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
3077
3078         * include/sys/wait.h (__libc_waitpid): Remove declaration.
3079         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
3080         (__waitpid): Don't define as alias.  Use libc_hidden_def not
3081         libc_hidden_weak.
3082         (waitpid): Define as alias of __waitpid.
3083         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
3084         __waitpid.
3085         (__waitpid): Don't define as alias.  Use libc_hidden_def not
3086         libc_hidden_weak.
3087         (waitpid): Define as alias of __waitpid.
3088         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
3089         __libc_waitpid alias.
3090         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
3091         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
3092         Likewise.
3093         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
3094         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
3095         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
3096         alias.
3097         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
3098         __waitpid.
3099         (__waitpid): Don't define as alias.  Use libc_hidden_def not
3100         libc_hidden_weak.
3101         (waitpid): Define as alias of __waitpid.
3102
3103 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
3104
3105         * manual/llio.texi: Add comment that write safety has been
3106         fixed in Linux.
3107
3108         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
3109         (localplt-build-dso): Add elf/ld.so.
3110         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
3111         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
3112         and free for ld.so.
3113         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
3114         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
3115         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
3116         Likewise.
3117         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
3118         Likewise.
3119         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
3120         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
3121         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
3122         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
3123         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
3124         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
3125         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
3126         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
3127         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
3128         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
3129         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
3130
3131 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
3132
3133         [BZ #14132]
3134         * include/libc-symbols.h (INTUSE): Remove macro.
3135         (INTDEF): Likewise.
3136         (INTVARDEF): Likewise.
3137         (_INTVARDEF): Likewise.
3138         (INTDEF2): Likewise.
3139         (INTVARDEF2): Likewise.
3140         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
3141         rtld_hidden_def instead of INTVARDEF.
3142         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
3143         (_dl_starting_up_internal): Remove declaration.
3144         (_dl_starting_up): Use rtld_hidden_proto.
3145         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
3146         declaration.
3147         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
3148         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
3149         _dl_starting_up.
3150         * elf/dl-writev.h (_dl_writev): Likewise.
3151         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
3152         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
3153         _dl_starting_up_internal.
3154
3155 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3156
3157         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
3158         test-skeleton.c.
3159
3160 2014-11-05  Will Newton  <will.newton@linaro.org>
3161
3162         * benchtests/Makefile: (bench-malloc): Add malloc thread
3163         scalability benchmark.
3164         * benchtests/bench-malloc-threads.c: New file.
3165
3166 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
3167
3168         * sysdeps/aarch64/strchrnul.S: New file.
3169
3170 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3171
3172         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
3173         definition.
3174         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
3175         Likwise.
3176         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
3177         Likewise.
3178         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
3179         Likewise.
3180         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
3181         Likewise.
3182         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
3183         Likewise.
3184
3185 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
3186
3187         * catgets/test-gencat.c: Use test-skeleton.c.
3188         * catgets/tst-catgets.c: Likewise.
3189         * csu/tst-empty.c: Likewise.
3190         * elf/tst-audit2.c: Likewise.
3191         * elf/tst-global1.c: Likewise.
3192         * elf/tst-pathopt.c: Likewise.
3193         * elf/tst-piemod1.c: Likewise.
3194         * elf/tst-tls10.c: Likewise.
3195         * elf/tst-tls11.c: Likewise.
3196         * elf/tst-tls12.c: Likewise.
3197         * gnulib/tst-gcc.c: Likewise.
3198         * iconvdata/tst-e2big.c: Likewise.
3199         * iconvdata/tst-loading.c: Likewise.
3200         * iconv/tst-iconv1.c: Likewise.
3201         * iconv/tst-iconv2.c: Likewise.
3202         * inet/test-inet6_opt.c: Likewise.
3203         * inet/tst-gethnm.c: Likewise.
3204         * inet/tst-network.c: Likewise.
3205         * inet/tst-ntoa.c: Likewise.
3206         * intl/tst-codeset.c: Likewise.
3207         * intl/tst-gettext2.c: Likewise.
3208         * intl/tst-gettext3.c: Likewise.
3209         * intl/tst-ngettext.c: Likewise.
3210         * intl/tst-translit.c: Likewise.
3211         * io/test-stat.c: Likewise.
3212         * libio/test-fmemopen.c: Likewise.
3213         * libio/tst-freopen.c: Likewise.
3214         * libio/tst-sscanf.c: Likewise.
3215         * libio/tst-ungetwc1.c: Likewise.
3216         * libio/tst-ungetwc2.c: Likewise.
3217         * libio/tst-widetext.c: Likewise.
3218         * localedata/tst-ctype.c: Likewise.
3219         * localedata/tst-digits.c: Likewise.
3220         * localedata/tst-leaks.c: Likewise.
3221         * localedata/tst-mbswcs1.c: Likewise.
3222         * localedata/tst-mbswcs2.c: Likewise.
3223         * localedata/tst-mbswcs3.c: Likewise.
3224         * localedata/tst-mbswcs4.c: Likewise.
3225         * localedata/tst-mbswcs5.c: Likewise.
3226         * localedata/tst-setlocale.c: Likewise.
3227         * localedata/tst-trans.c: Likewise.
3228         * localedata/tst-wctype.c: Likewise.
3229         * localedata/tst-xlocale1.c: Likewise.
3230         * login/tst-grantpt.c: Likewise.
3231         * malloc/tst-calloc.c: Likewise.
3232         * malloc/tst-malloc.c: Likewise.
3233         * malloc/tst-mallocstate.c: Likewise.
3234         * malloc/tst-mcheck.c: Likewise.
3235         * malloc/tst-mtrace.c: Likewise.
3236         * malloc/tst-obstack.c: Likewise.
3237         * math/atest-exp2.c: Likewise.
3238         * math/atest-exp.c: Likewise.
3239         * math/atest-sincos.c: Likewise.
3240         * math/test-matherr.c: Likewise.
3241         * math/test-misc.c: Likewise.
3242         * math/test-powl.c: Likewise.
3243         * math/tst-definitions.c: Likewise.
3244         * misc/tst-dirname.c: Likewise.
3245         * misc/tst-efgcvt.c: Likewise.
3246         * misc/tst-fdset.c: Likewise.
3247         * misc/tst-hsearch.c: Likewise.
3248         * misc/tst-mntent2.c: Likewise.
3249         * nptl/tst-sem7.c: Likewise.
3250         * nptl/tst-sem8.c: Likewise.
3251         * nptl/tst-sem9.c: Likewise.
3252         * nss/test-netdb.c: Likewise.
3253         * posix/tst-fnmatch.c: Likewise.
3254         * posix/tst-getlogin.c: Likewise.
3255         * posix/tst-gnuglob.c: Likewise.
3256         * posix/tst-mmap.c: Likewise.
3257         * pwd/tst-getpw.c: Likewise.
3258         * resolv/tst-inet_ntop.c: Likewise.
3259         * rt/tst-timer.c: Likewise.
3260         * stdio-common/test-fseek.c: Likewise.
3261         * stdio-common/test-popen.c: Likewise.
3262         * stdio-common/test-vfprintf.c: Likewise.
3263         * stdio-common/tst-cookie.c: Likewise.
3264         * stdio-common/tst-fileno.c: Likewise.
3265         * stdio-common/tst-gets.c: Likewise.
3266         * stdio-common/tst-obprintf.c: Likewise.
3267         * stdio-common/tst-perror.c: Likewise.
3268         * stdio-common/tst-sprintf2.c: Likewise.
3269         * stdio-common/tst-sprintf3.c: Likewise.
3270         * stdio-common/tst-sprintf.c: Likewise.
3271         * stdio-common/tst-swprintf.c: Likewise.
3272         * stdio-common/tst-tmpnam.c: Likewise.
3273         * stdio-common/tst-unbputc.c: Likewise.
3274         * stdio-common/tst-wc-printf.c: Likewise.
3275         * stdlib/tst-environ.c: Likewise.
3276         * stdlib/tst-fmtmsg.c: Likewise.
3277         * stdlib/tst-limits.c: Likewise.
3278         * stdlib/tst-rand48-2.c: Likewise.
3279         * stdlib/tst-rand48.c: Likewise.
3280         * stdlib/tst-random2.c: Likewise.
3281         * stdlib/tst-random.c: Likewise.
3282         * stdlib/tst-strtol.c: Likewise.
3283         * stdlib/tst-strtoll.c: Likewise.
3284         * stdlib/tst-tls-atexit.c: Likewise.
3285         * stdlib/tst-xpg-basename.c: Likewise.
3286         * string/test-ffs.c: Likewise.
3287         * string/tst-bswap.c: Likewise.
3288         * string/tst-inlcall.c: Likewise.
3289         * string/tst-strtok.c: Likewise.
3290         * string/tst-strxfrm.c: Likewise.
3291         * sysdeps/x86_64/tst-audit10.c: Likewise.
3292         * sysdeps/x86_64/tst-audit3.c: Likewise.
3293         * sysdeps/x86_64/tst-audit4.c: Likewise.
3294         * sysdeps/x86_64/tst-audit5.c: Likewise.
3295         * time/tst-ftime_l.c: Likewise.
3296         * time/tst-getdate.c: Likewise.
3297         * time/tst-mktime3.c: Likewise.
3298         * time/tst-mktime.c: Likewise.
3299         * time/tst-posixtz.c: Likewise.
3300         * time/tst-strptime2.c: Likewise.
3301         * time/tst-strptime3.c: Likewise.
3302         * wcsmbs/tst-btowc.c: Likewise.
3303         * wcsmbs/tst-mbrtowc.c: Likewise.
3304         * wcsmbs/tst-mbsrtowcs.c: Likewise.
3305         * wcsmbs/tst-wchar-h.c: Likewise.
3306         * wcsmbs/tst-wcpncpy.c: Likewise.
3307         * wcsmbs/tst-wcrtomb.c: Likewise.
3308         * wcsmbs/tst-wcsnlen.c: Likewise.
3309         * wcsmbs/tst-wcstof.c: Likewise.
3310
3311 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
3312
3313         [BZ #14132]
3314         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
3315         INTDEF.
3316         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
3317         declaration.
3318         (_dl_mcount): Use rtld_hidden_proto.
3319         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
3320         _dl_mcount.
3321         * elf/rtld.c (_rtld_global_ro): Likewise.
3322
3323         [BZ #14132]
3324         * elf/dl-init.c (_dl_init): Don't use INTDEF.
3325         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
3326         of _dl_init_internal.
3327         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
3328         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
3329         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
3330         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
3331         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
3332         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
3333         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
3334         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
3335         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
3336         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
3337         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
3338         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
3339         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
3340         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
3341         * sysdeps/tile/dl-start.S (_start): Likewise.
3342         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
3343         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
3344
3345         [BZ #14132]
3346         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
3347         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
3348         (rtld_progname): Make macro definition unconditional.
3349         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
3350         INTDEF.
3351         (dlmopen_doit): Do not use INTUSE with _dl_argv.
3352         (dl_main): Likewise.
3353         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
3354         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
3355         instead of _dl_argv_internal.
3356         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
3357         __GI__dl_argv instead of INTUSE(_dl_argv).
3358         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
3359         __GI__dl_argv instead of _dl_argv_internal.
3360
3361         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
3362         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
3363         macro.
3364         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
3365         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
3366         New macro.
3367         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
3368         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
3369         macro.
3370         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
3371         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
3372
3373 2014-11-04  Andreas Schwab  <schwab@suse.de>
3374
3375         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
3376
3377 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3378
3379         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
3380         mtvsrd instruction in binary form.
3381
3382 2014-11-03  Andreas Schwab  <schwab@suse.de>
3383
3384         [BZ #17522]
3385         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
3386         for less than MB_LEN_MAX use a local buffer of that size.
3387         * libio/tst-fputws.c: New file.
3388         * libio/Makefile (tests): Add tst-fputws.
3389
3390 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
3391
3392         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
3393         the size of the fpu_fr.fpu_dregs[] array.
3394
3395 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
3396
3397         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
3398         (__nanosleep): Do not define as alias.
3399         (nanosleep): Define as alias of __nanosleep.
3400         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
3401         __libc_nanosleep name.
3402
3403 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
3404
3405         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
3406         install.texi in comment.
3407
3408 2014-10-31  Torvald Riegel  <triegel@redhat.com>
3409
3410         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
3411         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
3412         ... add here and use lwsync or sync ...
3413         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
3414         ... and add here using lwsync.
3415
3416 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
3417
3418         * elf/dl-machine-reject-phdr.h: New file.
3419         * elf/dl-load.c: #include that.
3420         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
3421         if that returned true.
3422
3423 2014-10-31  Roland McGrath  <roland@hack.frob.com>
3424
3425         [BZ #17496]
3426         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
3427         gen-as-const-headers chunk.  Add a big scare comment after the last
3428         safe place to touch before-compile.
3429
3430 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
3431
3432         * manual/install.texi (Tools for Compilation): Update autoconf
3433         version requirements.
3434         * INSTALL: Regenerated.
3435
3436         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
3437         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
3438         (__libc_pselect): Likewise.
3439
3440         [BZ #14138]
3441         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
3442         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
3443         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
3444         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
3445
3446 2014-10-31  Torvald Riegel  <triegel@redhat.com>
3447
3448         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
3449         correct barrier instruction.
3450         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
3451         Likewise.
3452         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
3453         Likewise.
3454
3455 2014-10-30  Roland McGrath  <roland@hack.frob.com>
3456
3457         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
3458         after defining inlines.  Instead, just use parens to defeat macro
3459         expansion of __isctype in its declaration.
3460
3461 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
3462
3463         * include/sys/uio.h (__libc_readv): Remove declaration.
3464         (__libc_writev): Likewise.
3465         * misc/readv.c (__libc_readv): Rename to __readv.
3466         (__readv): Do not define as alias.
3467         (readv): Define as alias of __readv.
3468         * misc/writev.c (__libc_writev): Rename to __writev.
3469         (__writev): Do not define as alias.
3470         (writev): Define as alias of __writev.
3471         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
3472         (__readv): Do not define as alias.
3473         (readv): Define unconditionally as alias of __readv.
3474         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
3475         (__writev): Do not define as alias.
3476         (writev): Define unconditionally as alias of __writev.
3477         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
3478         name.
3479         (writev): Do not define __libc_writev name.
3480
3481 2014-10-30  Roland McGrath  <roland@hack.frob.com>
3482
3483         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
3484         (convert_charseq): New function, broken out of ...
3485         (use_from_charmap): ... here.  Call it.
3486         (use_to_charmap): Use convert_charseq and free instead of duplicating
3487         its code with a variable-length stack struct.
3488
3489 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
3490
3491         * include/fcntl.h (__libc_creat): Remove declaration.
3492         * io/creat.c (__libc_creat): Rename to creat.
3493         (creat): Do not define as alias.
3494         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
3495         of creat instead of __libc_creat.
3496         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
3497         to creat.
3498         (creat): Do not define as alias.
3499         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
3500         __libc_creat.
3501         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
3502         __libc_creat name.
3503         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
3504         Likewise.
3505
3506 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
3507
3508         * manual/llio.texi: Add comments discussing why write() may be
3509         considered MT-unsafe on Linux.
3510
3511 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
3512
3513         * dl-load.c (local_strdup): Remove.
3514         (expand_dynamic_string_token): Use __strdup.
3515         (decompose_rpath): Likewise.
3516         (_dl_map_object): Likewise.
3517
3518 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
3519
3520         [BZ #14132]
3521         * sysdeps/generic/unwind-dw2-fde.c
3522         (__register_frame_info_bases_internal): Do not declare.
3523         (__register_frame_info_table_bases_internal): Likewise.
3524         (__deregister_frame_info_bases_internal): Likewise.
3525         (__register_frame_info_bases): Declare and use hidden_proto before
3526         definition.  Use hidden_def instead of INTDEF.
3527         (__register_frame_info_table_bases): Likewise.
3528         (__deregister_frame_info_bases): Likewise.
3529         (__register_frame_info): Do not use INTUSE.
3530         (__register_frame): Likewise.
3531         (__register_frame_info_table): Likewise.
3532         (__register_frame_table): Likewise.
3533         (__deregister_frame_info): Likewise.
3534         (__deregister_frame): Likewise.
3535
3536 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
3537
3538         * sysdeps/unix/sysv/linux/arm/kernel-features.h
3539         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
3540         not undefine.
3541         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
3542         Likewise.
3543         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
3544         Likewise.
3545
3546 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
3547
3548         [BZ #14138]
3549         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
3550         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
3551         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
3552         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
3553         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
3554         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
3555         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
3556         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
3557         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
3558         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
3559         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
3560         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
3561         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
3562         syscall.
3563         (setfsuid): Likewise.
3564         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
3565         (setfsuid): Likewise.
3566         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
3567         (setfsuid): Likewise.
3568         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
3569         Likewise.
3570         (setfsuid): Likewise.
3571         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
3572         (setfsuid): Likewise.
3573         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
3574         Likewise.
3575         (setfsuid): Likewise.
3576
3577 2014-10-27  Andreas Schwab  <schwab@suse.de>
3578
3579         [BZ #17501]
3580         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
3581         check for Slow_SSE4_2 feature bit.
3582         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
3583         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
3584         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
3585         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
3586
3587 2014-10-24  Roland McGrath  <roland@hack.frob.com>
3588
3589         * configure.ac: Validate compiler version with a empirical test of
3590         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
3591         $CC -v output.
3592         * configure: Regenerated.
3593
3594         * inet/htons.c (htons): Prototypify.
3595         * inet/htonl.c (htonl): Likewise.
3596
3597 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
3598
3599         * string/strncat.c (strncat): Improve performance by using strlen.
3600
3601 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
3602
3603         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
3604
3605 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
3606
3607         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
3608         Call libc_fetestexcept_aarch64.
3609
3610 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
3611
3612         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
3613         Call libc_feholdexcept_aarch64.
3614
3615 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
3616
3617         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
3618         Call get_rounding_mode.
3619
3620 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
3621
3622         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
3623         Simplify logic.
3624
3625 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
3626
3627         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
3628         Simplify logic.
3629
3630 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
3631
3632         [BZ #14138]
3633         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
3634         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
3635         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
3636         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
3637         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
3638         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
3639         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
3640         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
3641         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
3642         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
3643         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
3644         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
3645         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
3646         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
3647         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
3648         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
3649         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
3650         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
3651         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
3652         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
3653         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
3654         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
3655         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
3656         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
3657         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
3658         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
3659         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
3660         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
3661         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
3662         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
3663         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
3664         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
3665         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
3666         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
3667         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
3668         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
3669         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
3670         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
3671         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
3672         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
3673         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
3674         syscall.
3675         (geteuid): Likewise.
3676         (getgid): Likewise.
3677         (getuid): Likewise.
3678         (getresgid): Likewise.
3679         (getresuid): Likewise.
3680         (getgroups): Likewise.
3681         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
3682         (geteuid): Likewise.
3683         (getgid): Likewise.
3684         (getuid): Likewise.
3685         (getresgid): Likewise.
3686         (getresuid): Likewise.
3687         (getgroups): Likewise.
3688         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
3689         (geteuid): Likewise.
3690         (getgid): Likewise.
3691         (getuid): Likewise.
3692         (getresgid): Likewise.
3693         (getresuid): Likewise.
3694         (getgroups): Likewise.
3695         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
3696         Likewise.
3697         (geteuid): Likewise.
3698         (getgid): Likewise.
3699         (getuid): Likewise.
3700         (getresgid): Likewise.
3701         (getresuid): Likewise.
3702         (getgroups): Likewise.
3703         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
3704         (geteuid): Likewise.
3705         (getgid): Likewise.
3706         (getuid): Likewise.
3707         (getresgid): Likewise.
3708         (getresuid): Likewise.
3709         (getgroups): Likewise.
3710         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
3711         Likewise.
3712         (geteuid): Likewise.
3713         (getgid): Likewise.
3714         (getuid): Likewise.
3715         (getgroups): Likewise.
3716
3717         [BZ #14138]
3718         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
3719         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
3720         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
3721         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
3722         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
3723         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
3724         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
3725         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
3726         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
3727         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
3728         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
3729         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
3730         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
3731         __chown.
3732         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
3733         (lchown): Likewise.
3734         (fchown): Likewise.
3735         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
3736         Likewise.
3737         (lchown): Likewise.
3738         (fchown): Likewise.
3739         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
3740         (lchown): Likewise.
3741         (fchown): Likewise.
3742         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
3743         Likewise.
3744         (lchown): Likewise.
3745         (fchown): Likewise.
3746
3747 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
3748
3749         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
3750         Simplify logic.
3751
3752 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
3753
3754         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
3755         Cleanup logic.
3756
3757 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
3758
3759         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
3760         Remove unused include.
3761
3762 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
3763
3764         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
3765         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
3766         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
3767         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
3768
3769 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
3770             Helge Deller <deller@gmx.de>
3771
3772         [BZ #17508]
3773         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
3774         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
3775         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
3776
3777 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
3778
3779         [BZ #14132]
3780         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
3781         Remove macro definition.
3782         (__ashrdi3_v_glibc20): Likewise.
3783         (__lshrdi3_v_glibc20): Likewise.
3784         (__cmpdi2_v_glibc20): Likewise.
3785         (__ucmpdi2_v_glibc20): Likewise.
3786         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
3787         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
3788         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
3789         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
3790         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
3791         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
3792
3793 2014-10-22  Roland McGrath  <roland@hack.frob.com>
3794
3795         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
3796         old GNU extension [0] syntax.
3797         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
3798         alloca rather than an array member with variable length.
3799         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
3800         * nscd/nscd.c (invalidate_db): New function, broken out of ...
3801         (parse_opt): ... here.  Likewise use alloca there.
3802         Validate the -i argument before checking for rootness.
3803         (send_shutdown): New function, broken out of ...
3804         (parse_opt): ... here.
3805
3806 2014-10-22  Roland McGrath  <roland@hack.frob.com>
3807
3808         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
3809         macro to get at the _rt_local_ro field.
3810         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
3811         ([PIC] case) or _dl_hwcap ([!PIC] case).
3812         * sysdeps/arm/setjmp.S: Likewise.
3813
3814         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
3815         * sysdeps/arm/configure.ac: New check to define it.
3816         * sysdeps/arm/configure: Regenerated.
3817         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
3818         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
3819         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
3820         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
3821         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
3822         Use move/movt pair instead of a load.
3823         (LDST_GLOBAL): Macro removed.
3824         (LDR_GLOBAL): New macro replaces it.
3825         (LDR_HIDDEN): New macro.
3826         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
3827         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
3828
3829         * setjmp/tst-setjmp-static.c: New file.
3830         * setjmp/Makefile (tests): Add it.
3831         (tests-static): New variable.
3832
3833 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
3834
3835         [BZ #17485]
3836         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
3837
3838 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
3839
3840         [BZ #14132]
3841         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
3842
3843 2014-10-21  Roland McGrath  <roland@hack.frob.com>
3844
3845         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
3846
3847 2014-10-20  Roland McGrath  <roland@hack.frob.com>
3848
3849         * io/fts.c (dirent_not_directory): New function.
3850         (fts_build): Call it.
3851
3852 2014-10-20  Roland McGrath  <roland@hack.frob.com>
3853
3854         * nptl/version.c (__nptl_main): Use normal __write rather than
3855         INTERNAL_SYSCALL.
3856         (banner): Update copyright years.
3857
3858         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
3859         gettimeofday.
3860         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
3861         * nptl/pthread_cond_timedwait.c: Likewise.
3862         * nptl/pthread_mutex_timedlock.c: Likewise.
3863         * nptl/sem_timedwait.c: Likewise.
3864
3865         * sysdeps/nptl/bits/libc-lock.h
3866         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
3867         (__libc_lock_init_recursive): Return void, not 0.
3868         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
3869         (__libc_rwlock_init): Likewise.
3870         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
3871
3872 2014-10-20  Torvald Riegel  <triegel@redhat.com>
3873
3874         [BZ #15215]
3875         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
3876         (__pthread_once_slow): ... here.
3877         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
3878         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
3879
3880 2014-10-20  Torvald Riegel  <triegel@redhat.com>
3881
3882         [BZ #15215]
3883         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
3884         __PTHREAD_ONCE_FORK_GEN_INCR): New.
3885         * sysdeps/nptl/fork.c (__libc_fork): Use them.
3886         * nptl/pthread_once.c (__pthread_once): Likewise.
3887         Update comments.
3888
3889 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
3890
3891         [BZ #14138]
3892         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
3893         name.
3894         (writev): Use __libc_writev as strong name.
3895         * sysdeps/unix/sysv/linux/readv.c: Remove file.
3896         * sysdeps/unix/sysv/linux/writev.c: Likewise.
3897
3898 2014-10-17  Roland McGrath  <roland@hack.frob.com>
3899
3900         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
3901
3902         * sysdeps/i386/nptl/tls.h
3903         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
3904         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
3905         New macros.
3906         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
3907         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
3908         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
3909         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
3910         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
3911         Call CHECK_THREAD_SYSINFO instead of doing an assert.
3912
3913         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
3914         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
3915         on [__NR_futex].
3916         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
3917         broken out of ...
3918         (__pthread_mutex_init): ... here.  Call it.
3919         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
3920         Conditionalize PI cases on [__NR_futex].
3921         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
3922         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
3923         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
3924
3925         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
3926         conditional on [SIGSETXID].
3927         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
3928         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
3929         is defined.  Likewise for SIGSETXID.
3930         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
3931         Conditionalize definitions on [SIGSETXID].
3932         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
3933         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
3934         unblocking on [SIGCANCEL].
3935
3936         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
3937         [__NR_set_robust_list].
3938
3939 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
3940
3941         * string/strcoll_l.c (get_next_seq): Fix up formatting.
3942         (do_compare): Likewise.
3943
3944 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
3945
3946         [BZ #15884]
3947         * string/strcoll_l.c: Don't include stdio.h.
3948         (coll_seq): Remove members idxarr and rulearr.
3949         (get_next_seq_cached): Remove function.
3950         (get_next_seq): Likewise.
3951         (get_next_seq_nocache): Rename to get_next_seq.
3952         (do_compare): Remove function.
3953         (do_compare_nocache): Rename to do_compare.
3954         (STRCOLL): Remove weight and rules cache.
3955
3956 2014-10-16  Roland McGrath  <roland@hack.frob.com>
3957
3958         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
3959         * sysdeps/arm/sfp-machine.h: ... to here.
3960         * sysdeps/arm/Implies: Remove arm/soft-fp.
3961
3962 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
3963
3964         * conform/data/sys/utsname.h-data (*_t): Allow.
3965         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
3966         [POSIX] (WEXITED): Do not expect constant.
3967         [POSIX] (WSTOPPED): Likewise.
3968         [POSIX] (WNOHANG): Likewise.
3969         [POSIX] (WNOWAIT): Likewise.
3970         [POSIX] (siginfo_t): Do not expect type or elements.
3971         [POSIX] (pid_t): Do not expect type.
3972         [POSIX] (signal.h): Do not allow header.
3973         [POSIX] (sys/resource.h): Likewise.
3974         [POSIX] (si_*): Do not allow pattern.
3975         [POSIX] (W*): Likewise.
3976         [POSIX] (P_*): Likewise.
3977         [POSIX] (BUS_*): Likewise.
3978         [POSIX] (CLD_*): Likewise.
3979         [POSIX] (FPE_*): Likewise.
3980         [POSIX] (ILL_*): Likewise.
3981         [POSIX] (POLL_*): Likewise.
3982         [POSIX] (SEGV_*): Likewise.
3983         [POSIX] (SI_*): Likewise.
3984         [POSIX] (TRAP_*): Likewise.
3985         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
3986         variable.
3987
3988 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
3989
3990         [BZ #12926]
3991         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
3992         infinite loop when __recvmsg returns 0.
3993
3994 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
3995
3996         * CANCEL-FCT-WAIVE: Remove file.
3997         * CANCEL-FILE-WAIVE: Likewise.
3998
3999         [BZ #14132]
4000         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
4001         instead of INTVARDEF.
4002         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
4003         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
4004         rtld_hidden_data_def instead of INTVARDEF.
4005         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
4006         * elf/dl-deps.c (expand_dst): Likewise.
4007         * elf/dl-load.c (_dl_dst_count): Likewise.
4008         (_dl_dst_substitute): Likewise.
4009         (decompose_rpath): Likewise.
4010         (_dl_init_paths): Likewise.
4011         (open_path): Likewise.
4012         (_dl_map_object): Likewise.
4013         * elf/rtld.c (dl_main): Likewise.
4014         (process_dl_audit): Likewise.
4015         (process_envvars): Likewise.
4016         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
4017         Remove declaration.
4018         (__libc_enable_secure): Use rtld_hidden_proto.
4019
4020 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
4021
4022         * elf/dl-load.c
4023         (add_path): New function broken out of _dl_rtld_di_serinfo.
4024         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
4025
4026 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
4027
4028         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
4029         parentheses around macro arguments.
4030         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
4031         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
4032         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
4033         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
4034         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
4035         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
4036         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
4037         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
4038         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
4039         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
4040         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
4041         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
4042         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
4043         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
4044         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
4045         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
4046         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
4047         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
4048         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
4049         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
4050         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
4051         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
4052         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
4053         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
4054         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
4055         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
4056         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
4057         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
4058         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
4059         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
4060         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
4061         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
4062         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
4063         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
4064         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
4065         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
4066         Likewise.
4067         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
4068         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
4069         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
4070         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
4071         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
4072         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
4073         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
4074         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
4075         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
4076         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
4077         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
4078         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
4079         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
4080         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
4081         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
4082         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
4083         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
4084         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
4085         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
4086         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
4087         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
4088         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
4089         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
4090         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
4091         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
4092         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
4093         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
4094         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
4095         (_FP_FRAC_SRS_1): Likewise.
4096         (_FP_FRAC_CLZ_1): Likewise.
4097         (_FP_MUL_MEAT_1_imm): Likewise.
4098         (_FP_MUL_MEAT_1_wide): Likewise.
4099         (_FP_MUL_MEAT_1_hard): Likewise.
4100         (_FP_SQRT_MEAT_1): Likewise.
4101         (_FP_FRAC_ASSEMBLE_1): Likewise.
4102         (_FP_FRAC_DISASSEMBLE_1): Likewise.
4103         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
4104         (__FP_CLZ_2): Likewise.
4105         (_FP_MUL_MEAT_2_wide): Likewise.
4106         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
4107         (_FP_MUL_MEAT_2_gmp): Likewise.
4108         (_FP_MUL_MEAT_2_120_240_double): Likewise.
4109         (_FP_SQRT_MEAT_2): Likewise.
4110         (_FP_FRAC_ASSEMBLE_2): Likewise.
4111         (_FP_FRAC_DISASSEMBLE_2): Likewise.
4112         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
4113         (_FP_FRAC_CLZ_4): Likewise.
4114         (_FP_MUL_MEAT_4_wide): Likewise.
4115         (_FP_MUL_MEAT_4_gmp): Likewise.
4116         (_FP_SQRT_MEAT_4): Likewise.
4117         (_FP_FRAC_ASSEMBLE_4): Likewise.
4118         (_FP_FRAC_DISASSEMBLE_4): Likewise.
4119         * soft-fp/op-common.h (_FP_CMP): Likewise.
4120         (_FP_CMP_EQ): Likewise.
4121         (_FP_CMP_UNORD): Likewise.
4122         (_FP_TO_INT): Likewise.
4123         (_FP_FROM_INT): Likewise.
4124         [!__FP_CLZ] (__FP_CLZ): Likewise.
4125         (_FP_DIV_HELP_imm): Likewise.
4126         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
4127         Likewise.
4128         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
4129         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
4130         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
4131         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
4132         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
4133         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
4134         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
4135         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
4136         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
4137         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
4138         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
4139         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
4140         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
4141         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
4142         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
4143         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
4144         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
4145         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
4146         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
4147         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
4148         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
4149         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
4150         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
4151         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
4152         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
4153         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
4154         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
4155         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
4156         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
4157         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
4158         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
4159         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
4160         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
4161         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
4162         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
4163         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
4164         (FP_UNPACK_RAW_SP): Likewise.
4165         (FP_PACK_RAW_S): Likewise.
4166         (FP_PACK_RAW_SP): Likewise.
4167         (FP_UNPACK_S): Likewise.
4168         (FP_UNPACK_SP): Likewise.
4169         (FP_UNPACK_SEMIRAW_S): Likewise.
4170         (FP_UNPACK_SEMIRAW_SP): Likewise.
4171         (FP_PACK_S): Likewise.
4172         (FP_PACK_SP): Likewise.
4173         (FP_PACK_SEMIRAW_S): Likewise.
4174         (FP_PACK_SEMIRAW_SP): Likewise.
4175         (_FP_SQRT_MEAT_S): Likewise.
4176         (FP_CMP_S): Likewise.
4177         (FP_CMP_EQ_S): Likewise.
4178         (FP_CMP_UNORD_S): Likewise.
4179         (FP_TO_INT_S): Likewise.
4180         (FP_FROM_INT_S): Likewise.
4181
4182         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
4183
4184         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
4185         (FP_EX_INVALID_IMZ): Likewise.
4186         (FP_EX_INVALID_IMZ_FMA): Likewise.
4187         (FP_EX_INVALID_ISI): Likewise.
4188         (FP_EX_INVALID_ZDZ): Likewise.
4189         (FP_EX_INVALID_IDI): Likewise.
4190         (FP_EX_INVALID_SQRT): Likewise.
4191         (FP_EX_INVALID_CVI): Likewise.
4192         (FP_EX_INVALID_VC): Likewise.
4193         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
4194         "invalid" exceptions.
4195         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
4196         (_FP_ADD_INTERNAL): Likewise.
4197         (_FP_MUL): Likewise.
4198         (_FP_FMA): Likewise.
4199         (_FP_DIV): Likewise.
4200         (_FP_CMP_CHECK_NAN): Likewise.
4201         (_FP_SQRT): Likewise.
4202         (_FP_TO_INT): Likewise.
4203         (FP_EXTEND): Likewise.
4204
4205 2014-10-09  Allan McRae  <allan@archlinux.org>
4206
4207         * po/fr.po: Update French translation from translation project.
4208
4209 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
4210
4211         [BZ #14132]
4212         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
4213         of INTDEF.
4214         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
4215         (__cxa_atexit): Use libc_hidden_proto.
4216         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
4217
4218         [BZ #14132]
4219         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
4220         declaration.
4221         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
4222         [!_ISOMAC] (__iswspace_l_internal): Likewise.
4223         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
4224         [!_ISOMAC] (__iswctype_internal): Likewise.
4225         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
4226         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
4227         alias.
4228         (fcntl): Remove __fcntl_internal alias.
4229         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
4230         __connect_internal alias.
4231         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
4232         Likewise.
4233
4234         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
4235         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
4236         FP_DENORM_ZERO.
4237         (_FP_CHECK_FLUSH_ZERO): New macro.
4238         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
4239         (_FP_CMP): Likewise.
4240         (_FP_CMP_EQ): Likewise.
4241         (_FP_TO_INT): Do not set inexact for subnormal arguments if
4242         FP_DENORM_ZERO.
4243         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
4244         (FP_TRUNC): Likewise.
4245
4246         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
4247         treated as invalid conversion, not as normal exponent.
4248
4249         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
4250         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
4251         (_FP_CMP_EQ): Likewise.
4252         (_FP_CMP_UNORD): Likewise.
4253         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
4254         (FP_CMP_EQ_D): Likewise.
4255         (FP_CMP_UNORD_D): Likewise.
4256         * soft-fp/extended.h (FP_CMP_E): Likewise.
4257         (FP_CMP_EQ_E): Likewise.
4258         (FP_CMP_UNORD_E): Likewise.
4259         * soft-fp/quad.h (FP_CMP_Q): Likewise.
4260         (FP_CMP_EQ_Q): Likewise.
4261         (FP_CMP_UNORD_Q): Likewise.
4262         * soft-fp/single.h (FP_CMP_S): Likewise.
4263         (FP_CMP_EQ_S): Likewise.
4264         (FP_CMP_UNORD_S): Likewise.
4265         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
4266         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
4267         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
4268         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
4269         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
4270         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
4271         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
4272         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
4273         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
4274         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
4275         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
4276         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
4277         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
4278         to FP_CMP_Q.
4279         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
4280         FP_CMP_Q.
4281         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
4282         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
4283         FP_CMP_EQ_Q.
4284         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
4285         FP_CMP_Q.
4286         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
4287         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
4288         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
4289         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
4290         FP_CMP_EQ_Q.
4291         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
4292         FP_CMP_Q.
4293         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
4294         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
4295         FP_CMP_EQ_Q.
4296         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
4297         FP_CMP_Q.
4298         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
4299         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
4300         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
4301         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
4302         FP_CMP_EQ_Q.
4303
4304         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
4305         a subnormal result, set the underflow exception if trapping on
4306         underflow is enabled.
4307         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
4308         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
4309         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
4310         redefine to 0.
4311         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
4312         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
4313         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
4314         * soft-fp/extendxftf2.c (__extendxftf2): Use
4315         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
4316
4317         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
4318         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
4319         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
4320         FP_HANDLE_EXCEPTIONS.
4321         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
4322         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
4323         FP_HANDLE_EXCEPTIONS.
4324         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
4325         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
4326         FP_HANDLE_EXCEPTIONS.
4327         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
4328         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
4329         FP_HANDLE_EXCEPTIONS.
4330
4331 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
4332
4333         [BZ #14132]
4334         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
4335         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
4336         use INTUSE.
4337         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
4338         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
4339         Remove alias.
4340         (__adjtimex): Define using libc_hidden_ver.
4341         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
4342         Remove declaration.
4343         (ntp_gettime): Call __adjtimex directly.
4344         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
4345         Remove declaration.
4346         (ntp_gettimex): Call __adjtimex directly.
4347         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
4348         __adjtimex_internal alias.
4349
4350 2014-10-08  Roland McGrath  <roland@hack.frob.com>
4351
4352         [BZ #17460]
4353         * nscd/nscd.c (more_help): Rewrite list of tables collection
4354         using xstrdup and asprintf.
4355
4356         * nscd/nscd_conf.c: Remove local xstrdup declaration.
4357
4358 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
4359             Roland McGrath  <roland@hack.frob.com>
4360
4361         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
4362         (do_lookup_unique): ... local function 'enter' here; update callers.
4363
4364 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
4365
4366         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
4367         compat_symbol calls on [SHARED].
4368         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
4369         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
4370         Remove.
4371         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
4372         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
4373         (oldsetrlimit): Remove.
4374         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
4375         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
4376         (lchown): New syscall entry.
4377         (oldsetrlimit): Remove.
4378         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
4379         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
4380         (oldsetrlimit): Remove.
4381         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
4382
4383         [BZ #14138]
4384         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
4385         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
4386         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
4387         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
4388         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
4389         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
4390         (fchown): Likewise.
4391         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
4392         (fchown): Likewise.
4393         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
4394         Likewise.
4395
4396 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4397
4398         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
4399         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
4400         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
4401         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
4402         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
4403         Likewise.
4404         (__old_sem_post): Likewise.
4405
4406 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
4407
4408         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
4409         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
4410         HAVE_CLOCK_GETTIME_VSYSCALL macros.
4411         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
4412         Use INLINE_VSYSCALL macro.
4413         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
4414         __vdso_clock_gettime.
4415         * sysdeps/unix/sysv/linux/tile/init-first.c
4416         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
4417         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
4418         __vdso_clock_gettime.
4419
4420         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
4421         to set up frame more cleanly.
4422
4423         * sysdeps/tile/memcmp.c: New file.
4424
4425         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
4426
4427         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
4428         * sysdeps/tile/tilegx/strcasestr.c: New file.
4429         * sysdeps/tile/tilegx/strnlen.c: New file.
4430         * sysdeps/tile/tilegx/strstr.c: New file.
4431
4432         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
4433
4434 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
4435
4436         * nptl/tst-setuid3.c: Write errors to stdout.
4437
4438 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
4439
4440         * elf/dl-deps.c
4441         (preload): New functions broken out of _dl_map_object_deps.
4442         (_dl_map_object_deps):  Remove a nested function. Update call sites.
4443
4444 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
4445
4446         [BZ #14138]
4447         * sysdeps/unix/sysv/linux/execve.c: Remove file.
4448         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
4449
4450 2014-10-01  Steve Ellcey  <sellcey@mips.com>
4451
4452         * sysdeps/mips/strcmp.S: New.
4453
4454 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
4455
4456         [BZ #14138]
4457         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
4458         (linkat): Likewise.
4459         (mkdirat): Likewise.
4460         (readlinkat): Likewise.
4461         (renameat): Likewise.
4462         (symlinkat): Likewise.
4463         (unlinkat): Likewise.
4464         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
4465         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
4466         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
4467         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
4468         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
4469         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
4470         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
4471
4472 2014-09-30  Will Newton  <will.newton@linaro.org>
4473
4474         * math/math.h: Define long double math functions if
4475         _LIBC_TEST is defined.
4476         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
4477
4478         * localedata/Makefile: Move assignment to tests-special
4479         into an ifdef testing run-built-tests.
4480         * timezone/Makefile: Likewise.
4481
4482 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
4483
4484         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
4485         with $(BASH) not $(SHELL).
4486
4487 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
4488             Matthew LeGendre  <legendre1@llnl.gov>
4489
4490         [BZ #17411]
4491         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
4492         l_reloc_result.
4493
4494 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
4495
4496         * stdio-common/printf_fp.c
4497         (hack_digit): New function, broken out of ...
4498         (__printf_fp): ... local function here.  Update call sites.
4499         hack_digit now takes an additional parameter that is a pointer
4500         to a struct of the referenced locals.  Those locals moved inside
4501         the struct and references updated.
4502
4503 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
4504
4505         * aclocal.m4: Require autoconf 2.69.
4506         * configure: Regenerated.
4507         * sysdeps/aarch64/configure: Likewise.
4508         * sysdeps/alpha/configure: Likewise.
4509         * sysdeps/arm/armv7/configure: Likewise.
4510         * sysdeps/arm/configure: Likewise.
4511         * sysdeps/ia64/configure: Likewise.
4512         * sysdeps/mach/configure: Likewise.
4513         * sysdeps/mips/configure: Likewise.
4514         * sysdeps/s390/configure: Likewise.
4515         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
4516         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
4517
4518         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
4519         file.
4520         * sysdeps/ia64/configure.ac: Likewise.
4521
4522 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
4523
4524         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
4525         specify symbol version for ld.so.  Do not include entry for
4526         libpthread.
4527         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
4528         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
4529         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
4530
4531         [BZ #14171]
4532         * Makeconfig [$(build-shared) = yes]
4533         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
4534         makefiles.
4535         [$(build-shared) = yes && $(soversions.mk-done) = t]
4536         ($(common-objpfx)gnu/lib-names.h): Remove rule.
4537         [$(build-shared) = yes && $(soversions.mk-done) = t]
4538         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
4539         to Makerules.
4540         [$(build-shared) = yes && $(soversions.mk-done) = t]
4541         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
4542         here.
4543         [$(build-shared) = yes && $(soversions.mk-done) = t]
4544         (common-generated): Don't append gnu/lib-names.h and
4545         gnu/lib-names.stmp here.
4546         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
4547         (lib-names-h-abi): New variable.
4548         [$(build-shared) = yes && $(soversions.mk-done) = t]
4549         (lib-names-stmp-abi): Likewise.
4550         [$(build-shared) = yes && $(soversions.mk-done) = t &&
4551         abi-variants] (before-compile): Append
4552         $(common-objpfx)$(lib-names-h-abi).
4553         [$(build-shared) = yes && $(soversions.mk-done) = t &&
4554         abi-variants] (common-generated): Append gnu/lib-names.h.
4555         [$(build-shared) = yes && $(soversions.mk-done) = t &&
4556         abi-variants] (install-others-nosubdir): Depend on
4557         $(inst_includedir)/$(lib-names-h-abi).
4558         [$(build-shared) = yes && $(soversions.mk-done) = t &&
4559         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
4560         [$(build-shared) = yes && $(soversions.mk-done) = t]
4561         ($(common-objpfx)$(lib-names-h-abi)): New rule.
4562         [$(build-shared) = yes && $(soversions.mk-done) = t]
4563         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
4564         [$(build-shared) = yes && $(soversions.mk-done) = t]
4565         (common-generated): Append $(lib-names-h-abi) and
4566         $(lib-names-stmp-abi).
4567         * scripts/lib-names.awk: Do not handle multi being set.
4568         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
4569         Remove variable.
4570         (abi-lp64_be-ld-soname): Likewise.
4571         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
4572         Likewise.
4573         (abi-hard-ld-soname): Likewise.
4574         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
4575         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
4576         Remove variable.
4577         (abi-o32_hard-ld-soname): Likewise.
4578         (abi-o32_soft_2008-ld-soname): Likewise.
4579         (abi-o32_hard_2008-ld-soname): Likewise.
4580         (abi-n32_soft-ld-soname): Likewise.
4581         (abi-n32_hard-ld-soname): Likewise.
4582         (abi-n32_soft_2008-ld-soname): Likewise.
4583         (abi-n32_hard_2008-ld-soname): Likewise.
4584         (abi-n64_soft-ld-soname): Likewise.
4585         (abi-n64_hard-ld-soname): Likewise.
4586         (abi-n64_soft_2008-ld-soname): Likewise.
4587         (abi-n64_hard_2008-ld-soname): Likewise.
4588         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
4589         Likewise.
4590         (abi-64-v2-ld-soname): Likewise.
4591         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
4592         ld.so entries.
4593         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
4594         variable.
4595         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
4596         entry.
4597         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
4598         variable.
4599         (abi-64-ld-soname): Likewise.
4600         (abi-x32-ld-soname): Likewise.
4601         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
4602         entry.
4603         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
4604
4605 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
4606
4607         [BZ #14138]
4608         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
4609         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
4610         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
4611         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
4612         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
4613         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
4614         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
4615         syscall entry for GLIBC_2.2 symbol version.
4616         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
4617         Likewise.
4618         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
4619         (setrlimit): Likewise.
4620         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
4621         Likewise.
4622
4623 2014-09-23  Will Newton  <will.newton@linaro.org>
4624
4625         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
4626         _LINUX_ARM_SYSDEP_H include guard too.
4627         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
4628         define.
4629
4630 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
4631
4632         * sysdeps/unix/sysv/linux/eventfd.c:
4633         Make first argument unsigned.
4634         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
4635         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
4636
4637 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
4638
4639         * socket/recvmmsg.c (recvmmsg): Drop const argument.
4640         * socket/sys/socket.h: Likewise
4641         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
4642
4643 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
4644
4645         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
4646
4647 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
4648
4649         * time/tst-ftime.c: New test.
4650         * time/Makefile (tests): Add tst-ftime.
4651
4652 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
4653
4654         * soft-fp/extended.h: Fix comment formatting.
4655         * soft-fp/op-1.h: Likewise.
4656         * soft-fp/op-2.h: Likewise.
4657         * soft-fp/op-4.h: Likewise.
4658         * soft-fp/op-8.h: Likewise.
4659         * soft-fp/op-common.h: Likewise.
4660         * soft-fp/soft-fp.h: Likewise.
4661
4662         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
4663
4664 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
4665
4666         [BZ #6652]
4667         * Makeconfig (soversions-default-setname): Remove variable.
4668         ($(common-objpfx)soversions.i): Don't pass default_setname to
4669         soversions.awk.
4670         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
4671         oldest_abi to abi-versions.awk.
4672         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
4673         * config.make.in (oldest-abi): Remove variable.
4674         * configure.ac (--enable-oldest-abi): Remove configure option.
4675         * configure: Regenerated.
4676         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
4677         text.
4678         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
4679         * scripts/soversions.awk: Do not handle default_setname variable.
4680         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
4681         variable.
4682         * sysdeps/mach/hurd/configure: Regenerated.
4683         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
4684         variable.
4685         * sysdeps/unix/sysv/linux/configure: Regenerated.
4686
4687 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
4688
4689         * elf/Makefile (CFLAGS-interp.c): Remove.
4690         ($(elf-objpfx)runtime-linker.h): Generate header with linker
4691         path string.
4692         * elf/interp.c: Include generated runtime-linker.h
4693
4694         * Makerules (lib%.so): Don't include $(+interp) in
4695         prerequisites.
4696         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
4697         * dlfcn/eval.c: Remove file.
4698
4699         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
4700         macros.
4701
4702         [BZ #17266]
4703         * misc/sys/cdefs.h: Define __extern_always_inline for clang
4704         4.2 and newer.
4705
4706         [BZ #17370]
4707         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
4708
4709 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
4710             Jakub Jelinek  <jakub@redhat.com>
4711
4712         [BZ #17266]
4713         * libio/stdio.h: Check definition of __fortify_function
4714         instead of __extern_always_inline to include bits/stdio2.h.
4715         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
4716         check if __extern_always_inline is defined.
4717         [__USE_MISC || __USE_XOPEN]: Likewise.
4718         [__USE_ISOC99] Likewise.
4719         * misc/sys/cdefs.h (__fortify_function): Define only if
4720         __extern_always_inline is defined.
4721         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
4722         __extern_always_inline and __extern_inline only for g++-4.3
4723         and newer or a compatible gcc.
4724
4725 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
4726
4727         [BZ #17371]
4728         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
4729         last change to handle zero prefix length.
4730
4731 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
4732
4733         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
4734         _SC_REGEX_VERSION.
4735
4736         * posix/getconf.c (vars): Add _POSIX_IPV6 and
4737         _POSIX_RAW_SOCKETS.
4738
4739 2014-09-13  Allan McRae  <allan@archlinux.org>
4740
4741         * po/ru.po: Update Russian translation from translation project.
4742
4743 2014-09-12  Roland McGrath  <roland@hack.frob.com>
4744
4745         * locale/programs/locale.c (show_locale_vars): Inline local function
4746         into its sole call site.  Clean up some style nits.
4747         (print_item): New function, broken out of ...
4748         (show_info): ... local function here.  Clean up style nits.
4749
4750         * locale/programs/ld-ctype.c (set_one_default): New function, broken
4751         out of ...
4752         (set_class_defaults): ... local function set_default here.
4753         Define set_default as a macro locally to pass constant parameters.
4754         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
4755         rather than a shared local.
4756
4757         * stdlib/rpmatch.c (try): New function, broken out of ...
4758         (rpmatch): ... local function here.  Also, prototypify definition.
4759
4760 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
4761
4762         * scripts/soversions.awk: Do not handle configuration names.
4763         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
4764         vendor and os variables to soversions.awk.
4765         * configure.ac: Do not modify gnu-* host_os.
4766         * configure: Regenerated
4767         * shlib-versions: Remove first column with configuration names.
4768         * nptl/shlib-versions: Likewise.
4769         * nptl_db/shlib-versions: Likewise.
4770         * sysdeps/hppa/shlib-versions: Likewise.
4771         * sysdeps/m68k/shlib-versions: Likewise.
4772         * sysdeps/mach/hurd/shlib-versions: Likewise.
4773         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
4774         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
4775         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
4776         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
4777         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
4778         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
4779         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
4780         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
4781         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
4782         Likewise.
4783         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
4784         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
4785         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
4786         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
4787         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
4788         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
4789         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
4790         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
4791
4792         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
4793         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
4794         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
4795         Regenerated.
4796         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
4797         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
4798         Condition symbol version definitions on [HAVE_ELFV2_ABI].
4799
4800         * shlib-versions: Remove OS-specific entries.  Moved to files in
4801         sysdeps.
4802         * sysdeps/mach/hurd/shlib-versions: New file.
4803         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
4804
4805         * nptl/shlib-versions: Remove architecture-specific entries.
4806         Moved to files in sysdeps.
4807         * shlib-versions: Likewise.
4808         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
4809         file.
4810         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
4811         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
4812         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
4813         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
4814
4815         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
4816         (UDP_NO_CHECK6_RX): Likewise.
4817
4818 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
4819
4820         * sysdeps/posix/sysconf.c (__sysconf): Spell
4821         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
4822
4823 2014-08-12  Florian Weimer  <fweimer@redhat.com>
4824
4825         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
4826         loading.
4827         * iconv/Versions (__gconv_transliterate): Export for use from
4828         gconv modules.
4829         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
4830         (struct __gconv_trans_data, __gconv_trans_fct,
4831         __gconv_trans_context_fct, __gconv_trans_query_fct,
4832         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
4833         definitions.
4834         (struct __gconv_step_data): Remove __trans member.
4835         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
4836         longer hidden.  Remove unused trans_data argument.
4837         * iconv/gconv_int.h (struct trans_struct): Remove definition.
4838         (__gconv_translit_find): Remove declaration.
4839         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
4840         prototype.
4841         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
4842         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
4843         trans_data argument.  Add hidden definition.
4844         (__gconv_translit_find): Remove.
4845         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
4846         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
4847         * iconv/skeleton.c: Remove transliteration initialization.
4848         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
4849         __gconv_step_data initialization.
4850         * libio/iofwide.c (__libio_translit_): Remove.
4851         (_IO_fwide): Adjust struct __gconv_step_data initialization.
4852         * wcsmbs/btowc.c (__btowc): Likewise.
4853         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
4854         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
4855         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
4856         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
4857         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
4858         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
4859         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
4860         * wcsmbs/wctob.c (wctob): Likewise.
4861
4862 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
4863
4864         [BZ #16194]
4865         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
4866         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
4867         register usage.
4868         * sysdeps/x86/Makefile: Adjust.
4869
4870 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
4871             Roland McGrath  <roland@hack.frob.com>
4872
4873         * locale/weight.h: Add include guard.
4874         (findidx): Make static rather than auto; take new parameters
4875         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
4876         * locale/weightwc.h: Likewise.
4877         * posix/fnmatch_loop.c
4878         (FCT): Change type of EXTRA from int32_t to wint_t.
4879         Don't include either header inside the function.
4880         Call FINDIDX rather than findidx, and pass new arguments.
4881         #undef FINDIDX at the end of the file.
4882         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
4883         FINDIDX before including fnmatch_loop.c for the non-wide version.
4884         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
4885         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
4886         for the wide version.
4887         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
4888         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
4889         Pass new arguments to findidx.
4890         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
4891         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
4892         Don't #include it inside the function.  Pass new arguments to findidx.
4893         * posix/regex_internal.h
4894         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
4895         (re_string_elem_size_at): Don't #include it inside the function.
4896         Pass new arguments to findidx.
4897         * string/strcoll_l.c: #include WEIGHT_H at top level.
4898         (get_next_seq): Don't #include it inside the function.
4899         Pass new arguments to findidx.
4900         (get_next_seq_nocache): Likewise.
4901         * string/strxfrm_l.c: #include WEIGHT_H at top level.
4902         (STRXFRM): Don't #include it inside the function.
4903         Pass new arguments to findidx.
4904
4905 2014-09-11  Florian Weimer  <fweimer@redhat.com>
4906
4907         [BZ #17344]
4908         * malloc/malloc.c (unlink): Turn asserts into a call to
4909         malloc_printerr.
4910
4911 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
4912
4913         [BZ #17370]
4914         * libio/wfileops (do_ftell_wide): Free OUT.
4915
4916 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
4917
4918         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
4919
4920 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
4921
4922         [BZ #17363]
4923         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
4924         group if the current group is empty.
4925
4926 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4927
4928         * benchtests/bench-memset.c (test_main): Add more test from size
4929         from 32 to 512 bytes.
4930         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4931         Add POWER8 memset object.
4932         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4933         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
4934         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
4935         implementation.
4936         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
4937         Likewise.
4938         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
4939         multiarch POWER8 memset optimization.
4940         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
4941         POWER8 memset optimization.
4942
4943         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4944         Remove bzero multiarch objects.
4945         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
4946         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
4947         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
4948         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
4949         Remove define.
4950         [__bzero]: Redefine to specific name.
4951         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
4952         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
4953         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
4954         define.
4955         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
4956         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
4957
4958 2014-09-10  Florian Weimer  <fweimer@redhat.com>
4959
4960         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
4961         warnings into errors.
4962
4963         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
4964         __cxa_thread_atexit_impl prototype.
4965
4966 2014-09-09  Steve Ellcey  <sellcey@mips.com>
4967
4968         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
4969         Fix capitalization of error message.
4970
4971 2014-09-09  Steve Ellcey  <sellcey@mips.com>
4972
4973         * sysdeps/mips/preconfigure: Modify ABI tests.
4974
4975 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
4976
4977         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
4978
4979 2014-09-07  Roland McGrath  <roland@hack.frob.com>
4980             Carlos O'Donell  <carlos@systemhalted.org>
4981
4982         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
4983         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
4984         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
4985         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
4986         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
4987         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
4988         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
4989         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
4990         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
4991         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
4992         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
4993         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
4994         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
4995         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
4996         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
4997         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
4998         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
4999         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
5000         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
5001         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
5002         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
5003         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
5004         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
5005         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
5006         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
5007         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
5008         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
5009         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
5010         Deconditionalize the code that was previously under [RESET_PID].
5011         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
5012         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
5013         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
5014         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
5015         include sysdep.h.
5016
5017 2014-09-08  Allan McRae  <allan@archlinux.org>
5018
5019         * version.h (RELEASE): Set to "development".
5020         (VERSION): Set to "2.20.90"
5021
5022 2014-09-07  Allan McRae  <allan@archlinux.org
5023
5024         * version.h (RELEASE): Set to "stable".
5025         (VERSION): Set to "2.20"
5026         * include/features.h (__GLIBC_MINOR__): Set to 20.
5027
5028         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
5029         Liebler.
5030
5031         * po/ko.po: Update Korean translation from translation project.
5032
5033 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
5034
5035         [BZ #17354]
5036         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
5037         macro for handling signed relocations.
5038
5039 2014-09-03  Florian Weimer  <fweimer@redhat.com>
5040
5041         [BZ #17325]
5042         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
5043         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
5044         assert.
5045         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
5046         * iconvdata/ibm935.c (BODY): Likewise.
5047         * iconvdata/ibm937.c (BODY): Likewise.
5048         * iconvdata/ibm939.c (BODY): Likewise.
5049         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
5050         assert.
5051         * iconvdata/Makefile (iconv-test.out): Pass module list to test
5052         script.
5053         * iconvdata/run-iconv-test.sh: New test loop for checking for
5054         decoder crashers.
5055
5056 2014-09-02  Khem Raj  <raj.khem@gmail.com>
5057
5058         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
5059         libm_hidden_ver.
5060
5061 2014-09-01  Allan McRae  <allan@archlinux.org>
5062
5063         * po/eo.po: Update Esperanto translation from translation project.
5064
5065         * po/ca.po: Update Catalan translation from translation project.
5066
5067 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5068
5069         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
5070         __proc_dostop call.
5071
5072 2014-08-27  Mark Wielaard  <mjw@redhat.com>
5073
5074         [BZ #17319]
5075         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
5076         to call set_thread_area instead of hand written asm.
5077         (__NR_set_thread_area): Removed define.
5078         (TLS_FLAG_WRITABLE): Likewise.
5079         (__ASSUME_SET_THREAD_AREA): Remove check.
5080         (TLS_EBX_ARG): Remove define.
5081         (TLS_LOAD_EBX): Likewise.
5082
5083 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5084
5085         Simplify atomicity of socket creation in bind.
5086
5087         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
5088         looking up the name after linking the file.
5089
5090 2014-08-27  Allan McRae  <allan@archlinux.org>
5091
5092         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
5093
5094 2014-08-26  Florian Weimer  <fweimer@redhat.com>
5095
5096         [BZ #17187]
5097         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
5098         trans_compare, open_translit, __gconv_translit_find):
5099         Remove module loading code.
5100
5101 2014-08-26  Allan McRae  <allan@archlinux.org>
5102
5103         * po/vi.po: Update Vietnamese translation from translation project.
5104
5105         * po/uk.po: Update Ukrainian translation from translation project.
5106
5107         * po/fr.po: Update French translation from translation project.
5108
5109         * po/ru.po: Update Russian translation from translation project.
5110
5111         * po/pl.po: Update Polish translation from translation project.
5112
5113         * po/cs.po: Update Czech translation from translation project.
5114
5115         * po/de.po: Update German translation from translation project.
5116
5117         * po/bg.po: Update Bulgarian translation from translation project.
5118
5119         * po/sv.po: Update Sweedish translation from translation project.
5120
5121         * po/nl.po: Update Dutch translation from translation project.
5122
5123         * po/es.po: Update Spanish translation from translation project.
5124
5125 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
5126
5127         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
5128
5129         * catgets/Makefile (CPPFLAGS-gencat): Remove.
5130         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
5131         (CPPFLAGS-iconvconfig): Likewise.
5132         * timezone/Makefile (CPPFLAGS-zic): Likewise.
5133
5134         * include/libc-symbols.h: Remove unnecessary check for
5135         NOT_IN_libc.
5136         * nptl/pthreadP.h: Likewise.
5137         * sysdeps/aarch64/setjmp.S: Likewise.
5138         * sysdeps/alpha/setjmp.S: Likewise.
5139         * sysdeps/arm/sysdep.h: Likewise.
5140         * sysdeps/i386/setjmp.S: Likewise.
5141         * sysdeps/m68k/setjmp.c: Likewise.
5142         * sysdeps/posix/getcwd.c: Likewise.
5143         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
5144         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
5145         * sysdeps/s390/s390-32/setjmp.S: Likewise.
5146         * sysdeps/s390/s390-64/setjmp.S: Likewise.
5147         * sysdeps/sh/sh3/setjmp.S: Likewise.
5148         * sysdeps/sh/sh4/setjmp.S: Likewise.
5149         * sysdeps/unix/alpha/sysdep.h: Likewise.
5150         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
5151         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
5152         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
5153         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
5154         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
5155         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
5156         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
5157         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
5158         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
5159         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
5160         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
5161         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
5162         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
5163         * sysdeps/x86_64/setjmp.S: Likewise.
5164
5165 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
5166
5167         [BZ #17263]
5168         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
5169         <stdint.h>.
5170         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
5171         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
5172
5173 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
5174
5175         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
5176
5177         [BZ #17262]
5178         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
5179         and __x86_64__ when disabling x87 inline functions.
5180
5181 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
5182
5183         [BZ #17259]
5184         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
5185         asm statement with __cpuid_count.
5186
5187 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
5188
5189         * configure.ac: Change __ehdr_start code to dereference the struct.
5190         Run readelf on the output to look for relocations.
5191         * configure: Regenerated.
5192
5193 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
5194
5195         [BZ #17261]
5196         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
5197         value to 0.
5198         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
5199
5200 2014-08-12  Roland McGrath  <roland@hack.frob.com>
5201
5202         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
5203
5204 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
5205
5206         [BZ #16892]
5207         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
5208         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
5209
5210 2014-08-12  Sean Anderson  <seanga2@gmail.com>
5211
5212         * malloc/malloc.c: Fix typo in comment.
5213
5214 2014-08-09  Allan McRae  <allan@archlinux.org>
5215
5216         * Regenerate libc.po.
5217
5218 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
5219
5220         * intl/tst-gettext2.sh: Check every lang file for creation.
5221
5222 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
5223
5224         * sysdeps/aarch64/fpu/math_private.h
5225         (libc_feholdsetround_noex_aarch64_ctx): New function.
5226
5227 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
5228
5229         * sysdeps/arm/armv6/strcpy.S (strcpy):
5230         Fix performance issue in misaligned cases.
5231
5232 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5233
5234         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
5235         Move definition from termios.h.
5236         (struct termio): Likewise.
5237         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
5238         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
5239         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
5240         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
5241         Likewise.
5242         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
5243         Move definition to ioctl-types.h
5244         (struct termio): Likewise.
5245         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
5246         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
5247         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
5248         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
5249         Likewise.
5250
5251 2014-08-05  Richard Henderson  <rth@redhat.com>
5252
5253         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
5254         exceptions.
5255         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
5256         Add fraiseexcpt.
5257         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
5258         Use __feraiseexcept.
5259         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
5260         Protect libm symbols with IS_IN_libm.
5261
5262         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
5263
5264 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
5265
5266         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
5267
5268 2014-08-04  Will Newton  <will.newton@linaro.org>
5269
5270         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
5271         file.
5272
5273 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
5274
5275         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
5276         variants for each function.
5277
5278 2014-08-04  Roland McGrath  <roland@hack.frob.com>
5279
5280         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
5281         appended ...
5282         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
5283         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
5284         appended ...
5285         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
5286         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
5287         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
5288         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
5289         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
5290         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
5291         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
5292         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
5293         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
5294         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
5295         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
5296         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
5297         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
5298         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
5299         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
5300         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
5301         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
5302         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
5303         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
5304         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
5305         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
5306         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
5307         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
5308         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
5309         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
5310         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
5311         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
5312         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
5313         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
5314         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
5315         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
5316         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
5317         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
5318         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
5319         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
5320         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
5321         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
5322         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
5323         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
5324         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
5325         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
5326         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
5327         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
5328         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
5329         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
5330         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
5331         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
5332         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
5333         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
5334         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
5335         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
5336         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
5337         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
5338         Update #include.
5339         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
5340         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
5341
5342 2014-08-04  Roland McGrath  <roland@hack.frob.com>
5343
5344         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
5345         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
5346         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
5347         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
5348         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
5349         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
5350
5351 2014-08-04  Roland McGrath  <roland@hack.frob.com>
5352
5353         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
5354         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
5355         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
5356         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
5357
5358 2014-08-04  Roland McGrath  <roland@hack.frob.com>
5359
5360         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
5361         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
5362         (__libc_vfork): Define function under this name.
5363         (__vfork): Define as an alias.
5364         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
5365         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
5366
5367 2014-08-04  Roland McGrath  <roland@hack.frob.com>
5368
5369         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
5370         that was previously under [RESET_PID].
5371         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
5372
5373 2014-08-04  Andreas Schwab  <schwab@suse.de>
5374
5375         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
5376
5377 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
5378
5379         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
5380         (main): Likewise.
5381
5382 2014-08-01  Roland McGrath  <roland@hack.frob.com>
5383
5384         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
5385
5386 2014-08-01  Richard Henderon  <rth@redhat.com>
5387
5388         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
5389         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
5390         typo in exact zero test.
5391         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5392         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
5393         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5394
5395 2014-08-01  Roland McGrath  <roland@hack.frob.com>
5396
5397         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
5398         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
5399         * sysdeps/arm/sysdep.h: ... here.
5400         [!__ASSEMBLER__]: Include <stdint.h>.
5401
5402 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
5403
5404         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
5405         (HAVE_WCTYPE_H): Likewise.
5406         (HAVE_ISWCTYPE): Likewise.
5407         (ENABLE_NLS): Likewise.
5408         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
5409         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
5410
5411         * posix/regex_internal.c: Check if DEBUG is defined and is
5412         set.
5413
5414         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
5415         (HAVE_MBSRTOWCS): Likewise.
5416         * posix/fnmatch.c: Include string.h unconditionally.
5417
5418 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
5419
5420         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
5421         reversal.
5422
5423 2014-07-31  Roland McGrath  <roland@hack.frob.com>
5424
5425         * sysdeps/generic/safe-fatal.h: New file.
5426         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
5427         * nptl/forward.c: Include it.
5428         (__pthread_unwind): Use __safe_fatal as default action, rather
5429         than a bogus use of INTERNAL_SYSCALL that could never work.
5430
5431         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
5432         * configure.ac (libc_cv_builtin_trap): New test.
5433         * configure: Regenerated.
5434         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
5435         (ABORT_INSTRUCTION): Define using __builtin_trap.
5436
5437         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
5438         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
5439         * sysdeps/nptl/nptl-signals.h: New file.
5440         * nptl/pthreadP.h: Include <nptl-signals.h>.
5441
5442 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
5443
5444         * sysdeps/s390/s390-64/utf16-utf32-z9.c
5445         (ONE_DIRECTION): Define.
5446         * sysdeps/s390/s390-64/utf8-utf16-z9.c
5447         (ONE_DIRECTION): Define.
5448         * sysdeps/s390/s390-64/utf8-utf32-z9.c
5449         (ONE_DIRECTION): Define.
5450
5451 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
5452
5453         * sysdeps/s390/Makefile: Delete file.
5454         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
5455         * sysdeps/s390/__longjmp.c: Delete file.
5456         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
5457         Remove fields __flags and __reserved.
5458         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
5459         and add versioning.
5460         * sysdeps/s390/rtld-__longjmp.c: Delete file.
5461         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
5462         * sysdeps/s390/rtld-setjmp.S: Likewise.
5463         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
5464         * sysdeps/s390/s390-32/__longjmp.c: ... here.
5465         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
5466         * sysdeps/s390/s390-32/setjmp.S: ... here.
5467         Add versioning.
5468         (__sigsetjmp): Remove setting __flags field.
5469         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
5470         * sysdeps/s390/s390-64/__longjmp.c: ... here.
5471         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
5472         * sysdeps/s390/s390-64/setjmp.S: ... here.
5473         Add versioning.
5474         (__sigsetjmp): Remove setting __flags field.
5475         * sysdeps/s390/setjmp.S: Delete file.
5476         * sysdeps/s390/sigjmp.c: Likewise.
5477         * sysdeps/s390/v1-longjmp.c: Likewise.
5478         * sysdeps/s390/v1-setjmp.h: Likewise.
5479         * sysdeps/s390/v1-sigjmp.c: Likewise.
5480         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
5481         Remove v1-longjmp_chk.
5482         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
5483         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
5484         Include debug/longjmp_chk.c and add versioning.
5485         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
5486         Include nptl/pt-longjmp.c and add versioning.
5487         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
5488         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
5489         Include __longjmp.c.
5490         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
5491         Move to ...
5492         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
5493         (__getcontext): Remove setting __flags field.
5494         Add versioning.
5495         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
5496         Don't restore upper high grps.
5497         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
5498         Likewise.
5499         (__swapcontext): Remove setting uc_flags field.
5500         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
5501         Delete file.
5502         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
5503         Include __longjmp.c.
5504         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
5505         Move to ...
5506         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
5507         (__getcontext): Remove setting __flags field.
5508         Add versioning.
5509         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
5510         (__swapcontext): Remove setting uc_flags field.
5511         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
5512         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
5513         Remove fields uc_high_gprs and __reserved.
5514         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
5515         New file with reverted content.
5516         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
5517         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
5518         Regenerated.
5519         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
5520         Regenerated.
5521
5522 2014-07-31  Andreas Schwab  <schwab@suse.de>
5523
5524         * config.h.in (HAVE_IFUNC): Define to 0.
5525         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
5526         definedness.
5527
5528 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
5529
5530         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
5531         memmove-avx-unaligned, memcpy-avx-unaligned and
5532         mempcpy-avx-unaligned.
5533         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
5534         Add tests for AVX memcpy functions.
5535         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
5536         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
5537         memcpy_chk.
5538         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
5539         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
5540         memmove_chk.
5541         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
5542         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
5543         mempcpy_chk.
5544         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
5545         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
5546         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
5547
5548 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5549
5550         [BZ #17213]
5551         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
5552         powerpc64le.
5553
5554 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
5555
5556         [BZ #16839]
5557         * manual/llio.texi: Add section about open file description locks.
5558         * manual/examples/ofdlocks.c: Example of open file description
5559         lock usage.
5560         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
5561         F_OFD_SETLK, and F_OFD_SETLKW.
5562
5563 2014-07-23  Allan McRae  <allan@archlinux.org>
5564
5565         * po/es.po: Update Spanish translation from translation project.
5566
5567 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
5568
5569         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
5570
5571 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
5572
5573         [BZ #17078]
5574         * sysdeps/arm/dl-machine.h (elf_machine_rela)
5575         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
5576         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
5577
5578 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
5579
5580         [BZ #17088]
5581         * math/fesetenv.c (__fesetenv)
5582         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
5583         * math/feupdateenv.c (__feupdateenv)
5584         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
5585
5586         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
5587         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
5588         (__ASSUME_SOCKETCALL): Do not define.
5589
5590         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
5591         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
5592         (__ASSUME_SOCKETCALL): Do not define.
5593         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
5594         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
5595         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
5596         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
5597         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5598         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
5599         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5600         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5601
5602         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
5603         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
5604         (__ASSUME_SOCKETCALL): Do not define.
5605         (__ASSUME_IPC64): Define unconditionally.
5606         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
5607         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
5608         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
5609         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5610         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
5611         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5612         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
5613         Likewise.
5614
5615         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
5616         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
5617         (__ASSUME_SOCKETCALL): Do not define.
5618         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
5619         (__ASSUME_FUTEX_LOCK_PI): Likewise.
5620         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
5621         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
5622         (__ASSUME_REQUEUE_PI): Define unconditionally.
5623         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
5624         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
5625         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5626         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
5627         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5628         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5629
5630         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
5631         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
5632         (__ASSUME_SOCKETCALL): Do not define.
5633         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
5634         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5635         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5636         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
5637         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5638         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5639
5640         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
5641         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
5642         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
5643         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
5644         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5645         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
5646         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5647         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
5648         (__ASSUME_GETCPU_SYSCALL): Likewise.
5649
5650         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
5651         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
5652         cases for individual architectures.
5653         * sysdeps/gnu/configure: Regenerated.
5654         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
5655         LIBC_SLIBDIR_RTLDDIR.
5656         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
5657         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
5658         LIBC_SLIBDIR_RTLDDIR.
5659         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
5660         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
5661         LIBC_SLIBDIR_RTLDDIR.
5662         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
5663         Regenerated.
5664         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
5665         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
5666         file.
5667         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
5668         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
5669         file.
5670         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
5671         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
5672         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
5673         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
5674
5675         * sysdeps/aarch64/shlib-versions: Move to ...
5676         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
5677         * sysdeps/alpha/shlib-versions: Move to ...
5678         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
5679         * sysdeps/arm/shlib-versions: Move to ...
5680         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
5681         * sysdeps/hppa/shlib-versions: Move all contents except for
5682         libgcc_s entry to ...
5683         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
5684         entry from ...
5685         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
5686         * sysdeps/ia64/shlib-versions: Move to ...
5687         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
5688         entry from ...
5689         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
5690         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
5691         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
5692         * sysdeps/microblaze/shlib-versions: Move to ...
5693         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
5694         * sysdeps/mips/shlib-versions: Move to ...
5695         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
5696         entry from ...
5697         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
5698         * sysdeps/tile/shlib-versions: Move to ...
5699         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
5700         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
5701         from ...
5702         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
5703         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
5704         entry from ...
5705         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
5706
5707 2014-07-17  Will Newton  <will.newton@linaro.org>
5708
5709         * sysdeps/arm/bits/atomic.h
5710         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
5711         (__arch_compare_and_exchange_bool_16_int): Likewise.
5712         (__arch_compare_and_exchange_bool_64_int): Likewise.
5713
5714         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
5715         into an #else block.
5716
5717 2014-07-16  Roland McGrath  <roland@hack.frob.com>
5718
5719         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
5720         just Linux configurations.  Test empirically that the compiler sets
5721         __ARM_EABI__, rather than using the tuple to decide.
5722         * sysdeps/arm/preconfigure: Regenerated.
5723         * sysdeps/unix/sysv/linux/arm/configure: File removed.
5724         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
5725         contents appended ...
5726         * sysdeps/arm/configure.ac: ... here.
5727         * sysdeps/arm/configure: Regenerated.
5728
5729 2014-07-15  Roland McGrath  <roland@hack.frob.com>
5730
5731         * nptl/pthread_kill.c: New file.
5732         * nptl/pthread_sigmask.c: New file.
5733         * nptl/pthread_sigqueue.c: New file.
5734
5735         * sysdeps/nptl/lowlevellock.h: New file.
5736         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
5737         * sysdeps/nptl/lowlevellock-futex.h: New file.
5738
5739         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
5740         Remove dead declarations.
5741
5742 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
5743
5744         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
5745         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
5746         config-cflags-avx2.
5747         * sysdeps/x86_64/configure.ac: Likewise.
5748         * sysdeps/i386/configure: Regenerated.
5749         * sysdeps/x86_64/configure: Likewise.
5750         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
5751         memset-avx2 only if config-cflags-avx2 is yes.
5752         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
5753         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
5754         defined.
5755         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
5756         only if HAVE_AVX2_SUPPORT is defined.
5757         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
5758
5759 2014-07-14  Alan Modra  <amodra@gmail.com>
5760
5761         [BZ #17153]
5762         * elf/elf.h (DT_PPC64_NUM): Correct value.
5763         * NEWS: Add to fixed bug list.
5764
5765 2014-07-13  Jim Meyering  <meyering@fb.com>
5766
5767         [BZ 17150]
5768         regex: don't deref NULL upon heap allocation failure
5769         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
5770         failure in one more place.
5771         To trigger the segfault, configure grep -with-included-regex,
5772         build it, and run these commands:
5773         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
5774
5775 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
5776
5777         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
5778
5779 2014-07-11  Richard Henderson  <rth@redhat.com>
5780
5781         * sysdeps/aarch64/libm-test-ulps: Update.
5782
5783 2014-07-10  Florian Weimer  <fweimer@redhat.com>
5784
5785         [BZ #17135]
5786         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
5787         * nptl/allocatestack.c (__nptl_setxid_error): New function.
5788         (__nptl_setxid): Initialize error member.  Call
5789         __nptl_setxid_error.
5790         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
5791         * nptl/descr.h (struct xid_command): Add error member.
5792         * nptl/tst-setuid3.c: New file.
5793         * nptl/Makefile (tests): Add it.
5794
5795 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5796
5797         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
5798         New define.
5799         (__lll_trylock): Use __lll_base_trylock.
5800         (__lll_cond_trylock): Likewise.
5801
5802 2014-07-10  Roland McGrath  <roland@hack.frob.com>
5803
5804         * nptl/pthread_create.c (start_thread): Use atomic_or and
5805         lll_futex_wake directly rather than lll_robust_dead.
5806         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
5807         (lll_robust_dead): Macro removed.
5808         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
5809         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
5810         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
5811         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
5812         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
5813         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
5814         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
5815         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
5816         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
5817         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
5818         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
5819         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
5820         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
5821         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
5822         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
5823
5824         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
5825         Use atomic_compare_and_exchange_val_acq directly rather than
5826         lll_robust_trylock.
5827         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
5828         (__lll_robust_trylock, lll_robust_trylock): Removed.
5829         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
5830         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
5831         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
5832         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
5833         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
5834         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
5835         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
5836         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
5837         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
5838         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
5839         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
5840         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
5841         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
5842         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
5843
5844 2014-07-02  Florian Weimer  <fweimer@redhat.com>
5845
5846         * manual/locale.texi (Locale Names): New section documenting
5847         locale name syntax.  Adjust menu and node chaining accordingly.
5848         (Choosing Locale): Reference Locale Names, Locale Categories.
5849         Mention setting LC_ALL=C.  Reflect that name syntax is now
5850         documented.
5851         (Locale Categories): New section title.  Reference Locale Names.
5852         LC_ALL is an environment variable, but not a category.
5853         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
5854         description, now in Locale Name.  Reference that section.  Locale
5855         name syntax is now documented.
5856
5857 2014-07-02  Florian Weimer  <fweimer@redhat.com>
5858
5859         [BZ #17137]
5860         * locale/findlocale.c (name_present, valid_locale_name): New
5861         functions.
5862         (_nl_find_locale): Use the loc_name variable to store name
5863         candidates.  Call name_present and valid_locale_name to check and
5864         validate locale names.  Return an error if the locale is invalid.
5865
5866 2014-07-02  Florian Weimer  <fweimer@redhat.com>
5867
5868         * locale/setlocale.c (setlocale): Use strdup for allocating
5869         composite name copy.
5870
5871 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
5872
5873         Sync up with gnulib.
5874         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
5875         [!_LIBC && ENABLE_NLS]: Include gettext.h.
5876         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
5877         and _GL_ARG_NONNULL.
5878         [USE_UNLOCKED_IO]: Include unlocked-io.h.
5879         [!_LIBC]: Include code for Windows and Cygwin.
5880         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
5881         Include prototype for int strerror_r.
5882         [!_LIBC] (is_open): New function.
5883         (flush_stdout): New function.
5884         (print_errno_message): Use it.
5885         (error): Likewise.
5886         (error_at_line): Likewise.
5887         (error_tail) Add function attribute macros.  Use
5888         __builtin_expect.
5889
5890         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
5891
5892         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
5893
5894         * io/ftw.c: Include sys/param.h unconditionally.
5895
5896         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
5897
5898         [BZ #17125]
5899         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
5900         libc_freeres_ptr.
5901         (freecache): New function to free CACHE on exit.
5902
5903         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
5904         initialization.
5905
5906 2014-07-09  David S. Miller  <davem@davemloft.net>
5907
5908         * sysdeps/sparc/fpu/libm-test-ulps: Update.
5909
5910         * sysdeps/sparc/nptl/internaltypes.h: Delete.
5911         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
5912         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
5913         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
5914         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
5915         * sysdeps/sparc/nptl/sem_init.c: Likewise.
5916         * sysdeps/sparc/nptl/sem_post.c: Likewise.
5917         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
5918         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
5919         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
5920         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
5921         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
5922         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
5923
5924 2014-07-09  Andreas Schwab  <schwab@suse.de>
5925
5926         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
5927         output.
5928         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
5929         (do_test): Likewise.
5930
5931         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
5932
5933 2014-07-09  Will Newton  <will.newton@linaro.org>
5934
5935         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
5936         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
5937         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
5938         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
5939         * sysdeps/hppa/start.S (_start): Likewise.
5940
5941 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
5942
5943         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
5944
5945         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
5946         defined.
5947
5948 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
5949
5950         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
5951         after checking that it is non-NULL.
5952
5953         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
5954
5955 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5956
5957         * sysdeps/powerpc/memmove.c: Remove file.
5958         * sysdeps/powerpc/powerpc32/power4/memcopy.h
5959         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
5960         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
5961         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
5962         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
5963         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
5964         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
5965         string memmove instead of removed powerpc one.
5966
5967         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
5968         [weak_alias]: Fix compiler warning due trailing data.
5969         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
5970         [weak_alias]: Likewise.
5971         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
5972         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
5973
5974         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
5975         (__libc_ifunc_impl_list): Add memmove functions.
5976
5977 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
5978
5979         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
5980         Remove code.
5981         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
5982         Likewise
5983         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
5984         Likewise
5985         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
5986         Likewise
5987         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
5988         Likewise
5989         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
5990         Likewise
5991         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
5992         Likewise
5993         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
5994         Likewise
5995         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
5996         Likewise
5997         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
5998         Likewise
5999         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
6000         Likewise
6001         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
6002         Likewise
6003         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
6004         Likewise
6005         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
6006         Likewise
6007         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
6008         Likewise
6009         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
6010         Likewise
6011         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
6012         Likewise
6013
6014 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6015
6016         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
6017         to avoid alignment traps in non-cacheable memory.
6018         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
6019
6020         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
6021         multiarch objects.
6022         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
6023         file: multiarch power7 memmove.
6024         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
6025         multiarch default memmove.
6026         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
6027         multiarch memove for powerpc32/power4.
6028
6029         * string/bcopy.c: Use full path to include memmove.c.
6030         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
6031         multiarch objects.
6032         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
6033         bcopy for powerpc64.
6034         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
6035         bcopy for powerpc64.
6036         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
6037         and memmove implementations.
6038         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
6039         optimized multiarch memmove for POWER7/powerpc64.
6040         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
6041         default multiarch memmove for powerpc64.
6042         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
6043         multiarch for powerpc64.
6044         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
6045         for POWER7/powerpc64.
6046         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
6047         memmove for POWER7/powerpc64.
6048
6049         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
6050         glibc default one.
6051
6052         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
6053         __ELF_NATIVE_CLASS equal to 64.
6054
6055 2014-07-07  Roland McGrath  <roland@hack.frob.com>
6056
6057         * sysdeps/nptl/lowlevellock.h: File removed.
6058
6059         * NEWS: NPTL is no longer an add-on!
6060         * nptl/internaltypes.h: Moved ...
6061         * sysdeps/nptl/internaltypes.h: ... here.
6062         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
6063         * sysdeps/nptl/fork.c: Likewise.
6064         * sysdeps/nptl/gai_misc.h: Likewise.
6065         * sysdeps/nptl/librt-cancellation.c: Likewise.
6066         * sysdeps/nptl/jmp-unwind.c: Likewise.
6067         * sysdeps/nptl/setxid.h: Likewise.
6068         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
6069         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
6070         * sysdeps/unix/sysv/linux/arm/Implies: New file.
6071         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
6072         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
6073         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
6074         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
6075         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
6076         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
6077         * sysdeps/unix/sysv/linux/mips/Implies: New file.
6078         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
6079         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
6080         * sysdeps/unix/sysv/linux/sh/Implies: New file.
6081         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
6082         * sysdeps/unix/sysv/linux/tile/Implies: New file.
6083         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
6084         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
6085         * nptl/Makeconfig: Moved ...
6086         * sysdeps/nptl/Makeconfig: ... here.
6087         * nptl/configure: File removed.
6088         * nptl/ANNOUNCE: File removed.
6089         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
6090         * sysdeps/unix/sysv/linux/configure: Regenerated.
6091
6092         * nptl/Makefile (routines): Add libc_pthread_init,
6093         libc_multiple_threads, register-atfork and unregister-atfork.
6094         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
6095         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
6096         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
6097         pthread-pi-defines.sym, structsem.sym.
6098         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
6099         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
6100         [$(subdir) = nptl] (tests): Add tst-setgetname.
6101         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
6102         * sysdeps/unix/sysv/linux/sigaction.c: Just include
6103         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
6104         [!LIBC_SIGACTION]: Remove aliases.
6105         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
6106         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
6107         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
6108         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
6109         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
6110         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
6111         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
6112         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
6113         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
6114         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
6115         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
6116         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
6117         __libc_allocate_rtsig_private.
6118         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
6119         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
6120         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
6121         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
6122         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
6123         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
6124         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
6125         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
6126         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
6127         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
6128         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
6129         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
6130         * nptl/internaltypes.h: ... here.
6131         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
6132         * sysdeps/nptl/jmp-unwind.c: ... here.
6133         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
6134         * nptl/libc-lowlevellock.c: ... here.
6135         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
6136         * nptl/libc_multiple_threads.c: ... here.
6137         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
6138         * nptl/libc_pthread_init.c: ... here.
6139         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
6140         * nptl/lowlevelbarrier.sym: ... here.
6141         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
6142         * nptl/lowlevelcond.sym: ... here.
6143         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
6144         * nptl/lowlevellock.c: ... here.
6145         * nptl/lowlevellock.h: Moved ...
6146         * sysdeps/nptl/lowlevellock.h: ... here.
6147         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
6148         * nptl/lowlevelrobustlock.c: ... here.
6149         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
6150         * nptl/lowlevelrobustlock.sym: ... here.
6151         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
6152         * nptl/lowlevelrwlock.sym: ... here.
6153         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
6154         * nptl/pt-fork.c: ... here.
6155         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
6156         * nptl/pthread-pi-defines.sym: ... here.
6157         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
6158         * nptl/pthread_attr_getaffinity.c: ... here.
6159         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
6160         * nptl/pthread_attr_setaffinity.c: ... here.
6161         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
6162         * nptl/pthread_mutex_cond_lock.c: ... here.
6163         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
6164         Update #include.
6165         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
6166         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
6167         * nptl/pthread_once.c: ... here, replacing old file.
6168         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
6169         * nptl/pthread_yield.c: ... here.
6170         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
6171         * nptl/register-atfork.c: ... here.
6172         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
6173         * nptl/sem_post.c: ... here.
6174         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
6175         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
6176         * nptl/sem_timedwait.c: ... here.
6177         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
6178         * nptl/sem_trywait.c: ... here.
6179         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
6180         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
6181         * nptl/sem_wait.c: ... here.
6182         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
6183         * nptl/structsem.sym: ... here.
6184         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
6185         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
6186         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
6187         * nptl/unregister-atfork.c: ... here.
6188         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
6189         * nptl/unwindbuf.sym: ... here.
6190         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
6191         * sysdeps/nptl/fork.c: ... here.
6192         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
6193         * sysdeps/nptl/fork.h: ... here.
6194         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
6195         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
6196         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
6197         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
6198         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
6199         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
6200         * sysdeps/unix/sysv/linux/getpid.c: ... here.
6201         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
6202         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
6203         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
6204         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
6205         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
6206         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
6207         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
6208         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
6209         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
6210         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
6211         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
6212         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
6213         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
6214         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
6215         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
6216         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
6217         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
6218         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
6219         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
6220         * sysdeps/unix/sysv/linux/raise.c: ... here.
6221         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
6222         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
6223         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
6224         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
6225         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
6226         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
6227         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
6228         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
6229         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
6230         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
6231         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
6232         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
6233         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
6234         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
6235         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
6236
6237 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
6238
6239         * sysdeps/generic/memcopy.h: Add comment for
6240         MEMCPY_OK_FOR_FWD_MEMMOVE.
6241
6242 2014-07-04  Will Newton  <will.newton@linaro.org>
6243
6244         * string/memchr.c: Merge from gnulib.
6245         [_LIBC]: Remove conditionals.
6246         (__ptr_t): Remove define.
6247         (LONG_MAX_32_BITS): Likewise.
6248         (LONG_MAX): Likewise.
6249         (MEMCHR): Use ANSI prototype and optimize algorithm.
6250
6251         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
6252
6253 2014-07-03  Roland McGrath  <roland@hack.frob.com>
6254
6255         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
6256         (lll_futex_timed_wait_bitset): Fix syscall argument count.
6257
6258         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
6259         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
6260         in a bare environment with no <stdlib.h> installed.
6261         * sysdeps/nptl/configure: Regenerated.
6262
6263         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
6264
6265         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
6266         AC_EGREP_CPP for kernel header checks, so they only succeed if
6267         including <linux/version.h> actually works right.
6268         * sysdeps/unix/sysv/linux/configure: Regenerated.
6269
6270         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
6271         value so it's not diagnosed as unused.
6272
6273         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
6274         thing) with "ifeq ($(subdir),rt)".
6275
6276 2014-07-03  Richard Henderson  <rth@redhat.com>
6277
6278         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
6279         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
6280         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
6281
6282         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
6283         (math_force_eval): New.
6284
6285         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
6286         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
6287
6288         * sysdeps/alpha/fpu/s_round.c: Remove file.
6289         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
6290
6291         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
6292         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
6293         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
6294         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
6295         (_dl_start, print_statistics): Likewise.
6296         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
6297         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
6298
6299         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
6300         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
6301         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
6302         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
6303         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
6304         (HP_SMALL_TIMING_AVAIL): Define.
6305         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
6306         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
6307         (HP_SMALL_TIMING_AVAIL): Define.
6308         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
6309         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
6310
6311         * sysdeps/aarch64/hp-timing.h: New file.
6312
6313         * sysdeps/generic/hp-timing.h: Remove dead comment.
6314         * sysdeps/generic/hp-timing-common.h: New file.
6315         * sysdeps/alpha/hp-timing.h: Include it.
6316         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
6317         * sysdeps/i386/i686/hp-timing.h: Likewise.
6318         * sysdeps/ia64/hp-timing.h: Likewise.
6319         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
6320         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
6321         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
6322         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
6323         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
6324         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
6325         (hp_timing_t): New.
6326
6327         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
6328         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
6329         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
6330         * elf/rtld.c (_dl_start_final): Likewise.
6331         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
6332         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
6333         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
6334         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
6335         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
6336         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
6337         (HP_TIMING_DIFF_INIT): Remove.
6338         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
6339         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
6340         (HP_TIMING_DIFF_INIT): Remove.
6341         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
6342         * sysdeps/i386/i686/hp-timing.c: Remove file.
6343         * sysdeps/x86_64/hp-timing.c: Remove file.
6344         * sysdeps/ia64/hp-timing.c: Remove file.
6345         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
6346         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
6347         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
6348         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
6349
6350         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
6351         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
6352         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
6353         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
6354         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
6355         (HP_TIMING_ACCUM): Remove.
6356         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
6357         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
6358         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
6359
6360         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
6361         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
6362         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
6363         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
6364         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
6365         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
6366         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
6367         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
6368
6369         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
6370
6371 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
6372
6373         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
6374
6375 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
6376
6377         Sync up with gettext.
6378         * intl/loadmsgcat.c: Define O_BINARY if not defined.
6379         [_MSC_VER]: Include malloc.h
6380         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
6381         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
6382         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
6383         TEMP_FAILURE_RETRY.  Cast return of alloca.
6384         [!_LIBC] Call gl_rwlock_init.
6385         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
6386
6387 2014-07-02  Roland McGrath  <roland@hack.frob.com>
6388
6389         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
6390         before checking its value.
6391
6392 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
6393
6394         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
6395
6396         * debug/memcpy_chk.c: Don't include pagecopy.h.
6397         * debug/mempcpy_chk.c: Likewise.
6398         * string/memcpy.c: Likewise.
6399         * string/memmove.c: Likewise.
6400         * sysdeps/powerpc/memmove.c: Likewise.
6401         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
6402         definition of PAGE_COPY_FWD_MAYBE here...
6403         * sysdeps/generic/pagecopy.h: ... from here.
6404         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
6405
6406 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
6407             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6408
6409         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
6410         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
6411         optimizations.
6412         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6413         (__libc_ifunc_impl_list): Likewise.
6414         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
6415         multiarch strcat for PPC64.
6416         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
6417         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
6418
6419 2014-07-02  Roland McGrath  <roland@hack.frob.com>
6420
6421         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
6422
6423 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
6424
6425         * intl/loadmsgcat.c: Remove declaration of
6426         get_sysdep_segment_value.
6427         (get_sysdep_segment_value): Use ISO C style.
6428         (_nl_load_domain): Use ISO C style.  Get rid of redundant
6429         semicolon.  Fix typo and formatting in comment.
6430         (_nl_unload_domain): Use ISO C style.
6431
6432         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
6433
6434 2014-07-02  Will Newton  <will.newton@linaro.org>
6435
6436         * malloc/obstack.c: Merge from gnulib master.
6437         [HAVE_CONFIG_H]: Remove conditional code.
6438         [!_LIBC]: Include config.h.
6439         [!ELIDE_CODE]: Don't include inttypes.h, include
6440         stdint.h unconditionally.
6441         (print_and_abort): Mark as _Noreturn.
6442         (_obstack_allocated_p): Mark as __attribute_pure__.
6443         (obstack_free): Rename to __obstack_free.
6444         [!__attribute__]: Remove conditional code.
6445         * malloc/obstack.h: Merge from gnulib master.
6446         [__cplusplus]: Move conditional down.
6447         [!__attribute_pure__]: Define __attribute_pure__ here
6448         if it is not already defined.
6449         (_obstack_memory_used): Mark as __attribute_pure__.
6450         [!__obstack_free]: Define as obstack_free.
6451         [__GNUC__]: Remove check for ancient NeXT gcc.
6452
6453 2014-07-02  Will Newton  <will.newton@linaro.org>
6454             Paul Eggert  <eggert@cs.ucla.edu>
6455
6456         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
6457
6458 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
6459
6460         * resolv/gethnamaddr.c: Add comment warning that the file is
6461         not maintained.
6462
6463 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
6464
6465         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
6466         entries.
6467
6468         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
6469         entry for aio_cancel and aio_cancel64.
6470         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
6471         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
6472         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
6473         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
6474         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
6475         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
6476         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
6477         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
6478         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
6479         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
6480         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
6481         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
6482         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
6483
6484 2014-07-01  Roland McGrath  <roland@hack.frob.com>
6485
6486         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
6487         * nptl/pthread_mutex_lock.c: Likewise.
6488         * nptl/pthread_mutex_timedlock.c: Likewise.
6489         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
6490
6491 2014-07-01  Richard henderson  <rth@redhat.com>
6492
6493         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
6494         (__isnan, __isnanl): Remove.
6495         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
6496
6497         * sysdeps/alpha/fpu/libm-test-ulps: Update.
6498
6499 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
6500
6501         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
6502
6503 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
6504
6505         * resolv/nss_dns/dns-host.c (getanswer_r)
6506         [MULTI_PTRS_ARE_ALIASES]: Remove code.
6507
6508 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
6509
6510         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6511         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
6512         undefine.
6513         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
6514         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
6515
6516 2014-07-01  Roland McGrath <roland@hack.frob.com>
6517
6518         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
6519         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
6520
6521         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
6522         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
6523
6524         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
6525         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
6526         ... here.
6527         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
6528         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
6529
6530         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
6531         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
6532         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
6533         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
6534
6535         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
6536         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
6537         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
6538         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
6539         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
6540         Moved ...
6541         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
6542         ... here.
6543         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
6544         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
6545         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
6546         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
6547         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
6548         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
6549         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
6550         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
6551         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
6552         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
6553         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
6554         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
6555         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
6556         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
6557         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
6558         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
6559         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
6560         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
6561         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
6562         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
6563         ... here.
6564         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
6565         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
6566         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
6567         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
6568         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
6569         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
6570         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
6571         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
6572
6573 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
6574
6575         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
6576         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
6577         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
6578         Add sysdep.
6579
6580 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6581
6582         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6583
6584 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
6585
6586         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
6587         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
6588
6589         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
6590
6591         * sysdeps/arm/libm-test-ulps: Regenerated.
6592
6593 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
6594             Roland McGrath <roland@hack.frob.com>
6595
6596         * test-skeleton.c (signal_handler): Kill the whole process group
6597         before killing the child individually.
6598         (main): Report any failure on `setpgid'.
6599
6600 2014-06-30  Roland McGrath  <roland@hack.frob.com>
6601
6602         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
6603         from _TLS_H to _ARM_NPTL_TLS_H.
6604         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
6605         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
6606
6607 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
6608
6609         [BZ #16539]
6610         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
6611         (__expm1l): Return argument unchanged when small but not
6612         subnormal.
6613
6614         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
6615         include macro name.
6616         (_FP_UNPACK_RAW_1_P): Likewise.
6617         (_FP_PACK_RAW_1): Likewise.
6618         (_FP_PACK_RAW_1_P): Likewise.
6619         (_FP_MUL_MEAT_1_wide): Likewise.
6620         (_FP_MUL_MEAT_DW_1_hard): Likewise.
6621         (_FP_MUL_MEAT_1_hard): Likewise.
6622         (_FP_DIV_MEAT_1_imm): Likewise.
6623         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
6624         (_FP_DIV_MEAT_1_udiv): Likewise.
6625         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
6626         (_FP_UNPACK_RAW_2): Likewise.
6627         (_FP_UNPACK_RAW_2_P): Likewise.
6628         (_FP_PACK_RAW_2): Likewise.
6629         (_FP_PACK_RAW_2_P): Likewise.
6630         (_FP_MUL_MEAT_DW_2_wide): Likewise.
6631         (_FP_MUL_MEAT_2_wide): Likewise.
6632         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
6633         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
6634         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
6635         (_FP_MUL_MEAT_2_gmp): Likewise.
6636         (_FP_DIV_MEAT_2_udiv): Likewise.
6637         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
6638         (_FP_FRAC_SRL_4): Likewise.
6639         (_FP_FRAC_SRST_4): Likewise.
6640         (_FP_FRAC_SRS_4): Likewise.
6641         (_FP_UNPACK_RAW_4): Likewise.
6642         (_FP_UNPACK_RAW_4_P): Likewise.
6643         (_FP_PACK_RAW_4): Likewise.
6644         (_FP_PACK_RAW_4_P): Likewise.
6645         (_FP_MUL_MEAT_DW_4_wide): Likewise.
6646         (_FP_MUL_MEAT_4_wide): Likewise.
6647         (_FP_MUL_MEAT_4_gmp): Likewise.
6648         (umul_ppppmnnn): Likewise.
6649         (_FP_DIV_MEAT_4_udiv): Likewise.
6650         (__FP_FRAC_ADD_4): Likewise.
6651         (__FP_FRAC_SUB_3): Likewise.
6652         (__FP_FRAC_SUB_4): Likewise.
6653         (__FP_FRAC_DEC_3): Likewise.
6654         (__FP_FRAC_DEC_4): Likewise.
6655         (__FP_FRAC_ADDI_4): Likewise.
6656         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
6657         (_FP_FRAC_SRL_8): Likewise.
6658         (_FP_FRAC_SRS_8): Likewise.
6659
6660         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
6661         include macro name.
6662         (FP_UNPACK_RAW_EP): Likewise.
6663         (FP_PACK_RAW_E): Likewise.
6664         (FP_PACK_RAW_EP): Likewise.
6665         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
6666         (_FP_ISSIGNAN): Likewise.
6667         (_FP_ADD_INTERNAL): Likewise.
6668         (_FP_FMA): Likewise.
6669         (_FP_CMP): Likewise.
6670         (_FP_SQRT): Likewise.
6671         (_FP_TO_INT): Likewise.
6672         (_FP_FROM_INT): Likewise.
6673         (FP_EXTEND): Likewise.
6674         (_FP_DIV_MEAT_N_loop): Likewise.
6675
6676 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
6677
6678         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
6679         throughout.
6680
6681 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
6682
6683         [BZ #17097]
6684         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
6685         result with correct sign in case of exponents that produce
6686         overflow except for X very close to 1.
6687
6688 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
6689
6690         mktime: merge #if/#ifdef usage from glibc
6691         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
6692         as that works with both Glibc's and Gnulib's style.
6693         See thread starting at Siddhesh Poyarekar's bug report at:
6694         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
6695
6696 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
6697
6698         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
6699         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
6700         * sysdeps/tile/tilegx/memmove.c: Remove file.
6701
6702 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
6703
6704         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
6705         abi-name definition.
6706         * scripts/soversions.awk: Do not handle or generate ABI lines.
6707         * shlib-versions: Remove ABI entries.
6708         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
6709         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
6710
6711 2014-06-27  Roland McGrath  <roland@hack.frob.com>
6712
6713         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
6714         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
6715         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
6716         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
6717         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
6718         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
6719         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
6720         Moved ...
6721         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
6722         ... here.
6723         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
6724         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
6725         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
6726         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
6727         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
6728         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
6729         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
6730         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
6731         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
6732         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
6733         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
6734         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
6735         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
6736         Moved ...
6737         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
6738         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
6739         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
6740         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
6741         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
6742         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
6743         Moved ...
6744         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
6745         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
6746         Moved ...
6747         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
6748         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
6749         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
6750         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
6751         Moved ...
6752         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
6753         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
6754         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
6755         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
6756         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
6757         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
6758         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
6759         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
6760         Moved ...
6761         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
6762         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
6763         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
6764         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
6765         Moved ...
6766         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
6767         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
6768         Moved ...
6769         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
6770         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
6771         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
6772         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
6773         Moved ...
6774         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
6775         ... here.
6776         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
6777         Identical file removed.
6778         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
6779         Moved ...
6780         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
6781         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
6782         Identical file removed.
6783         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
6784         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
6785         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
6786         Moved ...
6787         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
6788         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
6789         Identical file removed.
6790         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
6791         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
6792         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
6793         Identical file removed.
6794         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
6795         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
6796         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
6797         Identical file removed.
6798         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
6799         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
6800         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
6801         Identical file removed.
6802         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
6803         Moved ...
6804         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
6805         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
6806         Identical file removed.
6807         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
6808         Moved ...
6809         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
6810         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
6811         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
6812         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
6813         Identical file removed.
6814         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
6815         Moved ...
6816         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
6817         ... here.
6818         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
6819         Identical file removed.
6820         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
6821         Moved ...
6822         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
6823         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
6824         Identical file removed.
6825         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
6826         Moved ...
6827         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
6828         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
6829         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
6830         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
6831         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
6832         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
6833         Moved ...
6834         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
6835         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
6836         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
6837
6838         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
6839         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
6840         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
6841         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
6842         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
6843
6844 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
6845
6846         [BZ #17092]
6847         * nscd/nscd.c (monitor_child): Return exit status of child
6848         instead of return value from wait syscall.
6849
6850 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
6851
6852         * configure.ac (libc_commonpagesize): Remove variable.
6853         (libc_relro_required): Likewise.
6854         (libc_cv_z_relro): Remove configure test.
6855         * configure: Regenerated.
6856         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
6857         variable.
6858         (libc_relro_required): Likewise.
6859         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
6860         (libc_relro_required): Likewise.
6861         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
6862         (libc_relro_required): Likewise.
6863         * sysdeps/arm/preconfigure: Regenerated.
6864         * sysdeps/ia64/preconfigure: Remove file.
6865         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
6866         variable.
6867         (libc_relro_required): Likewise.
6868
6869         [BZ #16561]
6870         [BZ #16562]
6871         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
6872         (__ieee754_yn): Set FE_TONEAREST mode internally and then
6873         recompute overflowing results in original rounding mode.
6874         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
6875         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
6876         recompute overflowing results in original rounding mode.
6877         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
6878         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
6879         recompute overflowing results in original rounding mode.
6880         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
6881         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
6882         recompute overflowing results in original rounding mode.
6883         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
6884         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
6885         recompute overflowing results in original rounding mode.
6886         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
6887         (libc_feholdsetround_ctx): New macro.
6888         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
6889         * sysdeps/i386/fpu/libm-test-ulps: Update.
6890         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
6891
6892 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
6893
6894         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
6895         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
6896         corresponding .cpsetup call.
6897
6898 2014-06-26  Roland McGrath  <roland@hack.frob.com>
6899
6900         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
6901         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
6902         * sysdeps/arm/Makefile [$(subdir) = csu]
6903         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
6904         (static-only-routines): Add aeabi_read_tp here.
6905         (shared-only-routines): Add libc-aeabi_read_tp here.
6906         (CFLAGS-libc-start.c): Add -fexceptions here.
6907         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
6908         (sysdep_routines, static-only-routines, shared-only-routines):
6909         Don't add to these here.
6910         (CFLAGS-libc-start.c): Likewise.
6911
6912         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
6913         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
6914         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
6915         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
6916         * sysdeps/arm/Makefile [$(subdir) = rt]
6917         (librt-sysdep_routines, librt-shared-only-routines):
6918         Append rt-aeabi_unwind_cpp_pr1 here.
6919         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
6920         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
6921         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
6922         (libpthread-sysdep_routines, libpthread-shared-only-routines):
6923         Append nptl-aeabi_unwind_cpp_pr1 here.
6924         (tests): Filter out tst-cleanupx4 here.
6925         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
6926         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
6927         Don't do those here.
6928
6929 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
6930
6931         * scripts/list-sources.sh: Do not handle ports specially.
6932
6933 2014-06-26  Roland McGrath  <roland@hack.frob.com>
6934
6935         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
6936         * sysdeps/arm/feupdateenv.c: Likewise.
6937
6938         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
6939
6940 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
6941
6942         * manual/texinfo.tex: Update to version 2014-05-05.10 with
6943         trailing whitespace removed.
6944         * scripts/config.guess: Update to version 2014-03-23.
6945         * scripts/config.sub: Update to version 2014-05-01
6946         * scripts/install-sh: Update to version 2013-12-25.23.
6947         * scripts/move-if-change: Update from gnulib.
6948
6949 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
6950
6951         * debug/memmove_chk.c: Remove pagecopy.h include.
6952
6953 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
6954
6955         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
6956         identical to gnulib mktime.
6957
6958 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
6959
6960         * configure.ac: Do not test for machine being rs6000.  Do not test
6961         for powerpc*-*soft.
6962         * configure: Regenerated.
6963
6964         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
6965         test.
6966         * configure: Regenerated.
6967         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
6968         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
6969         Remove configure test.
6970         * sysdeps/arm/configure: Regenerated.
6971         * sysdeps/nptl/configure.ac: Do not check
6972         libc_cv_asm_cfi_directives.
6973         * sysdeps/nptl/configure: Regenerated.
6974         * sysdeps/x86_64/nptl/configure.ac: Remove file.
6975         * sysdeps/x86_64/nptl/configure: Remove generated file.
6976         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
6977         unconditional.
6978         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
6979
6980 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
6981
6982         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
6983         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
6984         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
6985         it is defined.
6986
6987         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
6988         instead of whether it is defined.
6989         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
6990         * sysdeps/hppa/dl-machine.h: Likewise.
6991         * sysdeps/ia64/dl-machine.h: Likewise.
6992         * sysdeps/m68k/dl-machine.h: Likewise.
6993         * sysdeps/microblaze/dl-machine.h: Likewise.
6994         * sysdeps/mips/dl-machine.: Likewise.
6995         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
6996         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
6997         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
6998         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
6999         * sysdeps/sh/dl-machine.h: Likewise.
7000         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
7001         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
7002         * sysdeps/tile/dl-machine.h: Likewise.
7003         * sysdeps/x86_64/dl-machine.h: Likewise.
7004
7005         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
7006         code.
7007         (verify_persistent_db): Likewise.
7008
7009 2014-06-26  Roland McGrath  <roland@hack.frob.com>
7010
7011         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
7012         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
7013         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
7014         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
7015         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
7016         Moved ...
7017         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
7018         ... here.
7019         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
7020         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
7021         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
7022         Identical file removed.
7023         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
7024         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
7025         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
7026         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
7027         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
7028         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
7029         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
7030         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
7031         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
7032         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
7033         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
7034         Moved ...
7035         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
7036         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
7037         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
7038         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
7039         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
7040         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
7041         Moved ...
7042         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
7043         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
7044         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
7045         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
7046         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
7047         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
7048         Identical file removed.
7049         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
7050         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
7051         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
7052         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
7053         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
7054         Moved ...
7055         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
7056         ... here.
7057         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
7058         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
7059         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
7060         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
7061         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
7062         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
7063         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
7064         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
7065         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
7066         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
7067         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
7068         Moved ...
7069         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
7070         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
7071         Moved ...
7072         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
7073         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
7074         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
7075         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
7076         Moved ...
7077         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
7078         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
7079         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
7080
7081         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
7082         folded into ...
7083         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
7084         * sysdeps/unix/sysv/linux/s390/Versions
7085         (libpthread: GLIBC_2.19): New version set.
7086         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
7087         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
7088         (librt: GLIBC_2.3.3): New version set.
7089         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
7090         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
7091         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
7092         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
7093         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
7094         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
7095         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
7096         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
7097         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
7098         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
7099         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
7100         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
7101         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
7102         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
7103         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
7104         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
7105         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
7106         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
7107         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
7108         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
7109         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
7110         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
7111         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
7112         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
7113         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
7114         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
7115         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
7116         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
7117         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
7118         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
7119         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
7120         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
7121         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
7122         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
7123         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
7124         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
7125         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
7126         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
7127         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
7128         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
7129         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
7130         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
7131         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
7132         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
7133         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
7134
7135         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
7136         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
7137         (__libc_vfork): Define the function under this name.
7138         [!NOT_IN_libc] (__vfork): Make this an alias.
7139         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
7140         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
7141         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
7142         (__libc_vfork): Define the function under this name.
7143         [!NOT_IN_libc] (__vfork): Make this an alias.
7144         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
7145         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
7146         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
7147         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
7148         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
7149         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
7150
7151         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
7152         code that was previously under [RESET_PID].
7153         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
7154         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
7155         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
7156
7157         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
7158         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
7159         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
7160         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
7161         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
7162         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
7163         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
7164         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
7165         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
7166         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
7167         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
7168         Moved ...
7169         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
7170         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
7171         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
7172         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
7173         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
7174         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
7175         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
7176         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
7177         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
7178         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
7179         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
7180         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
7181         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
7182         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
7183         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
7184         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
7185         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
7186         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
7187         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
7188         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
7189         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
7190         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
7191         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
7192         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
7193         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
7194         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
7195         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
7196         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
7197         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
7198
7199 2014-06-25  Roland McGrath  <roland@hack.frob.com>
7200
7201         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
7202         that was previously under [RESET_PID].
7203         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
7204
7205 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
7206
7207         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
7208         not undefine and redefine.
7209         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
7210         [O_CLOEXEC]: Make code unconditional.
7211         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
7212         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
7213         <kernel-features.h>.
7214         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
7215         conditional variable definition.
7216         (shm_open) [O_CLOEXEC]: Make code unconditional.
7217         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
7218         code.
7219
7220         * configure.ac (USE_REGPARMS): Don't define here.
7221         * configure: Regenerated.
7222         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
7223         * sysdeps/i386/configure: Regenerated.
7224
7225         * nptl/createthread.c: Don't include kernel-features.h.
7226         * nptl/pthread_cancel.c: Likewise.
7227         * nptl/pthread_condattr_setclock.c: Likewise.
7228         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
7229         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
7230         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
7231         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
7232         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
7233         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
7234         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
7235         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
7236         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
7237         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
7238         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
7239         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
7240         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
7241         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
7242         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
7243         * nscd/gai.c: Likewise.
7244         * nss/nss_db/db-open.c: Likewise.
7245         * sysdeps/generic/ldsodefs.h: Likewise.
7246         * sysdeps/sh/nptl/tls.h: Likewise.
7247         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
7248         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
7249         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
7250         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
7251         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
7252         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
7253         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
7254         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
7255         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
7256         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
7257         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
7258         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
7259         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
7260         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
7261         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
7262         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
7263         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
7264         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
7265         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
7266         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
7267         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
7268         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
7269         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
7270         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
7271         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
7272         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
7273         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
7274         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
7275         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
7276         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
7277         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
7278         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
7279         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
7280         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
7281         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
7282         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
7283         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
7284         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
7285         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
7286         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
7287         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
7288         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
7289         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
7290         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
7291         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
7292         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
7293         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
7294         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
7295         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
7296         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
7297         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
7298         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
7299         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
7300         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
7301         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
7302         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
7303         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
7304         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
7305         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
7306         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
7307         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
7308         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
7309         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
7310         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
7311         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
7312         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
7313         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
7314         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
7315         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
7316         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
7317         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
7318         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
7319         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
7320         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
7321         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
7322         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
7323         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
7324         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
7325         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
7326         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
7327         * sysdeps/unix/sysv/linux/pread.c: Likewise.
7328         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
7329         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
7330         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
7331         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
7332         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
7333         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
7334         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
7335         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
7336         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
7337         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
7338         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
7339         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
7340         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
7341         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
7342         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
7343         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
7344         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
7345         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
7346         * sysdeps/unix/sysv/linux/system.c: Likewise.
7347         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
7348         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
7349         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
7350         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
7351         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
7352         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
7353         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
7354
7355         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
7356         * configure: Regenerated.
7357         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
7358
7359         * configure.ac (base_machine): Do not set specially for particular
7360         machines here.
7361         * configure: Regenerated.
7362         * sysdeps/powerpc/preconfigure: Move machine and base_machine
7363         settings from configure.ac.
7364         * sysdeps/i386/preconfigure: New file.
7365         * sysdeps/s390/preconfigure: Likewise.
7366         * sysdeps/sh/preconfigure: Likewise.
7367         * sysdeps/sparc/preconfigure: Likewise.
7368
7369 2014-06-25  Roland McGrath  <roland@hack.frob.com>
7370
7371         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
7372         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
7373         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
7374         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
7375         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
7376         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
7377         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
7378         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
7379         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
7380         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
7381         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
7382         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
7383         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
7384         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
7385         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
7386         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
7387         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
7388         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
7389         * sysdeps/sparc/sparc64/Makefile: ... appended here.
7390
7391         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
7392         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
7393         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
7394         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
7395         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
7396         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
7397         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
7398         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
7399         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
7400         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
7401         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
7402         * sysdeps/sparc/sparc32/sem_post.c: ... here.
7403         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
7404         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
7405         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
7406         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
7407         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
7408         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
7409         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
7410         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
7411         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
7412         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
7413         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
7414         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
7415         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
7416         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
7417         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
7418         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
7419         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
7420         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
7421         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
7422         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
7423         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
7424         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
7425         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
7426         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
7427         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
7428         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
7429
7430         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
7431         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
7432         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
7433         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
7434         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
7435         Moved ...
7436         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
7437         ... here.
7438         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
7439         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
7440         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
7441         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
7442         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
7443         Moved ...
7444         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
7445         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
7446         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
7447         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
7448         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
7449         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
7450         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
7451         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
7452         Moved ...
7453         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
7454         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
7455         Moved ...
7456         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
7457         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
7458         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
7459         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
7460         Moved ...
7461         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
7462         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
7463         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
7464         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
7465         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
7466         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
7467         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
7468         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
7469         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
7470         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
7471         Moved ...
7472         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
7473         ... here.
7474         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
7475         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
7476         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
7477         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
7478         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
7479         Moved ...
7480         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
7481         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
7482         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
7483         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
7484         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
7485         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
7486         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
7487         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
7488         Moved ...
7489         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
7490         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
7491         Moved ...
7492         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
7493         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
7494         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
7495         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
7496         Moved ...
7497         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
7498         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
7499         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
7500         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
7501         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
7502
7503 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
7504
7505         * timezone/checktab.awk: Update from tzcode 2014e.
7506         * timezone/private.h: Likewise.
7507         * timezone/tzfile.h: Likewise.
7508         * timezone/zdump.c: Likewise.
7509         * timezone/zic.c: Likewise.
7510
7511         * sysdeps/unix/sysv/linux/kernel-features.h
7512         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
7513         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
7514         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
7515         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
7516         Remove conditional code.
7517
7518 2014-06-25  Will Newton  <will.newton@linaro.org>
7519
7520         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
7521         (_dl_arm_cap_flags): Add HWCAP2 values.
7522         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
7523         (_DL_HWCAP_COUNT): Increase to 37.
7524         (_DL_HWCAP_LAST): New define.
7525         (_DL_HWCAP2_LAST): New define.
7526         (_dl_procinfo): Add support for printing
7527         AT_HWCAP2 entries.
7528         (_dl_string_hwcap): Use _dl_hwcap_string.
7529
7530 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7531
7532         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7533
7534 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
7535
7536         * README: Do not mention ports directory.
7537
7538         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
7539         Remove macro.
7540         * sysdeps/unix/sysv/linux/futimes.c: Do not include
7541         <kernel-features.h>.
7542         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
7543         conditional variable definition.
7544         (__futimes): Update comment.
7545         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
7546         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
7547
7548         [BZ #16560]
7549         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
7550         arguments close to 0.
7551         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
7552         Likewise.
7553         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
7554         Likewise.
7555         * math/auto-libm-test-in: Add more tests of exp10.
7556         * math/auto-libm-test-out: Regenerated.
7557         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7558
7559         * sysdeps/unix/sysv/linux/kernel-features.h
7560         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
7561         * sysdeps/unix/sysv/linux/readv.c: Do not include
7562         <kernel-features.h>.
7563         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
7564         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
7565         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
7566         unconditional.
7567         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
7568         conditional code.
7569         * sysdeps/unix/sysv/linux/writev.c: Do not include
7570         <kernel-features.h>.
7571         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
7572         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
7573         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
7574         unconditional.
7575         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
7576         conditional code.
7577
7578 2014-06-25  Will Newton  <will.newton@linaro.org>
7579
7580         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
7581         comment changes throughout the file.  Remove checks
7582         for HAVE_*_H definitions that are not required.
7583         (__gen_tempname): Call abort if an unknown kind value is
7584         passed.
7585
7586 2014-06-25  Andreas Schwab  <schwab@suse.de>
7587
7588         [BZ #17086]
7589         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
7590         scalbln, scalblnf, scalblnl in libc.
7591
7592 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
7593
7594         [BZ #17086]
7595         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
7596         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
7597         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
7598
7599 2014-06-24  Roland McGrath  <roland@hack.frob.com>
7600
7601         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
7602         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
7603         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
7604         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
7605         Update #include.
7606         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
7607         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
7608         Update #include.
7609         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
7610         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
7611         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
7612         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
7613         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
7614         * sysdeps/x86/bits/pthreadtypes.h: ... here.
7615         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
7616         * sysdeps/x86/bits/semaphore.h: ... here.
7617         * sysdeps/x86/nptl/elide.h: Moved ...
7618         * sysdeps/x86/elide.h: ... here.
7619         * sysdeps/x86_64/nptl/Implies: File removed.
7620         * sysdeps/i386/nptl/Implies: File removed.
7621
7622 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
7623
7624         [BZ #16539]
7625         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
7626         return the argument for normal arguments with exponent below -64.
7627         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
7628         Likewise.
7629         * math/auto-libm-test-in: Add another test of expm1.
7630         * math/auto-libm-test-out: Regenerated.
7631
7632         [BZ #16287]
7633         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
7634         calling __erfcl for arguments at least 16.
7635         * math/auto-libm-test-in: Add more tests of erf.
7636         * math/auto-libm-test-out: Regenerated.
7637
7638         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
7639         individual architectures.
7640         * sysdeps/unix/sysv/linux/configure: Regenerated.
7641         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
7642         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
7643         * sysdeps/unix/sysv/linux/powerpc/configure.ac
7644         (ldd_rewrite_script): Define variable.
7645         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
7646         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
7647         file.
7648         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
7649         generated file.
7650         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
7651         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
7652         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
7653         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
7654         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
7655         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
7656         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
7657         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
7658
7659 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
7660
7661         [BZ #17084]
7662         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
7663         Rename member __data.d to __data.__elision_data.
7664
7665 2014-06-24  Wilco  <wdijkstr@arm.com>
7666
7667         * NEWS: Add 16918 to fixed bug list.
7668
7669 2014-06-24  Wilco  <wdijkstr@arm.com>
7670
7671         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
7672
7673 2014-06-24  Wilco  <wdijkstr@arm.com>
7674
7675         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
7676         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
7677         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
7678         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
7679         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
7680         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
7681         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
7682         Use _FPU_MASK_RM.
7683
7684 2014-06-24  Wilco  <wdijkstr@arm.com>
7685
7686         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
7687
7688 2014-06-24  Wilco  <wdijkstr@arm.com>
7689
7690         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
7691         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
7692         * sysdeps/arm/fesetround.c (fesetround): Remove space.
7693         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
7694
7695 2014-06-24  Wilco  <wdijkstr@arm.com>
7696
7697         [BZ #16918]
7698         * sysdeps/arm/feupdateenv.c (feupdateenv):
7699         Rewrite to reduce FPSCR accesses and fix return value.
7700
7701 2014-06-24  Wilco  <wdijkstr@arm.com>
7702
7703         * sysdeps/arm/fclrexcpt.c (feclearexcept):
7704         Optimize to avoid unnecessary FPSCR writes.
7705         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
7706         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
7707         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
7708         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
7709
7710 2014-06-24  Wilco  <wdijkstr@arm.com>
7711
7712         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
7713         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
7714         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
7715         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
7716         Call libc_fetestexcept_vfp.
7717         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
7718         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
7719         __SOFTFP__ ifdef so that they can be built for softfp.
7720
7721 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
7722
7723         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
7724         argument type signed char.
7725
7726         * Makerules (check-abi): Dump diff of symlist if the test
7727         fails.
7728
7729 2014-06-23  Roland McGrath  <roland@hack.frob.com>
7730
7731         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
7732         using abort.
7733
7734         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
7735         Remove unused variable ST.
7736
7737 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
7738
7739         [BZ #16354]
7740         [BZ #17061]
7741         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
7742         small arguments before calling __expm1.
7743         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
7744         small arguments before calling __expm1f.
7745         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
7746         small arguments before calling __expm1l.
7747         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
7748         Likewise.
7749         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
7750         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
7751         spurious underflow for some cosh tests.
7752         * math/auto-libm-test-out: Regenerated.
7753         * sysdeps/i386/fpu/libm-test-ulps: Update.
7754
7755         [BZ #17050]
7756         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
7757         (__ieee754_y1): Set errno if return value overflows.
7758         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
7759         (__ieee754_y1f): Set errno if return value overflows.
7760         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
7761         (__ieee754_y1l): Set errno if return value overflows.
7762         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
7763         (__ieee754_y1l): Set errno if return value overflows.
7764         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
7765         * math/auto-libm-test-out: Regenerated.
7766
7767         * math/gen-auto-libm-tests.c: Document use of
7768         ignore-zero-inf-sign.
7769         (input_flag_type): Add value flag_ignore_zero_inf_sign.
7770         (input_flags): Add ignore-zero-inf-sign.
7771         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
7772         * math/gen-libm-test.pl (generate_testfile): Handle
7773         ignore-zero-inf-sign.
7774         * math/auto-libm-test-in: Mark some cpow tests with
7775         ignore-zero-inf-sign and some with xfail-rounding.
7776         * math/auto-libm-test-out: Regenerated.
7777         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
7778         * sysdeps/i386/fpu/libm-test-ulps: Update.
7779         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7780
7781         [BZ #16315]
7782         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
7783         overflowing or underflowing operations take place with sign of
7784         result.
7785         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
7786         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
7787         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
7788         (__ieee754_pow): Recompute overflowing and underflowing results in
7789         original rounding mode.
7790         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
7791         (__powl_helper): Allow negative argument X and scale negated value
7792         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
7793         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
7794         overflowing or underflowing operations take place with sign of
7795         result.
7796         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
7797         Include <math.h>.
7798         * math/auto-libm-test-in: Add more tests of pow.
7799         * math/auto-libm-test-out: Regenerated.
7800         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
7801         (pow_tonearest_test_data): Remove.
7802         (pow_test_tonearest): Likewise.
7803         (pow_towardzero_test_data): Likewise.
7804         (pow_test_towardzero): Likewise.
7805         (pow_downward_test_data): Likewise.
7806         (pow_test_downward): Likewise.
7807         (pow_upward_test_data): Likewise.
7808         (pow_test_upward): Likewise.
7809         (main): Don't call removed functions.
7810         * sysdeps/i386/fpu/libm-test-ulps: Update.
7811         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7812
7813 2014-06-23  Roland McGrath  <roland@hack.frob.com>
7814
7815         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
7816         Moved ...
7817         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
7818         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7819         Moved ...
7820         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
7821         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
7822         Moved ...
7823         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
7824         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
7825         Moved ...
7826         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
7827         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
7828         File removed.
7829         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
7830         File removed.
7831         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
7832         File removed.
7833         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
7834         File removed.
7835         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
7836         File removed.
7837         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
7838         File removed.
7839         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
7840         File removed.
7841         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
7842         File removed.
7843         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
7844         File removed.
7845         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
7846         File removed.
7847         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
7848         File removed.
7849         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
7850         File removed.
7851         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
7852         Moved ...
7853         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
7854         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
7855         Moved ...
7856         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
7857         ... here.
7858         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
7859         Moved ...
7860         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
7861         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
7862         Moved ...
7863         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
7864         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
7865         Moved ...
7866         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
7867         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
7868         Moved ...
7869         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
7870         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
7871         Moved ...
7872         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
7873         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
7874         Moved ...
7875         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
7876         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
7877         Moved ...
7878         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
7879         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
7880         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
7881         ... here.
7882         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
7883         Moved ...
7884         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
7885         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
7886         Moved ...
7887         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
7888         ... here.
7889         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
7890         Moved ...
7891         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
7892         ... here.
7893         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
7894         Moved ...
7895         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
7896         ... here.
7897         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
7898         Moved ...
7899         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
7900         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
7901         Moved ...
7902         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
7903         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
7904         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
7905         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
7906         Moved ...
7907         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
7908         ... here.
7909         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
7910         Moved ...
7911         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
7912         ... here.
7913         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
7914         Moved ...
7915         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
7916         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
7917         Moved ...
7918         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
7919         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
7920         Moved ...
7921         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
7922         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7923         Moved ...
7924         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
7925         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
7926         Moved ...
7927         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
7928         ... here.
7929         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
7930         Moved ...
7931         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
7932         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
7933         Moved ...
7934         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
7935         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
7936         Moved ...
7937         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
7938         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
7939         Moved ...
7940         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
7941         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
7942         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
7943         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
7944         Moved ...
7945         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
7946         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
7947         Moved ...
7948         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
7949         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
7950         Moved ...
7951         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
7952         ... here.
7953         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
7954         Moved ...
7955         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
7956         ... here.
7957         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
7958         Moved ...
7959         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
7960         ... here.
7961         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
7962         Moved ...
7963         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
7964         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
7965         Moved ...
7966         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
7967         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
7968         Moved ...
7969         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
7970         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
7971         Moved ...
7972         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
7973         ... here.
7974         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
7975         Moved ...
7976         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
7977         ... here.
7978         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
7979         Moved ...
7980         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
7981         ... here.
7982         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
7983         Moved ...
7984         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
7985         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
7986         Moved ...
7987         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
7988
7989 2014-06-23  Will Newton  <will.newton@linaro.org>
7990             Wilco  <wdijkstr@arm.com>
7991
7992         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
7993         implementation.  Include get-rounding-mode.h.
7994         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
7995         [!libc_feholdsetround_noex_ctx]: Define
7996         libc_feholdsetround_noex_ctx.
7997         [!libc_feholdsetround_noexf_ctx]: Define
7998         libc_feholdsetround_noexf_ctx.
7999         [!libc_feholdsetround_noexl_ctx]: Define
8000         libc_feholdsetround_noexl_ctx.
8001         (libc_feholdsetround_ctx): New function.
8002         (libc_feresetround_ctx): New function.
8003         (libc_feholdsetround_noex_ctx): New function.
8004         (libc_feresetround_noex_ctx): New function.
8005
8006 2014-06-23  Roland McGrath  <roland@hack.frob.com>
8007
8008         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
8009         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
8010         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
8011         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
8012         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
8013         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
8014
8015         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
8016         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
8017         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
8018         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
8019         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
8020         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
8021         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
8022         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
8023         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
8024         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
8025         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
8026         Moved ...
8027         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
8028         ... here.
8029         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
8030         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
8031         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
8032         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
8033         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
8034         Moved ...
8035         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
8036         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
8037         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
8038         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
8039         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
8040         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
8041         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
8042         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
8043         Moved ...
8044         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
8045         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
8046         Moved ...
8047         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
8048         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
8049         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
8050         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
8051         Moved ...
8052         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
8053         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
8054         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
8055         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
8056         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
8057         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
8058         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
8059         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
8060         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
8061         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
8062         Moved ...
8063         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
8064         ... here.
8065         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
8066         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
8067         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
8068         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
8069         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
8070         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
8071         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
8072         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
8073         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
8074         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
8075         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
8076         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
8077         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
8078         Moved ...
8079         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
8080         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
8081         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
8082         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
8083         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
8084         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
8085         Moved ...
8086         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
8087         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
8088         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
8089         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
8090         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
8091
8092         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
8093         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
8094         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
8095         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
8096         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
8097         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
8098         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
8099         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
8100         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
8101         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
8102         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
8103         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
8104         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
8105         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
8106         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
8107         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
8108         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
8109         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
8110         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
8111         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
8112         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
8113         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
8114         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
8115         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
8116         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
8117         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
8118         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
8119         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
8120
8121 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
8122
8123         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
8124         (FALLOC_FL_COLLAPSE_RANGE): New macro.
8125         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
8126         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
8127         (IPV6_PMTUDISC_INTERFACE): Likewise.
8128         (IPV6_PMTUDISC_OMIT): Likewise.
8129
8130 2014-06-23  Andreas Schwab  <schwab@suse.de>
8131
8132         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
8133         Remove unused errout label.
8134
8135 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8136
8137         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
8138         macro: hardware supports Vector Crypto instructions.
8139
8140 2014-06-23  Will Newton  <will.newton@linaro.org>
8141
8142         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
8143         rather than __builtin_expect.
8144
8145         * elf/dl-lookup.c (undefined_msg): Remove variable.
8146         (_dl_lookup_symbol_x): Replace undefined_msg with string
8147         literal.
8148
8149         * elf/dl-lookup.c (do_lookup_unique): New function.
8150         (do_lookup_x): Move STB_GNU_UNIQUE handling code
8151         to a separate function.
8152
8153 2014-06-23  Andreas Schwab  <schwab@suse.de>
8154
8155         [BZ #17079]
8156         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
8157         before reading the next line.
8158
8159 2014-06-23  Will Newton  <will.newton@linaro.org>
8160
8161         * test-skeleton.c (signal_handler): Use printf and %m
8162         rather than perror.  Use printf rather than fprintf to
8163         stderr.  Use puts rather than fputs to stderr.
8164         (main): Likewise.
8165
8166 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
8167
8168         * nscd/nscd.c (thread_info_t): Remove typedef.
8169         (thread_info): Remove variable.
8170
8171 2014-06-21  Allan McRae  <allan@archlinux.org>
8172
8173         * NEWS: Mention CVE-2014-4043.
8174
8175 2014-06-20  Roland McGrath  <roland@hack.frob.com>
8176
8177         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
8178         * nptl/smp.h: ... here.
8179
8180         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
8181
8182         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
8183         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
8184         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
8185         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
8186
8187         * nptl/allocatestack.c: Include <stack-aliasing.h>.
8188         * nptl/stack-aliasing.h: New file.
8189         * sysdeps/i386/i686/stack-aliasing.h: New file.
8190         * sysdeps/i386/i686/nptl/Makefile: File removed.
8191         * sysdeps/x86_64/stack-aliasing.h: New file.
8192         * sysdeps/x86_64/nptl/Makefile
8193         (CFLAGS-pthread_create.c): Variable removed.
8194
8195         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
8196         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
8197         old file.
8198         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
8199         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
8200         old file.
8201
8202 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
8203
8204         * sysdeps/unix/sysv/linux/arm/kernel-features.h
8205         (__ASSUME_SIGFRAME_V2): Remove macro.
8206         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
8207         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
8208         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
8209         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
8210         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
8211         Declare as function.  Remove conditional macro definitions.
8212         (__default_rt_sa_restorer): Likewise.
8213         (__default_sa_restorer_v1): Remove declaration.
8214         (__default_sa_restorer_v2): Likewise.
8215         (__default_rt_sa_restorer_v1): Likewise.
8216         (__default_rt_sa_restorer_v2): Likewise.
8217         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
8218         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
8219         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
8220
8221 2014-06-20  Roland McGrath  <roland@hack.frob.com>
8222
8223         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
8224         (libpthread-routines): Add sysdep.
8225         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
8226         * sysdeps/unix/sysv/linux/sparc/Versions
8227         (libpthread: GLIBC_2.3.3): New version set.
8228         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
8229         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
8230         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
8231         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
8232         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
8233         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
8234         Moved ...
8235         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
8236         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
8237         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
8238         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
8239         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
8240         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
8241         * sysdeps/sparc/nptl/sem_init.c: ... here.
8242         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
8243         * sysdeps/sparc/nptl/sem_post.c: ... here.
8244         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
8245         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
8246         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
8247         * sysdeps/sparc/nptl/sem_wait.c: ... here.
8248         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
8249         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
8250         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
8251         (libpthread-routines): Add cpu_relax.
8252         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
8253         File removed.
8254         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
8255         (librt: GLIBC_2.3.3): New version set.
8256         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
8257         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
8258         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
8259         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
8260         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
8261         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
8262         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
8263         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
8264         Moved ...
8265         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
8266         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
8267         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
8268         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
8269         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
8270         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
8271         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
8272         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
8273         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
8274         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
8275         Moved ...
8276         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
8277         Update #include.
8278         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
8279         Moved ...
8280         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
8281         Update #include.
8282         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
8283         Moved ...
8284         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
8285         Update #include.
8286         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
8287         Moved ...
8288         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
8289         Update #include.
8290         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
8291         Moved ...
8292         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
8293         Update #include.
8294         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
8295         Moved ...
8296         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
8297         Update #include.
8298         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
8299         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
8300         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
8301         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
8302         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
8303         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
8304         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
8305         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
8306         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
8307         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
8308         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
8309         Moved ...
8310         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
8311         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
8312         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
8313         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
8314         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
8315
8316 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
8317
8318         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
8319         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
8320         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
8321         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
8322         * nscd/nscd.c: Likewise.
8323         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
8324         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
8325         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
8326         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
8327
8328         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
8329         <kernel-features.h>.
8330         (init_mq_netlink): Remove conditional have_sock_cloexec
8331         definitions.  Remove code conditional on have_sock_cloexec < 0.
8332         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
8333         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
8334         * sysdeps/unix/sysv/linux/opensock.c: Do not include
8335         <kernel-features.h>.
8336         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
8337         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
8338
8339 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
8340
8341         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
8342         Add tests for memset_chk and memset.
8343
8344         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
8345         with AVX2_Usable.
8346
8347 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
8348
8349         [BZ #16046]
8350         * elf/tst-dl-iter-static.c: New file.
8351         * elf/Makefile (tests-static): Add tst-dl-iter-static.
8352
8353         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
8354         error.
8355
8356 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
8357
8358         * sysdeps/unix/sysv/linux/kernel-features.h
8359         (__ASSUME_F_GETOWN_EX): Remove macro.
8360         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
8361         <kernel-features.h>.
8362         (miss_F_GETOWN_EX): Remove variable or macro.
8363         (do_fcntl): Do not check miss_F_GETOWN_EX.
8364         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
8365
8366         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
8367         Remove macro.
8368         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
8369         [!__ASSUME_AT_RANDOM]: Remove conditional code.
8370         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
8371
8372         * sysdeps/unix/sysv/linux/kernel-features.h
8373         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
8374         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
8375         [ADJ_OFFSET_SS_READ]: Make code unconditional.
8376         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
8377
8378 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
8379
8380         [BZ #17075]
8381         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
8382         Fix calculation of the symbol's value.
8383         * sysdeps/arm/tst-armtlsdescloc.c: New file.
8384         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
8385         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
8386         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
8387         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
8388         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
8389         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
8390         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
8391         (modules-names): Add `tst-armtlsdescmod',
8392         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
8393         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
8394         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
8395         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
8396         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
8397         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
8398         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
8399         ($(objpfx)tst-armtlsdescloc): New dependency.
8400         ($(objpfx)tst-armtlsdescextnow): Likewise.
8401         ($(objpfx)tst-armtlsdescextlazy): Likewise.
8402         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
8403         TLS scheme support.
8404         * sysdeps/arm/configure: Regenerate.
8405
8406 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
8407
8408         * include/fcntl.h (__atfct_seterrno): Remove prototype.
8409         (__atfct_seterrno_2): Likewise.
8410         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
8411         <kernel-features.h>.
8412         (__ASSUME_ATFCTS): Do not undefine and redefine.
8413         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
8414         (__have_atfcts): Remove conditional definition.
8415         (__fxstatat([__NR_fstatat64]: Make code unconditional.
8416         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
8417         unreachable if [__ASSUME_ATFCTS].
8418         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
8419         not undefine and redefine.
8420         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
8421         <kernel-features.h>.
8422         (faccessat) [__NR_faccessat]: Make code unconditional.
8423         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
8424         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
8425         <kernel-features.h>.
8426         (fchmodat) [__NR_fchmodat]: Make code unconditional.
8427         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
8428         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
8429         <kernel-features.h>.
8430         (fchownat) [__NR_fchownat]: Make code unconditional.
8431         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
8432         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
8433         <kernel-features.h>.
8434         (futimesat) [__NR_futimesat]: Make code unconditional.
8435         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
8436         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
8437         <kernel-features.h>.
8438         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
8439         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
8440         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
8441         <kernel-features.h>.
8442         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
8443         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
8444         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
8445         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
8446         <kernel-features.h>.
8447         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
8448         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
8449         * sysdeps/unix/sysv/linux/linkat.c: Do not include
8450         <kernel-features.h>.
8451         (linkat) [__NR_linkat]: Make code unconditional.
8452         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
8453         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
8454         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
8455         <kernel-features.h>.
8456         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
8457         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
8458         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
8459         <kernel-features.h>.
8460         (mkdirat) [__NR_mkdirat]: Make code unconditional.
8461         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
8462         * sysdeps/unix/sysv/linux/openat.c: Do not include
8463         <kernel-features.h>.
8464         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
8465         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
8466         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
8467         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
8468         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
8469         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
8470         <kernel-features.h>.
8471         (readlinkat) [__NR_readlinkat]: Make code unconditional.
8472         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
8473         result of INLINE_SYSCALL directly, not via int variable.
8474         * sysdeps/unix/sysv/linux/renameat.c: Do not include
8475         <kernel-features.h>.
8476         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
8477         (renameat) [__NR_renameat]: Make code unconditional.
8478         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
8479         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
8480         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
8481         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
8482         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
8483         (__ASSUME_ATFCTS): Do not undefine and redefine.
8484         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
8485         <kernel-features.h>.
8486         (symlinkat) [__NR_symlinkat]: Make code unconditional.
8487         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
8488         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
8489         <kernel-features.h>.
8490         (unlinkat) [__NR_unlinkat]: Make code unconditional.
8491         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
8492         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
8493         (__ASSUME_ATFCTS): Do not undefine and redefine.
8494         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
8495         <kernel-features.h>.
8496         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
8497         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
8498         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
8499         <kernel-features.h>.
8500         (__xmknodat) [__NR_mknodat]: Make code unconditional.
8501         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
8502
8503 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
8504
8505         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
8506
8507 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
8508
8509         [BZ #17069]
8510         * posix/regcomp.c (parse_reg_exp): Deallocate partially
8511         constructed tree before returning error.
8512         * posix/bug-regexp36.c: Expand test case.
8513
8514 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
8515
8516         [BZ #6803]
8517         * math/libm-test.inc (scalbln_test_date):
8518         Add errno expectations.
8519         * math/w_scalblnf.c: New File.
8520         Add wrapper which checks for setting errno to ERANGE.
8521         Add weak_alias for corresponding scalbln function.
8522         * math/w_scalbln.c: Likewise.
8523         * math/w_scalblnl.c: Likewise.
8524         * math/Makefile (libm-calls): Add w_scalbln.
8525         * sysdeps/ieee754/flt-32/s_scalblnf.c:
8526         Remove weak_alias for corresponding scalbln function.
8527         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
8528         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
8529         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
8530         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
8531         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
8532         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
8533         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
8534         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
8535         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
8536         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
8537         Remove long_double_symbol for scalblnl function in libm, libc.
8538         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
8539         Add wrapper which checks for setting errno to ERANGE.
8540         Add long_double_symbol for scalblnl function in libm, libc.
8541         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
8542         Remove long_double_symbol for scalblnl in libm.
8543         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
8544         Add wrapper which checks for setting errno to ERANGE.
8545         Add long_double_symbol for scalblnl function in libm.
8546         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
8547         Do not use wrapper because of own implementation.
8548
8549 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
8550
8551         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
8552         3 bytes for __pad1 for x32.
8553         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
8554
8555 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
8556             H.J. Lu  <hongjiu.lu@intel.com>
8557
8558         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
8559         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
8560         * sysdeps/x86_64/multiarch/memset.S: Likewise.
8561         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
8562         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
8563
8564 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
8565
8566         [BZ #17069]
8567         * posix/regcomp.c (parse_expression): Deallocate partially
8568         constructed tree before returning error.
8569         * posix/Makefile.c (tests): Add bug-regex36.
8570         (generated): Add bug-regex36.mtrace.
8571         (tests-special): Add $(objpfx)bug-regex36-mem.out
8572         (bug-regex36-ENV): New variable.
8573         ($(objpfx)bug-regex36-mem.out): New rule.
8574         * posix/bug-regex36.c: New file.
8575
8576 2014-06-19  Will Newton  <will.newton@linaro.org>
8577
8578         * malloc/malloc.c (systrim): If extra is zero then return
8579         early.
8580
8581 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
8582
8583         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
8584
8585 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
8586
8587         * sysdeps/aarch64/strchr.S: New file.
8588
8589 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
8590
8591         [BZ #17022]
8592         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
8593         from arguments -2 or below.
8594         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
8595         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
8596
8597 2014-06-18  Andreas Schwab  <schwab@suse.de>
8598
8599         [BZ #17062]
8600         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
8601         of a bracket expr not to run off the end of the string.
8602         * posix/Makefile (tests): Add tst-fnmatch3.
8603         * posix/tst-fnmatch3.c: New file.
8604
8605 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
8606
8607         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
8608         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
8609         [$(cross-compiling) = no]: Likewise.
8610         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
8611         [$(cross-compiling) = no]: Likewise.
8612
8613 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8614
8615         [BZ #17031]
8616         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
8617         double, adjusted for any remainder from the high double.
8618         * math/libm-test.inc (nearbyint): Add tests.
8619         (rint): Likewise.
8620
8621 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8622
8623         * nptl/sysdeps/powerpc/Makefile: Moved ...
8624         * sysdeps/powerpc/nptl/Makefile: ... here.
8625         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
8626         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
8627         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
8628         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
8629         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
8630         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
8631         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
8632         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
8633         * nptl/sysdeps/powerpc/tls.h: Moved ...
8634         * sysdeps/powerpc/nptl/tls.h: ... here.
8635
8636 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
8637
8638         [BZ #16681]
8639         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
8640         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
8641         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
8642         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
8643         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
8644         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
8645         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
8646         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
8647         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
8648
8649 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
8650
8651         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
8652
8653 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
8654
8655         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
8656         defined operator.
8657
8658         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
8659         $TIMEOUTFACTOR.
8660
8661 2014-06-16  Florian Weimer  <fweimer@redhat.com>
8662
8663         [BZ #17058]
8664         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
8665         non-executed part of the test.
8666
8667 2014-06-16  Andreas Schwab  <schwab@suse.de>
8668
8669         * string/bits/string2.h (strdup, strndup): Update feature guard.
8670
8671 2014-06-14  David S. Miller  <davem@davemloft.net>
8672
8673         * sysdeps/sparc/fpu/libm-test-ulps: Update.
8674
8675 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
8676
8677         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
8678         that was previously under [RESET_PID].
8679         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
8680
8681         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
8682         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
8683         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
8684         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
8685         (__libc_vfork): New strong alias.
8686         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
8687
8688 2014-06-14 Andi Kleen  <ak@linux.intel.com>
8689
8690         * sysdeps/generic/elide.h: New file.
8691
8692 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
8693
8694         * Makefile (installed-headers): Adjust path of pthread.h header.
8695
8696 2014-06-13  Roland McGrath  <roland@hack.frob.com>
8697
8698         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
8699         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
8700         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
8701         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
8702
8703         * nptl/sysdeps/s390/Makefile: Moved ...
8704         * sysdeps/s390/nptl/Makefile: ... here.
8705         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
8706         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
8707         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
8708         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
8709         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
8710         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
8711         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
8712         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
8713         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
8714         * sysdeps/s390/nptl/pthreaddef.h: ... here.
8715         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
8716         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
8717         * nptl/sysdeps/s390/tls.h: Moved ...
8718         * sysdeps/s390/nptl/tls.h: ... here.
8719
8720         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
8721         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
8722
8723 2014-06-13  David S. Miller  <davem@davemloft.net>
8724
8725         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
8726         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
8727         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
8728         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
8729         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
8730         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
8731         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
8732         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
8733         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
8734         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
8735         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
8736         Remove RESET_PID cpp guards.
8737         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
8738         Remove RESET_PID cpp guards.
8739         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
8740
8741 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
8742
8743         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
8744         __sp to uintptr_t.
8745
8746 2014-06-13  Andi Kleen  <ak@linux.intel.com>
8747
8748         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
8749         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
8750         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
8751         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
8752         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
8753         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
8754         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
8755         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
8756         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
8757         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
8758         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
8759         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
8760         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
8761         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
8762         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
8763         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
8764         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
8765         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
8766         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
8767         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
8768
8769         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
8770         (pthread_rwlock_rdlock): Add elision.
8771         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
8772         (pthread_rwlock_wrlock): Add elision.
8773         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
8774         (pthread_rwlock_trywrlock): Add elision.
8775         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
8776         (pthread_rwlock_tryrdlock): Add elision.
8777         * nptl/pthread_rwlock_unlock.c: Include elide.h.
8778         (pthread_rwlock_tryrdlock): Add elision unlock.
8779         * nptl/sysdeps/pthread/pthread.h:
8780         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
8781         (PTHREAD_RWLOCK_INITIALIZER,
8782         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
8783         Handle new elision field.
8784         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
8785         * sysdeps/arm/nptl/bits/pthreadtypes.h
8786         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8787         * sysdeps/sh/nptl/bits/pthreadtypes.h
8788         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8789         * sysdeps/tile/nptl/bits/pthreadtypes.h
8790         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8791         * sysdeps/a/nptl/bits/pthreadtypes.h
8792         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8793         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
8794         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8795         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
8796         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8797         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
8798         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8799         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
8800         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8801         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
8802         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8803         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
8804         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8805         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
8806         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8807         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
8808         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8809         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
8810         (elision_init): Set try_xbegin to zero when no RTM.
8811         * sysdeps/x86/nptl/bits/pthreadtypes.h
8812         (pthread_rwlock_t): Change __pad1 to __rwelision.
8813         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8814
8815 2014-06-13  Andi Kleen  <ak@linux.intel.com>
8816
8817         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
8818         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
8819         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
8820         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
8821
8822 2014-06-13  Meador Inge  <meadori@codesourcery.com>
8823
8824         [BZ #16996]
8825         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
8826         that the cached result has been set before returning it.
8827
8828 2014-06-12  Roland McGrath  <roland@hack.frob.com>
8829
8830         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
8831         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
8832         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
8833         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
8834         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
8835         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
8836
8837         * nptl/sysdeps/sparc/Makefile: Moved ...
8838         * sysdeps/sparc/nptl/Makefile: ... here.
8839         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
8840         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
8841         * nptl/sysdeps/sparc/tls.h: Moved ...
8842         * sysdeps/sparc/nptl/tls.h: ... here.
8843         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
8844         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
8845         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
8846         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
8847         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
8848         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
8849         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
8850         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
8851         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
8852         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
8853         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
8854         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
8855         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
8856         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
8857         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
8858         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
8859         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
8860         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
8861         Update #include.
8862         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
8863         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
8864         Update #include.
8865         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
8866         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
8867         Update #include.
8868         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
8869         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
8870         Update #include.
8871
8872         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
8873
8874         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
8875         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
8876
8877         * sysdeps/pthread/posix-timer.h: Include <list.h>.
8878         (struct list_links): Type removed.
8879         (struct thread_node, struct timer_node): Replace struct list_links
8880         with struct list_head.
8881         (list_unlink_ip): Likewise.
8882         * sysdeps/pthread/timer_routines.c
8883         (timer_free_list, thread_free_list, thread_active_list): Likewise.
8884         (list_append, list_insbefore): Likewise.
8885         (list_init): Function removed.
8886         (thread_init, init_module): Use INIT_LIST_HEAD instead.
8887         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
8888         * sysdeps/pthread/Makefile: ... here, new file.
8889
8890         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
8891         * sysdeps/nptl/Implies: ... here.
8892         * sysdeps/unix/sysv/linux/Implies: Add nptl.
8893         * nptl/sysdeps/pthread/list.h: Moved ...
8894         * include/list.h: ... here.
8895         * nptl/sysdeps/pthread/createthread.c: Moved ...
8896         * nptl/createthread.c: ... here.
8897         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
8898         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
8899         * nptl/pt-longjmp.c: ... here.
8900         * nptl/sysdeps/pthread/Makefile: Moved ...
8901         * sysdeps/nptl/Makefile: ... here.
8902         * nptl/sysdeps/pthread/Subdirs: Moved ...
8903         * sysdeps/nptl/Subdirs: ... here.
8904         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
8905         * sysdeps/nptl/aio_misc.h: ... here.
8906         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
8907         * sysdeps/nptl/bits/libc-lock.h: ... here.
8908         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
8909         * sysdeps/nptl/bits/libc-lockP.h: ... here.
8910         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
8911         * sysdeps/nptl/bits/stdio-lock.h: ... here.
8912         * nptl/sysdeps/pthread/configure: Moved ...
8913         * sysdeps/nptl/configure: ... here.
8914         * nptl/sysdeps/pthread/configure.ac: Moved ...
8915         * sysdeps/nptl/configure.ac: ... here.
8916         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
8917         * sysdeps/nptl/gai_misc.h: ... here.
8918         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
8919         * sysdeps/nptl/librt-cancellation.c: ... here.
8920         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
8921         * sysdeps/nptl/malloc-machine.h: ... here.
8922         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
8923         * sysdeps/nptl/pthread-functions.h: ... here.
8924         * nptl/sysdeps/pthread/pthread.h: Moved ...
8925         * sysdeps/nptl/pthread.h: ... here.
8926         * nptl/sysdeps/pthread/setxid.h: Moved ...
8927         * sysdeps/nptl/setxid.h: ... here.
8928         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
8929         * sysdeps/nptl/sigfillset.c: ... here.
8930         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
8931         * sysdeps/nptl/tcb-offsets.h: ... here.
8932         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
8933         * sysdeps/nptl/tst-mqueue8x.c: ... here.
8934         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
8935         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
8936         * nptl/sysdeps/pthread/allocalim.h: Moved ...
8937         * sysdeps/pthread/allocalim.h: ... here.
8938         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
8939         * sysdeps/pthread/bits/sigthread.h: ... here.
8940         * nptl/sysdeps/pthread/flockfile.c: Moved ...
8941         * sysdeps/pthread/flockfile.c: ... here.
8942         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
8943         * sysdeps/pthread/ftrylockfile.c: ... here.
8944         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
8945         * sysdeps/pthread/funlockfile.c: ... here.
8946         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
8947         * sysdeps/pthread/posix-timer.h: ... here.
8948         * nptl/sysdeps/pthread/timer_create.c: Moved ...
8949         * sysdeps/pthread/timer_create.c: ... here.
8950         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
8951         * sysdeps/pthread/timer_delete.c: ... here.
8952         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
8953         * sysdeps/pthread/timer_getoverr.c: ... here.
8954         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
8955         * sysdeps/pthread/timer_gettime.c: ... here.
8956         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
8957         * sysdeps/pthread/timer_routines.c: ... here.
8958         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
8959         * sysdeps/pthread/timer_settime.c: ... here.
8960         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
8961         * sysdeps/pthread/tst-timer.c: ... here.
8962         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
8963         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
8964
8965         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
8966         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
8967
8968         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
8969         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
8970         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
8971         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
8972         Update #include target.
8973         * nptl/sysdeps/i386/i686/Makefile: Moved ...
8974         * sysdeps/i386/i686/nptl/Makefile: ... here.
8975         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
8976         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
8977         Update #include target.
8978         * nptl/sysdeps/i386/i686/tls.h: Moved ...
8979         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
8980         * nptl/sysdeps/i386/Makefile: Moved ...
8981         * sysdeps/i386/nptl/Makefile: ... here.
8982         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
8983         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
8984         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
8985         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
8986         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
8987         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
8988         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
8989         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
8990         * sysdeps/i386/nptl/pthreaddef.h: ... here.
8991         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
8992         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
8993         * nptl/sysdeps/i386/tls.h: Moved ...
8994         * sysdeps/i386/nptl/tls.h: ... here.
8995
8996         * sysdeps/sh/Makefile [$(subdir) = csu]
8997         (gen-as-const-headers): Add tcb-offsets.sym.
8998         * nptl/sysdeps/sh/Makefile: File removed.
8999         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
9000         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
9001         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
9002         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
9003         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
9004         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
9005         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
9006         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
9007         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
9008         * sysdeps/sh/nptl/pthreaddef.h: ... here.
9009         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
9010         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
9011         * nptl/sysdeps/sh/tls.h: Moved ...
9012         * sysdeps/sh/nptl/tls.h: ... here.
9013         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
9014         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
9015         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
9016         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
9017         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
9018         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
9019         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
9020         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
9021         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
9022         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
9023         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
9024         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
9025         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
9026         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
9027         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
9028         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
9029         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
9030         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
9031         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
9032         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
9033         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
9034         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
9035         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
9036         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
9037         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
9038         Moved ...
9039         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
9040         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
9041         Moved ...
9042         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
9043         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
9044         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
9045         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
9046         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
9047         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
9048         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
9049         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
9050         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
9051         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
9052         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
9053         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
9054         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
9055         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
9056         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
9057         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
9058         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
9059         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
9060         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
9061
9062 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
9063
9064         * posix/spawn_faction_addopen.c: Include string.h.
9065
9066 2014-06-11  Roland McGrath  <roland@hack.frob.com>
9067
9068         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
9069         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
9070         * nptl/sysdeps/x86_64/Makefile: Moved ...
9071         * sysdeps/x86_64/nptl/Makefile: ... here.
9072         * nptl/sysdeps/x86_64/configure: Moved ...
9073         * sysdeps/x86_64/nptl/configure: ... here.
9074         * nptl/sysdeps/x86_64/configure.ac: Moved ...
9075         * sysdeps/x86_64/nptl/configure.ac: ... here.
9076         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
9077         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
9078         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
9079         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
9080         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
9081         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
9082         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
9083         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
9084         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
9085         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
9086         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
9087         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
9088         * nptl/sysdeps/x86_64/tls.h: Moved ...
9089         * sysdeps/x86_64/nptl/tls.h: ... here.
9090         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
9091         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
9092         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
9093         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
9094
9095         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
9096
9097 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9098
9099         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9100
9101 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
9102
9103         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
9104         type.
9105         [POSIX] (off_t): Likewise.
9106         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
9107         [POSIX] (S_ISBLK): Require macro.
9108         [POSIX] (S_ISCHR): Likewise.
9109         [POSIX] (S_ISDIR): Likewise.
9110         [POSIX] (S_ISFIFO): Likewise.
9111         [POSIX] (S_ISREG): Likewise.
9112         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
9113         optional-macro.
9114         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
9115         type.
9116         [POSIX] (time_t): Likewise.
9117         [POSIX] (timer_t): Likewise.
9118
9119 2014-06-11  Florian Weimer  <fweimer@redhat.com>
9120
9121         [BZ #17048]
9122         * posix/spawn_int.h (struct __spawn_action): Make the path string
9123         non-const to support deallocation.
9124         * posix/spawn_faction_addopen.c
9125         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
9126         * posix/spawn_faction_destroy.c
9127         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
9128         path in all spawn_do_open actions.
9129         * posix/tst-spawn.c (do_test): Exercise the copy operation in
9130         posix_spawn_file_actions_addopen.
9131
9132 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
9133
9134         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
9135         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
9136         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
9137         conditional code always true.
9138         (__libc_vfork): New alias.
9139
9140 2014-06-11  Roland McGrath  <roland@hack.frob.com>
9141
9142         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
9143         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
9144
9145         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
9146
9147         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
9148         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
9149
9150         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
9151         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
9152
9153         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
9154         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
9155
9156 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
9157
9158         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
9159         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
9160         multiarch strcmp for PPC64.
9161         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
9162         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
9163         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
9164         multiarch optimizations.
9165         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9166         (__libc_ifunc_impl_list): Likewise.
9167
9168 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
9169
9170         * benchtests/scripts/validate_benchout.py: New script.
9171         * benchtests/Makefile (bench-func): Call it.
9172         * benchtests/scripts/benchout.schema.json: New file.
9173
9174 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
9175
9176         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
9177         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
9178         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
9179         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
9180         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
9181         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
9182         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
9183         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
9184         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
9185         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
9186         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
9187         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
9188         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
9189         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
9190         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
9191         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
9192         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
9193         Moved ...
9194         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
9195         ... here.
9196         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
9197         Moved ...
9198         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
9199         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
9200         Moved ...
9201         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
9202         ... here.
9203         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
9204         Moved ...
9205         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
9206         ... here.
9207         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
9208         Moved ...
9209         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
9210         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
9211         Moved ...
9212         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
9213         ... here.
9214         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
9215         Moved ...
9216         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
9217         ... here.
9218         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
9219         Moved ...
9220         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
9221         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
9222         Moved ...
9223         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
9224         ... here.
9225         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
9226         Moved ...
9227         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
9228         ... here.
9229         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
9230         Moved ...
9231         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
9232         ... here.
9233         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
9234         Moved ...
9235         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
9236         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
9237         Moved ...
9238         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
9239         ... here.
9240         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
9241         Moved ...
9242         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
9243         ... here.
9244         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
9245         Moved ...
9246         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
9247         ... here.
9248         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
9249         Moved ...
9250         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
9251         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
9252         Moved ...
9253         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
9254         ... here.
9255         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
9256         Moved ...
9257         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
9258         ... here.
9259         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
9260         Moved ...
9261         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
9262         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
9263         Moved ...
9264         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
9265         ... here.
9266         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
9267         Moved ...
9268         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
9269         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
9270         Moved ...
9271         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
9272         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
9273         Moved ...
9274         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
9275         ... here.
9276         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
9277         Moved ...
9278         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
9279         ... here.
9280         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
9281         Moved ...
9282         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
9283         ... here.
9284         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
9285         Moved ...
9286         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
9287         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
9288         Moved ...
9289         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
9290         ... here.
9291         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
9292         Moved ...
9293         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
9294         ... here.
9295         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
9296         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
9297         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
9298         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
9299         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
9300         Moved ...
9301         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
9302         ... here.
9303         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
9304         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
9305         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
9306         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
9307         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
9308         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
9309         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
9310         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
9311         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
9312         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
9313         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
9314         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
9315         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
9316         Moved ...
9317         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
9318         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
9319         Moved ...
9320         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
9321         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
9322         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
9323         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
9324         Moved ...
9325         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
9326         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
9327         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
9328         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
9329         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
9330         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
9331         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
9332
9333 2014-06-10  Wilco  <wdijkstr@arm.com>
9334
9335         * math/test-fenv-return.c: New file.
9336         * math/Makefile: Add new test test-fenv-return.
9337
9338 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
9339
9340         [BZ #17042]
9341         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
9342         when x - 1 is zero.
9343         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
9344         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
9345         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
9346         0.0L for an argument of 1.0L.
9347         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
9348         Likewise.
9349         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
9350         value when x - 1 is zero.
9351         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
9352         * sysdeps/i386/fpu/libm-test-ulps: Update.
9353         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9354
9355 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
9356
9357         [BZ #15119]
9358         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
9359
9360 2014-06-09  Roland McGrath  <roland@hack.frob.com>
9361
9362         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
9363         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
9364
9365 2014-06-09  Roland McGrath  <roland@hack.frob.com>
9366
9367         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
9368         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
9369
9370         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
9371         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
9372
9373         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
9374         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
9375
9376         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
9377         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
9378
9379         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
9380         if not already defined.
9381         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
9382         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
9383         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
9384         (TLS_INIT_TP): Use it.
9385         (TLS_DEFINE_INIT_TP): New macro.
9386         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
9387
9388 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
9389
9390         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
9391         constant.
9392         [POSIX] (IXANY): Likewise.
9393         [POSIX] (OLCUC): Likewise.
9394         [POSIX || POSIX2008] (CBAUD): Do not allow.
9395         [POSIX || POSIX2008] (DEFECHO): Likewise.
9396         [POSIX || POSIX2008] (ECHOCTL): Likewise.
9397         [POSIX || POSIX2008] (ECHOKE): Likewise.
9398         [POSIX || POSIX2008] (ECHOPRT): Likewise.
9399         [POSIX || POSIX2008] (EXTA): Likewise.
9400         [POSIX || POSIX2008] (EXTB): Likewise.
9401         [POSIX || POSIX2008] (FLUSHO): Likewise.
9402         [POSIX || POSIX2008] (LOBLK): Likewise.
9403         [POSIX || POSIX2008] (PENDIN): Likewise.
9404         [POSIX || POSIX2008] (SWTCH): Likewise.
9405         [POSIX || POSIX2008] (VDISCARD): Likewise.
9406         [POSIX || POSIX2008] (VDSUSP): Likewise.
9407         [POSIX || POSIX2008] (VLNEXT): Likewise.
9408         [POSIX || POSIX2008] (VREPRINT): Likewise.
9409         [POSIX || POSIX2008] (VSTATUS): Likewise.
9410         [POSIX || POSIX2008] (VWERASE): Likewise.
9411         (B*): Change to B[0123456789]*.
9412         * conform/data/time.h-data [POSIX || UNIX98]
9413         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
9414         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
9415         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
9416         [POSIX] (tm_*): Do not allow.
9417
9418 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
9419
9420         * Makefile (install): Don't set LANGUAGE.
9421         * Makefile.in (install): Likewise.
9422         * assert/Makefile (test-assert-ENV): Remove variable.
9423         (test-assert-perr-ENV): Likewise.
9424         * elf/Makefile (neededtest4-ENV): Likewise.
9425         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
9426         [$(cross-compiling) = no]: Don't set LANGUAGE.
9427         * io/ftwtest-sh (LANG): Remove variable.
9428         * libio/Makefile (tst-widetext-ENV): Likewise.
9429         * manual/install.texi (Running make install): Don't refer to
9430         environment settings for make install.
9431         * INSTALL: Regenerated.
9432         * nptl/tst-tls6.sh: Don't set LANG.
9433         * posix/globtest.sh (LANG): Remove variable.
9434         * string/Makefile (tester-ENV): Likewise.
9435         (inl-tester-ENV): Likewise.
9436         (noinl-tester-ENV): Likewise.
9437         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
9438         [$(cross-compiling) = no]: Don't set LANGUAGE.
9439         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
9440         without explicit environment settings.
9441
9442 2014-06-06  Roland McGrath  <roland@hack.frob.com>
9443
9444         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
9445         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
9446         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
9447         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
9448
9449 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
9450
9451         * crypt/crypt-private.h [DOS]: Add some includes taken from the
9452         other files in the crypt directory.
9453         * crypt/crypt.c: Remove duplicate includes.
9454         * crypt/crypt-entry.c: Likewise.
9455         * crypt/crypt_util.c: Likewise.
9456
9457 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
9458
9459         * Makeconfig (run-program-env): New variable.
9460         (run-program-prefix-before-env): Likewise.
9461         (run-program-prefix-after-env): Likewise.
9462         (run-program-prefix): Define in terms of new variables.
9463         (built-program-cmd-before-env): New variable.
9464         (built-program-cmd-after-env): Likewise.
9465         (built-program-cmd): Define in terms of new variables.
9466         (test-program-prefix-before-env): New variable.
9467         (test-program-prefix-after-env): Likewise.
9468         (test-program-prefix): Define in terms of new variables.
9469         (test-program-cmd-before-env): New variable.
9470         (test-program-cmd-after-env): Likewise.
9471         (test-program-cmd): Define in terms of new variables.
9472         * Rules (make-test-out): Use $(run-program-env).
9473         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
9474         (help): Do not mention environment variables.  Mention
9475         --timeoutfactor option.
9476         (timeoutfactor): New variable.
9477         (blacklist_exports): Remove function.
9478         (exports): Remove variable.
9479         (command): Do not include ${exports}.
9480         * manual/install.texi (Configuring and compiling): Do not mention
9481         test wrappers preserving environment variables.  Mention that last
9482         assignment to a variable must take precedence.
9483         * INSTALL: Regenerated.
9484         * benchtests/Makefile (run-bench): Use $(run-program-env).
9485         * catgets/Makefile ($(objpfx)test1.cat): Use
9486         $(built-program-cmd-before-env), $(run-program-env) and
9487         $(built-program-cmd-after-env).
9488         ($(objpfx)test2.cat): Do not specify environment variables
9489         explicitly.
9490         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
9491         $(run-program-env) and $(built-program-cmd-after-env).
9492         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
9493         $(run-program-env) and $(test-program-cmd-after-env).
9494         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
9495         explicitly.
9496         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
9497         run_program_env and test_program_cmd_after_env arguments.
9498         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
9499         * elf/tst-pathopt.sh: Use run_program_env argument.
9500         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
9501         $(test-wrapper-env) and $(run-program-env).
9502         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
9503         run_program_env arguments.
9504         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
9505         * intl/Makefile ($(objpfx)tst-gettext.out): Use
9506         $(test-program-prefix-before-env), $(run-program-env) and
9507         $(test-program-prefix-after-env).
9508         ($(objpfx)tst-gettext2.out): Likewise.
9509         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
9510         run_program_env and test_program_prefix_after_env arguments.
9511         * intl/tst-gettext2.sh: Likewise.
9512         * intl/tst-gettext4.sh: Do not set environment variables
9513         explicitly.
9514         * intl/tst-gettext6.sh: Likewise.
9515         * intl/tst-translit.sh: Likewise.
9516         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
9517         $(test-program-prefix-before-env), $(run-program-env) and
9518         $(test-program-prefix-after-env).
9519         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
9520         run_program_env and test_program_prefix_after_env arguments.
9521         * math/Makefile (run-regen-ulps): Use $(run-program-env).
9522         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
9523         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
9524         explicitly with each use of ${test_wrapper_env}.
9525         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
9526         $(test-program-prefix-before-env), $(run-program-env) and
9527         $(test-program-prefix-after-env).
9528         * posix/tst-getconf.sh: Do not set environment variables
9529         explicitly.
9530         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
9531         run_program_env and test_program_prefix_after_env arguments.
9532         * stdio-common/tst-printf.sh: Do not set environment variables
9533         explicitly.
9534         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
9535         $(test-program-prefix-before-env), $(run-program-env) and
9536         $(test-program-prefix-after-env).
9537         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
9538         run_program_env and test_program_prefix_after_env arguments.
9539         Split $test calls into $test_pre and $test.
9540         * timezone/Makefile (build-testdata): Use
9541         $(built-program-cmd-before-env), $(run-program-env) and
9542         $(built-program-cmd-after-env).
9543
9544 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9545
9546         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
9547         strlen for non SHARED builds.
9548
9549 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
9550
9551         * nptl/allocatestack.c (check_list): Inlined function...
9552         (__reclaim_stacks): ... here.
9553
9554 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
9555
9556         [BZ #15698]
9557         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
9558         memory overrun.
9559
9560 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
9561
9562         * Rules (make-test-out): Include
9563         LOCPATH=$(common-objpfx)localedata in default environment.
9564         * debug/Makefile (tst-chk1-ENV): Remove variable.
9565         (tst-chk2-ENV): Likewise.
9566         (tst-chk3-ENV): Likewise.
9567         (tst-chk4-ENV): Likewise.
9568         (tst-chk5-ENV): Likewise.
9569         (tst-chk6-ENV): Likewise.
9570         (tst-lfschk1-ENV): Likewise.
9571         (tst-lfschk2-ENV): Likewise.
9572         (tst-lfschk3-ENV): Likewise.
9573         (tst-lfschk4-ENV): Likewise.
9574         (tst-lfschk5-ENV): Likewise.
9575         (tst-lfschk6-ENV): Likewise.
9576         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
9577         (tst-iconv7-ENV): Likewise.
9578         * intl/Makefile (LOCPATH-ENV): Likewise.
9579         (tst-codeset-ENV): Likewise.
9580         (tst-gettext3-ENV): Likewise.
9581         (tst-gettext5-ENV): Likewise.
9582         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
9583         (tst-fopenloc-ENV): Likewise.
9584         (tst-fgetws-ENV): Remove variable.
9585         (tst-ungetwc1-ENV): Likewise.
9586         (tst-ungetwc2-ENV): Likewise.
9587         (bug-ungetwc2-ENV): Likewise.
9588         (tst-swscanf-ENV): Likewise.
9589         (bug-ftell-ENV): Likewise.
9590         (tst-fgetwc-ENV): Likewise.
9591         (tst-fseek-ENV): Likewise.
9592         (tst-ftell-partial-wide-ENV): Likewise.
9593         (tst-ftell-active-handler-ENV): Likewise.
9594         (tst-ftell-append-ENV): Likewise.
9595         * posix/Makefile (tst-fnmatch-ENV): Likewise.
9596         (tst-regexloc-ENV): Likewise.
9597         (bug-regex1-ENV): Likewise.
9598         (tst-regex-ENV): Likewise.
9599         (tst-regex2-ENV): Likewise.
9600         (bug-regex5-ENV): Likewise.
9601         (bug-regex6-ENV): Likewise.
9602         (bug-regex17-ENV): Likewise.
9603         (bug-regex18-ENV): Likewise.
9604         (bug-regex19-ENV): Likewise.
9605         (bug-regex20-ENV): Likewise.
9606         (bug-regex22-ENV): Likewise.
9607         (bug-regex23-ENV): Likewise.
9608         (bug-regex25-ENV): Likewise.
9609         (bug-regex26-ENV): Likewise.
9610         (bug-regex30-ENV): Likewise.
9611         (bug-regex32-ENV): Likewise.
9612         (bug-regex33-ENV): Likewise.
9613         (bug-regex34-ENV): Likewise.
9614         (bug-regex35-ENV): Likewise.
9615         (tst-rxspencer-ENV): Likewise.
9616         (tst-rxspencer-no-utf8-ENV): Likewise.
9617         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
9618         (tst-sscanf-ENV): Likewise.
9619         (tst-swprintf-ENV): Likewise.
9620         (tst-swscanf-ENV): Likewise.
9621         (test-vfprintf-ENV): Likewise.
9622         (scanf13-ENV): Likewise.
9623         (bug14-ENV): Likewise.
9624         (tst-grouping-ENV): Likewise.
9625         * stdlib/Makefile (tst-strtod-ENV): Likewise.
9626         (tst-strtod3-ENV): Likewise.
9627         (tst-strtod4-ENV): Likewise.
9628         (tst-strtod5-ENV): Likewise.
9629         (testmb2-ENV): Likewise./
9630         * string/Makefile (tst-strxfrm-ENV): Likewise.
9631         (tst-strxfrm2-ENV): Likewise.
9632         (bug-strcoll1-ENV): Likewise.
9633         (test-strcasecmp-ENV): Likewise.
9634         (test-strncasecmp-ENV): Likewise.
9635         * time/Makefile (tst-strptime-ENV): Likewise.
9636         (tst-ftime_l-ENV): Likewise.
9637         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
9638         (tst-mbrtowc-ENV): Likewise.
9639         (tst-wcrtomb-ENV): Likewise.
9640         (tst-mbrtowc2-ENV): Likewise.
9641         (tst-c16c32-1-ENV): Likewise.
9642         (tst-mbsnrtowcs-ENV): Likewise.
9643
9644 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
9645
9646         * manual/resource.texi (How to get information about the memory
9647         subsystem?): Fix typo.
9648         Reported by Peon de la Parra Ivan <peon@keba.com>
9649
9650 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
9651
9652         [BZ #16882]
9653         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
9654         (pthread_spin_lock): Branch out of spin loop to proper location.
9655         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
9656         (pthread_spin_lock): Likewise.
9657
9658         * nptl/tst-spin4.c: New test.
9659         * nptl/Makefile (tests): Add tst-spin4.
9660
9661 2014-06-03  Andreas Schwab  <schwab@suse.de>
9662
9663         [BZ #15946]
9664         * resolv/res_send.c (send_dg): Reload file descriptor after
9665         calling reopen.
9666
9667 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
9668
9669         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
9670
9671 2014-06-03  Richard Henderson  <rth@redhat.com>
9672
9673         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
9674         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
9675         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
9676         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
9677         in the SAVE_PID block.
9678         (__libc_vfork): New alias.
9679         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
9680
9681         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
9682         child in registers, not on the stack.  Remove RESET_PID conditionals.
9683         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
9684
9685 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
9686
9687         * sysdeps/aarch64/libm-test-ulps: Regenerate.
9688
9689 2014-06-03  Wilco  <wdijkstr@arm.com>
9690
9691         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
9692         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
9693         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
9694         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
9695         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
9696         Likewise.
9697
9698 2014-06-03  Wilco  <wdijkstr@arm.com>
9699
9700         * sysdeps/aarch64/fpu/math_private.h
9701         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
9702         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
9703         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
9704         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
9705         Fix declarations.
9706
9707 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
9708
9709         * crypt/crypt-private.h: Include ufc-crypt.h.
9710         (__b64_from_24bit): Declare extern.
9711         * crypt/crypt_util.c(__b64_from_24bit): New function.
9712         (b64t): New static const variable.
9713         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
9714         (b64t): Remove variable.
9715         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
9716         * crypt/sha256-crypt.c: Include crypt-private.h.
9717         (b64t): Remove variable.
9718         (__sha256_crypt_r): Remove b64_from_24bit and replace
9719         with __b64_from_24bit.
9720         * crypt/sha512-crypt.c: Likewise.
9721
9722 2014-06-02  Roland McGrath  <roland@hack.frob.com>
9723
9724         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
9725         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
9726         Label the code __libc_vfork rather than __vfork.
9727         [!NOT_IN_libc] (vfork): Define as weak alias.
9728         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
9729         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
9730         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
9731
9732 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
9733
9734         * malloc/malloc.c (malloc_info): Fix format specifier for
9735         n_mmaps.
9736
9737 2014-06-02  Wilco  <wdijkstr@arm.com>
9738
9739         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
9740         FPCR write.
9741
9742 2014-06-02  Wilco  <wdijkstr@arm.com>
9743
9744         [BZ #17009]
9745         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
9746         Rewrite to reduce FPCR/FPSR accesses.
9747
9748 2014-06-01  David S. Miller  <davem@davemloft.net>
9749
9750         * sysdeps/sparc/fpu/libm-test-ulps: Update.
9751
9752 2014-05-31  David S. Miller  <davem@davemloft.net>
9753
9754         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
9755         to occur in round to nearest mode when |x| >= 2.0
9756
9757 2014-05-30  Richard Henderson  <rth@twiddle.net>
9758
9759         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
9760         (PSEUDO_RET_NOERRNO): Remove.
9761         (ret): Don't redefine.
9762         (ret_NOERRNO): Define in terms of ret.
9763         (ret_ERRVAL): Likewise.
9764
9765         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
9766         use of PSEUDO_RET; perform the error check directly.
9767
9768 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
9769
9770         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
9771         with __int128_t.
9772
9773 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
9774
9775         * malloc/malloc (malloc_info): Fix formatting.
9776
9777 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
9778             Roland McGrath  <roland@hack.frob.com>
9779
9780         * malloc/malloc (malloc_info): Also print mmapped statistics.
9781
9782 2014-05-30  Roland McGrath  <roland@hack.frob.com>
9783
9784         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
9785         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
9786
9787 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
9788
9789         * malloc/malloc.c (malloc_info): Inline mi_arena.
9790
9791 2014-05-29  Richard Henderson  <rth@twiddle.net>
9792
9793         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
9794         Remove comma before expanding ASM_ARGS_##nr.
9795         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
9796         Make _x0 a strict output; make _x8 a strict input; adjust expansion
9797         of ASM_ARGS_##nr.
9798         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
9799         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
9800         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
9801         (ASM_ARGS_1): Add leading comma.
9802
9803         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
9804         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
9805         to __errno_location.
9806         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
9807         Remove the expected plt for __errno_location.
9808
9809         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
9810         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
9811         call to __read_tp.
9812
9813         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
9814         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
9815         it and break it down.
9816         (DOCARGS_0, DOCARGS_1): Do nothing.
9817         (DOCARGS_2): Update to store into the new stack frame.
9818         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
9819         (UNDOCARGS_1): Update to restore from the new stack frame.
9820         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
9821         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
9822
9823         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
9824         (SINGLE_THREAD_P): New parameter for result regno.
9825         (PSEUDO): Update to match; use cbz instead of beq.
9826
9827         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
9828         Use ENTRY to define the _nocancel entry point.  Share the syscall
9829         and syscall error check paths with the cancel path.
9830         (PSEUDO_END): New.
9831
9832         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
9833         whitespace; tabs before and after asm mnemonics.
9834
9835 2014-05-29  Eric Wong  <normalperson@yhbt.net>
9836
9837         [BZ #15132]
9838         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
9839         Call fstat64 or stat64 internally, depending on arguments passed.
9840         Replace stat buffer argument with file descriptor argument.
9841         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
9842         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
9843         Pass fd to __internal_statvfs instead of calling fstat64.
9844         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
9845         Pass fd to __internal_statvfs64 instead of calling fstat64.
9846         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
9847         Pass -1 to __internal_statvfs instead of calling stat64.
9848         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
9849         Pass -1 to __internal_statvfs64 instead of calling stat64.
9850
9851 2014-05-28  Roland McGrath  <roland@hack.frob.com>
9852
9853         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
9854         that was previously under [RESET_PID].
9855         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
9856
9857         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
9858         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
9859
9860 2014-05-27  Roland McGrath  <roland@hack.frob.com>
9861
9862         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
9863
9864         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
9865         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
9866
9867 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
9868
9869         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
9870
9871 2014-05-27  Andreas Schwab  <schwab@suse.de>
9872
9873         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
9874         TLS_INIT_TP macro.
9875         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
9876         * elf/rtld.c (init_tls, dl_main): Likewise.
9877         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
9878         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
9879         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
9880         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
9881         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
9882         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
9883         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
9884         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
9885         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
9886         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
9887         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
9888         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
9889         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
9890         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
9891         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
9892         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
9893         * sysdeps/generic/tls.h: Update description.
9894
9895 2014-05-27  Will Newton  <will.newton@linaro.org>
9896
9897         [BZ #16990]
9898         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
9899         and restore r2 rather than just restoring.
9900
9901 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
9902
9903         [BZ #16724]
9904         * libio/tst-ftell-append.c: New test case.
9905         * libio/Makefile (tests): Add test case.
9906         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
9907         append mode.
9908         * libio/wfileops.c (do_ftell_wide): Likewise.
9909
9910 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9911
9912         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9913
9914         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
9915         ...
9916         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
9917         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
9918         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
9919         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
9920         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
9921         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
9922         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
9923         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
9924         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
9925         Moved ...
9926         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
9927         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
9928         Moved ...
9929         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
9930         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
9931         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
9932         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
9933         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
9934         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
9935         ...
9936         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
9937         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
9938         Moved ...
9939         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
9940         here.
9941         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
9942         ...
9943         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
9944         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
9945         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
9946
9947         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
9948         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
9949         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
9950         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
9951
9952         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
9953         merge into ...
9954         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
9955         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
9956         ...
9957         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
9958         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
9959         ...
9960         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
9961         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
9962         Moved ...
9963         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
9964         here.
9965         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
9966         Moved ...
9967         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
9968         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
9969         Moved ...
9970         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
9971
9972         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
9973         conditional [RESET_PID].
9974         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
9975         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
9976         removed.
9977         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
9978         removed.
9979
9980         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
9981         <tcb-offsets.h>.
9982         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
9983         (__libc_vfork): New strong alias.
9984         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
9985         removed.
9986         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
9987         Removed.
9988
9989         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
9990         <tcb-offsets.h>.
9991         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
9992         (__libc_vfork): New strong alias.
9993         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
9994         removed.
9995         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
9996         removed.
9997
9998 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
9999
10000         * malloc/malloc.c (mi_arena): New function.
10001         (malloc_info): Remove nested function mi_arena. Call non-nosted
10002         function mi_arena.
10003
10004 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10005
10006         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
10007         by insrwi.
10008         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
10009         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
10010         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
10011         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
10012         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
10013         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
10014         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
10015
10016 2014-05-26  Andreas Schwab  <schwab@suse.de>
10017
10018         [BZ #16984]
10019         * locale/programs/repertoire.c (repertoire_read): Add slash
10020         between I18NPATH element and file name.
10021         * locale/programs/locfile.c (locfile_read): Likewise.
10022
10023 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
10024
10025         * nptl/pthread_mutexattr_settype.c
10026         (__pthread_mutexattr_settype):
10027         Disable lock elision for PTHREAD_MUTEX_NORMAL.
10028
10029 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
10030
10031         * nptl/tst-mutex5 (do_test):
10032         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
10033
10034 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
10035
10036         * benchtests/README: Document 'init' directive.
10037         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
10038         BENCH_INIT.
10039         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
10040         (parse_file): Recognize 'init' directive.
10041
10042 2014-05-26  Kyle McMartin  <kyle@redhat.com>
10043
10044         [BZ #16796]
10045         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
10046         alignment of struct pthread.
10047
10048 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
10049
10050         [BZ #16878]
10051         * nscd/netgroupcache.c (addgetnetgrentX): Look for
10052         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
10053         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
10054         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
10055
10056 2014-05-25  Richard Henderson  <rth@twiddle.net>
10057
10058         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
10059         (SINGLE_THREAD_P_PIC): Remove.
10060         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
10061         (SINGLE_THREAD_P_PIC): Remove.
10062
10063         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
10064         branch to syscall error ...
10065         (PSEUDO): ... here.
10066         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
10067         from __local_syscall_error to .Lsyscall_error.
10068         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
10069         (SYSCALL_ERROR): Update label name.
10070
10071         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
10072         Do not use DOARGS/UNDOARGS.
10073         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
10074         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
10075         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
10076         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
10077         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
10078
10079         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
10080         block comment.
10081
10082         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
10083         define if !NOT_IN_libc.
10084         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
10085         define with non-default symbol versions.
10086
10087 2014-05-23  Richard Henderson  <rth@twiddle.net>
10088
10089         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
10090         (vfork, __vfork): Define via compat_symbol.
10091
10092         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
10093         [!HAVE_IFUNC] (vfork_compat): Remove.
10094         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
10095
10096 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
10097
10098         [BZ #16978]
10099         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
10100         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
10101         variable.
10102
10103 2014-05-23  Richard Henderson  <rth@twiddle.net>
10104
10105         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
10106         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
10107         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
10108         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
10109
10110         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
10111         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
10112         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
10113         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
10114         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
10115         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
10116         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
10117         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
10118         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
10119         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
10120         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
10121         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
10122         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
10123         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
10124         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
10125         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
10126         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
10127         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
10128         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
10129         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
10130         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
10131         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
10132         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
10133         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
10134         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
10135         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
10136         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
10137         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
10138         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
10139         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
10140         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
10141         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
10142         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
10143         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
10144         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
10145         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
10146         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
10147         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
10148         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
10149         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
10150         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
10151         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
10152         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
10153         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
10154         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
10155         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
10156         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
10157         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
10158         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
10159         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
10160         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
10161         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
10162         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
10163         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
10164         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
10165         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
10166
10167         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
10168         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
10169         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
10170         before exiting on error.
10171         (__libc_vfork): New strong alias.
10172         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
10173         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
10174
10175         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
10176         that was previously under [RESET_PID].
10177         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
10178
10179         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
10180
10181 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
10182
10183         [BZ #16977]
10184         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
10185         value when x - 1 is zero.
10186         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
10187         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
10188         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
10189         0.0L for an argument of 1.0L.
10190         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
10191         Likewise.
10192         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
10193         value when x - 1 is zero.
10194         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
10195         * sysdeps/i386/fpu/libm-test-ulps: Update.
10196         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10197
10198 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
10199
10200         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
10201         alphasort and versionsort.
10202
10203 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10204
10205         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
10206         macro.
10207         [copysignf]: Likewise.
10208
10209 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
10210
10211         * crypt/md5-crypt.c: Fix formatting.
10212
10213 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
10214
10215         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
10216         (b64_from_24bit): New function.
10217
10218 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10219
10220         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
10221         libc_hidden_builtin_def to ifunc.
10222         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
10223         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
10224
10225 2014-05-21  Roland McGrath  <roland@hack.frob.com>
10226
10227         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
10228         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
10229
10230 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
10231
10232         * nscd/Depend (linuxthreads): Remove.
10233         (nptl): Add.
10234         * resolv/Depend (linuxthreads): Remove.
10235         * rt/Depend (linuxthreads): Remove.
10236
10237         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
10238         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
10239         $(common-objpfx)elf/.
10240         (link-libc-before-gnulib): Likewise.
10241         (elfobjdir): Remove variable.
10242         * Makefile (install): Use $(elf-objpfx) instead of
10243         $(common-objpfx)elf/.
10244         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
10245         $(elfobjdir)/.
10246         (link-libc-deps): Likewise.
10247         ($(common-objpfx)libc.so): Likewise.
10248         ($(common-objpfx)linkobj/libc.so): Likewise.
10249         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
10250         instead of $(common-objpfx)elf/.
10251         (symbolic-link-list): Likewise.
10252         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
10253         [$(cross-compiling) = no]: Likewise.
10254         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
10255         $(elfobjdir)/.
10256         (static-gnulib-arch): Likewise.
10257         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
10258         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
10259         $(common-objpfx)elf/.
10260
10261 2014-05-21  Richard Henderson  <rth@redhat.com>
10262
10263         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
10264         (SINGLE_THREAD_P): Use the correct width load.  Fold
10265         into the ldr offset.
10266
10267         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
10268         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
10269
10270 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
10271
10272         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
10273         (libgcc_s_resume): Use __attribute_used__.
10274         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
10275         Likewise.
10276
10277 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10278
10279         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
10280         optimization when used with float constants.
10281
10282         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10283
10284 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
10285
10286         [BZ #16915]
10287         * locale/nl_langinfo_l.c: Make direct reference to every
10288         _nl_current_CATEGORY symbol.
10289         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
10290         (tests-static): Add tst-langinfo-static.
10291         (tests-special): Add tst-langinfo-static.out.
10292         ($(objpfx)tst-langinfo.out): Redirect output.
10293         ($(objpfx)tst-langinfo-static.out): New.
10294         * localedata/tst-langinfo.sh: Send output to stdout.
10295         * localedata/tst-langinfo-static.c: New file.
10296
10297         [BZ #16965]
10298         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
10299         when the shift amount is modulo the limb size.
10300
10301 2014-05-20  Richard Henderson  <rth@redhat.com>
10302
10303         [BZ #16967]
10304         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
10305         Change type of sa_flags from unsigned int to int.
10306
10307         [BZ #16966]
10308         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
10309
10310         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
10311
10312 2014-05-20  Will Newton  <will.newton@linaro.org>
10313
10314         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
10315         Test the return value of the system call in the nocancel case.
10316
10317 2014-05-20  Will Newton  <will.newton@linaro.org>
10318             Yvan Roux  <yvan.roux@linaro.org>
10319
10320         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
10321         #include of asm/ptrace.h.
10322         (PTRACE_GET_THREAD_AREA): Remove #undef.
10323         (PTRACE_GETHBPREGS): Likewise.
10324         (PTRACE_SETHBPREGS): Likewise.
10325         (struct user_regs_struct): New structure.
10326         (struct user_fpsimd_struct): New structure.
10327         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
10328         #include of asm/ptrace.h and second #include of sys/user.h.
10329         (PTRACE_GET_THREAD_AREA): Remove #undef.
10330         (PTRACE_GETHBPREGS): Likewise.
10331         (PTRACE_SETHBPREGS): Likewise.
10332         (ELF_NGREG): Use new struct user_regs_struct.
10333         (elf_fpregset_t): Use new struct user_fpsimd_struct.
10334
10335 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10336
10337         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
10338         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
10339
10340 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
10341
10342         [BZ #16958]
10343         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
10344         membar to avoid block loads/stores to overlap previous stores.
10345
10346 2014-05-17  Richard Henderson  <rth@redhat.com>
10347
10348         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
10349         Create the __##syscall_name##_nocancel entry point.
10350         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
10351         Remove; let the sysdep-cancel.h code create it.
10352
10353 2014-05-17  David S. Miller  <davem@davemloft.net>
10354
10355         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
10356         Protect with __USE_GNU.
10357         (TIOCSET_TEMPT): Likewise.
10358         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
10359         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
10360         these are already provided in bits/ioctl-types.h
10361
10362 2014-05-16  Roland McGrath  <roland@hack.frob.com>
10363
10364         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
10365         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
10366
10367         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
10368         Use wait4 regardless of [__NR_waitpid].
10369
10370 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
10371
10372         PR libgcc/60166
10373         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
10374         (_FP_NANSIGN_Q): Set the quiet bit.
10375
10376 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
10377
10378         * benchtests/Makefile
10379         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
10380         not $(common-objpfx)math/libm.so.
10381         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
10382         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
10383         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
10384         $(common-objpfx)dlfcn/libdl.so.
10385         ($(objpfx)tst-audit8): Depend on $(libm), not
10386         $(common-objpfx)math/libm.so.
10387         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
10388         not $(common-objpfx)dlfcn/libdl.so.
10389         * math/Makefile
10390         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
10391         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
10392         [$(build-shared) = yes].
10393         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
10394         $(common-objpfx)nptl/libpthread.so.
10395         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
10396         $(common-objpfx)math/libm.so$(libm.so-version) or
10397         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
10398         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
10399         $(common-objpfx)dlfcn/libdl.so.
10400         * setjmp/Makefile (link-libm): Remove variable.
10401         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
10402         * stdio-common/Makefile (link-libm): Remove variable.
10403         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
10404         * stdlib/Makefile (link-libm): Remove variable.
10405         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
10406         ($(objpfx)tst-strtod-round): Likewise.
10407         ($(objpfx)tst-tininess): Likewise.
10408         ($(objpfx)tst-strtod-underflow): Likewise.
10409         ($(objpfx)tst-strtod6): Likewise.
10410         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
10411         $(libdl), not $(common-objpfx)nptl/libpthread.so and
10412         $(common-objpfx)dlfcn/libdl.so.
10413
10414 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10415
10416         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
10417         BSD terminal modes definitions.
10418
10419 2014-05-16  Roland McGrath  <roland@hack.frob.com>
10420
10421         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
10422         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
10423
10424         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
10425         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
10426         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
10427         Don't do #include_next.
10428         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
10429         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
10430         Don't do #include_next.
10431         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
10432         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
10433         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
10434         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
10435
10436 2014-05-16  Allan McRae  <allan@archlinux.org>
10437
10438         * po/sv.po: Update Swedish translation from translation project.
10439
10440         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
10441         in sed expression.
10442
10443 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
10444
10445         [BZ #16917]
10446         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
10447         errno if the TIOCGPTN ioctl fails with an error different than
10448         EINVAL.
10449         * login/tst-ptsname.c: New file.
10450         * login/Makefile (tests): Add tst-ptsname.
10451
10452         [BZ #16943]
10453         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
10454         and prlimit64.
10455
10456 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
10457
10458         [BZ #16849]
10459         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
10460         herrno to return EAI_AGAIN.
10461
10462 2014-05-14  Roland McGrath  <roland@hack.frob.com>
10463
10464         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
10465         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
10466         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
10467         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
10468         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
10469         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
10470         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
10471         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
10472         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
10473         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
10474         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
10475         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
10476         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
10477         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
10478         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
10479         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
10480         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
10481         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
10482         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
10483         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
10484         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
10485         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
10486         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
10487         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
10488         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
10489         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
10490         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
10491         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
10492         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
10493         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
10494         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
10495         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
10496         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
10497         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
10498         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
10499         Moved ...
10500         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
10501         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
10502         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
10503         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
10504         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
10505         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
10506         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
10507         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
10508         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
10509         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
10510         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
10511         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
10512         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
10513         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
10514         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
10515         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
10516         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
10517         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
10518         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
10519         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
10520         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
10521         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
10522         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
10523         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
10524         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
10525         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
10526         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
10527         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
10528         Moved ...
10529         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
10530         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
10531         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
10532         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
10533         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
10534         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
10535         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
10536         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
10537         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
10538         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
10539         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
10540         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
10541         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
10542         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
10543         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
10544         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
10545         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
10546         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
10547         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
10548         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
10549         Moved ...
10550         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
10551         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
10552         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
10553
10554         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
10555         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
10556         (libpthread-sysdep_routines): Add elision-related stuff here instead.
10557         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
10558         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
10559         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
10560         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
10561         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
10562         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
10563         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
10564         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
10565         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
10566         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
10567         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
10568         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
10569         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
10570         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
10571         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
10572         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
10573         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
10574         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
10575         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
10576         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
10577         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
10578         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
10579         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
10580         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
10581         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
10582         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
10583         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
10584         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
10585
10586         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
10587         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
10588
10589         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
10590         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
10591         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
10592         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
10593         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
10594         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
10595         Moved ...
10596         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
10597         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
10598         Moved ...
10599         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
10600         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
10601         Moved ...
10602         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
10603         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
10604         Moved ...
10605         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
10606         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
10607         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
10608         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
10609         Moved ...
10610         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
10611         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
10612         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
10613         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
10614         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
10615         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
10616         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
10617         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
10618         Moved ...
10619         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
10620         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
10621         Moved ...
10622         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
10623         ... here.
10624         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
10625         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
10626         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
10627         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
10628         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
10629         Moved ...
10630         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
10631         ... here.
10632         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
10633         Moved ...
10634         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
10635         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
10636         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
10637         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
10638         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
10639         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
10640         Moved ...
10641         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
10642         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
10643         Moved ...
10644         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
10645         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
10646         Moved ...
10647         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
10648         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
10649         Moved ...
10650         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
10651         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
10652         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
10653         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
10654         Moved ...
10655         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
10656         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
10657         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
10658         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
10659         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
10660         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
10661         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
10662         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
10663         Moved ...
10664         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
10665         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
10666         Moved ...
10667         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
10668         ... here.
10669         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
10670         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
10671         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
10672         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
10673         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
10674         Moved ...
10675         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
10676         ... here.
10677         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
10678         Moved ...
10679         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
10680         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
10681         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
10682         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
10683         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
10684         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
10685         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
10686         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
10687         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
10688         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
10689         Moved ...
10690         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
10691         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
10692         Moved ...
10693         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
10694         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
10695         Moved ...
10696         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
10697         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
10698         Moved ...
10699         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
10700         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
10701         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
10702         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
10703         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
10704         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
10705         Moved ...
10706         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
10707         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
10708         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
10709         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
10710         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
10711         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
10712         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
10713         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
10714         Moved ...
10715         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
10716         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
10717         Moved ...
10718         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
10719         ... here.
10720         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
10721         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
10722         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
10723         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
10724         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
10725         Moved ...
10726         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
10727         ... here.
10728         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
10729         Moved ...
10730         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
10731         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
10732         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
10733         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
10734         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
10735         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
10736         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
10737         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
10738         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
10739         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
10740         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
10741
10742         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
10743         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
10744
10745         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
10746         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
10747
10748         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
10749         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
10750         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
10751         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
10752         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
10753         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
10754         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
10755         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
10756         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
10757         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
10758         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
10759         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
10760         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
10761         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
10762         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
10763         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
10764         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
10765         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
10766         Moved ...
10767         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
10768         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
10769         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
10770         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
10771         Moved ...
10772         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
10773         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
10774         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
10775         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
10776         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
10777         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
10778         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
10779         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
10780         Moved ...
10781         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
10782         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
10783         Moved ...
10784         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
10785         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
10786         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
10787         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
10788         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
10789         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
10790         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
10791         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
10792         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
10793         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
10794         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
10795         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
10796         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
10797         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
10798         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
10799         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
10800         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
10801
10802         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
10803         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
10804         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
10805         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
10806         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
10807
10808         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
10809         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
10810         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
10811         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
10812         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
10813         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
10814         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
10815         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
10816         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
10817         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
10818
10819         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
10820         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
10821
10822         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
10823         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
10824         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
10825         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
10826         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
10827         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
10828         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
10829         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
10830         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
10831         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
10832         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
10833         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
10834         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
10835         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
10836         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
10837         Update #include.
10838         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
10839         Likewise.
10840         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
10841         Likewise.
10842         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
10843         Likewise.
10844         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
10845         Likewise.
10846         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
10847         Likewise.
10848         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
10849         Likewise.
10850         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
10851         Likewise.
10852         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
10853         Likewise.
10854         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
10855         Likewise.
10856         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
10857         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
10858         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
10859         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
10860         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
10861         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
10862         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
10863         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
10864         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
10865         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
10866         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
10867         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
10868         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
10869         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
10870         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
10871
10872         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
10873         that was previously under [RESET_PID].
10874         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
10875         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
10876         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
10877
10878         * sysdeps/i386/nptl/Implies: New file.
10879         * sysdeps/x86_64/nptl/Implies: New file.
10880         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
10881         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
10882         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
10883         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
10884
10885         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
10886         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
10887         (__libc_vfork): New strong alias.
10888         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
10889         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
10890
10891         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
10892         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
10893         (__libc_vfork): New strong alias.
10894         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
10895         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
10896
10897         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
10898         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
10899         (__libc_vfork): New strong alias.
10900         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
10901         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
10902         * nptl/pt-vfork.c: New file.
10903         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
10904         (libpthread: GLIBC_2.20): New version set (empty).
10905
10906 2014-05-14  Will Newton  <will.newton@linaro.org>
10907
10908         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
10909         rather than #if.
10910
10911 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
10912
10913         [BZ #16564]
10914         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
10915         arguments with exponent 65 or above.
10916         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
10917         arguments 0x1p113L or above.
10918         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
10919         to arguments 0x1p107L or above.
10920         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
10921         positive arguments with exponent 65 or above.
10922         * math/auto-libm-test-in: Add more tests of log1p.
10923         * math/auto-libm-test-out: Regenerated.
10924
10925         [BZ #16928]
10926         * math/s_cacos.c (__cacos): Ensure zero real part of result from
10927         non-finite arguments is +0.
10928         * math/s_cacosf.c (__cacosf): Likewise.
10929         * math/s_cacosl.c (__cacosl): Likewise.
10930         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
10931         * sysdeps/i386/fpu/libm-test-ulps: Update.
10932         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10933
10934         [BZ #16927]
10935         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
10936         value.
10937         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
10938         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
10939         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
10940         for explicit high bit of mantissa when testing for argument equal
10941         to 1.
10942         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
10943         * sysdeps/i386/fpu/libm-test-ulps: Update.
10944         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10945
10946         [BZ #16516]
10947         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
10948         (__erf): Scale by 16 instead of 8 in potentially underflowing
10949         case.  Ensure exception if result actually underflows.
10950         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
10951         (__erff): Scale by 16 instead of 8 in potentially underflowing
10952         case.  Ensure exception if result actually underflows.
10953         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
10954         (efx8): Remove variable.
10955         (__erfl): Scale by 16 instead of 8 in potentially underflowing
10956         case.  Ensure exception if result actually underflows.
10957         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
10958         (efx8): Remove variable.
10959         (__erfl): Scale by 16 instead of 8 in potentially underflowing
10960         case.  Ensure exception if result actually underflows.
10961         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
10962         (efx8): Remove variable.
10963         (__erfl): Scale by 16 instead of 8 in potentially underflowing
10964         case.  Ensure exception if result actually underflows.
10965         * math/auto-libm-test-in: Add more tests of erf.
10966         * math/auto-libm-test-out: Regenerated.
10967
10968 2014-05-14  Andreas Schwab  <schwab@suse.de>
10969
10970         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
10971         Remove code conditionalized on USE___THREAD.
10972
10973         * config.h.in (HAVE_PT_CHOWN): Define as 0.
10974         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
10975         not definedness.
10976
10977 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
10978
10979         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
10980         Define unconditionally.
10981         (__ASSUME_O_CLOEXEC): Likewise.
10982         (__ASSUME_SOCK_CLOEXEC): Likewise.
10983         (__ASSUME_IN_NONBLOCK): Likewise.
10984         (__ASSUME_PIPE2): Likewise.
10985         (__ASSUME_EVENTFD2): Likewise.
10986         (__ASSUME_SIGNALFD4): Likewise.
10987         (__ASSUME_DUP3): Likewise.
10988         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
10989         (__ASSUME_DUP3): Do not define.
10990         (__ASSUME_EVENTFD2): Likewise.
10991         (__ASSUME_IN_NONBLOCK): Likewise.
10992         (__ASSUME_O_CLOEXEC): Likewise.
10993         (__ASSUME_PIPE2): Likewise.
10994         (__ASSUME_SIGNALFD4): Likewise.
10995         (__ASSUME_SOCK_CLOEXEC): Likewise.
10996         (__ASSUME_UTIMES): Undefine.
10997         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10998         (__ASSUME_UTIMES): Do not define.
10999         (__ASSUME_O_CLOEXEC): Likewise.
11000         (__ASSUME_SOCK_CLOEXEC): Likewise.
11001         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
11002         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
11003         0x020621].
11004         (__ASSUME_PIPE2): Likewise.
11005         (__ASSUME_EVENTFD2): Likewise.
11006         (__ASSUME_SIGNALFD4): Likewise.
11007         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
11008         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
11009         Do not define.
11010         (__ASSUME_EVENTFD2): Likewise.
11011         (__ASSUME_SIGNALFD4): Likewise.
11012         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
11013         (__ASSUME_32BITUIDS): Likewise.
11014         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
11015         (__ASSUME_IPC64): Likewise.
11016         (__ASSUME_ST_INO_64_BIT): Likewise.
11017         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
11018         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
11019         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
11020         (__ASSUME_UTIMES): Do not define.
11021         (__ASSUME_PSELECT): Likewise.
11022         (__ASSUME_PPOLL): Likewise.
11023         (__ASSUME_O_CLOEXEC): Likewise.
11024         (__ASSUME_SOCK_CLOEXEC): Likewise.
11025         (__ASSUME_IN_NONBLOCK): Likewise.
11026         (__ASSUME_PIPE2): Likewise.
11027         (__ASSUME_EVENTFD2): Likewise.
11028         (__ASSUME_SIGNALFD4): Likewise.
11029         (__ASSUME_DUP3): Likewise.
11030         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
11031         (__ASSUME_UTIMES): Likewise.
11032         (__ASSUME_O_CLOEXEC): Likewise.
11033         (__ASSUME_SOCK_CLOEXEC): Likewise.
11034         (__ASSUME_IN_NONBLOCK): Likewise.
11035         (__ASSUME_PIPE2): Likewise.
11036         (__ASSUME_EVENTFD2): Likewise.
11037         (__ASSUME_SIGNALFD4): Likewise.
11038         (__ASSUME_DUP3): Likewise.
11039         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11040         (__ASSUME_UTIMES): Likewise.
11041         (__ASSUME_O_CLOEXEC): Likewise.
11042         (__ASSUME_SOCK_CLOEXEC): Likewise.
11043         (__ASSUME_IN_NONBLOCK): Likewise.
11044         (__ASSUME_PIPE2): Likewise.
11045         (__ASSUME_EVENTFD2): Likewise.
11046         (__ASSUME_SIGNALFD4): Likewise.
11047         (__ASSUME_DUP3): Likewise.
11048         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
11049         Likewise.
11050         (__ASSUME_UTIMES): Likewise.
11051         (__ASSUME_EVENTFD2): Likewise.
11052         (__ASSUME_SIGNALFD4): Likewise.
11053         * sysdeps/unix/sysv/linux/tile/kernel-features.h
11054         (__ASSUME_O_CLOEXEC): Likewise.
11055         (__ASSUME_SOCK_CLOEXEC): Likewise.
11056         (__ASSUME_IN_NONBLOCK): Likewise.
11057         (__ASSUME_PIPE2): Likewise.
11058         (__ASSUME_EVENTFD2): Likewise.
11059         (__ASSUME_SIGNALFD4): Likewise.
11060         (__ASSUME_DUP3): Likewise.
11061         (__ASSUME_UTIMES): Undefine.
11062
11063         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
11064         feclearexcept.  Remove symbol versioning code.
11065         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
11066         symbol versioning code.
11067         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
11068         symbol versioning code.
11069         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
11070         feupdateenv.  Remove symbol versioning code.
11071         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
11072         fegetexceptflag.  Remove symbol versioning code.
11073         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
11074         fesetexceptflag.  Remove symbol versioning code.
11075         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
11076         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
11077         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
11078         (__posix_fadvise64_l32): Remove prototype.
11079         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
11080         code.
11081
11082 2014-05-13  Roland McGrath  <roland@hack.frob.com>
11083
11084         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
11085         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
11086         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
11087         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
11088
11089 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
11090
11091         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
11092         current working directory
11093
11094 2014-05-13  Roland McGrath  <roland@hack.frob.com>
11095
11096         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
11097         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
11098         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
11099         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
11100         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
11101         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
11102         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
11103         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
11104         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
11105         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
11106         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
11107         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
11108         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
11109         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
11110         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
11111         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
11112         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
11113         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
11114         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
11115         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
11116         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
11117         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
11118         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
11119         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
11120         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
11121         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
11122         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
11123         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
11124         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
11125         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
11126         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
11127         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
11128         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
11129         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
11130         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
11131         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
11132         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
11133         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
11134         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
11135         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
11136         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
11137         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
11138
11139         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
11140         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
11141
11142         * sysdeps/unix/sysv/linux/arm/Makefile
11143         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
11144         Add rt-aeabi_unwind_cpp_pr1.
11145         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
11146         Add nptl-aeabi_unwind_cpp_pr1.
11147         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
11148         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
11149         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
11150         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
11151         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
11152         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
11153
11154         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
11155         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
11156         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
11157         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
11158
11159         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
11160         Deconditionalize the code that was previously under [RESET_PID].
11161         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
11162
11163         * sysdeps/generic/exit-thread.h: New file.
11164         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
11165         * include/unistd.h (__exit_thread): Remove declaration.
11166         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
11167         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
11168         * csu/libc-start.c: Include <exit-thread.h>.
11169         (LIBC_START_MAIN): Pass no argument to __exit_thread.
11170         * nptl/pthread_create.c: Include <exit-thread.h>.
11171         (start_thread): Call __exit_thread in place of __exit_thread_inline.
11172         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
11173         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
11174         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
11175         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
11176         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
11177         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
11178         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
11179         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
11180         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
11181         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
11182         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
11183         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
11184         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
11185         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
11186         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
11187         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
11188
11189 2014-05-13  Andreas Schwab  <schwab@suse.de>
11190
11191         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
11192
11193 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
11194
11195         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
11196         (__ASSUME_UTIMES): Do not condition on kernel version.
11197         (__ASSUME_PSELECT): Define unconditionally.
11198         (__ASSUME_PPOLL): Likewise.
11199         (__ASSUME_ATFCTS): Likewise.
11200         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
11201         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
11202         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
11203         (__ASSUME_UTIMENSAT): Define unconditionally.
11204         (__ASSUME_PRIVATE_FUTEX): Likewise.
11205         (__ASSUME_FALLOCATE): Likewise.
11206         (__ASSUME_O_CLOEXEC): Likewise.
11207         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
11208         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
11209         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
11210         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
11211         (__ASSUME_IN_NONBLOCK): Likewise.
11212         (__ASSUME_PIPE2): Likewise.
11213         (__ASSUME_EVENTFD2): Likewise.
11214         (__ASSUME_SIGNALFD4): Likewise.
11215         (__ASSUME_DUP3): Likewise.
11216         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
11217         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
11218         (__ASSUME_AT_RANDOM): Likewise.
11219         (__ASSUME_PREADV): Likewise.
11220         (__ASSUME_PWRITEV): Likewise.
11221         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
11222         (__ASSUME_F_GETOWN_EX): Define unconditionally.
11223         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
11224         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
11225         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
11226         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
11227         (__ASSUME_O_CLOEXEC): Define unconditionally.
11228         (__ASSUME_PSELECT): Do not undefine conditionally.
11229         (__ASSUME_PPOLL): Likewise.
11230         (__ASSUME_ATFCTS): Likewise.
11231         (__ASSUME_SET_ROBUST_LIST): Likewise.
11232         (__ASSUME_UTIMENSAT): Likewise.
11233         (__ASSUME_FDATASYNC): Define unconditionally.
11234         * sysdeps/unix/sysv/linux/arm/kernel-features.h
11235         (__ASSUME_SIGFRAME_V2): Likewise.
11236         )__ASSUME_EVENTFD2): Likewise.
11237         (__ASSUME_SIGNALFD4): Likewise.
11238         (__ASSUME_PSELECT): Do not undefine conditionally.
11239         (__ASSUME_PPOLL): Likewise.
11240         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
11241         (__ASSUME_PSELECT): Define unconditionally.
11242         (__ASSUME_PPOLL): Likewise.
11243         (__ASSUME_O_CLOEXEC): Likewise.
11244         (__ASSUME_SOCK_CLOEXEC): Likewise.
11245         (__ASSUME_IN_NONBLOCK): Likewise.
11246         (__ASSUME_PIPE2): Likewise.
11247         (__ASSUME_EVENTFD2): Likewise.
11248         (__ASSUME_SIGNALFD4): Likewise.
11249         (__ASSUME_DUP3): Likewise.
11250         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
11251         (__ASSUME_O_CLOEXEC): Likewise.
11252         (__ASSUME_SOCK_CLOEXEC): Likewise.
11253         (__ASSUME_IN_NONBLOCK): Likewise.
11254         (__ASSUME_PIPE2): Likewise.
11255         (__ASSUME_EVENTFD2): Likewise.
11256         (__ASSUME_SIGNALFD4): Likewise.
11257         (__ASSUME_DUP3): Likewise.
11258         * sysdeps/unix/sysv/linux/mips/kernel-features.h
11259         (__ASSUME_EVENTFD2): Likewise.
11260         (__ASSUME_SIGNALFD4): Likewise.
11261         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
11262
11263 2014-05-12  Andreas Schwab  <schwab@suse.de>
11264
11265         [BZ #16932]
11266         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
11267         (_nss_nis_gethostbyname4_r): Return error if item length is larger
11268         than maximum RPC packet size.
11269         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
11270         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
11271         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
11272         (_nss_nis_getservbyport_r): Likewise.
11273
11274 2014-05-12  Will Newton  <will.newton@linaro.org>
11275
11276         * malloc/Makefile (tests): Add tst-mallopt.
11277         * malloc/tst-mallopt.c: New file.
11278
11279 2014-05-09  Roland McGrath  <roland@hack.frob.com>
11280
11281         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
11282         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
11283
11284 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11285
11286         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
11287         (tst-tlsmod6.so): Likewise.
11288
11289 2014-05-09  Roland McGrath  <roland@hack.frob.com>
11290
11291         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
11292
11293 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
11294
11295         [BZ #16064]
11296         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
11297         and <dl-procinfo.h>.
11298         (__fegetenv): Save SSE state in envp->__eip if supported.
11299         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
11300         envp->__eip if supported.
11301         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
11302         and <dl-procinfo.h>.
11303         (__fesetenv): Always set __eip, __cs_selector, __opcode,
11304         __data_offset and __data_selector in environment to 0.  Set SSE
11305         state if supported.
11306         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
11307         test-fenv-sse.
11308         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
11309         -mfpmath=sse.
11310         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
11311
11312 2014-05-09  Will Newton  <will.newton@linaro.org>
11313
11314         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
11315         and libc_relro_required for ARM.
11316         * sysdeps/arm/preconfigure: Regenerate.
11317
11318 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
11319             Stefan Liebler  <stli@linux.vnet.ibm.com>
11320
11321         * config.make.in (enable-lock-elision): New Makefile variable.
11322         * configure.ac: Likewise.
11323         * configure: Regenerate.
11324         * sysdeps/s390/configure.ac:
11325         Add check for gcc transactions support.
11326         * sysdeps/s390/configure: Regenerate.
11327         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
11328         Build elision files if enabled.
11329         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
11330         Add lock elision support for s390.
11331         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
11332         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
11333         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
11334         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
11335         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
11336         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
11337         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
11338         Likewise.
11339         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
11340         Likewise.
11341         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
11342         Likewise.
11343         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
11344         Likewise.
11345         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
11346         (__lll_timedlock_elision, __lll_lock_elision)
11347         (__lll_unlock_elision, __lll_trylock_elision)
11348         (lll_timedlock_elision, lll_lock_elision)
11349         (lll_unlock_elision, lll_trylock_elision): Add.
11350         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
11351         (pthread_mutex_t): Add lock elision support for s390.
11352
11353 2014-05-14  Wilco  <wdijkstr@arm.com>
11354
11355         * sysdeps/arm/fclrexcpt.c: Cleanup.
11356         * sysdeps/arm/fedisblxcpt.c: Cleanup.
11357         * sysdeps/arm/feenablxcpt.c: Cleanup.
11358         * sysdeps/arm/fegetenv.c: Cleanup.
11359         * sysdeps/arm/fegetexcept.c: Cleanup.
11360         * sysdeps/arm/fegetround.c: Cleanup.
11361         * sysdeps/arm/feholdexcpt.c: Cleanup.
11362         * sysdeps/arm/fesetenv.c: Cleanup.
11363         * sysdeps/arm/fesetround.c: Cleanup.
11364         * sysdeps/arm/feupdateenv.c: Cleanup.
11365         * sysdeps/arm/fgetexcptflg.c: Cleanup.
11366         * sysdeps/arm/fraiseexcpt.c: Cleanup.
11367         * sysdeps/arm/fsetexcptflg.c: Cleanup.
11368         * sysdeps/arm/ftestexcept.c: Cleanup.
11369         * sysdeps/arm/get-rounding-mode.h: Cleanup.
11370         * sysdeps/arm/setfpucw.c: Cleanup.
11371
11372 2014-05-09  Will Newton  <will.newton@linaro.org>
11373
11374         * sysdeps/arm/armv7/strcmp.S: New file.
11375         * NEWS: Mention addition of ARMv7 optimized strcmp.
11376
11377 2014-05-08  Roland McGrath  <roland@hack.frob.com>
11378
11379         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
11380         look for %.ac rather than %.in.
11381
11382         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
11383         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
11384         * sysdeps/mach/hurd/configure: Regenerated.
11385         * sysdeps/unix/sysv/linux/configure: Regenerated.
11386
11387         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
11388
11389 2014-05-07  Steve Ellcey  <sellcey@mips.com>
11390
11391         [BZ# 16922]
11392         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
11393         (LONG_SUB): Ditto.
11394         (PTR_SUB): Ditto.
11395
11396 2014-05-07  Andreas Schwab  <schwab@suse.de>
11397
11398         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
11399         when skipping over non-matching result from nscd.
11400
11401 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
11402
11403         [BZ #16876]
11404         * nptl/sockperf.c (client): Check socket return value.
11405
11406         [BZ #16877]
11407         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
11408         nscd security class.
11409
11410 2014-05-06  Roland McGrath  <roland@hack.frob.com>
11411
11412         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
11413         * sysdeps/arm/unwind.h: ... here.
11414
11415 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
11416
11417         [BZ# 16916]
11418         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
11419         Define.
11420
11421 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
11422
11423         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
11424         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
11425         multiarch strncpy for PPC64.
11426         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
11427         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
11428         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
11429         multiarch optimizations.
11430         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
11431         (__libc_ifunc_impl_list): Likewise.
11432         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
11433         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
11434         multiarch stpncpy for PPC64.
11435         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
11436         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
11437
11438 2014-05-06  Andreas Schwab  <schwab@suse.de>
11439
11440         [BZ #16912]
11441         * gmon/mcount.c (_MCOUNT_DECL): Use
11442         atomic_compare_and_exchange_bool_acq instead of
11443         catomic_compare_and_exchange_bool_acq.
11444
11445 2014-05-05  Roland McGrath  <roland@hack.frob.com>
11446
11447         * elf/Makefile (others, install-bin): Remove pldd.
11448         (pldd-modules): Variable removed.
11449         ($(objpfx)pldd): Target removed.
11450         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
11451         (others, install-bin): Append pldd here.
11452         ($(objpfx)pldd): New target.
11453
11454         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
11455         to 0, so the first #if test emitted later doesn't see it undefined.
11456         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
11457         * sysdeps/gnu/errlist.c: Regenerated.
11458
11459 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11460
11461         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
11462         [libc_hidden_builtin_def]: Define to empty value.
11463         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
11464         [libc_hidden_builtin_def]: Likewise.
11465         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
11466         [libc_hidden_builtin_def]: Likewise.
11467         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
11468         [libc_hidden_builtin_def]: Likewise.
11469         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
11470         __redirect_memcpy and define ifunc as default hidden symbol.
11471         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
11472         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
11473
11474 2014-05-04  Adam Conrad  <adconrad@0c3.net>
11475
11476         * locale/iso-4217.def: Reintroduce XDR currency.
11477
11478 2014-05-04  Allan McRae  <allan@archlinux.org>
11479
11480         * po/eo.po: Update Esperanto translation from translation project.
11481
11482 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
11483
11484         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
11485         and FEATURE_INDEX_MAX to 1.
11486         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
11487
11488 2014-05-01  Steve Ellcey  <sellcey@mips.com>
11489
11490         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
11491         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
11492         * iconvdata/big5.c (ONE_DIRECTION): Define.
11493         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
11494         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
11495         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
11496         * iconvdata/cp932.c (ONE_DIRECTION): Define.
11497         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
11498         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
11499         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
11500         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
11501         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
11502         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
11503         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
11504         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
11505         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
11506         * iconvdata/gbk.c (ONE_DIRECTION): Define.
11507         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
11508         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
11509         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
11510         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
11511         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
11512         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
11513         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
11514         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
11515         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
11516         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
11517         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
11518         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
11519         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
11520         * iconvdata/iso646.c (ONE_DIRECTION): Define.
11521         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
11522         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
11523         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
11524         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
11525         * iconvdata/johab.c (ONE_DIRECTION): Define.
11526         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
11527         * iconvdata/sjis.c (ONE_DIRECTION): Define.
11528         * iconvdata/t.61.c (ONE_DIRECTION): Define.
11529         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
11530         * iconvdata/tscii.c (ONE_DIRECTION): Define.
11531         * iconvdata/uhc.c (ONE_DIRECTION): Define.
11532         * iconvdata/unicode.c (ONE_DIRECTION): Define.
11533         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
11534         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
11535         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
11536
11537 2014-05-01  Roland McGrath  <roland@hack.frob.com>
11538
11539         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
11540         (_IO_JUMPS_OFFSET): Define to 0.
11541
11542         * nptl/sysdeps/pthread/bits/libc-lock.h
11543         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
11544         (__libc_lock_define_initialized_recursive): Always define using
11545         initializer.  Modern compilers treat uninitialized (implicit zero) and
11546         explicit zero initializers the same (i.e. put the datum in bss).
11547
11548 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
11549
11550         * nscd/nscd-client.h: Include <string.h>.
11551
11552 2014-05-01  David S. Miller  <davem@davemloft.net>
11553
11554         [BZ #16885]
11555         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
11556         multiple zero bytes exist at the end of a string.
11557         Reported by Aurelien Jarno <aurelien@aurel32.net>
11558
11559         * string/test-strcmp.c (check): Add explicit test for situations where
11560         there are multiple zero bytes after the first.
11561
11562 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
11563
11564         [BZ #16890]
11565         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
11566         when compiling wprintf.
11567         * stdio-common/tstdiomisc.c (t3): New function.
11568         (main): Call it.
11569
11570 2014-05-01  Steve Ellcey  <sellcey@mips.com>
11571
11572         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
11573         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
11574         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
11575         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
11576
11577 2014-05-01  Steve Ellcey  <sellcey@mips.com>
11578
11579         * stdlib/longlong.h: Updated from GCC.
11580
11581 2014-05-01  Will Newton  <will.newton@linaro.org>
11582             Bernard Ogden  <bernie.ogden@linaro.org>
11583
11584         * NEWS: Update fixed bug list.
11585
11586         [BZ #15119]
11587         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
11588
11589 2014-04-30  David S. Miller  <davem@davemloft.net>
11590
11591         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
11592         (libc_feholdexcept_setround_sparc_ctx): New function.
11593         (libc_fesetenv_sparc_ctx): Likewise.
11594         (libc_feupdateenv_sparc_ctx): Likewise.
11595         (libc_feholdsetround_sparc_ctx): Likewise.
11596         (libc_feholdexcept_setround_ctx): Define.
11597         (libc_feholdexcept_setroundf_ctx): Likewise.
11598         (libc_feholdexcept_setroundl_ctx): Likewise.
11599         (libc_fesetenv_ctx): Likewise.
11600         (libc_fesetenvf_ctx): Likewise.
11601         (libc_fesetenvl_ctx): Likewise.
11602         (libc_feupdateenv_ctx): Likewise.
11603         (libc_feupdateenvf_ctx): Likewise.
11604         (libc_feupdateenvl_ctx): Likewise.
11605         (libc_feresetround_ctx): Likewise.
11606         (libc_feresetroundf_ctx): Likewise.
11607         (libc_feresetroundl_ctx): Likewise.
11608         (libc_feholdsetround_ctx): Likewise.
11609         (libc_feholdsetroundf_ctx): Likewise.
11610         (libc_feholdsetroundl_ctx): Likewise.
11611
11612         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
11613         with __USE_GNU instead of XOPEN cpp guards.
11614
11615         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
11616         0.
11617
11618         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
11619         with XOPEN cpp guards.
11620
11621 2014-04-30  Julian Brown  <julian@codesourcery.com>
11622
11623         [BZ #16888]
11624         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
11625         handling.
11626
11627 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
11628
11629         [BZ #9894]
11630         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
11631         Change to 2.6.32.
11632         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
11633         * sysdeps/unix/sysv/linux/configure: Regenerated.
11634         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
11635         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
11636         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
11637         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
11638         * README: Update reference to required Linux kernel version.
11639         * manual/install.texi (Linux): Update reference to required Linux
11640         kernel headers version.
11641         * INSTALL: Regenerated.
11642
11643         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
11644         header inclusion.
11645         [POSIX] (limits.h): Likewise.
11646         [POSIX] (math.h): Likewise.
11647         [POSIX] (sys/wait.h): Likewise.
11648         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
11649         function.
11650         [POSIX] (stddef.h): Do not allow header inclusion.
11651
11652 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11653
11654         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
11655
11656 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
11657
11658         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
11659         Return immediately after lll_futex_wake.
11660
11661 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
11662
11663         [BZ #16791]
11664         * nscd/nscd-client.h (datahead_init_common): Initialize entire
11665         structure.
11666         (datahead_init_pos): Call datahead_init_common early.
11667         (datahead_init_neg): Likewise.
11668
11669         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
11670         datahead_init_neg): New functions.
11671         * nscd/aicache.c (addhstaiX): Use them.
11672         * nscd/grpcache.c (cache_addgr): Likewise.
11673         * nscd/hstcache.c (cache_addhst): Likewise.
11674         * nscd/initgrcache.c (addinitgroupsX): Likewise.
11675         * nscd/netgroupcache.c (do_notfound): Likewise.
11676         (addgetnetgrentX): Likewise.
11677         (addinnetgrX): Likewise.
11678         * nscd/pwdcache.c (cache_addpw): Likewise.
11679         * nscd/servicescache.c (cache_addserv): Likewise.
11680
11681 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
11682             Atsushi Onoe  <atsushi@onoe.org>
11683
11684         [BZ #14308]
11685         [BZ #12994]
11686         [BZ #13651]
11687         * resolv/res_query.c (__libc_res_nsearch): Return if at least
11688         one response is valid.
11689         * resolv/res_send.c (send_dg): Check for validity of other
11690         response if the current response is a referral.
11691
11692 2014-04-29  Steve Ellcey  <sellcey@mips.com>
11693
11694         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
11695
11696 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
11697
11698         [BZ #16823]
11699         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
11700         Always divide by positive zero when computing -Inf result.
11701         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
11702         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
11703
11704 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11705
11706         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
11707         FPSCR if value do not change.
11708         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
11709         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
11710         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
11711         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
11712         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
11713         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
11714         function.
11715
11716 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
11717
11718         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
11719         * sysdeps/unix/sysv/linux/hppa: Move directory from
11720         ports/systeps/unix/sysv/linux/hppa.
11721         * README: Update listing for hppa-*-linux-gnu.
11722
11723 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
11724
11725         [BZ #16754]
11726         * manual/stdio.texi (Hook functions): Fix types of stream hook
11727         functions.
11728         [BZ #16854]
11729         * socket/sys/socket.h: Fix typo in comment.
11730
11731 2014-04-28  Wilco  <wdijkstr@arm.com>
11732
11733         * sysdeps/arm/fenv_private.h: New file.
11734         * sysdeps/arm/math_private.h: New file.
11735         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
11736
11737 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
11738
11739         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
11740         with __int128_t.
11741         (La_x86_64_retval): Likewise.
11742
11743 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
11744
11745         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
11746         fpsr if value didn't change.
11747         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
11748         to fpcr if value didn't change.
11749         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
11750         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
11751         fpsr or fpcr if value didn't change.
11752         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
11753         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
11754         fpcr if value didn't change.
11755         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
11756         to fpsr if value didn't change.
11757
11758 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
11759
11760         * nptl/tst-sem3.c: Use test-skeleton.c
11761         (main): Rename to do_test.  Use return instead of
11762         exit.
11763         * nptl/tst-sem4.c: Use test-skeleton.c
11764         (main): Rename to do_test.
11765
11766 2014-04-22  David S. Miller  <davem@davemloft.net>
11767
11768         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
11769         (struct sigaction): New struct member __glibc_reserved0, change
11770         type of sa_flags to int.
11771
11772 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
11773
11774         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
11775         (COUNT_LEADING_ZEROS_0): Define for AArch64.
11776
11777 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
11778
11779         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
11780         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
11781
11782 2014-04-22  Will Newton  <will.newton@linaro.org>
11783             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
11784
11785         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
11786         (__longjmp): Add longjmp and longjmp_target SystemTap
11787         probes.
11788         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
11789         (__sigsetjmp): Add setjmp SystemTap probe.
11790
11791 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
11792
11793         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
11794         match manual order.
11795
11796 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11797
11798         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
11799
11800         * sysdeps/powerpc/fpu/fenv_private.h
11801         (libc_feholdexcept_setroundl_ctx): Define to
11802         libc_feholdexcept_setround_ppc_ctx.
11803         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
11804         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
11805         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
11806         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
11807
11808 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
11809
11810         * sysdeps/aarch64/math-tests.h: New file.
11811
11812 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
11813
11814         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
11815         New.
11816         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11817         Check and set bit_AVX2_Usable.
11818         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
11819         macro.
11820         (bit_AVX2): Likewise.
11821         (index_AVX2_Usable): Likewise.
11822         (CPUID_AVX2): Likewise.
11823         (HAS_AVX2): Likewise.
11824
11825 2014-04-17  Will Newton  <will.newton@linaro.org>
11826
11827         * manual/setjmp.texi (System V contexts): Add note that
11828         calling setcontext on a context created by a call to a
11829         signal handler is undefined.  Update text to note that
11830         setcontext from a signal handler is possible but not
11831         recommended.
11832
11833         [BZ #16629]
11834         * stdlib/tst-setcontext.c: Include signal.h.
11835         (main): Check that the signal stack before and
11836         after swapcontext is the same.
11837
11838         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
11839         Re-implement to restore registers in user code and avoid
11840         rt_sigreturn system call.
11841
11842 2014-04-17  Wilco  <wdijkstr@arm.com>
11843
11844         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
11845         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
11846         * math/test-fenv.c: Skip exception trap tests on targets which only
11847         support non-stop mode.
11848
11849 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
11850             Wilco Dijkstra  <wilco.dijkstra@arm.com>
11851
11852         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
11853         (libc_feholdsetround_aarch64_ctx)
11854         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
11855         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
11856         (libc_feresetround_ctx, libc_feresetroundf_ctx)
11857         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
11858         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
11859         (libc_feresetround_noexl_ctx): Define.
11860
11861 2014-04-16  Richard Henderson  <rth@redhat.com>
11862
11863         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
11864
11865         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
11866         unwind tables.
11867
11868         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
11869         const from the non-libc, non-ldso copy.
11870
11871         * sysdeps/alpha/libm-test-ulps: Regenerate.
11872
11873 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
11874             Wilco Dijkstra  <wilco.dijkstra@arm.com>
11875
11876         * sysdeps/aarch64/fpu/math_private.h: New file.
11877
11878 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
11879
11880         * sysdeps/aarch64/libm-test-ulps: Regenerate.
11881
11882 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
11883
11884         [BZ #16275]
11885         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
11886         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
11887         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
11888         Intel MPX bound registers before _dl_profile_fixup.
11889         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
11890         registers after _dl_profile_fixup.  Save and restore bound
11891         registers bnd0/bnd1 when calling _dl_call_pltexit.
11892         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
11893         (LR_BND_OFFSET): Likewise.
11894         (LRV_BND0_OFFSET): Likewise.
11895         (LRV_BND1_OFFSET): Likewise.
11896
11897 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11898
11899         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
11900         to...
11901         * sysdeps/mach/hurd/i386/tls.h: ... here.
11902         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
11903         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
11904         fields.
11905
11906 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11907
11908         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
11909
11910 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
11911
11912         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
11913
11914 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
11915
11916         [BZ #14770]
11917         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
11918         * sysdeps/s390/configure: Regenerate.
11919
11920         [BZ #16824]
11921         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
11922         Set round-to-nearest internally to reduce error accumulation.
11923
11924 2014-04-16  Alan Modra  <amodra@gmail.com>
11925
11926         [BZ #16740]
11927         [BZ #16619]
11928         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
11929         * math/libm-test.inc (frexp_test_data): Add tests.
11930         * NEWS: Update fixed bug list.
11931
11932 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
11933
11934         * benchtests/Makefile: Depend on libraries in build directory.
11935         (bench-math): Separate out math tests.
11936         (bench-pthread): Separate out pthread tests.
11937         (bench): Include math and pthread tests.
11938
11939 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
11940
11941         [BZ #16831]
11942         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
11943         _dl_debug_initialize.
11944
11945         * configure.ac: Remove SELinux header check.
11946         * configure: Regenerate.
11947         * nscd/selinux.c (perms): Array of const char* to permission names.
11948         (nscd_request_avc_has_perm): Call security_deny_unknown to find
11949         default policy. Call string_to_security_class and string_to_av_perm to
11950         translate strings. Enforce default policy and call avs_has_perm with
11951         results of translated strings.
11952
11953 2014-04-13  David S. Miller  <davem@davemloft.net>
11954
11955         * sysdeps/sparc/fpu/libm-test-ulps: Update.
11956
11957 2014-04-12  Allan McRae  <allan@archlinux.org>
11958
11959         [BZ #16838]
11960         * manual/string.texi (Collation Functions): Fix qsort argument
11961         order in example.
11962         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
11963
11964 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
11965
11966         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
11967         Make the test a no-op if there are no exceptions defined.
11968
11969 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
11970
11971         * elf/Makefile (tests): make tst-dlopen-aout conditional on
11972         enable-hardcoded-path-in-tests
11973
11974 2014-04-11  Will Newton  <will.newton@linaro.org>
11975
11976         * benchtests/Makefile (extra-objs): Add json-lib.o.
11977         (bench-func): Tidy up JSON output.
11978         * benchtests/bench-skeleton.c: Include json-lib.h.
11979         (main): Use JSON library functions to do output of
11980         benchmark results.
11981         * benchtests/bench-timing-type.c (main): Output the
11982         timing type simply, leaving formatting to the user.
11983         * benchtests/json-lib.c: New file.
11984         * benchtests/json-lib.h: Likewise.
11985
11986 2014-04-11  Torvald Riegel  <triegel@redhat.com>
11987
11988         [BZ #15215]
11989         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
11990         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
11991         memory barriers.  Add comments.
11992         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
11993         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
11994         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
11995         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
11996         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
11997         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
11998
11999 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
12000
12001         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
12002         * sysdeps/s390/s390-64/configure.ac: ... this ...
12003         * sysdeps/s390/configure.ac: ... to here.
12004         * sysdeps/s390/s390-32/configure: Delete file.
12005         * sysdeps/s390/s390-64/configure: Delete file.
12006         * sysdeps/s390/configure: Regenerate.
12007
12008 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
12009
12010         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
12011
12012 2014-04-11  Will Newton  <will.newton@linaro.org>
12013
12014         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
12015         to zero if it is not defined elsewhere.  (mtrim): Test
12016         the value of MALLOC_DEBUG with #if rather than #ifdef.
12017
12018 2014-04-10 Torvald Riegel  <triegel@redhat.com>
12019
12020         * benchtests/pthread_once-inputs: New file.
12021         * benchtests/pthread_once-source.c: New file.
12022         * benchtests/README: Update documentation.
12023
12024 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
12025             H.J. Lu  <hongjiu.lu@intel.com>
12026
12027         [BZ #16275]
12028         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
12029         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
12030         * sysdeps/x86_64/configure: Regenerated.
12031         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
12032         macro.
12033         (REGISTER_SAVE_RAX): Likewise.
12034         (REGISTER_SAVE_RCX): Likewise.
12035         (REGISTER_SAVE_RDX): Likewise.
12036         (REGISTER_SAVE_RSI): Likewise.
12037         (REGISTER_SAVE_RDI): Likewise.
12038         (REGISTER_SAVE_R8): Likewise.
12039         (REGISTER_SAVE_R9): Likewise.
12040         (REGISTER_SAVE_BND0): Likewise.
12041         (REGISTER_SAVE_BND1): Likewise.
12042         (REGISTER_SAVE_BND2): Likewise.
12043         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
12044         bound registers when calling _dl_fixup.
12045
12046 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12047
12048         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
12049         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
12050         of its definition.
12051         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
12052         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
12053         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
12054         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
12055         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
12056         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
12057         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
12058
12059 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
12060
12061         [BZ #15514]
12062         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
12063         pathconf(_PC_NAME_MAX).
12064
12065 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12066
12067         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
12068         Remove macro usage.
12069         (__PTHREAD_SPINS): Move definition to ...
12070         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
12071         (__PTHREAD_SPINS): ... here.
12072         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
12073         (__PTHREAD_SPIN): Likewise.
12074         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
12075         (__PTHREAD_SPIN): Likewise.
12076         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
12077         (__PTHREAD_SPIN): Likewise.
12078         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
12079         (__PTHREAD_SPIN): Likewise.
12080         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
12081         (__PTHREAD_SPIN): Likewise.
12082         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
12083         (__PTHREAD_SPIN): Likewise.
12084         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
12085         (__PTHREAD_SPIN): Likewise.
12086         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
12087         (__PTHREAD_SPIN): Likewise.
12088         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
12089         (__PTHREAD_SPIN): Likewise.
12090         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
12091         (__PTHREAD_SPIN): Likewise.
12092         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
12093         (__PTHREAD_SPIN): Likewise.
12094         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
12095         (__PTHREAD_SPIN): Likewise.
12096
12097         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
12098         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
12099         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
12100         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
12101         imply folder.
12102         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
12103         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
12104         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
12105         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
12106         correct imply path.
12107         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
12108         strlen symbol for non multi-arch builds.
12109         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
12110         missing hidden_def and weak_alias.
12111
12112 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
12113
12114         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
12115
12116 2014-04-07  Will Newton  <will.newton@linaro.org>
12117
12118         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
12119         and contents.  [!_LIBC] Remove #ifndef and contents.
12120         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
12121         * string/memccpy.c (__memccpy): Use ANSI prototype.
12122         * string/memfrob.c (memfrob): Likewise.
12123         * string/strcoll.c (STRCOLL): Likewise.
12124         * string/strlen.c (strlen): Likewise.
12125         * string/strtok.c (STRTOK): Likewise.
12126         * string/strcat.c: Remove unused #include of memcopy.h.
12127         (strcat): Use ANSI prototype.
12128         * string/strchr.c: Remove unused #include of memcopy.h.
12129         (strchr): Use ANSI prototype.
12130         * string/strcmp.c: Remove unused #include of memcopy.h.
12131         (strcmp): Use ANSI prototype.
12132         * string/strcpy.c: Remove unused #include of memcopy.h.
12133         (strcpy): Use ANSI prototype.
12134
12135 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12136
12137         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
12138         * config.make.in (config-extra-cppflags): Set it from
12139         libc_extra_cppflags.
12140         * configure.ac (libc_extra_cflags): Make it accumulate over
12141         configure fragments.
12142         (libc_extra_cppflags): New flag.
12143         * configure. Regenerate.
12144         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
12145         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
12146         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
12147         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
12148
12149         [BZ #16815]
12150         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
12151         result for FE_DOWNWARD rounding mode.
12152         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
12153         Likewise.
12154         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12155
12156 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
12157
12158         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
12159         in function argument name.
12160
12161 2014-04-03  David Svoboda  <svoboda@cert.org>
12162
12163         [BZ #5666]
12164         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
12165         explicitly.
12166
12167 2014-04-03  Roland McGrath  <roland@hack.frob.com>
12168
12169         * elf/dl-unmap-segments.h: New file.
12170         * sysdeps/generic/ldsodefs.h
12171         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
12172         * elf/dl-close.c: Include <dl-unmap-segments.h>.
12173         * elf/dl-fptr.c: Likewise.
12174         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
12175         * sysdeps/aarch64/tlsdesc.c: Likewise.
12176         * sysdeps/arm/tlsdesc.c: Likewise.
12177         * sysdeps/i386/tlsdesc.c: Likewise.
12178         * sysdeps/tile/dl-runtime.c: Likewise.
12179         * sysdeps/x86_64/tlsdesc.c: Likewise.
12180         * elf/dl-load.h: New file.
12181         * elf/dl-load.c: Include it.
12182         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
12183         Macros moved to dl-load.h.
12184         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
12185         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
12186         Use _dl_unmap_segments in place of __munmap.
12187         Break out segment-mapping loop into ...
12188         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
12189
12190 2014-04-03  Will Newton  <will.newton@linaro.org>
12191
12192         * elf/dl-lookup.c (do_lookup_x): Remove comment
12193         referring to nested function and move variable
12194         declarations down to before first use.
12195
12196 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
12197
12198         [BZ #16799]
12199         [BZ #16800]
12200         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
12201         with 0 numerator.
12202         * math/s_catanf.c (__catanf): Likewise.
12203         * math/s_catanh.c (__catanh): Likewise.
12204         * math/s_catanhf.c (__catanhf): Likewise.
12205         * math/s_catanhl.c (__catanhl): Likewise.
12206         * math/s_catanl.c (__catanl): Likewise.
12207         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
12208         by positive zero when computing -Inf result.
12209         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
12210         (catanh_test): Likewise.
12211         * sysdeps/i386/fpu/libm-test-ulps: Update.
12212         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12213
12214         [BZ #16789]
12215         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
12216         instead of using underflowing value in computing result.
12217         * math/s_clog10.c (__clog10): Likewise.
12218         * math/s_clog10f.c (__clog10f): Likewise.
12219         * math/s_clog10l.c (__clog10l): Likewise.
12220         * math/s_clogf.c (__clogf): Likewise.
12221         * math/s_clogl.c (__clogl): Likewise.
12222         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
12223         (clog10_test): Likewise.
12224         * sysdeps/i386/fpu/libm-test-ulps: Update.
12225         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12226
12227 2014-04-02  Alan Modra  <amodra@gmail.com>
12228
12229         [BZ #16739]
12230         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
12231         output when value is near a power of two.  Use int64_t for lx and
12232         remove casts.  Use decimal rather than hex exponent constants.
12233         Don't use long double multiplication when double will suffice.
12234         * math/libm-test.inc (nextafter_test_data): Add tests.
12235         * NEWS: Add 16739 and 16786 to bug list.
12236
12237         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
12238
12239         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
12240
12241 2014-04-01  Will Newton  <will.newton@linaro.org>
12242
12243         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
12244         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
12245
12246 2014-04-01  Florian Weimer  <fweimer@redhat.com>
12247
12248         [BZ #13347]
12249         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
12250         * nptl/tst-setuid2.c: New file.
12251         * nptl/Makefile (xtests): Add tst-setuid2.
12252
12253 2014-04-01  Alan Modra  <amodra@gmail.com>
12254
12255         [BZ #16786]
12256         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
12257
12258 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
12259
12260         [BZ #6803]
12261         [BZ #6804]
12262         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
12263         set errno as appropriate.
12264         * math/w_scalbf.c (__scalbf): Likewise.
12265         * math/w_scalbl.c (__scalbl): Likewise.
12266         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
12267         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
12268         * math/libm-test.inc (scalb_test_data): Add errno expectations.
12269         Add more NaN tests.
12270
12271         [BZ #16349]
12272         * math/w_atan2.c: Include <errno.h>.
12273         (__atan2): Set errno for result underflowing to zero.
12274         * math/w_atan2f.c: Include <errno.h>.
12275         (__atan2f): Set errno for result underflowing to zero.
12276         * math/w_atan2l.c: Include <errno.h>.
12277         (__atan2l): Set errno for result underflowing to zero.
12278         * math/auto-libm-test-in: Don't allow missing errno for some atan2
12279         tests.
12280         * math/auto-libm-test-out: Regenerated.
12281
12282 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12283
12284         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
12285         Encode instruction correctly in little endian.
12286         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
12287         Likewise.
12288         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
12289         Likewise.
12290         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
12291         Likewise.
12292         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
12293         Likewise.
12294
12295 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
12296
12297         [BZ #9894]
12298         * sysdeps/unix/sysv/linux/kernel-features.h
12299         [__sparc__ && !__arch64__ && !__sparc_v9__]
12300         (__ASSUME_SET_ROBUST_LIST): Do not define.
12301         [__sparc__ && !__arch64__ && !__sparc_v9__]
12302         (__ASSUME_FUTEX_LOCK_PI): Likewise.
12303         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
12304         Likewise.
12305         * sysdeps/unix/sysv/linux/arm/kernel-features.h
12306         (__ASSUME_FUTEX_LOCK_PI): Undefine.
12307         (__ASSUME_REQUEUE_PI): Likewise.
12308         (__ASSUME_SET_ROBUST_LIST): Likewise.
12309         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
12310         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
12311         Undefine.
12312         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12313         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
12314         Likewise.
12315         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
12316         Likewise.
12317         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
12318         Likewise.
12319         * sysdeps/unix/sysv/linux/mips/kernel-features.h
12320         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
12321         Undefine.
12322         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
12323         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
12324         Likewise.
12325
12326         [BZ #16648]
12327         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12328         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
12329         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
12330
12331 2014-03-31  Will Newton  <will.newton@linaro.org>
12332
12333         * benchtests/Makefile (bench): Add ffs and ffsll to list
12334         of tests.
12335         * benchtests/ffs-inputs: New file.
12336         * benchtests/ffsll-inputs: Likewise.
12337
12338 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
12339
12340         [BZ #16770]
12341         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
12342         too large before casting to int.
12343         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
12344         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
12345         * math/libm-test.inc (scalb_test_data): Add more tests.
12346
12347 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
12348
12349         * benchtests/Makefile (DETAILED_OPT): New make option.
12350         (bench-func): Run benchmark program with -d if DETAILED_OPT is
12351         set.
12352         * benchtests/bench-skeleton.c: Include stdbool.h.
12353         (main): Store and print timings per input.
12354         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
12355         member to each argument value.
12356         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
12357         (_print_arg_data): Initialize per-input timing to 0.
12358
12359         * benchtests/Makefile (timing-type): New binary.
12360         (bench-clean): Also remove bench-timing-type.
12361         (bench): New target for timing-type.
12362         (bench-func): Print output in JSON format.
12363         * benchtests/bench-skeleton.c (main): Print output in JSON
12364         format.
12365         * benchtests/bench-timing-type.c: New file.
12366         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
12367         (TIMING_PRINT_STATS): Remove.
12368         * benchtests/scripts/bench.py (_print_arg_data): Store variant
12369         name separately.
12370
12371         * benchtests/bench-modf.c: Remove.
12372         * benchtests/modf-inputs: New inputs file.
12373
12374 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
12375
12376         [BZ #16362]
12377         * math/s_clog10.c (M_PI_LOG10E): New macro.
12378         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
12379         imaginary parts are 0.
12380         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
12381         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
12382         imaginary parts are 0.
12383         * math/s_clog10l.c (M_PI_LOG10El): New macro.
12384         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
12385         imaginary parts are 0.
12386         * math/libm-test.inc (clog10_test_data): Update expected results
12387         for when real and imaginary parts are 0.
12388
12389 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
12390
12391         * elf/dl-load.c: Finish conversion of __builtin_expect into
12392         __glibc_{un}likely.
12393
12394 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
12395
12396         [BZ #16348]
12397         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
12398         1+x for argument with exponent below -67.
12399         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
12400         Likewise.
12401         * math/auto-libm-test-in: Add more tests of exp.
12402         * math/auto-libm-test-out: Regenerated.
12403
12404 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
12405
12406         [BZ #16759]
12407         * inet/getnetgrent_r.c (get_nonempty_val): New function.
12408         (nscd_getnetgrent): Use it.
12409
12410         [BZ #16760]
12411         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
12412         of stpcpy.
12413
12414 2014-03-27  Andi Kleen  <ak@linux.intel.com>
12415
12416         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
12417         (lll_robust_lock, lll_cond_lock, lll_timedlock)
12418         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
12419         (lll_robust_unlock): Remove out of line section. Use cfi
12420         intrinsics.
12421         (LLL_STUB_UNWIND_INFO*): Remove.
12422         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
12423         (lll_robust_lock, lll_cond_lock, lll_timedlock)
12424         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
12425         (lll_robust_unlock): Remove out of line section. Use cfi
12426         intrinsics.
12427         (LLL_STUB_UNWIND_INFO*): Remove.
12428
12429 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
12430
12431         [BZ #16758]
12432         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
12433         blank values.
12434
12435 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
12436
12437         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
12438
12439 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
12440
12441         [BZ #16198]
12442         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
12443         fnstenv.
12444         * math/test-fenv-preserve.c: New file.
12445         * math/Makefile (tests): Add test-fenv-preserve.
12446
12447 2014-03-26  Will Newton <will.newton@linaro.org>
12448
12449         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
12450
12451 2014-03-25  Roland McGrath  <roland@hack.frob.com>
12452
12453         * scripts/versionlist.awk: Partition the version sets and emit all
12454         GLIBC_* (sorted) before all others (sorted).
12455
12456 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
12457
12458         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
12459         GLIBC_2.2.5 version.
12460
12461 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12462
12463         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
12464         calls.
12465
12466         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
12467         previous change.
12468
12469         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12470
12471 2014-03-25  Andreas Schwab  <schwab@suse.de>
12472
12473         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
12474         label to be used after in6ailist is initialized.
12475
12476 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12477
12478         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
12479         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
12480
12481 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
12482
12483         [BZ #16357]
12484         [BZ #16599]
12485         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
12486         min_plus_half.
12487         (fp_formats): Update initializers.
12488         (init_fp_formats): Initialize new field.
12489         (output_for_one_input_case): Allow underflow for results up to
12490         min_plus_half.
12491         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
12492         * math/auto-libm-test-in: Don't mark some underflows from asin and
12493         atanh as spurious.
12494         * math/auto-libm-test-out: Regenerated.
12495         * sysdeps/i386/fpu/libm-test-ulps: Update.
12496         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12497
12498 2014-03-25  Andreas Schwab  <schwab@suse.de>
12499
12500         * libio/Makefile (tst-ftell-partial-wide-ENV)
12501         (tst-ftell-active-handler-ENV): Define.
12502
12503 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
12504
12505         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
12506
12507 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
12508
12509         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
12510
12511 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
12512
12513         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
12514         * sysdeps/x86_64/fpu/multiarch/e_exp.c
12515         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
12516
12517 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
12518
12519         [BZ #16634]
12520         * elf/dl-load.c (open_verify): Add mode parameter.
12521         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
12522         (open_path): Change from boolean 'secure' to complete flag 'mode'
12523         (_dl_map_object): Adjust.
12524         * elf/Makefile (tests): Add tst-dlopen-aout.
12525         * elf/tst-dlopen-aout.c: New test.
12526
12527 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
12528
12529         [BZ #16714]
12530         * sysdeps/unix/sysv/linux/s390/bits/stat.h
12531         (struct stat): Rename member pad0 to __glibc_reserved0.
12532
12533         [BZ #16712]
12534         * sysdeps/s390/s390-32/bits/wordsize.h
12535         (__WORDSIZE32_SIZE_ULONG): New define.
12536         * sysdeps/s390/s390-64/bits/wordsize.h
12537         (__WORDSIZE32_SIZE_ULONG): Likewise.
12538         * sysdeps/generic/stdint.h (SIZE_MAX):
12539         Define as UL if __WORDSIZE32_SIZE_ULONG.
12540
12541         [BZ #16713]
12542         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
12543         (__glibc_reserved0): New variable.
12544         (sa_flags): Change type to int.
12545
12546         * posix/Makefile (before-compile): Use += before-compile instead
12547         of a :=.
12548
12549         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
12550         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
12551
12552 2014-03-20  Andreas Schwab  <schwab@suse.de>
12553
12554         [BZ #16743]
12555         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
12556         non-matching result from nscd.
12557
12558 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
12559
12560         * scripts/bench.py: Moved to ...
12561         * benchtests/scripts/bench.py: ... here.
12562         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
12563
12564 2014-03-24  Andreas Schwab  <schwab@suse.de>
12565
12566         [BZ #16002]
12567         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
12568         alloca_account and account alloca use for struct in6ailist.
12569
12570 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
12571
12572         [BZ #16284]
12573         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
12574         rounding mode to recompute results that overflow to infinity or
12575         underflow to zero.
12576         * math/auto-libm-test-in: Don't mark tests as expected to fail for
12577         bug 16284.
12578         * math/auto-libm-test-out: Regenerated.
12579         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
12580         (ccosh_test): Likewise.
12581         (csin_test_data): Use plus_oflow.
12582         (csin_test): Use ALL_RM_TEST.
12583         (csinh_test_data): Use plus_oflow.
12584         (csinh_test): Use ALL_RM_TEST.
12585         * sysdeps/i386/fpu/libm-test-ulps: Update.
12586         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12587
12588 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
12589
12590         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
12591         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
12592         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
12593
12594         [BZ #16731]
12595         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
12596         when x - 1 is zero.
12597         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
12598         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
12599         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
12600         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
12601         argument is 1.
12602         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
12603         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
12604         zero.
12605         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
12606         * sysdeps/i386/fpu/libm-test-ulps: Update.
12607         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12608
12609 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
12610
12611         * scripts/bench.pl: Remove file.
12612         * scripts/bench.py: New benchmark script.
12613         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
12614         * benchtests/README: Mention python dependency.
12615         * scripts/pylintrc: New file.
12616         * scripts/pylint: New file.
12617
12618         * bits/mathdef.h: Use #ifdef instead of #if.
12619         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
12620         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
12621         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
12622         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
12623         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
12624         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
12625
12626 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12627             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
12628
12629         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
12630         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
12631         and strpbrk-ppc64 objects.
12632         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12633         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
12634         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
12635         multiarch strpbrk for POWER7.
12636         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
12637         multiarch strpbrk for PPC64.
12638         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
12639         ifunc selector.
12640         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
12641         strpbrk for POWER7.
12642
12643 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
12644
12645         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
12646         (atan_test): Likewise.
12647         (atanh_test_data): Use NO_TEST_INLINE for two tests.
12648         (atanh_test): Use ALL_RM_TEST.
12649         (atan2_test_data): Likewise.
12650         (cabs_test): Likewise.
12651         (cacosh_test): Likewise.
12652         (carg_test): Likewise.
12653         (casin_test): Likewise.
12654         (casinh_test): Likewise.
12655         (cbrt_test): Likewise.
12656         (csqrt_test): Likewise.
12657         (erf_test): Likewise.
12658         (erfc_test): Likewise.
12659         (pow10_test): Likewise.
12660         (exp2_test): Likewise.
12661         (hypot_test): Likewise.
12662         (j0_test): Likewise.
12663         (j1_test): Likewise.
12664         (lgamma_test): Likewise.
12665         (gamma_test): Likewise.
12666         (sincos_test): Likewise.
12667         (tanh_test): Likewise.
12668         (y0_test): Likewise.
12669         (y1_test): Likewise.
12670         * sysdeps/i386/fpu/libm-test-ulps: Update.
12671         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12672
12673 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12674
12675         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
12676         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
12677         and strcspn-ppc64 objects.
12678         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12679         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
12680         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
12681         multiarch strcspn for POWER7.
12682         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
12683         multiarch strcspn for PPC64.
12684         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
12685         ifunc selector.
12686         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
12687         strcspn for POWER7.
12688
12689 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
12690
12691         * math/gen-libm-test.pl (generate_testfile): Expect only function
12692         name as argument to AUTO_TESTS_* and pass results for all rounding
12693         modes to parse_args.
12694         (parse_auto_input): Separate inputs of automatic tests from
12695         outputs before storing in %auto_tests.
12696         * math/libm-test.inc (acos_test_data): Update call to
12697         AUTO_TESTS_f_f.
12698         (acos_test): Use ALL_RM_TEST.
12699         (acos_tonearest_test_data): Remove.
12700         (acos_test_tonearest): Likewise.
12701         (acos_towardzero_test_data): Likewise.
12702         (acos_test_towardzero): Likewise.
12703         (acos_downward_test_data): Likewise.
12704         (acos_test_downward): Likewise.
12705         (acos_upward_test_data): Likewise.
12706         (acos_test_upward): Likewise.
12707         (acosh_test_data): Update call to AUTO_TESTS_f_f.
12708         (asin_test_data): Likewise.
12709         (asin_test): Use ALL_RM_TEST.
12710         (asin_tonearest_test_data): Remove.
12711         (asin_test_tonearest): Likewise.
12712         (asin_towardzero_test_data): Likewise.
12713         (asin_test_towardzero): Likewise.
12714         (asin_downward_test_data): Likewise.
12715         (asin_test_downward): Likewise.
12716         (asin_upward_test_data): Likewise.
12717         (asin_test_upward): Likewise.
12718         (asinh_test_data): Update call to AUTO_TESTS_f_f.
12719         (atan_test_data): Likewise.
12720         (atanh_test_data): Likewise.
12721         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
12722         (cabs_test_data): Update call to AUTO_TESTS_c_f.
12723         (carg_test_data): Likewise.
12724         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
12725         (ccos_test_data): Update call to AUTO_TESTS_c_c.
12726         (ccosh_test_data): Likewise.
12727         (cexp_test_data): Likewise.
12728         (clog_test_data): Likewise.
12729         (clog10_test_data): Likewise.
12730         (cos_test_data): Update call to AUTO_TESTS_f_f.
12731         (cos_test): Use ALL_RM_TEST.
12732         (cos_tonearest_test_data): Remove.
12733         (cos_test_tonearest): Likewise.
12734         (cos_towardzero_test_data): Likewise.
12735         (cos_test_towardzero): Likewise.
12736         (cos_downward_test_data): Likewise.
12737         (cos_test_downward): Likewise.
12738         (cos_upward_test_data): Likewise.
12739         (cos_test_upward): Likewise.
12740         (cosh_test_data): Update call to AUTO_TESTS_f_f.
12741         (cosh_test): Use ALL_RM_TEST.
12742         (cosh_tonearest_test_data): Remove.
12743         (cosh_test_tonearest): Likewise.
12744         (cosh_towardzero_test_data): Likewise.
12745         (cosh_test_towardzero): Likewise.
12746         (cosh_downward_test_data): Likewise.
12747         (cosh_test_downward): Likewise.
12748         (cosh_upward_test_data): Likewise.
12749         (cosh_test_upward): Likewise.
12750         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
12751         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
12752         (ctan_test_data): Likewise.
12753         (ctan_test): Use ALL_RM_TEST.
12754         (ctan_tonearest_test_data): Remove.
12755         (ctan_test_tonearest): Likewise.
12756         (ctan_towardzero_test_data): Likewise.
12757         (ctan_test_towardzero): Likewise.
12758         (ctan_downward_test_data): Likewise.
12759         (ctan_test_downward): Likewise.
12760         (ctan_upward_test_data): Likewise.
12761         (ctan_test_upward): Likewise.
12762         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
12763         (ctanh_test): Use ALL_RM_TEST.
12764         (ctanh_tonearest_test_data): Remove.
12765         (ctanh_test_tonearest): Likewise.
12766         (ctanh_towardzero_test_data): Likewise.
12767         (ctanh_test_towardzero): Likewise.
12768         (ctanh_downward_test_data): Likewise.
12769         (ctanh_test_downward): Likewise.
12770         (ctanh_upward_test_data): Likewise.
12771         (ctanh_test_upward): Likewise.
12772         (erf_test_data): Update call to AUTO_TESTS_f_f.
12773         (erfc_test_data): Likewise.
12774         (exp_test_data): Likewise.
12775         (exp_test): Use ALL_RM_TEST.
12776         (exp_tonearest_test_data): Remove.
12777         (exp_test_tonearest): Likewise.
12778         (exp_towardzero_test_data): Likewise.
12779         (exp_test_towardzero): Likewise.
12780         (exp_downward_test_data): Likewise.
12781         (exp_test_downward): Likewise.
12782         (exp_upward_test_data): Likewise.
12783         (exp_test_upward): Likewise.
12784         (exp10_test_data): Update call to AUTO_TESTS_f_f.
12785         (exp10_test): Use ALL_RM_TEST.
12786         (exp10_tonearest_test_data): Remove.
12787         (exp10_test_tonearest): Likewise.
12788         (exp10_towardzero_test_data): Likewise.
12789         (exp10_test_towardzero): Likewise.
12790         (exp10_downward_test_data): Likewise.
12791         (exp10_test_downward): Likewise.
12792         (exp10_upward_test_data): Likewise.
12793         (exp10_test_upward): Likewise.
12794         (exp2_test_data): Update call to AUTO_TESTS_f_f.
12795         (expm1_test_data): Likewise.
12796         (expm1_test): Use ALL_RM_TEST.
12797         (expm1_tonearest_test_data): Remove.
12798         (expm1_test_tonearest): Likewise.
12799         (expm1_towardzero_test_data): Likewise.
12800         (expm1_test_towardzero): Likewise.
12801         (expm1_downward_test_data): Likewise.
12802         (expm1_test_downward): Likewise.
12803         (expm1_upward_test_data): Likewise.
12804         (expm1_test_upward): Likewise.
12805         (fma_test_data): Update call to AUTO_TESTS_fff_f.
12806         (fma_test): Use ALL_RM_TEST.
12807         (fma_towardzero_test_data): Remove.
12808         (fma_test_towardzero): Likewise.
12809         (fma_downward_test_data): Likewise.
12810         (fma_test_downward): Likewise.
12811         (fma_upward_test_data): Likewise.
12812         (fma_test_upward): Likewise.
12813         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
12814         (j0_test_data): Update call to AUTO_TESTS_f_f.
12815         (j1_test_data): Likewise.
12816         (jn_test_data): Update call to AUTO_TESTS_if_f.
12817         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
12818         (log_test_data): Update call to AUTO_TESTS_f_f.
12819         (log10_test_data): Likewise.
12820         (log1p_test_data): Likewise.
12821         (log2_test_data): Likewise.
12822         (pow_test_data): Update call to AUTO_TESTS_ff_f.
12823         (pow_tonearest_test_data): Likewise.
12824         (sin_test_data): Update call to AUTO_TESTS_f_f.
12825         (sin_test): Use ALL_RM_TEST.
12826         (sin_tonearest_test_data): Remove.
12827         (sin_test_tonearest): Likewise.
12828         (sin_towardzero_test_data): Likewise.
12829         (sin_test_towardzero): Likewise.
12830         (sin_downward_test_data): Likewise.
12831         (sin_test_downward): Likewise.
12832         (sin_upward_test_data): Likewise.
12833         (sin_test_upward): Likewise.
12834         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
12835         (sinh_test_data): Update call to AUTO_TESTS_f_f.
12836         (sinh_test): Use ALL_RM_TEST.
12837         (sinh_tonearest_test_data): Remove.
12838         (sinh_test_tonearest): Likewise.
12839         (sinh_towardzero_test_data): Likewise.
12840         (sinh_test_towardzero): Likewise.
12841         (sinh_downward_test_data): Likewise.
12842         (sinh_test_downward): Likewise.
12843         (sinh_upward_test_data): Likewise.
12844         (sinh_test_upward): Likewise.
12845         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
12846         (sqrt_test): Use ALL_RM_TEST.
12847         (sqrt_tonearest_test_data): Remove.
12848         (sqrt_test_tonearest): Likewise.
12849         (sqrt_towardzero_test_data): Likewise.
12850         (sqrt_test_towardzero): Likewise.
12851         (sqrt_downward_test_data): Likewise.
12852         (sqrt_test_downward): Likewise.
12853         (sqrt_upward_test_data): Likewise.
12854         (sqrt_test_upward): Likewise.
12855         (tan_test_data): Update call to AUTO_TESTS_f_f.
12856         (tan_test): Use ALL_RM_TEST.
12857         (tan_tonearest_test_data): Remove.
12858         (tan_test_tonearest): Likewise.
12859         (tan_towardzero_test_data): Likewise.
12860         (tan_test_towardzero): Likewise.
12861         (tan_downward_test_data): Likewise.
12862         (tan_test_downward): Likewise.
12863         (tan_upward_test_data): Likewise.
12864         (tan_test_upward): Likewise.
12865         (tanh_test_data): Update call to AUTO_TESTS_f_f.
12866         (tgamma_test_data): Likewise.
12867         (y0_test_data): Likewise.
12868         (y1_test_data): Likewise.
12869         (yn_test_data): Update call to AUTO_TESTS_if_f.
12870         (main): Do not call removed functions.
12871
12872 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
12873
12874         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
12875         (ldexp_test_data): Remove.
12876         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
12877         scalbn_test_data.
12878         (scalb_test): Use ALL_RM_TEST.
12879
12880 2014-03-19  Andreas Schwab  <schwab@suse.de>
12881
12882         * nscd/nscd.service: Also invalidate netgroup cache on reload.
12883
12884 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
12885
12886         [BZ #16649]
12887         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12888         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
12889         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
12890         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12891         (__ASSUME_PREADV): Undefine.
12892         (__ASSUME_PWRITEV): Likewise.
12893
12894 2014-03-18  Roland McGrath  <roland@hack.frob.com>
12895
12896         * bits/mman-linux.h: Add comment about non-Linux use.
12897         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
12898         bits/mman-linux.h resting place.
12899
12900         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
12901         * bits/mman-linux.h: ... here.
12902
12903 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12904
12905         * conform/conformtest.pl: Add standard definition when calling C
12906         preprocessor on data files.
12907         (checknamespace): Remove unused variable.
12908
12909 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
12910
12911         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
12912         minus_oflow, plus_uflow and minus_uflow in expected results.
12913         * math/libm-test.inc (scalbn_test_data): Add more tests of
12914         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
12915         minus_uflow.
12916         (scalbn_test): Use ALL_RM_TEST.
12917         (scalbln_test_data): Add more tests of negative arguments.  Use
12918         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
12919         (scalbln_test): Use ALL_RM_TEST.
12920
12921 2014-03-18  Roland McGrath  <roland@hack.frob.com>
12922
12923         * scripts/abilist.awk: Ignore symbols marked with .hidden.
12924
12925 2014-03-18  Will Newton  <will.newton@linaro.org>
12926
12927         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
12928         inaccurate comment.
12929
12930 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
12931
12932         * Makerules [!subdir] (check-abi): Exit with error status if a
12933         test failed.
12934
12935 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
12936
12937         * math/libm-test.inc (nearbyint_test_data): Include all tests used
12938         for rint.  Include results for all rounding modes.
12939         (nearbyint_test): Use ALL_RM_TEST.
12940         (rint_test_data): Include all tests used for nearbyint.
12941
12942 2014-03-17  Will Newton  <will.newton@linaro.org>
12943
12944         * nptl/sysdeps/pthread/pthread.h: Revert previous
12945         change.
12946
12947         * sysdeps/generic/ldsodefs.h: Revert previous
12948         change.
12949
12950         * libio/genops.c: Revert previous change.
12951         * libio/libioP.h: Likewise.
12952         * stdio-common/vfprintf.c: Likewise.
12953
12954         * sysdeps/generic/math_private.h: Revert previous
12955         change.
12956
12957         * sysdeps/generic/math_private.h: Check whether
12958         HAVE_RM_CTX is defined with #ifdef rather
12959         than #if.
12960
12961         * argp/argp-fmtstream.h: Check whether
12962         __STRICT_ANSI__ is defined with #ifdef rather
12963         than #if.
12964         * argp/argp.h: Likewise.
12965
12966         * libio/genops.c: Check whether
12967         _IO_JUMPS_OFFSET is defined with #ifdef rather
12968         than #if.
12969         * libio/libioP.h: Likewise.
12970         * stdio-common/vfprintf.c: Likewise.
12971
12972         * sysdeps/generic/ldsodefs.h: Check whether
12973         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
12974         than #if.
12975
12976         * nptl/sysdeps/pthread/pthread.h: Check
12977         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
12978         its value.
12979
12980 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
12981
12982         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
12983         setting O_APPEND.
12984         * libio/tst-ftell-active-handler.c (do_append_test): Add a
12985         test case.
12986
12987         [BZ #16680]
12988         * libio/fileops.c (_IO_file_open): Seek to end of file but
12989         don't cache the offset.
12990         (get_file_offset): Remove function.
12991         (do_ftell): Use cached offset when available.
12992         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
12993         don't cache the offset.
12994         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
12995         case.
12996         (do_one_test): Call it.
12997         (do_ftell_test): Fix up expected old offset for a+ mode.
12998         * libio/wfileops.c (do_ftell_wide): Used cached offset when
12999         available.
13000
13001         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
13002         up test status with function return status.
13003         (do_write_test): Likewise.
13004         (do_append_test): Likewise.
13005
13006         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
13007         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
13008         Remove.
13009
13010 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
13011
13012         * math/gen-libm-test.pl (parse_args): Handle results specified for
13013         each rounding mode separately.
13014         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
13015         tests and results from lrint_tonearest_test_data,
13016         lrint_towardzero_test_data, lrint_downward_test_data and
13017         lrint_upward_test_data.
13018         (lrint_test): Use ALL_RM_TEST.
13019         (lrint_tonearest_test_data): Remove.
13020         (lrint_test_tonearest): Likewise.
13021         (lrint_towardzero_test_data): Likewise.
13022         (lrint_test_towardzero): Likewise.
13023         (lrint_downward_test_data): Likewise.
13024         (lrint_test_downward): Likewise.
13025         (lrint_upward_test_data): Likewise.
13026         (lrint_test_upward): Likewise.
13027         (llrint_test_data): Merge in per-rounding-mode tests and results
13028         from llrint_tonearest_test_data, llrint_towardzero_test_data,
13029         llrint_downward_test_data and llrint_upward_test_data.
13030         (llrint_test): Use ALL_RM_TEST.
13031         (llrint_tonearest_test_data): Remove.
13032         (llrint_test_tonearest): Likewise.
13033         (llrint_towardzero_test_data): Likewise.
13034         (llrint_test_towardzero): Likewise.
13035         (llrint_downward_test_data): Likewise.
13036         (llrint_test_downward): Likewise.
13037         (llrint_upward_test_data): Likewise.
13038         (llrint_test_upward): Likewise.
13039         (rint_test_data): Merge in per-rounding-mode tests and results
13040         from rint_tonearest_test_data, rint_towardzero_test_data,
13041         rint_downward_test_data and rint_upward_test_data.  Add
13042         per-rounding-mode results for tests not in those arrays.
13043         (rint_test): Use ALL_RM_TEST.
13044         (rint_tonearest_test_data): Remove.
13045         (rint_test_tonearest): Likewise.
13046         (rint_towardzero_test_data): Likewise.
13047         (rint_test_towardzero): Likewise.
13048         (rint_downward_test_data): Likewise.
13049         (rint_test_downward): Likewise.
13050         (rint_upward_test_data): Likewise.
13051         (rint_test_upward): Likewise.
13052         (main): Don't call removed functions.
13053
13054 2014-03-14  Roland McGrath  <roland@hack.frob.com>
13055
13056         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
13057         "Compiled on ..." crapola.  It is anti-useful.
13058
13059 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
13060
13061         * scripts/evaluate-test.sh: Handle fourth argument to determine
13062         whether test run should stop on failure.
13063         * Makeconfig (stop-on-test-failure): New variable.
13064         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
13065         $(stop-on-test-failure).
13066         * Makefile (tests): Give a summary of results from testing and
13067         exit with failure status if they include an ERROR or FAIL.
13068         (xtests): Likewise.
13069         * manual/install.texi (Configuring and compiling): Mention
13070         stop-on-test-failure=y.
13071         * INSTALL: Regenerated.
13072
13073 2014-03-14  Roland McGrath  <roland@hack.frob.com>
13074
13075         * scripts/versionlist.awk: New file.
13076         * Makerules [$(build-shared) = yes]
13077         (postclean-generated): Add Versions.def, not Versions.def.v and
13078         Versions.def.v.i.
13079         ($(common-objpfx)Versions.def.v.i): Target removed.
13080         ($(common-objpfx)Versions.def): New target.
13081         ($(common-objpfx)Versions.all): Depend on that rather that
13082         $(common-objpfx)Versions.def.v.
13083         * Versions.def: File removed.
13084
13085         * Makeconfig (+gccwarn): Add -Wundef.
13086         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
13087         a dl-sysdep.h breaking its contract.
13088         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
13089         * include/stackinfo.h: New file.
13090         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
13091         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
13092         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
13093         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
13094         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
13095         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
13096         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13097         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13098         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13099         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13100         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13101         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
13102         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13103         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13104         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13105
13106 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13107
13108         [BZ #16707]
13109         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
13110         implementation.
13111         * math/libm-test.inc (round_test_data): Add more tests.
13112
13113         [BZ #16706]
13114         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
13115         implementation.
13116         * math/libm-test.inc (nearbyint_test_data): Add more tests.
13117
13118         [BZ #16701]
13119         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
13120         implementation.
13121         * math/libm-test.inc (ceil_test_data): Add more tests.
13122
13123         * math/libm-test.inc (trunc_test_data): Add more tests related to
13124         BZ#16414.
13125
13126 2014-03-14  Roland McGrath  <roland@hack.frob.com>
13127
13128         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
13129         with #if rather than #ifdef.
13130         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
13131
13132 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
13133
13134         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
13135         first.  Disable AVX-512 GCC support if assembler doesn't support
13136         it.
13137         * sysdeps/x86_64/configure: Regenerated.
13138
13139 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
13140
13141         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
13142         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
13143         (__old_pthread_attr_setstack): Likewise.
13144         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
13145         [!_STACK_GROWS_DOWN]: Likewise.
13146
13147 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
13148
13149         * config.make.in (have-bash2): Delete.
13150         * configure.ac (libc_cv_have_bash2): Delete.
13151         * configure: Regenerate.
13152         * elf/Makefile (common-ldd-rewrite): Rename to ...
13153         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
13154         (sh-ldd-rewrite): Delete.
13155         (bash-ldd-rewrite): Delete.
13156         (have-bash2): Delete checks.
13157         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
13158         ldd-rewrite.
13159
13160         * config.make.in (have-ksh): Delete.
13161         (KSH): Delete.
13162         * configure.ac (libc_cv_have_ksh): Delete.
13163         * configure: Regenerate.
13164
13165         * elf/Makefile: Delete $(have-ksh) check.
13166         ($(objpfx)sotruss): Change KSH to BASH.
13167         * elf/sotruss.ksh: Rename to ...
13168         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
13169         function style to match POSIX.  Drop ksh vim mode setting.
13170
13171         * manual/time.texi (Specifying the Time Zone with TZ): Change
13172         Tuesday to Thursday.
13173
13174         * debug/tst-longjmp_chk2.c: Update header comment.
13175         (stackoverflow_handler): Add comment.  Call assert on pass value.
13176
13177 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
13178
13179         [BZ #16194]
13180         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
13181         (HAVE_AVX512_ASM_SUPPORT): Likewise.
13182         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
13183         (La_x86_64_vector): Add zmm.
13184         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
13185         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
13186         ($(objpfx)tst-audit10): New target.
13187         ($(objpfx)tst-audit10.out): Likewise.
13188         (tst-audit10-ENV): New.
13189         (AVX512-CFLAGS): Likewise.
13190         (CFLAGS-tst-audit10.c): Likewise.
13191         (CFLAGS-tst-auditmod10a.c): Likewise.
13192         (CFLAGS-tst-auditmod10b.c): Likewise.
13193         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
13194         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
13195         * sysdeps/x86_64/configure: Regenerated.
13196         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
13197         AVX-512 zmm register support.
13198         (_dl_x86_64_save_sse): Likewise.
13199         (_dl_x86_64_restore_sse): Likewise.
13200         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
13201         size vector registers.
13202         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
13203         (ZMM_SIZE): Likewise.
13204         * sysdeps/x86_64/tst-audit10.c: New file.
13205         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
13206         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
13207
13208 2014-03-13  Roland McGrath  <roland@hack.frob.com>
13209
13210         * configure.ac (HAVE_EHDR_START): New check.
13211         * configure: Regenerated.
13212         * config.h.in (HAVE_EHDR_START): New #undef.
13213         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
13214         assuming the lowest-addressed segment maps the start of the file.
13215
13216 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
13217
13218         * INSTALL: Regenerated.
13219
13220 2014-03-13  Will Newton  <will.newton@linaro.org>
13221
13222         * manual/setjmp.texi (System V contexts): Improve
13223         clarity and grammar of documentation.
13224
13225 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
13226
13227         [BZ #16381]
13228         * elf/Makefile (tests): Add tst-pie2.
13229         (tests-pie): Add tst-pie2.
13230         * elf/tst-pie2.c: New file.
13231         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
13232         for ET_EXEC.
13233         * elf/rtld.c (map_doit): Load executable as lt_executable.
13234         (dl_main): Likewise.
13235
13236 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
13237
13238         [BZ #16642]
13239         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13240         (__ASSUME_PSELECT): Undefine.
13241
13242 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13243
13244         [BZ #16689]
13245         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
13246         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
13247         static build.
13248         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
13249         selector for static builds.
13250
13251 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
13252
13253         [BZ #16695]
13254         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
13255         key in the buffer.
13256
13257 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13258
13259         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
13260         IFUNC selector for static builds.
13261
13262 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
13263
13264         * sysdeps/mips/math_private.h [__mips_hard_float]
13265         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
13266         libc_feresetround_mips_ctx.
13267         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
13268         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
13269         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
13270
13271         [BZ #16677]
13272         * math/s_nextafter.c (__nextafter): Do not return value from
13273         overflowing computation.
13274         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
13275         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
13276         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
13277         Likewise.
13278         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
13279         Likewise.
13280         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
13281         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
13282
13283 2014-03-11  Roland McGrath  <roland@hack.frob.com>
13284
13285         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
13286         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
13287         Move sfi_sp use from the load-multiple (that no longer sets sp) to
13288         the new mov targetting sp.
13289
13290 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13291
13292         [BZ #16683]
13293         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
13294         Define it for static builds as well.
13295         (NO_BZERO_IMPL): Likewise.
13296
13297 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
13298
13299         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
13300         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
13301         multiarch strspn for PPC64.
13302         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
13303         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
13304         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
13305         (__libc_ifunc_impl_list): Likewise.
13306         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
13307         multiarch optimizations
13308         * string/strspn.c (strspn): Using macro to redefine symbol name.
13309
13310 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
13311             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13312
13313         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
13314         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
13315         multiarch strncat for PPC64.
13316         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
13317         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
13318         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
13319         (__libc_ifunc_impl_list): Likewise.
13320         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
13321         multiarch optimizations
13322
13323 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
13324
13325         [BZ #16639]
13326         * nscd/nscd.service: Make service type forking.
13327
13328 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13329
13330         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
13331         sign in non default rounding modes.
13332         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
13333
13334 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
13335
13336         * math/libm-test.inc (ALL_RM_TEST): New macro.
13337         (ceil_test): Use ALL_RM_TEST.
13338         (cimag_test): Likewise.
13339         (conj_test): Likewise.
13340         (copysign_test): Likewise.
13341         (cproj_test): Likewise.
13342         (creal_test): Likewise.
13343         (fabs_test): Likewise.
13344         (floor_test): Likewise.
13345         (fmax_test): Likewise.
13346         (fmin_test): Likewise.
13347         (fmod_test): Likewise.
13348         (fpclassify_test): Likewise.
13349         (frexp_test): Likewise.
13350         (ilogb_test): Likewise.
13351         (isfinite_test): Likewise.
13352         (finite_test): Likewise.
13353         (isgreater_test): Likewise.
13354         (isgreaterequal_test): Likewise.
13355         (isinf_test): Likewise.
13356         (isless_test): Likewise.
13357         (islessequal_test): Likewise.
13358         (islessgreater_test): Likewise.
13359         (isnan_test): Likewise.
13360         (isnormal_test): Likewise.
13361         (issignaling_test): Likewise.
13362         (isunordered_test): Likewise.
13363         (logb_test): Likewise.
13364         (logb_downward_test_data): Remove.
13365         (logb_test_downward): Likewise.
13366         (lround_test): Use ALL_RM_TEST.
13367         (llround_test): Likewise.
13368         (modf_test): Likewise.
13369         (nexttoward_test): Likewise.
13370         (remainder_test): Likewise.
13371         (drem_test): Likewise.
13372         (remainder_tonearest_test_data): Likewise.
13373         (remainder_test_tonearest): Likewise.
13374         (drem_test_tonearest): Likewise.
13375         (remainder_towardzero_test_data): Likewise.
13376         (remainder_test_towardzero): Likewise.
13377         (drem_test_towardzero): Likewise.
13378         (remainder_downward_test_data): Likewise.
13379         (remainder_test_downward): Likewise.
13380         (drem_test_downward): Likewise.
13381         (remainder_upward_test_data): Likewise.
13382         (remainder_test_upward): Likewise.
13383         (drem_test_upward): Likewise.
13384         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
13385         (round_test): Use ALL_RM_TEST.
13386         (signbit_test): Likewise.
13387         (trunc_test): Likewise.
13388         (significand_test): Likewise.
13389         (main): Don't call removed functions.
13390
13391 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
13392
13393         [BZ #16674]
13394         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
13395         || __USE_XOPEN2K8].
13396         (ILL_ILLOPN): Likewise.
13397         (ILL_ILLADR): Likewise.
13398         (ILL_ILLTRP): Likewise.
13399         (ILL_PRVOPC): Likewise.
13400         (ILL_PRVREG): Likewise.
13401         (ILL_COPROC): Likewise.
13402         (ILL_BADSTK): Likewise.
13403         (FPE_INTDIV): Likewise.
13404         (FPE_INTOVF): Likewise.
13405         (FPE_FLTDIV): Likewise.
13406         (FPE_FLTOVF): Likewise.
13407         (FPE_FLTUND): Likewise.
13408         (FPE_FLTRES): Likewise.
13409         (FPE_FLTINV): Likewise.
13410         (FPE_FLTSUB): Likewise.
13411         (SEGV_MAPERR): Likewise.
13412         (SEGV_ACCERR): Likewise.
13413         (BUS_ADRALN): Likewise.
13414         (BUS_ADRERR): Likewise.
13415         (BUS_OBJERR): Likewise.
13416         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13417         (TRAP_TRACE): Likewise.
13418         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13419         __USE_XOPEN2K8].
13420         (CLD_KILLED): Likewise.
13421         (CLD_DUMPED): Likewise.
13422         (CLD_TRAPPED): Likewise.
13423         (CLD_STOPPED): Likewise.
13424         (CLD_CONTINUED): Likewise.
13425         (POLL_IN): Likewise.
13426         (POLL_OUT): Likewise.
13427         (POLL_MSG): Likewise.
13428         (POLL_ERR): Likewise.
13429         (POLL_PRI): Likewise.
13430         (POLL_HUP): Likewise.
13431         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
13432         Likewise.
13433         (ILL_ILLOPN): Likewise.
13434         (ILL_ILLADR): Likewise.
13435         (ILL_ILLTRP): Likewise.
13436         (ILL_PRVOPC): Likewise.
13437         (ILL_PRVREG): Likewise.
13438         (ILL_COPROC): Likewise.
13439         (ILL_BADSTK): Likewise.
13440         (FPE_INTDIV): Likewise.
13441         (FPE_INTOVF): Likewise.
13442         (FPE_FLTDIV): Likewise.
13443         (FPE_FLTOVF): Likewise.
13444         (FPE_FLTUND): Likewise.
13445         (FPE_FLTRES): Likewise.
13446         (FPE_FLTINV): Likewise.
13447         (FPE_FLTSUB): Likewise.
13448         (SEGV_MAPERR): Likewise.
13449         (SEGV_ACCERR): Likewise.
13450         (BUS_ADRALN): Likewise.
13451         (BUS_ADRERR): Likewise.
13452         (BUS_OBJERR): Likewise.
13453         (BUS_MCEERR_AR): Likewise.
13454         (BUS_MCEERR_AO): Likewise.
13455         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13456         (TRAP_TRACE): Likewise.
13457         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13458         __USE_XOPEN2K8].
13459         (CLD_KILLED): Likewise.
13460         (CLD_DUMPED): Likewise.
13461         (CLD_TRAPPED): Likewise.
13462         (CLD_STOPPED): Likewise.
13463         (CLD_CONTINUED): Likewise.
13464         (POLL_IN): Likewise.
13465         (POLL_OUT): Likewise.
13466         (POLL_MSG): Likewise.
13467         (POLL_ERR): Likewise.
13468         (POLL_PRI): Likewise.
13469         (POLL_HUP): Likewise.
13470         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
13471         (ILL_ILLOPN): Likewise.
13472         (ILL_ILLADR): Likewise.
13473         (ILL_ILLTRP): Likewise.
13474         (ILL_PRVOPC): Likewise.
13475         (ILL_PRVREG): Likewise.
13476         (ILL_COPROC): Likewise.
13477         (ILL_BADSTK): Likewise.
13478         (FPE_INTDIV): Likewise.
13479         (FPE_INTOVF): Likewise.
13480         (FPE_FLTDIV): Likewise.
13481         (FPE_FLTOVF): Likewise.
13482         (FPE_FLTUND): Likewise.
13483         (FPE_FLTRES): Likewise.
13484         (FPE_FLTINV): Likewise.
13485         (FPE_FLTSUB): Likewise.
13486         (SEGV_MAPERR): Likewise.
13487         (SEGV_ACCERR): Likewise.
13488         (BUS_ADRALN): Likewise.
13489         (BUS_ADRERR): Likewise.
13490         (BUS_OBJERR): Likewise.
13491         (BUS_MCEERR_AR): Likewise.
13492         (BUS_MCEERR_AO): Likewise.
13493         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13494         (TRAP_TRACE): Likewise.
13495         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13496         __USE_XOPEN2K8].
13497         (CLD_KILLED): Likewise.
13498         (CLD_DUMPED): Likewise.
13499         (CLD_TRAPPED): Likewise.
13500         (CLD_STOPPED): Likewise.
13501         (CLD_CONTINUED): Likewise.
13502         (POLL_IN): Likewise.
13503         (POLL_OUT): Likewise.
13504         (POLL_MSG): Likewise.
13505         (POLL_ERR): Likewise.
13506         (POLL_PRI): Likewise.
13507         (POLL_HUP): Likewise.
13508         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
13509         Likewise.
13510         (ILL_ILLOPN): Likewise.
13511         (ILL_ILLADR): Likewise.
13512         (ILL_ILLTRP): Likewise.
13513         (ILL_PRVOPC): Likewise.
13514         (ILL_PRVREG): Likewise.
13515         (ILL_COPROC): Likewise.
13516         (ILL_BADSTK): Likewise.
13517         (ILL_BADIADDR): Likewise.
13518         (ILL_BREAK): Likewise.
13519         (FPE_INTDIV): Likewise.
13520         (FPE_INTOVF): Likewise.
13521         (FPE_FLTDIV): Likewise.
13522         (FPE_FLTOVF): Likewise.
13523         (FPE_FLTUND): Likewise.
13524         (FPE_FLTRES): Likewise.
13525         (FPE_FLTINV): Likewise.
13526         (FPE_FLTSUB): Likewise.
13527         (FPE_DECOVF): Likewise.
13528         (FPE_DECDIV): Likewise.
13529         (FPE_DECERR): Likewise.
13530         (FPE_INVASC): Likewise.
13531         (FPE_INVDEC): Likewise.
13532         (SEGV_MAPERR): Likewise.
13533         (SEGV_ACCERR): Likewise.
13534         (SEGV_PSTKOVF): Likewise.
13535         (BUS_ADRALN): Likewise.
13536         (BUS_ADRERR): Likewise.
13537         (BUS_OBJERR): Likewise.
13538         (BUS_MCEERR_AR): Likewise.
13539         (BUS_MCEERR_AO): Likewise.
13540         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13541         (TRAP_TRACE): Likewise.
13542         (TRAP_BRANCH): Likewise.
13543         (TRAP_HWBKPT): Likewise.
13544         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13545         __USE_XOPEN2K8].
13546         (CLD_KILLED): Likewise.
13547         (CLD_DUMPED): Likewise.
13548         (CLD_TRAPPED): Likewise.
13549         (CLD_STOPPED): Likewise.
13550         (CLD_CONTINUED): Likewise.
13551         (POLL_IN): Likewise.
13552         (POLL_OUT): Likewise.
13553         (POLL_MSG): Likewise.
13554         (POLL_ERR): Likewise.
13555         (POLL_PRI): Likewise.
13556         (POLL_HUP): Likewise.
13557         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
13558         (ILL_ILLOPN): Likewise.
13559         (ILL_ILLADR): Likewise.
13560         (ILL_ILLTRP): Likewise.
13561         (ILL_PRVOPC): Likewise.
13562         (ILL_PRVREG): Likewise.
13563         (ILL_COPROC): Likewise.
13564         (ILL_BADSTK): Likewise.
13565         (FPE_INTDIV): Likewise.
13566         (FPE_INTOVF): Likewise.
13567         (FPE_FLTDIV): Likewise.
13568         (FPE_FLTOVF): Likewise.
13569         (FPE_FLTUND): Likewise.
13570         (FPE_FLTRES): Likewise.
13571         (FPE_FLTINV): Likewise.
13572         (FPE_FLTSUB): Likewise.
13573         (SEGV_MAPERR): Likewise.
13574         (SEGV_ACCERR): Likewise.
13575         (BUS_ADRALN): Likewise.
13576         (BUS_ADRERR): Likewise.
13577         (BUS_OBJERR): Likewise.
13578         (BUS_MCEERR_AR): Likewise.
13579         (BUS_MCEERR_AO): Likewise.
13580         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13581         (TRAP_TRACE): Likewise.
13582         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13583         __USE_XOPEN2K8].
13584         (CLD_KILLED): Likewise.
13585         (CLD_DUMPED): Likewise.
13586         (CLD_TRAPPED): Likewise.
13587         (CLD_STOPPED): Likewise.
13588         (CLD_CONTINUED): Likewise.
13589         (POLL_IN): Likewise.
13590         (POLL_OUT): Likewise.
13591         (POLL_MSG): Likewise.
13592         (POLL_ERR): Likewise.
13593         (POLL_PRI): Likewise.
13594         (POLL_HUP): Likewise.
13595         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
13596         (ILL_ILLOPN): Likewise.
13597         (ILL_ILLADR): Likewise.
13598         (ILL_ILLTRP): Likewise.
13599         (ILL_PRVOPC): Likewise.
13600         (ILL_PRVREG): Likewise.
13601         (ILL_COPROC): Likewise.
13602         (ILL_BADSTK): Likewise.
13603         (FPE_INTDIV): Likewise.
13604         (FPE_INTOVF): Likewise.
13605         (FPE_FLTDIV): Likewise.
13606         (FPE_FLTOVF): Likewise.
13607         (FPE_FLTUND): Likewise.
13608         (FPE_FLTRES): Likewise.
13609         (FPE_FLTINV): Likewise.
13610         (FPE_FLTSUB): Likewise.
13611         (SEGV_MAPERR): Likewise.
13612         (SEGV_ACCERR): Likewise.
13613         (BUS_ADRALN): Likewise.
13614         (BUS_ADRERR): Likewise.
13615         (BUS_OBJERR): Likewise.
13616         (BUS_MCEERR_AR): Likewise.
13617         (BUS_MCEERR_AO): Likewise.
13618         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13619         (TRAP_TRACE): Likewise.
13620         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13621         __USE_XOPEN2K8].
13622         (CLD_KILLED): Likewise.
13623         (CLD_DUMPED): Likewise.
13624         (CLD_TRAPPED): Likewise.
13625         (CLD_STOPPED): Likewise.
13626         (CLD_CONTINUED): Likewise.
13627         (POLL_IN): Likewise.
13628         (POLL_OUT): Likewise.
13629         (POLL_MSG): Likewise.
13630         (POLL_ERR): Likewise.
13631         (POLL_PRI): Likewise.
13632         (POLL_HUP): Likewise.
13633         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
13634         (ILL_ILLOPN): Likewise.
13635         (ILL_ILLADR): Likewise.
13636         (ILL_ILLTRP): Likewise.
13637         (ILL_PRVOPC): Likewise.
13638         (ILL_PRVREG): Likewise.
13639         (ILL_COPROC): Likewise.
13640         (ILL_BADSTK): Likewise.
13641         (FPE_INTDIV): Likewise.
13642         (FPE_INTOVF): Likewise.
13643         (FPE_FLTDIV): Likewise.
13644         (FPE_FLTOVF): Likewise.
13645         (FPE_FLTUND): Likewise.
13646         (FPE_FLTRES): Likewise.
13647         (FPE_FLTINV): Likewise.
13648         (FPE_FLTSUB): Likewise.
13649         (SEGV_MAPERR): Likewise.
13650         (SEGV_ACCERR): Likewise.
13651         (BUS_ADRALN): Likewise.
13652         (BUS_ADRERR): Likewise.
13653         (BUS_OBJERR): Likewise.
13654         (BUS_MCEERR_AR): Likewise.
13655         (BUS_MCEERR_AO): Likewise.
13656         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13657         (TRAP_TRACE): Likewise.
13658         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13659         __USE_XOPEN2K8].
13660         (CLD_KILLED): Likewise.
13661         (CLD_DUMPED): Likewise.
13662         (CLD_TRAPPED): Likewise.
13663         (CLD_STOPPED): Likewise.
13664         (CLD_CONTINUED): Likewise.
13665         (POLL_IN): Likewise.
13666         (POLL_OUT): Likewise.
13667         (POLL_MSG): Likewise.
13668         (POLL_ERR): Likewise.
13669         (POLL_PRI): Likewise.
13670         (POLL_HUP): Likewise.
13671         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
13672         (ILL_ILLOPN): Likewise.
13673         (ILL_ILLADR): Likewise.
13674         (ILL_ILLTRP): Likewise.
13675         (ILL_PRVOPC): Likewise.
13676         (ILL_PRVREG): Likewise.
13677         (ILL_COPROC): Likewise.
13678         (ILL_BADSTK): Likewise.
13679         (ILL_DBLFLT): Likewise.
13680         (ILL_HARDWALL): Likewise.
13681         (FPE_INTDIV): Likewise.
13682         (FPE_INTOVF): Likewise.
13683         (FPE_FLTDIV): Likewise.
13684         (FPE_FLTOVF): Likewise.
13685         (FPE_FLTUND): Likewise.
13686         (FPE_FLTRES): Likewise.
13687         (FPE_FLTINV): Likewise.
13688         (FPE_FLTSUB): Likewise.
13689         (SEGV_MAPERR): Likewise.
13690         (SEGV_ACCERR): Likewise.
13691         (BUS_ADRALN): Likewise.
13692         (BUS_ADRERR): Likewise.
13693         (BUS_OBJERR): Likewise.
13694         (BUS_MCEERR_AR): Likewise.
13695         (BUS_MCEERR_AO): Likewise.
13696         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13697         (TRAP_TRACE): Likewise.
13698         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13699         __USE_XOPEN2K8].
13700         (CLD_KILLED): Likewise.
13701         (CLD_DUMPED): Likewise.
13702         (CLD_TRAPPED): Likewise.
13703         (CLD_STOPPED): Likewise.
13704         (CLD_CONTINUED): Likewise.
13705         (POLL_IN): Likewise.
13706         (POLL_OUT): Likewise.
13707         (POLL_MSG): Likewise.
13708         (POLL_ERR): Likewise.
13709         (POLL_PRI): Likewise.
13710         (POLL_HUP): Likewise.
13711         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
13712         (ILL_ILLOPN): Likewise.
13713         (ILL_ILLADR): Likewise.
13714         (ILL_ILLTRP): Likewise.
13715         (ILL_PRVOPC): Likewise.
13716         (ILL_PRVREG): Likewise.
13717         (ILL_COPROC): Likewise.
13718         (ILL_BADSTK): Likewise.
13719         (FPE_INTDIV): Likewise.
13720         (FPE_INTOVF): Likewise.
13721         (FPE_FLTDIV): Likewise.
13722         (FPE_FLTOVF): Likewise.
13723         (FPE_FLTUND): Likewise.
13724         (FPE_FLTRES): Likewise.
13725         (FPE_FLTINV): Likewise.
13726         (FPE_FLTSUB): Likewise.
13727         (SEGV_MAPERR): Likewise.
13728         (SEGV_ACCERR): Likewise.
13729         (BUS_ADRALN): Likewise.
13730         (BUS_ADRERR): Likewise.
13731         (BUS_OBJERR): Likewise.
13732         (BUS_MCEERR_AR): Likewise.
13733         (BUS_MCEERR_AO): Likewise.
13734         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13735         (TRAP_TRACE): Likewise.
13736         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13737         __USE_XOPEN2K8].
13738         (CLD_KILLED): Likewise.
13739         (CLD_DUMPED): Likewise.
13740         (CLD_TRAPPED): Likewise.
13741         (CLD_STOPPED): Likewise.
13742         (CLD_CONTINUED): Likewise.
13743         (POLL_IN): Likewise.
13744         (POLL_OUT): Likewise.
13745         (POLL_MSG): Likewise.
13746         (POLL_ERR): Likewise.
13747         (POLL_PRI): Likewise.
13748         (POLL_HUP): Likewise.
13749         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
13750         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
13751
13752         [BZ #16670]
13753         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
13754         before #include of <time.h>.
13755         [!__USE_XOPEN2K] (__need_timespec): Likewise.
13756         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
13757         (test-xfail-UNIX98/sched.h/conform): Likewise.
13758
13759 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
13760
13761         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
13762         error absence of trapping exception support.
13763         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
13764
13765 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
13766
13767         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
13768         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
13769         * timezone/Makefile (testdata): Move definition above include of
13770         Rules.
13771         (test-zones): New variable.
13772         (tests-special): Add zone files.
13773         (build-testdata): Use $(evaluate-test).
13774
13775         * elf/Makefile (tests-special): Rename tests to end with .out.
13776         ($(objpfx)noload-mem): Likewise.
13777         ($(objpfx)tst-leaks1-mem): Likewise.
13778         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
13779         * iconv/Makefile (xtests-special): Change test-iconvconfig to
13780         $(objpfx)test-iconvconfig.out.
13781         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
13782         set -e inside subshell and redirect output to file.
13783         * iconvdata/Makefile (generated): Rename tests to end with .out.
13784         Correct type.
13785         (tests-special): Rename tests to end with .out.
13786         ($(objpfx)mtrace-tst-loading): Likewise.
13787         * intl/Makefile (generated): Likewise.
13788         (tests-special): Likewise.
13789         ($(objpfx)mtrace-tst-gettext): Likewise.
13790         * misc/Makefile (generated): Likewise.
13791         (tests-special): Likewise.
13792         ($(objpfx)tst-error1-mem): Likewise.
13793         * nptl/Makefile (tests-special): Likewise.
13794         ($(objpfx)tst-stack3-mem): Likewise.
13795         (generated): Likewise.
13796         * posix/Makefile (generated): Likewise.
13797         (tests-special): Likewise.
13798         (xtests-special): Likewise.
13799         ($(objpfx)tst-fnmatch-mem): Likewise.
13800         ($(objpfx)bug-regex2-mem): Likewise.
13801         ($(objpfx)bug-regex14-mem): Likewise.
13802         ($(objpfx)bug-regex21-mem): Likewise.
13803         ($(objpfx)bug-regex31-mem): Likewise.
13804         ($(objpfx)tst-vfork3-mem): Likewise.
13805         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
13806         ($(objpfx)tst-pcre-mem): Likewise.
13807         ($(objpfx)tst-boost-mem): Likewise.
13808         ($(objpfx)bug-ga2-mem): Likewise.
13809         ($(objpfx)bug-glob2-mem): Likewise.
13810         * resolv/Makefile (generate): Likewise.
13811         (tests-special): Likewise.
13812         (xtests-special): Likewise.
13813         (generated): Likewise.
13814         ($(objpfx)mtrace-tst-leaks): Likewise.
13815         ($(objpfx)mtrace-tst-leaks2): Likewise.
13816
13817         * scripts/merge-test-results.sh: New file.
13818         * Makefile (tests-special-notdir): New variable.
13819         (tests): Run merge-test-results.sh.
13820         (xtests): Likewise.
13821         * Rules (tests-special-notdir): New variable.
13822         (xtests-special-notdir): Likewise.
13823         (tests): Run merge-test-results.sh
13824         (xtests): Likewise.
13825
13826         * Makeconfig (test-xfail-name): New variable.
13827         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
13828         compute variable name for expected failures.
13829         * conform/Makefile (conformtest-headers-data): New variable.
13830         (conformtest-standards): Likewise.
13831         (conformtest-headers-ISO): Likewise.
13832         (conformtest-headers-ISO99): Likewise.
13833         (conformtest-headers-ISO11): Likewise.
13834         (conformtest-headers-POSIX): Likewise.
13835         (conformtest-headers-XPG3): Likewise.
13836         (conformtest-headers-XPG4): Likewise.
13837         (conformtest-headers-UNIX98): Likewise.
13838         (conformtest-headers-XOPEN2K): Likewise.
13839         (conformtest-headers-POSIX2008): Likewise.
13840         (conformtest-headers-XOPEN2K8): Likewise.
13841         (conformtest-header-list-base): Likewise.
13842         (conformtest-header-list-tests): Likewise.
13843         (conformtest-header-base): Likewise.
13844         (conformtest-header-tests): Likewise.
13845         (tests-special): Add $(conformtest-header-list-tests).  If
13846         [$(fast-check) && !$(cross-compiling)], add
13847         $(conformtest-header-tests) instead of
13848         $(objpfx)run-conformtest.out.
13849         (generated): Add $(conformtest-header-list-base).  If
13850         [$(fast-check) && !$(cross-compiling)], add
13851         $(conformtest-header-base).  Remove previous setting.
13852         ($(conformtest-header-list-tests)): New target.
13853         (test-xfail-run-conformtest): Remove variable.
13854         ($(objpfx)run-conformtest.out): Remove target.
13855         (test-xfail-ISO11/complex.h/conform): New variable.
13856         (test-xfail-ISO11/stdalign.h/conform): Likewise.
13857         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
13858         (test-xfail-XPG3/varargs.h/conform): Likewise.
13859         (test-xfail-XPG4/varargs.h/conform): Likewise.
13860         (test-xfail-UNIX98/varargs.h/conform): Likewise.
13861         (test-xfail-XPG4/ndbm.h/conform): Likewise.
13862         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
13863         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
13864         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
13865         (test-xfail-XPG3/fcntl.h/conform): Likewise.
13866         (test-xfail-XPG3/ftw.h/conform): Likewise.
13867         (test-xfail-XPG3/grp.h/conform): Likewise.
13868         (test-xfail-XPG3/langinfo.h/conform): Likewise.
13869         (test-xfail-XPG3/limits.h/conform): Likewise.
13870         (test-xfail-XPG3/pwd.h/conform): Likewise.
13871         (test-xfail-XPG3/search.h/conform): Likewise.
13872         (test-xfail-XPG3/signal.h/conform): Likewise.
13873         (test-xfail-XPG3/stdio.h/conform): Likewise.
13874         (test-xfail-XPG3/stdlib.h/conform): Likewise.
13875         (test-xfail-XPG3/string.h/conform): Likewise.
13876         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
13877         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
13878         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
13879         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
13880         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
13881         (test-xfail-XPG3/sys/types.h/conform): Likewise.
13882         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
13883         (test-xfail-XPG3/termios.h/conform): Likewise.
13884         (test-xfail-XPG3/time.h/conform): Likewise.
13885         (test-xfail-XPG3/unistd.h/conform): Likewise.
13886         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
13887         (test-xfail-XPG4/fcntl.h/conform): Likewise.
13888         (test-xfail-XPG4/langinfo.h/conform): Likewise.
13889         (test-xfail-XPG4/netdb.h/conform): Likewise.
13890         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
13891         (test-xfail-XPG4/signal.h/conform): Likewise.
13892         (test-xfail-XPG4/stdio.h/conform): Likewise.
13893         (test-xfail-XPG4/stdlib.h/conform): Likewise.
13894         (test-xfail-XPG4/stropts.h/conform): Likewise.
13895         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
13896         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
13897         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
13898         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
13899         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
13900         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
13901         (test-xfail-XPG4/sys/time.h/conform): Likewise.
13902         (test-xfail-XPG4/sys/types.h/conform): Likewise.
13903         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
13904         (test-xfail-XPG4/termios.h/conform): Likewise.
13905         (test-xfail-XPG4/ucontext.h/conform): Likewise.
13906         (test-xfail-XPG4/unistd.h/conform): Likewise.
13907         (test-xfail-XPG4/utmpx.h/conform): Likewise.
13908         (test-xfail-POSIX/sched.h/conform): Likewise.
13909         (test-xfail-POSIX/signal.h/conform): Likewise.
13910         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
13911         (test-xfail-POSIX/tar.h/conform): Likewise.
13912         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
13913         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
13914         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
13915         (test-xfail-UNIX98/netdb.h/conform): Likewise.
13916         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
13917         (test-xfail-UNIX98/sched.h/conform): Likewise.
13918         (test-xfail-UNIX98/signal.h/conform): Likewise.
13919         (test-xfail-UNIX98/stdio.h/conform): Likewise.
13920         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
13921         (test-xfail-UNIX98/stropts.h/conform): Likewise.
13922         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
13923         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
13924         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
13925         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
13926         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
13927         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
13928         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
13929         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
13930         (test-xfail-UNIX98/unistd.h/conform): Likewise.
13931         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
13932         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
13933         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
13934         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
13935         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
13936         (test-xfail-XOPEN2K/math.h/conform): Likewise.
13937         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
13938         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
13939         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
13940         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
13941         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
13942         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
13943         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
13944         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
13945         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
13946         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
13947         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
13948         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
13949         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
13950         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
13951         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
13952         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
13953         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
13954         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
13955         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
13956         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
13957         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
13958         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
13959         (test-xfail-POSIX2008/signal.h/conform): Likewise.
13960         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
13961         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
13962         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
13963         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
13964         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
13965         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
13966         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
13967         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
13968         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
13969         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
13970         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
13971         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
13972         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
13973         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
13974         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
13975         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
13976         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
13977         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
13978         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
13979         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
13980         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
13981         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
13982         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
13983         (conformtest-cc-flags): Likewise.
13984         ($(conformtest-header-tests): New target.
13985         * conform/check-header-lists.sh: New file.
13986         * conform/run-conformtest.sh: Remove.
13987
13988         * conform/conformtest.pl: Allow ' and \ in values given for
13989         constants.
13990         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
13991         inclusion.
13992         [POSIX] (sys/types.h): Likewise.
13993         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
13994         inclusion.
13995         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
13996         inclusion.
13997         * conform/data/signal.h-data (SIGIO): Remove expectation.
13998         [XPG3] (SIGBUS): Do not expect.
13999         [POSIX || XPG3] (SIGPOLL): Likewise.
14000         [POSIX || XPG3] (SIGPROF): Likewise.
14001         [POSIX || XPG3] (SIGSYS): Likewise.
14002         [XPG3] (SIGTRAP): Likewise.
14003         [POSIX || XPG3] (SIGURG): Likewise.
14004         [POSIX || XPG3] (SIGVTALRM): Likewise.
14005         [POSIX || XPG3] (SIGXCPU): Likewise.
14006         [POSIX || XPG3] (SIGXFSZ): Likewise.
14007         [POSIX] (SA_SIGINFO): Expect.
14008         [XPG3] (siginfo_t): Do not expect type or contents.
14009         [POSIX] (si_pid): Do not expect element.
14010         [POSIX] (si_uid): Likewise.
14011         [POSIX] (si_addr): Likewise.
14012         [POSIX] (si_status): Likewise.
14013         [POSIX] (si_band): Likewise.
14014         [XPG4] (si_value): Likewise.
14015         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
14016         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
14017         [POSIX || XPG3] (ILL_ILLADR): Likewise.
14018         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
14019         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
14020         [POSIX || XPG3] (ILL_PRVREG): Likewise.
14021         [POSIX || XPG3] (ILL_COPROC): Likewise.
14022         [POSIX || XPG3] (ILL_BADSTK): Likewise.
14023         [POSIX || XPG3] (FPE_INTDIV): Likewise.
14024         [POSIX || XPG3] (FPE_INTOVF): Likewise.
14025         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
14026         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
14027         [POSIX || XPG3] (FPE_FLTUND): Likewise.
14028         [POSIX || XPG3] (FPE_FLTRES): Likewise.
14029         [POSIX || XPG3] (FPE_FLTINV): Likewise.
14030         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
14031         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
14032         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
14033         [POSIX || XPG3] (BUS_ADRALN): Likewise.
14034         [POSIX || XPG3] (BUS_ADRERR): Likewise.
14035         [POSIX || XPG3] (BUS_OBJERR): Likewise.
14036         [POSIX || XPG3] (CLD_EXITED): Likewise.
14037         [POSIX || XPG3] (CLD_KILLED): Likewise.
14038         [POSIX || XPG3] (CLD_DUMPED): Likewise.
14039         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
14040         [POSIX || XPG3] (CLD_STOPPED): Likewise.
14041         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
14042         [POSIX || XPG3] (POLL_IN): Likewise.
14043         [POSIX || XPG3] (POLL_OUT): Likewise.
14044         [POSIX || XPG3] (POLL_MSG): Likewise.
14045         [POSIX || XPG3] (POLL_ERR): Likewise.
14046         [POSIX || XPG3] (POLL_PRI): Likewise.
14047         [POSIX || XPG3] (POLL_HUP): Likewise.
14048         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
14049         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
14050         (SIG*): Do not allow.
14051         [XPG3] (si_*): Likewise.
14052         [XPG3] (SI_*): Likewise.
14053         [XPG3 || XPG4] (sigev_*): Likewise.
14054         [XPG3 || XPG4] (SIGEV_*): Likewise.
14055         [XPG3 || XPG4] (sival_*): Likewise.
14056         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
14057         [POSIX || XPG3] (BUS_*): Likewise.
14058         [POSIX || XPG3] (CLD_*): Likewise.
14059         [POSIX || XPG3] (FPE_*): Likewise.
14060         [POSIX || XPG3] (ILL_*): Likewise.
14061         [POSIX || XPG3] (POLL_*): Likewise.
14062         [POSIX || XPG3] (SEGV_*): Likewise.
14063         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
14064         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
14065         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
14066         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
14067         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
14068         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
14069         Specify type and value.
14070         (TVERSLEN): Likewise.
14071         (REGTYPE): Likewise.
14072         (AREGTYPE): Likewise.
14073         (LNKTYPE): Likewise.
14074         (SYMTYPE): Likewise.
14075         (CHRTYPE): Likewise.
14076         (BLKTYPE): Likewise.
14077         (DIRTYPE): Likewise.
14078         (FIFOTYPE): Likewise.
14079         (CONTTYPE): Likewise.
14080         (TSUID): Likewise.
14081         (TSGID): Likewise.
14082         (TSVTX): Likewise.
14083         (TUREAD): Likewise.
14084         (TUWRITE): Likewise.
14085         (TUEXEC): Likewise.
14086         (TGREAD): Likewise.
14087         (TGWRITE): Likewise.
14088         (TGEXEC): Likewise.
14089         (TOREAD): Likewise.
14090         (TOWRITE): Likewise.
14091         (TOEXEC): Likewise.
14092         [POSIX] (TSVTX): Expect constant.
14093
14094 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
14095
14096         * Makefile (tests): Change dependencies to ....
14097         (tests-special): ... additions to this variable.
14098         (tests): Depend on $(tests-special).
14099         * Makerules (check-abi-list): New variable.
14100         (check-abi): Depend on $(check-abi-list).
14101         [$(subdir) = elf] (tests-special): Add
14102         $(objpfx)check-abi-libc.out.
14103         [$(build-shared) = yes && subdir] (tests-special): Add
14104         $(check-abi-list).
14105         [$(build-shared) = yes && subdir] (tests): Do not depend on
14106         check-abi.
14107         * Rules (tests): Depend on $(tests-special).
14108         (xtests): Depend on $(xtests-special).
14109         * catgets/Makefile (tests): Change dependencies to ....
14110         (tests-special): ... additions to this variable.
14111         * conform/Makefile (tests): Change dependencies to ....
14112         (tests-special): ... additions to this variable.
14113         * elf/Makefile (tests): Change dependencies to ....
14114         (tests-special): ... additions to this variable.
14115         * grp/Makefile (tests): Change dependencies to ....
14116         (tests-special): ... additions to this variable.
14117         * iconv/Makefile (xtests): Change dependencies to ....
14118         (xtests-special): ... additions to this variable.
14119         * iconvdata/Makefile (tests): Change dependencies to ....
14120         (tests-special): ... additions to this variable.
14121         * intl/Makefile (tests): Change dependencies to ....
14122         (tests-special): ... additions to this variable.  Also add
14123         $(objpfx)tst-gettext.out.
14124         * io/Makefile (tests): Change dependencies to ....
14125         (tests-special): ... additions to this variable.
14126         * libio/Makefile (tests): Change dependencies to ....
14127         (tests-special): ... additions to this variable.
14128         * malloc/Makefile (tests): Change dependencies to ....
14129         (tests-special): ... additions to this variable.
14130         * misc/Makefile (tests): Change dependencies to ....
14131         (tests-special): ... additions to this variable.
14132         * nptl/Makefile (tests): Change dependencies to ....
14133         (tests-special): ... additions to this variable.
14134         * nptl_db/Makefile (tests): Change dependencies to ....
14135         (tests-special): ... additions to this variable.
14136         * posix/Makefile (tests): Change dependencies to ....
14137         (tests-special): ... additions to this variable.
14138         (xtests): Change dependencies to ....
14139         (xtests-special): ... additions to this variable.
14140         * resolv/Makefile (tests): Change dependencies to ....
14141         (tests-special): ... additions to this variable.
14142         (xtests): Change dependencies to ....
14143         (xtests-special): ... additions to this variable.
14144         * stdio-common/Makefile (tests): Change dependencies to ....
14145         (tests-special): ... additions to this variable.
14146         (do-tst-unbputc): Remove target.
14147         (do-tst-printf): Likewise.
14148         * stdlib/Makefile (tests): Change dependencies to ....
14149         (tests-special): ... additions to this variable.
14150         * string/Makefile (tests): Change dependencies to ....
14151         (tests-special): ... additions to this variable.
14152         * sysdeps/x86/Makefile (tests): Change dependencies to ....
14153         (tests-special): ... additions to this variable.
14154
14155         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
14156         whole file.
14157         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
14158         whole file.
14159         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
14160         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
14161
14162         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
14163         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
14164         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
14165         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
14166         * conform/data/libgen.h-data [XPG3]: Likewise.
14167         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
14168         * conform/data/ndbm.h-data [XPG3]: Likewise.
14169         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
14170         * conform/data/netdb.h-data [XPG3]: Likewise.
14171         * conform/data/netinet/in.h-data [XPG3]: Likewise.
14172         * conform/data/poll.h-data [XPG3]: Likewise.
14173         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
14174         * conform/data/strings.h-data [XPG3]: Likewise.
14175         * conform/data/stropts.h-data [XPG3]: Likewise.
14176         * conform/data/sys/mman.h-data [XPG3]: Likewise.
14177         * conform/data/sys/resource.h-data [XPG3]: Likewise.
14178         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
14179         Likewise.
14180         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
14181         * conform/data/sys/time.h-data [XPG3]: Likewise.
14182         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
14183         * conform/data/sys/uio.h-data [XPG3]: Likewise.
14184         * conform/data/sys/un.h-data [XPG3]: Likewise.
14185         * conform/data/syslog.h-data [XPG3]: Likewise.
14186         * conform/data/ucontext.h-data [XPG3]: Likewise.
14187         * conform/data/utmpx.h-data [XPG3]: Likewise.
14188         * conform/data/varargs.h-data [UNIX98]: Enable file.
14189
14190         * manual/Makefile (INSTALL_INFO): Remove variable setting.
14191
14192         * math/libm-test.inc (struct test_f_f_data): Move expected results
14193         into structure for each rounding mode.
14194         (struct test_ff_f_data): Likewise.
14195         (struct test_ff_f_data_nexttoward): Likewise.
14196         (struct test_fi_f_data): Likewise.
14197         (struct test_fl_f_data): Likewise.
14198         (struct test_if_f_data): Likewise.
14199         (struct test_fff_f_data): Likewise.
14200         (struct test_c_f_data): Likewise.
14201         (struct test_f_f1_data): Likewise.
14202         (struct test_fF_f1_data): Likewise.
14203         (struct test_ffI_f1_data): Likewise.
14204         (struct test_c_c_data): Likewise.
14205         (struct test_cc_c_data): Likewise.
14206         (struct test_f_i_data): Likewise.
14207         (struct test_ff_i_data): Likewise.
14208         (struct test_f_l_data): Likewise.
14209         (struct test_f_L_data): Likewise.
14210         (struct test_fFF_11_data): Likewise.
14211         (RM_): New macro.
14212         (RM_FE_DOWNWARD): Likewise.
14213         (RM_FE_TONEAREST): Likewise.
14214         (RM_FE_TOWARDZERO): Likewise.
14215         (RM_FE_UPWARD): Likewise.
14216         (RUN_TEST_LOOP_f_f): Update references to expected results.
14217         (RUN_TEST_LOOP_2_f): Likewise.
14218         (RUN_TEST_LOOP_fff_f): Likewise.
14219         (RUN_TEST_LOOP_c_f): Likewise.
14220         (RUN_TEST_LOOP_f_f1): Likewise.
14221         (RUN_TEST_LOOP_fF_f1): Likewise.
14222         (RUN_TEST_LOOP_fI_f1): Likewise.
14223         (RUN_TEST_LOOP_ffI_f1): Likewise.
14224         (RUN_TEST_LOOP_c_c): Likewise.
14225         (RUN_TEST_LOOP_cc_c): Likewise.
14226         (RUN_TEST_LOOP_f_i): Likewise.
14227         (RUN_TEST_LOOP_f_i_tg): Likewise.
14228         (RUN_TEST_LOOP_ff_i_tg): Likewise.
14229         (RUN_TEST_LOOP_f_b): Likewise.
14230         (RUN_TEST_LOOP_f_b_tg): Likewise.
14231         (RUN_TEST_LOOP_f_l): Likewise.
14232         (RUN_TEST_LOOP_f_L): Likewise.
14233         (RUN_TEST_LOOP_fFF_11): Likewise.
14234         * math/gen-libm-test.pl (parse_args): Output four copies of
14235         expected results for each test.
14236
14237         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
14238         (__ASSUME_UTIMES): Remove.
14239         * sysdeps/unix/sysv/linux/tile/kernel-features.h
14240         (__ASSUME_UTIMES): Likewise.
14241
14242         * math/gen-auto-libm-tests.c: Update comment on output format.
14243         (output_for_one_input_case): Generate before-rounding and
14244         after-rounding information as conditions on output flags not
14245         floating-point format.
14246         * math/auto-libm-test-out: Regenerated.
14247         * math/gen-libm-test.pl (cond_value): New function.
14248         (or_cond_value): Use cond_value.
14249         (generate_testfile): Handle conditional exceptions.
14250
14251 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
14252
14253         * math/libm-test.inc (max_valid_error): New variable.
14254         (init_max_error): Take new argument specifying whether function
14255         results are exactly determined.  Set max_valid_error and bound
14256         other variables for errors based on this argument.
14257         (set_max_error): Do not record results above max_valid_error.
14258         (check_float_internal): Only accept errors of up to 0.5ulps if
14259         also at most max_valid_error.
14260         (START): Take new argument EXACT and pass it to init_max_error.
14261         (acos_test): Update call to START.
14262         (acos_test_tonearest): Likewise.
14263         (acos_test_towardzero): Likewise.
14264         (acos_test_downward): Likewise.
14265         (acos_test_upward): Likewise.
14266         (acosh_test): Likewise.
14267         (asin_test): Likewise.
14268         (asin_test_tonearest): Likewise.
14269         (asin_test_towardzero): Likewise.
14270         (asin_test_downward): Likewise.
14271         (asin_test_upward): Likewise.
14272         (asinh_test): Likewise.
14273         (atan_test): Likewise.
14274         (atanh_test): Likewise.
14275         (atan2_test): Likewise.
14276         (cabs_test): Likewise.
14277         (cacos_test): Likewise.
14278         (cacosh_test): Likewise.
14279         (carg_test): Likewise.
14280         (casin_test): Likewise.
14281         (casinh_test): Likewise.
14282         (catan_test): Likewise.
14283         (catanh_test): Likewise.
14284         (cbrt_test): Likewise.
14285         (ccos_test): Likewise.
14286         (ccosh_test): Likewise.
14287         (ceil_test): Likewise.
14288         (cexp_test): Likewise.
14289         (cimag_test): Likewise.
14290         (clog_test): Likewise.
14291         (clog10_test): Likewise.
14292         (conj_test): Likewise.
14293         (copysign_test): Likewise.
14294         (cos_test): Likewise.
14295         (cos_test_tonearest): Likewise.
14296         (cos_test_towardzero): Likewise.
14297         (cos_test_downward): Likewise.
14298         (cos_test_upward): Likewise.
14299         (cosh_test): Likewise.
14300         (cosh_test_tonearest): Likewise.
14301         (cosh_test_towardzero): Likewise.
14302         (cosh_test_downward): Likewise.
14303         (cosh_test_upward): Likewise.
14304         (cpow_test): Likewise.
14305         (cproj_test): Likewise.
14306         (creal_test): Likewise.
14307         (csin_test): Likewise.
14308         (csinh_test): Likewise.
14309         (csqrt_test): Likewise.
14310         (ctan_test): Likewise.
14311         (ctan_test_tonearest): Likewise.
14312         (ctan_test_towardzero): Likewise.
14313         (ctan_test_downward): Likewise.
14314         (ctan_test_upward): Likewise.
14315         (ctanh_test): Likewise.
14316         (ctanh_test_tonearest): Likewise.
14317         (ctanh_test_towardzero): Likewise.
14318         (ctanh_test_downward): Likewise.
14319         (ctanh_test_upward): Likewise.
14320         (erf_test): Likewise.
14321         (erfc_test): Likewise.
14322         (exp_test): Likewise.
14323         (exp_test_tonearest): Likewise.
14324         (exp_test_towardzero): Likewise.
14325         (exp_test_downward): Likewise.
14326         (exp_test_upward): Likewise.
14327         (exp10_test): Likewise.
14328         (exp10_test_tonearest): Likewise.
14329         (exp10_test_towardzero): Likewise.
14330         (exp10_test_downward): Likewise.
14331         (exp10_test_upward): Likewise.
14332         (pow10_test): Likewise.
14333         (exp2_test): Likewise.
14334         (expm1_test): Likewise.
14335         (expm1_test_tonearest): Likewise.
14336         (expm1_test_towardzero): Likewise.
14337         (expm1_test_downward): Likewise.
14338         (expm1_test_upward): Likewise.
14339         (fabs_test): Likewise.
14340         (fdim_test): Likewise.
14341         (floor_test): Likewise.
14342         (fma_test): Likewise.
14343         (fma_test_towardzero): Likewise.
14344         (fma_test_downward): Likewise.
14345         (fma_test_upward): Likewise.
14346         (fmax_test): Likewise.
14347         (fmin_test): Likewise.
14348         (fmod_test): Likewise.
14349         (fpclassify_test): Likewise.
14350         (frexp_test): Likewise.
14351         (hypot_test): Likewise.
14352         (ilogb_test): Likewise.
14353         (isfinite_test): Likewise.
14354         (finite_test): Likewise.
14355         (isgreater_test): Likewise.
14356         (isgreaterequal_test): Likewise.
14357         (isinf_test): Likewise.
14358         (isless_test): Likewise.
14359         (islessequal_test): Likewise.
14360         (islessgreater_test): Likewise.
14361         (isnan_test): Likewise.
14362         (isnormal_test): Likewise.
14363         (issignaling_test): Likewise.
14364         (isunordered_test): Likewise.
14365         (j0_test): Likewise.
14366         (j1_test): Likewise.
14367         (jn_test): Likewise.
14368         (ldexp_test): Likewise.
14369         (lgamma_test): Likewise.
14370         (gamma_test): Likewise.
14371         (lrint_test): Likewise.
14372         (lrint_test_tonearest): Likewise.
14373         (lrint_test_towardzero): Likewise.
14374         (lrint_test_downward): Likewise.
14375         (lrint_test_upward): Likewise.
14376         (llrint_test): Likewise.
14377         (llrint_test_tonearest): Likewise.
14378         (llrint_test_towardzero): Likewise.
14379         (llrint_test_downward): Likewise.
14380         (llrint_test_upward): Likewise.
14381         (log_test): Likewise.
14382         (log10_test): Likewise.
14383         (log1p_test): Likewise.
14384         (log2_test): Likewise.
14385         (logb_test): Likewise.
14386         (logb_test_downward): Likewise.
14387         (lround_test): Likewise.
14388         (llround_test): Likewise.
14389         (modf_test): Likewise.
14390         (nearbyint_test): Likewise.
14391         (nextafter_test): Likewise.
14392         (nexttoward_test): Likewise.
14393         (pow_test): Likewise.
14394         (pow_test_tonearest): Likewise.
14395         (pow_test_towardzero): Likewise.
14396         (pow_test_downward): Likewise.
14397         (pow_test_upward): Likewise.
14398         (remainder_test): Likewise.
14399         (drem_test): Likewise.
14400         (remainder_test_tonearest): Likewise.
14401         (drem_test_tonearest): Likewise.
14402         (remainder_test_towardzero): Likewise.
14403         (drem_test_towardzero): Likewise.
14404         (remainder_test_downward): Likewise.
14405         (drem_test_downward): Likewise.
14406         (remainder_test_upward): Likewise.
14407         (drem_test_upward): Likewise.
14408         (remquo_test): Likewise.
14409         (rint_test): Likewise.
14410         (rint_test_tonearest): Likewise.
14411         (rint_test_towardzero): Likewise.
14412         (rint_test_downward): Likewise.
14413         (rint_test_upward): Likewise.
14414         (round_test): Likewise.
14415         (scalb_test): Likewise.
14416         (scalbn_test): Likewise.
14417         (scalbln_test): Likewise.
14418         (signbit_test): Likewise.
14419         (sin_test): Likewise.
14420         (sin_test_tonearest): Likewise.
14421         (sin_test_towardzero): Likewise.
14422         (sin_test_downward): Likewise.
14423         (sin_test_upward): Likewise.
14424         (sincos_test): Likewise.
14425         (sinh_test): Likewise.
14426         (sinh_test_tonearest): Likewise.
14427         (sinh_test_towardzero): Likewise.
14428         (sinh_test_downward): Likewise.
14429         (sinh_test_upward): Likewise.
14430         (sqrt_test): Likewise.
14431         (sqrt_test_tonearest): Likewise.
14432         (sqrt_test_towardzero): Likewise.
14433         (sqrt_test_downward): Likewise.
14434         (sqrt_test_upward): Likewise.
14435         (tan_test): Likewise.
14436         (tan_test_tonearest): Likewise.
14437         (tan_test_towardzero): Likewise.
14438         (tan_test_downward): Likewise.
14439         (tan_test_upward): Likewise.
14440         (tanh_test): Likewise.
14441         (tgamma_test): Likewise.
14442         (trunc_test): Likewise.
14443         (y0_test): Likewise.
14444         (y1_test): Likewise.
14445         (yn_test): Likewise.
14446         (significand_test): Likewise.
14447
14448         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
14449         individual tests in comment.
14450         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
14451         (prev_max_error): New variable.
14452         (prev_real_max_error): Likewise.
14453         (prev_imag_max_error): Likewise.
14454         (compare_ulp_data): Don't refer to test names in comment.
14455         (find_test_ulps): Remove function.
14456         (find_function_ulps): Likewise.
14457         (find_complex_function_ulps): Likewise.
14458         (init_max_error): Take function name as argument.  Look up ulps
14459         for that function.
14460         (print_ulps): Remove function.
14461         (print_max_error): Use prev_max_error instead of calling
14462         find_function_ulps.
14463         (print_complex_max_error): Use prev_real_max_error and
14464         prev_imag_max_error instead of calling find_complex_function_ulps.
14465         (check_float_internal): Take max_ulp parameter instead of calling
14466         find_test_ulps.  Don't call print_ulps.
14467         (check_float): Update call to check_float_internal.
14468         (check_complex): Update calls to check_float_internal.
14469         (START): Pass argument to init_max_error.
14470         * math/gen-libm-test.pl (%results): Don't include "kind"
14471         information.
14472         (parse_ulps): Don't handle ulps of individual tests.
14473         (print_ulps_file): Likewise.
14474         (output_ulps): Likewise.
14475         * math/README.libm-test: Update.
14476         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
14477         individual tests.
14478         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
14479         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
14480         * sysdeps/arm/libm-test-ulps: Likewise.
14481         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
14482         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
14483         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
14484         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
14485         * sysdeps/microblaze/libm-test-ulps: Likewise.
14486         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
14487         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
14488         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
14489         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
14490         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
14491         * sysdeps/sh/libm-test-ulps: Likewise.
14492         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
14493         * sysdeps/tile/libm-test-ulps: Likewise.
14494         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14495
14496 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
14497
14498         * math/libm-test.inc (print_complex_max_error): Check separately
14499         whether real and imaginary errors are within allowed range and
14500         pass 0 to print_complex_function_ulps instead of value within
14501         allowed range.
14502
14503 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
14504
14505         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
14506         formatting.
14507         (get_handles_fopen): Likewise.
14508         (do_write_test): Likewise.
14509
14510         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
14511
14512         * libio/fileops.c (do_ftell): Use cached offset when
14513         available.
14514         * libio/iofwide.c (do_ftell_wide): Likewise.
14515         * libio/iofdopen.c (_IO_new_fdopen): Don't use
14516         _IO_file_attach.
14517         * libio/wfileops.c (_IO_fwide): Don't cache offset.
14518
14519         [BZ #16532]
14520         * libio/libioP.h (get_file_offset): New function.
14521         * libio/fileops.c (get_file_offset): Likewise.
14522         (do_ftell): Likewise.
14523         (_IO_new_file_seekoff): Split out ftell logic.
14524         * libio/wfileops.c (do_ftell_wide): Likewise.
14525         (_IO_wfile_seekoff): Split out ftell logic.
14526         * libio/tst-ftell-active-handler.c: New test case.
14527         * libio/Makefile (tests): Add it.
14528
14529 2014-03-03  Roland McGrath  <roland@hack.frob.com>
14530
14531         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
14532         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
14533
14534 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
14535
14536         [BZ #16639]
14537         * nscd/connections.c (nscd_init): Call do_exit.
14538         (start_threads): Call do_exit and notify_parent.
14539         (begin_drop_privileges): Call do_exit.
14540         (finish_drop_privileges): Likewise.
14541         * nscd/selinux.c (preserve_capabilities): Likewise.
14542         (install_real_capabilities): Likewise.
14543         (nscd_selinux_enabled): Likewise.
14544         (avc_create_thread): Likewise.
14545         (avc_alloc_lock): Likewise.
14546         (nscd_avc_init): Likewise.
14547         * nscd/nscd.c (parent_fd): New static variable.
14548         (main): Create a pipe between parent and child processes.
14549         Skip closing parent_fd.
14550         (monitor_child): New function.
14551         (do_exit): Likewise.
14552         (notify_parent): Likewise.
14553         * nscd/nscd.h (notify_parent): Likewise.
14554         (do_exit): Likewise.
14555
14556 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
14557
14558         * malloc/malloc.c (__libc_calloc): Revert last change.
14559
14560 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14561
14562         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14563
14564 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
14565
14566         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
14567         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
14568         implementation.
14569         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
14570         (__libc_ifunc_impl_list): Likewise.
14571         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
14572         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
14573         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
14574         * string/strrchr.c: Define STRRCHR.
14575
14576 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
14577
14578         * benchtest/bench-strtok.c (simple_strtok): Delete.
14579         (strtok_string): Use as benchmark.
14580         * string/strtok (STRTOK): New macro.
14581
14582 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
14583
14584         * manual/threads.texi: Add header and standard comments to all
14585         functions.
14586
14587         * elf/dl-lookup.c (check_match): New function.
14588         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
14589         (do_lookup_x): Remove nested function check_match. Use non-nested
14590         function check_match.
14591
14592 2014-02-28  Roland McGrath  <roland@hack.frob.com>
14593
14594         * csu/Makefile (generated, before-compile): Use += rather than =.
14595         * catgets/Makefile (generated, generated-dirs): Likewise.
14596         * debug/Makefile (generated): Likewise.
14597         * dlfcn/Makefile (generated): Likewise.
14598         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
14599         * iconvdata/Makefile (before-compile, generated): Likewise.
14600         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
14601         * libio/Makefile (generated): Likewise.
14602         * malloc/Makefile (generated): Likewise.
14603         * manual/Makefile (generated, generated-dirs): Likewise.
14604         * misc/Makefile (generated): Likewise.
14605         * posix/Makefile (generated): Likewise.
14606         * resolv/Makefile (generated): Likewise.
14607         * sunrpc/Makefile (generated, generated-dirs): Likewise.
14608         * timezone/Makefile (generated, generated-dirs): Likewise.
14609
14610         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
14611
14612 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14613
14614         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
14615         power8 implementation.
14616         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
14617         file: POWER8 llround ifunc implementation.
14618         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
14619         (__lllround): Add POWER8 implementation.
14620         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
14621         POWER8 llround implementation.
14622
14623         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
14624         power8 implementation.
14625         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
14626         file: POWER8 llrint ifunc implementation.
14627         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
14628         Add POWER8 implementation.
14629         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
14630         POWER8 llrint implementation.
14631
14632         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
14633         power8 implementation.
14634         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
14635         file: POWER8 finite ifunc implementation.
14636         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
14637         Add POWER8 implementation.
14638         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
14639         Likewise.
14640         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
14641         POWER8 finite implementation.
14642         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
14643
14644         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
14645         power8 implementation.
14646         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
14647         file: POWER8 isinf ifunc implementation.
14648         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
14649         POWER8 implementation.
14650         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
14651         Likewise.
14652         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
14653         isinf implementation.
14654         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
14655
14656         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
14657         (INIT_ARCH): Add hwcap2 initialization.
14658         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
14659         power8 implementation.
14660         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
14661         file: POWER8 isnan ifunc implementation.
14662         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
14663         POWER8 implementation.
14664         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
14665         Likewise.
14666         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
14667         isnan implementation.
14668         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
14669
14670 2014-02-27  Joey Ye  <joey.ye@arm.com>
14671
14672         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
14673         (_FP_NANFRAC_Q): Set to zero.
14674
14675 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
14676
14677         [BZ #16623]
14678         * math/auto-libm-test-in: New test inputs.
14679         * math/auto-libm-test-out: Regenerate.
14680         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
14681         and DA.
14682         (__cos): Likewise.
14683         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
14684
14685 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
14686
14687         * scripts/evaluate-test.sh: Take new argument indicating whether
14688         failure is expected.
14689         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
14690         indicating whether failure is expected.
14691         * conform/Makefile (test-xfail-run-conformtest): New variable.
14692         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
14693         level.
14694         * posix/Makefile (test-xfail-annexc): New variable.
14695         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
14696
14697 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
14698
14699         * argp/Makefile: Include Makeconfig immediately after defining
14700         subdir.
14701         * assert/Makefile: Likewise.
14702         * benchtests/Makefile: Likewise.
14703         * catgets/Makefile: Likewise.
14704         * conform/Makefile: Likewise.
14705         * crypt/Makefile: Likewise.
14706         * csu/Makefile: Likewise.
14707         (all): Remove target.
14708         * ctype/Makefile: Include Makeconfig immediately after defining
14709         subdir.
14710         * debug/Makefile: Likewise.
14711         * dirent/Makefile: Likewise.
14712         * dlfcn/Makefile: Likewise.
14713         * gmon/Makefile: Likewise.
14714         * gnulib/Makefile: Likewise.
14715         * grp/Makefile: Likewise.
14716         * gshadow/Makefile: Likewise.
14717         * hesiod/Makefile: Likewise.
14718         * hurd/Makefile: Likewise.
14719         (all): Remove target.
14720         * iconvdata/Makefile: Include Makeconfig immediately after
14721         defining subdir.
14722         * inet/Makefile: Likewise.
14723         * intl/Makefile: Likewise.
14724         * io/Makefile: Likewise.
14725         * libio/Makefile: Likewise.
14726         (all): Remove target.
14727         * locale/Makefile: Include Makeconfig immediately after defining
14728         subdir.
14729         * login/Makefile: Likewise.
14730         * mach/Makefile: Likewise.
14731         (all): Remove target.
14732         * malloc/Makefile: Include Makeconfig immediately after defining
14733         subdir.
14734         (all): Remove target.
14735         * manual/Makefile: Include Makeconfig immediately after defining
14736         subdir.
14737         * math/Makefile: Likewise.
14738         * misc/Makefile: Likewise.
14739         * nis/Makefile: Likewise.
14740         * nss/Makefile: Likewise.
14741         * po/Makefile: Likewise.
14742         (all): Remove target.
14743         * posix/Makefile: Include Makeconfig immediately after defining
14744         subdir.
14745         * pwd/Makefile: Likewise.
14746         * resolv/Makefile: Likewise.
14747         * resource/Makefile: Likewise.
14748         * rt/Makefile: Likewise.
14749         * setjmp/Makefile: Likewise.
14750         * shadow/Makefile: Likewise.
14751         * signal/Makefile: Likewise.
14752         * socket/Makefile: Likewise.
14753         * soft-fp/Makefile: Likewise.
14754         * stdio-common/Makefile: Likewise.
14755         * stdlib/Makefile: Likewise.
14756         * streams/Makefile: Likewise.
14757         * string/Makefile: Likewise.
14758         * sunrpc/Makefile: Likewise.
14759         (all): Remove target.
14760         * sysvipc/Makefile: Include Makeconfig immediately after defining
14761         subdir.
14762         * termios/Makefile: Likewise.
14763         * time/Makefile: Likewise.
14764         * timezone/Makefile: Likewise.
14765         (all): Remove target.
14766         * wcsmbs/Makefile: Include Makeconfig immediately after defining
14767         subdir.
14768         * wctype/Makefile: Likewise.
14769
14770 2014-02-26  Steve Ellcey  <sellcey@mips.com>
14771
14772         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
14773         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
14774         (libc_feholdexcept_setround_mips): Ditto.
14775         (libc_feholdsetround): New.
14776         (libc_feholdsetroundf): New.
14777         (libc_feholdsetroundl): New.
14778         (libc_feupdateenv_test_mips): New.
14779         (libc_feupdateenv_test): New.
14780         (libc_feupdateenv_testf): New.
14781         (libc_feupdateenv_testl): New.
14782         (libc_feresetround): New.
14783         (libc_feresetroundf): New.
14784         (libc_feresetroundl): New.
14785         (libc_fetestexcept_mips): New.
14786         (libc_fetestexcept): New.
14787         (libc_fetestexceptf): New.
14788         (libc_fetestexceptl): New.
14789         (HAVE_RM_CTX): New.
14790         (libc_feholdexcept_setround_mips_ctx): New.
14791         (libc_feholdexcept_setround_ctx): New.
14792         (libc_feholdexcept_setroundf_ctx): New.
14793         (libc_feholdexcept_setroundl_ctx): New.
14794         (libc_fesetenv_mips_ctx): New.
14795         (libc_fesetenv_ctx): New.
14796         (libc_fesetenv_ctxf): New.
14797         (libc_fesetenv_ctxl): New.
14798         (libc_feupdateenv_mips_ctx): New.
14799         (libc_feupdateenv_ctx): New.
14800         (libc_feupdateenvf_ctx): New.
14801         (libc_feupdateenvl_ctx): New.
14802         (libc_feholdsetround_mips_ctx): New.
14803         (libc_feholdsetround_ctx): New.
14804         (libc_feholdsetroundf_ctx): New.
14805         (libc_feholdsetroundl_ctx): New.
14806         (libc_feresetround_mips_ctx): New.
14807         (libc_feresetround_ctx): New.
14808         (libc_feresetroundf_ctx): New.
14809         (libc_feresetroundl_ctx): New.
14810
14811 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
14812
14813         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
14814
14815         * manual/ipc.texi: New file.
14816         * manual/Makefile (chapters): Add ipc.
14817         * manual/job.texi: Add "Inter-Process Communication" to next.
14818         * manual/process.texi: Add "Inter-Process Communication" to prev.
14819
14820 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14821
14822         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14823
14824 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
14825
14826         * malloc/malloc.c (__libc_calloc): Simplify implementation.
14827
14828         * manual/arith.texi: Fix spaces after sentences.
14829         * manual/charset.texi: Likewise.
14830         * manual/errno.texi: Likewise.
14831         * manual/install.texi: Likewise.
14832         * manual/llio.texi: Likewise.
14833         * manual/locale.texi: Likewise.
14834         * manual/maint.texi: Likewise.
14835         * manual/math.texi: Likewise.
14836         * manual/memory.texi: Likewise.
14837         * manual/message.texi: Likewise.
14838         * manual/probes.texi: Likewise.
14839         * manual/resource.texi: Likewise.
14840         * manual/signal.texi: Likewise.
14841         * manual/socket.texi: Likewise.
14842         * manual/stdio.texi: Likewise.
14843         * manual/string.texi: Likewise.
14844         * manual/time.texi: Likewise.
14845         * manual/users.texi: Likewise.
14846
14847 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
14848
14849         [BZ #16632]
14850         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
14851         _DEFAULT_SOURCE is defined.
14852
14853 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
14854             Carlos O'Donell  <carlos@redhat.com>
14855
14856         [BZ #16613]
14857         * elf/dl-tls.c (_dl_count_modids): New function.
14858         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
14859         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
14860         audit library and increment generation counter.
14861         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
14862         * elf/tst-audit9.c: New file.
14863         * elf/tst-auditmod9a.c: New file.
14864         * elf/tst-auditmod9b.c: New file.
14865         * elf/Makefile: Add rules to build and run tst-audit9.
14866
14867 2014-02-25  Florian Weimer  <fweimer@redhat.com>
14868
14869         [BZ #15347]
14870         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
14871
14872 2014-02-25  Will Newton  <will.newton@linaro.org>
14873
14874         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
14875         (__longjmp): Restore sp and lr before restoring callee
14876         saved registers.  Add longjmp and longjmp_target
14877         SystemTap probe point.
14878         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
14879         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
14880         Define to zero to match jmpbuf layout.
14881         * sysdeps/arm/setjmp.S: Include stap-probe.h.
14882         (__sigsetjmp): Save sp and lr before saving callee
14883         saved registers.  Add setjmp SystemTap probe point.
14884
14885 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
14886
14887         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
14888
14889 2014-02-24  Andreas Schwab  <schwab@suse.de>
14890
14891         [BZ #15804]
14892         * elf/pldd.c (wait_for_ptrace_stop): New function.
14893         (main): Call it after attaching.
14894
14895 2014-02-22  Roland McGrath  <roland@hack.frob.com>
14896
14897         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
14898         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
14899         Versions files is now verboten.
14900         * hurd/Versions (libc: GLIBC_2.0):
14901         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
14902         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
14903         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
14904         * mach/Versions: Likewise.
14905
14906         * csu/Versions: Remove unused %include.
14907         * resolv/Versions: Likewise.
14908
14909 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
14910
14911         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
14912         ($(objpfx)check-local-headers.out): Likewise.
14913         ($(objpfx)begin-end-check.out): Likewise.
14914         * Makerules (check-abi-%.out): Likewise.
14915         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
14916         ($(objpfx)test2.cat): Likewise.
14917         ($(objpfx)de/libc.cat): Likewise.
14918         ($(objpfx)test-gencat.out): Likewise.
14919         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
14920         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
14921         ($(objpfx)noload-mem): Likewise.
14922         ($(objpfx)tst-pathopt.out): Likewise.
14923         ($(objpfx)tst-rtld-load-self.out): Likewise.
14924         ($(objpfx)tst-array1-cmp.out): Likewise.
14925         ($(objpfx)tst-array1-static-cmp.out): Likewise.
14926         ($(objpfx)tst-array2-cmp.out): Likewise.
14927         ($(objpfx)tst-array3-cmp.out): Likewise.
14928         ($(objpfx)tst-array4-cmp.out): Likewise.
14929         ($(objpfx)tst-array5-cmp.out): Likewise.
14930         ($(objpfx)tst-array5-static-cmp.out): Likewise.
14931         ($(objpfx)check-textrel.out): Likewise.
14932         ($(objpfx)check-execstack.out): Likewise.
14933         ($(objpfx)check-localplt.out): Likewise.
14934         ($(objpfx)order2-cmp.out): Likewise.
14935         ($(objpfx)tst-leaks1-mem): Likewise.
14936         ($(objpfx)tst-leaks1-static-mem): Likewise.
14937         ($(objpfx)tst-initorder-cmp.out): Likewise.
14938         ($(objpfx)tst-initorder2-cmp.out): Likewise.
14939         ($(objpfx)tst-unused-dep.out): Likewise.
14940         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
14941         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
14942         * iconv/Makefile (test-iconvconfig): Likewise.
14943         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
14944         ($(objpfx)iconv-test.out): Likewise.
14945         ($(objpfx)tst-tables.out): Likewise.
14946         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
14947         ($(objpfx)tst-gettext.out): Likewise.
14948         ($(objpfx)tst-translit.out): Likewise.
14949         ($(objpfx)tst-gettext2.out): Likewise.
14950         ($(objpfx)tst-gettext4.out): Likewise.
14951         ($(objpfx)tst-gettext6.out): Likewise.
14952         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
14953         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
14954         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
14955         ($(objpfx)tst-fopenloc-mem.out): Likewise.
14956         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
14957         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
14958         * posix/Makefile ($(objpfx)globtest.out): Likewise.
14959         ($(objpfx)wordexp-tst.out): Likewise.
14960         ($(objpfx)annexc.out): Likewise.
14961         ($(objpfx)tst-fnmatch-mem): Likewise.
14962         ($(objpfx)bug-regex2-mem): Likewise.
14963         ($(objpfx)bug-regex14-mem): Likewise.
14964         ($(objpfx)bug-regex21-mem): Likewise.
14965         ($(objpfx)bug-regex31-mem): Likewise.
14966         ($(objpfx)tst-vfork3-mem): Likewise.
14967         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
14968         ($(objpfx)tst-pcre-mem): Likewise.
14969         ($(objpfx)tst-boost-mem): Likewise.
14970         ($(objpfx)tst-getconf.out): Likewise.
14971         ($(objpfx)bug-ga2-mem): Likewise.
14972         ($(objpfx)bug-glob2-mem): Likewise.
14973         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
14974         ($(objpfx)mtrace-tst-leaks2): Likewise.
14975         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
14976         ($(objpfx)tst-printf.out): Likewise.
14977         ($(objpfx)tst-setvbuf1.out): Likewise.
14978         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
14979         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
14980         ($(objpfx)tst-fmtmsg.out): Likewise.
14981         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
14982         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
14983
14984         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
14985         * bits/sigaction.h [__USE_MISC]: Likewise.
14986         * bits/waitstatus.h: Update #endif comments.
14987         * ctype/ctype.h: Likewise.
14988         * dirent/dirent.h: Likewise.
14989         [__USE_MISC]: Remove redundant conditionals.
14990         * grp/grp.h: Update #endif comments.
14991         [__USE_GNU]: Remove redundant conditionals.
14992         [__USE_MISC]: Likewise.
14993         * inet/netinet/in.h [__USE_GNU]: Likewise.
14994         * io/sys/stat.h [__USE_MISC]: Likewise.
14995         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
14996         * libio/bits/stdio.h: Update #endif comments.
14997         [__USE_MISC]: Remove redundant conditionals.
14998         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
14999         * libio/stdio.h: Update #endif comments.
15000         [__USE_MISC]: Remove redundant conditionals.
15001         * math/bits/math-finite.h [__USE_MISC]: Likewise.
15002         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
15003         * math/math.h: Update #else and #endif comments.
15004         [__USE_MISC]: Remove redundant conditionals.
15005         * misc/sys/uio.h: Update #endif comments.
15006         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
15007         * posix/glob.h [__USE_MISC]: Likewise.
15008         * posix/sys/types.h: Update #endif comments.
15009         [__USE_MISC]: Remove redundant conditionals.
15010         * posix/sys/wait.h: Update #endif comments.
15011         [__USE_MISC]: Remove redundant conditionals.
15012         * posix/unistd.h: Update #endif comments.
15013         [__USE_MISC]: Remove redundant conditionals.
15014         * pwd/pwd.h [__USE_GNU]: Likewise.
15015         [__USE_MISC]: Likewise.
15016         * resolv/netdb.h [__USE_GNU]: Likewise.
15017         * signal/signal.h: Update #endif comments.
15018         [__USE_MISC]: Remove redundant conditionals.
15019         * stdlib/stdlib.h: Update #else and #endif comments.
15020         [__USE_MISC]: Remove redundant conditionals.
15021         [__USE_GNU]: Likewise.
15022         * string/bits/string2.h [__USE_MISC]: Likewise.
15023         * string/string.h: Update #endif comments.
15024         [__USE_MISC]: Remove redundant conditionals.
15025         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
15026         Likewise.
15027         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
15028         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
15029         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
15030         Likewise.
15031         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
15032         Likewise.
15033         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
15034         comments.
15035         [__USE_MISC]: Remove redundant conditionals.
15036         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
15037         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
15038         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
15039         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
15040         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
15041         Likewise.
15042         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
15043         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
15044         Likewise.
15045         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
15046         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
15047         Likewise.
15048         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
15049         Likewise.
15050         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
15051         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
15052         Likewise.
15053         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
15054         Likewise.
15055         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
15056         * sysdeps/x86/bits/string.h: Update #endif comments.
15057         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
15058         conditionals.
15059         * time/sys/time.h: Update #endif comments.
15060         * time/time.h: Likewise.
15061         [__USE_MISC]: Remove redundant conditionals.
15062
15063 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
15064
15065         [BZ #16600]
15066         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
15067
15068 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
15069
15070         * Versions.def (librt): Add GLIBC_2.17.
15071
15072 2014-02-21  Adam Conrad  <adconrad@0c3.net>
15073
15074         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
15075         synonym for _SYS_AUXV_H to allow direct inclusion.
15076         * sysdeps/sparc/bits/hwcap.h: Likewise.
15077         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
15078         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
15079         * sysdeps/sparc/sysdep.h: Likewise.
15080
15081 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
15082
15083         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
15084
15085 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
15086
15087         * benchtests/bench-strrchr.c: Print length instead of position.
15088
15089 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
15090
15091         [BZ #16611]
15092         * sysdeps/unix/sysv/linux/kernel-features.h
15093         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
15094         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
15095         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
15096         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
15097         Likewise.
15098         [__i386__ || __powerpc__ || __sh__ || __sparc__]
15099         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
15100         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
15101         (__ASSUME_SENDMMSG): Define instead of using previous
15102         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
15103         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
15104         (__ASSUME_SENDMMSG_SYSCALL): Define.
15105         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
15106         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
15107         Likewise.
15108         * sysdeps/unix/sysv/linux/arm/kernel-features.h
15109         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
15110         Likewise.
15111         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
15112         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
15113         Likewise.
15114         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
15115         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
15116         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
15117         [__ASSUME_SENDMMSG]: Change conditionals to
15118         [__ASSUME_SENDMMSG_SOCKETCALL].
15119         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15120         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
15121         Define.
15122         * sysdeps/unix/sysv/linux/mips/kernel-features.h
15123         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
15124         Likewise.
15125         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
15126         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
15127         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
15128         [!__ASSUME_SENDMMSG]: Change conditional to
15129         [!__ASSUME_SENDMMSG_SOCKETCALL].
15130         * sysdeps/unix/sysv/linux/tile/kernel-features.h
15131         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
15132         Define.
15133
15134         [BZ #16610]
15135         * sysdeps/unix/sysv/linux/kernel-features.h
15136         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
15137         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
15138         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
15139         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
15140         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
15141         [__i386__ || __sparc__]
15142         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
15143         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
15144         (__ASSUME_RECVMMSG): Define instead of using previous
15145         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
15146         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
15147         (__ASSUME_RECVMMSG_SYSCALL): Define.
15148         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
15149         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
15150         Likewise.
15151         * sysdeps/unix/sysv/linux/arm/kernel-features.h
15152         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
15153         Likewise.
15154         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
15155         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
15156         Likewise.
15157         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
15158         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
15159         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
15160         [__ASSUME_RECVMMSG]: Change condition to
15161         [__ASSUME_RECVMMSG_SOCKETCALL].
15162         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15163         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
15164         Define.
15165         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
15166         * sysdeps/unix/sysv/linux/mips/kernel-features.h
15167         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
15168         Likewise.
15169         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
15170         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
15171         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
15172         [!__ASSUME_RECVMMSG]: Change condition to
15173         [!__ASSUME_RECVMMSG_SOCKETCALL].
15174         * sysdeps/unix/sysv/linux/tile/kernel-features.h
15175         (__ASSUME_RECVMMSG_SYSCALL): Define.
15176
15177         [BZ #16609]
15178         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
15179         __powerpc__ || __s390__ || __sh__ || __sparc__]
15180         (__ASSUME_SOCKETCALL): Define.
15181         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
15182         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
15183         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
15184         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
15185         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
15186         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
15187         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
15188         (__ASSUME_ACCEPT4): Define instead of using previous
15189         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
15190         __powerpc__ || __sparc__ || __s390__)] condition.
15191         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
15192         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
15193         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
15194         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
15195         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
15196         [!__ASSUME_ACCEPT4]: Change condition to
15197         [!__ASSUME_ACCEPT4_SOCKETCALL].
15198         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
15199         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
15200         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
15201         * sysdeps/unix/sysv/linux/arm/kernel-features.h
15202         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
15203         __ASSUME_ACCEPT4_SYSCALL.
15204         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
15205         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
15206         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
15207         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
15208         __ASSUME_ACCEPT4_SYSCALL.
15209         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
15210         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
15211         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
15212         [__ASSUME_ACCEPT4]: Change condition to
15213         [__ASSUME_ACCEPT4_SOCKETCALL].
15214         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
15215         (__ASSUME_SOCKETCALL): Define.
15216         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
15217         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15218         (__ASSUME_SOCKETCALL): Define.
15219         (__ASSUME_ACCEPT4): Remove.
15220         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
15221         Define.
15222         * sysdeps/unix/sysv/linux/mips/kernel-features.h
15223         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
15224         Likewise.
15225         * sysdeps/unix/sysv/linux/tile/kernel-features.h
15226         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
15227
15228         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
15229         macro.
15230         (HWCAP_ARM_LPAE): Likewise.
15231         (HWCAP_ARM_EVTSTRM): Likewise.
15232         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
15233         Add vpfd32, lpae and evtstrm.
15234         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
15235         Increase to 22.
15236
15237 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
15238
15239         * math/auto-libm-test-in: Add tests of clog10.
15240         * math/auto-libm-test-out: Regenerated.
15241         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
15242         * sysdeps/i386/fpu/libm-test-ulps: Update.
15243         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15244
15245 2014-02-18  Andreas Schwab  <schwab@suse.de>
15246
15247         [BZ #16574]
15248         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
15249         Store non-zero if the second buffer was newly allocated.
15250         (send_dg): Likewise.
15251         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
15252         to send_vc and send_dg.
15253         (res_nsend): Pass NULL for ansp2_malloced.
15254         * resolv/res_query.c (__libc_res_nquery): Add parameter
15255         answerp2_malloced and pass it down to __libc_res_nsend.
15256         (res_nquery): Pass additional NULL to __libc_res_nquery.
15257         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
15258         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
15259         second answer buffer if answerp2_malloced was set.
15260         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
15261         (__libc_res_nquerydomain): Add parameter
15262         answerp2_malloced and pass it down to __libc_res_nquery.
15263         (res_nquerydomain): Pass additional NULL to
15264         __libc_res_nquerydomain.
15265         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
15266         additional NULL to __libc_res_nsend and __libc_res_nquery.
15267         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
15268         additional NULL to __libc_res_nsearch.
15269         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
15270         parameter of __libc_res_nsearch to check for separately allocated
15271         second buffer.
15272         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
15273         __libc_res_nquery.
15274         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
15275         additional NULL to __libc_res_nquery.
15276         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
15277         __libc_res_nsearch.
15278         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
15279         * include/resolv.h: Update prototypes of __libc_res_nquery,
15280         __libc_res_nsearch, __libc_res_nsend.
15281
15282 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
15283
15284         * math/auto-libm-test-in: Add tests of fma.
15285         * math/auto-libm-test-out: Regenerated.
15286         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
15287         (fma_towardzero_test_data): Likewise.
15288         (fma_downward_test_data): Likewise.
15289         (fma_upward_test_data): Likewise.
15290         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
15291         mpc_mode.
15292         (rounding_modes): Add values for new field.
15293         (func_calc_method): Add value mpfr_fff_f.
15294         (func_calc_desc): Add mpfr_fff_f union field.
15295         (test_function): Add field exact_args.
15296         (FUNC): Add macro argument EXACT_ARGS.
15297         (FUNC_mpfr_f_f): Update call to FUNC.
15298         (FUNC_mpfr_f_f): Likewise.
15299         (FUNC_mpfr_ff_f): Likewise.
15300         (FUNC_mpfr_if_f): Likewise.
15301         (FUNC_mpc_c_f): Likewise.
15302         (FUNC_mpc_c_c): Likewise.
15303         (test_functions): Add fma.  Update calls to FUNC.
15304         (handle_input_arg): Add argument exact_args.
15305         (add_test): Update call to handle_input_arg.
15306         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
15307         (output_for_one_input_case): Update call to calc_generic_results.
15308         Recalculate exact zero results in each rounding mode.
15309
15310         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
15311         non-negative before setting low bit.
15312         * math/auto-libm-test-in: Mark one asin test possibly having
15313         spurious underflow.
15314         * math/auto-libm-test-out: Regenerated.
15315         * sysdeps/i386/fpu/libm-test-ulps: Update.
15316         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15317
15318 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
15319
15320         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
15321         * sysdeps/unix/sysv/linux/microblaze: Move directory from
15322         ports/sysdeps/unix/sysv/linux/microblaze.
15323         * README: Add missing listing for microblaze*-*-linux-gnu.
15324
15325 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
15326
15327         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
15328         duplicate code
15329
15330 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
15331
15332         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
15333         * sysdeps/unix/sysv/linux/ia64: Move directory from
15334         ports/sysdeps/unix/sysv/linux/ia64.
15335         * README: Update listing for ia64-*-linux-gnu.
15336
15337 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
15338             Joseph Myers  <joseph@codesourcery.com>
15339
15340         * Makeconfig (test-name): New variable.
15341         (evaluate-test): Likewise.
15342         * Makerules (do-test-clean): Remove .test-result files.
15343         (common-mostlyclean): Likewise.
15344         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
15345         * scripts/evaluate-test.sh: New file.
15346
15347 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
15348
15349         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
15350         separate $(objpfx)tst-fopenloc-cmp.out and
15351         $(objpfx)tst-fopenloc-mem.out targets.
15352         (tests): Update dependencies.
15353         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
15354         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
15355         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
15356         (tst-rxspencer-no-utf8-ARGS): New variable.
15357         (tst-rxspencer-no-utf8-ENV): Likewise.
15358         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
15359         instead of $(objpfx)tst-rxspencer-mem.
15360         ($(objpfx)tst-rxspencer-mem): Change target to
15361         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
15362         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
15363         * posix/tst-rxspencer-no-utf8.c: New file.
15364
15365         * elf/Makefile ($(objpfx)order.out): Remove rule.
15366         [$(run-built-tests) = yes] (tests): Depend on
15367         $(objpfx)order-cmp.out.
15368         ($(objpfx)order-cmp.out): New rule.
15369         [$(run-built-tests) = yes] (tests): Depend on
15370         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
15371         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
15372         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
15373         $(objpfx)tst-array5-static-cmp.out.
15374         ($(objpfx)tst-array1.out): Remove rule.
15375         ($(objpfx)tst-array1-cmp.out): New rule.
15376         ($(objpfx)tst-array1-static.out): Remove rule.
15377         ($(objpfx)tst-array1-static-cmp.out): New rule.
15378         ($(objpfx)tst-array2.out): Remove rule.
15379         ($(objpfx)tst-array2-cmp.out): New rule.
15380         ($(objpfx)tst-array3.out): Remove rule.
15381         ($(objpfx)tst-array3-cmp.out): New rule.
15382         ($(objpfx)tst-array4.out): Remove rule.
15383         ($(objpfx)tst-array4-cmp.out): New rule.
15384         ($(objpfx)tst-array5.out): Remove rule.
15385         ($(objpfx)tst-array5-cmp.out): New rule.
15386         ($(objpfx)tst-array5-static.out): Remove rule.
15387         ($(objpfx)tst-array5-static-cmp.out): New rule.
15388         [$(run-built-tests) = yes] (tests): Depend on
15389         $(objpfx)order2-cmp.out.
15390         ($(objpfx)order2.out): Remove rule.
15391         ($(objpfx)order2-cmp.out): New rule.
15392         ($(objpfx)tst-initorder.out): Remove rule.
15393         [$(run-built-tests) = yes] (tests): Depend on
15394         $(objpfx)tst-initorder-cmp.out.
15395         ($(objpfx)tst-initorder-cmp.out): New rule.
15396         ($(objpfx)tst-initorder2.out): Remove rule.
15397         [$(run-built-tests) = yes] (tests): Depend on
15398         $(objpfx)tst-initorder2-cmp.out.
15399         ($(objpfx)tst-initorder2-cmp.out): New rule.
15400         [$(run-built-tests) = yes] (tests): Depend on
15401         $(objpfx)tst-unused-dep-cmp.out.
15402         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
15403         ($(objpfx)tst-unused-dep-cmp.out): New rule.
15404         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
15405         on $(objpfx)tst-setvbuf1-cmp.out.
15406         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
15407         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
15408         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
15409         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
15410         ($(objpfx)tst-svc.out): Remove rule.
15411         ($(objpfx)tst-svc-cmp.out): New rule.
15412
15413 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
15414
15415         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
15416         * ctype/ctype.h [__USE_MISC]: Likewise.
15417         * dirent/dirent.h [__USE_MISC]: Likewise.
15418         * grp/grp.h [__USE_MISC]: Likewise.
15419         * io/fcntl.h [__USE_MISC]: Likewise.
15420         * io/sys/stat.h [__USE_MISC]: Likewise.
15421         * libio/stdio.h [__USE_MISC]: Likewise.
15422         * posix/unistd.h [__USE_MISC]: Likewise.
15423         * pwd/pwd.h [__USE_MISC]: Likewise.
15424         * stdlib.h [__USE_MISC]: Likewise.
15425         * string/bits/string2.h [__USE_MISC]: Likewise.
15426         * string/string.h [__USE_MISC]: Likewise.
15427         * time/time.h [__USE_MISC]: Likewise.
15428
15429 2014-02-13  Andreas Schwab  <schwab@suse.de>
15430
15431         [BZ #16574]
15432         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
15433         second answer buffer if it was separately allocated.
15434
15435 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
15436
15437         * sysdeps/mips/math-tests.h: Include <features.h>.
15438         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
15439         (ROUNDING_TESTS_long_double): Do not define.
15440         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
15441         (EXCEPTION_TESTS_long_double): Likewise.
15442         * sysdeps/mips/mips64/libm-test-ulps: Update.
15443
15444         * include/features.h (__USE_BSD): Remove macro definitions.
15445         (__USE_SVID): Likewise.
15446         (_BSD_SOURCE): Likewise.
15447         (_SVID_SOURCE): Likewise.
15448         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
15449         from definition of _DEFAULT_SOURCE.
15450         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
15451         [_DEFAULT_SOURCE].
15452         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
15453         * bits/mman.h [__USE_BSD]: Likewise.
15454         * bits/termios.h [__USE_BSD]: Likewise.
15455         * bits/waitstatus.h [__USE_BSD]: Likewise.
15456         * ctype/ctype.h [__USE_SVID]: Likewise.
15457         * dirent/dirent.h [__USE_BSD]: Likewise.
15458         * grp/grp.h [__USE_SVID]: Likewise.
15459         [__USE_BSD]: Likewise.
15460         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
15461         * io/fcntl.h [__USE_BSD]: Likewise.
15462         * io/ftw.h [__USE_BSD]: Likewise.
15463         * io/sys/stat.h [__USE_BSD]: Likewise.
15464         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
15465         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
15466         * libio/stdio.h [__USE_SVID]: Likewise.
15467         [__USE_BSD]: Likewise.
15468         * math/math.h [__USE_SVID]: Likewise.
15469         [__USE_BSD]: Likewise.
15470         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
15471         * misc/bits/syslog.h [__USE_BSD]: Likewise.
15472         * misc/search.h [__USE_SVID]: Likewise.
15473         * misc/sys/mman.h [__USE_BSD]: Likewise.
15474         * misc/sys/syslog.h [__USE_BSD]: Likewise.
15475         * misc/sys/uio.h [__USE_BSD]: Likewise.
15476         * posix/bits/unistd.h [__USE_BSD]: Likewise.
15477         * posix/glob.h [__USE_BSD]: Likewise.
15478         * posix/regex.h [__USE_BSD]: Likewise.
15479         * posix/sys/types.h [__USE_BSD]: Likewise.
15480         [__USE_SVID]: Likewise.
15481         * posix/sys/utsname.h [__USE_SVID]: Likewise.
15482         * posix/sys/wait.h [__USE_BSD]: Likewise.
15483         [__USE_SVID]: Likewise.
15484         * posix/unistd.h [__USE_BSD]: Likewise.
15485         [__USE_SVID]: Likewise.
15486         * pwd/pwd.h [__USE_SVID]: Likewise.
15487         * resolv/netdb.h [__USE_BSD]: Likewise.
15488         * setjmp/setjmp.h [__USE_BSD]: Likewise.
15489         * signal/signal.h [__USE_BSD]: Likewise.
15490         [__USE_SVID]: Likewise.
15491         * socket/sys/socket.h [__USE_BSD]: Likewise.
15492         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
15493         * stdlib/stdlib.h [__USE_BSD]: Likewise.
15494         [__USE_SVID]: Likewise.
15495         * string/bits/string2.h [__USE_BSD]: Likewise.
15496         [__USE_SVID]: Likewise.
15497         * string/bits/string3.h [__USE_BSD]: Likewise.
15498         * string/endian.h [__USE_BSD]: Likewise.
15499         * string/string.h [__USE_SVID]: Likewise.
15500         [__USE_BSD]: Likewise.
15501         * string/strings.h [__USE_BSD]: Likewise.
15502         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
15503         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
15504         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
15505         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
15506         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
15507         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
15508         Likewise.
15509         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
15510         Likewise.
15511         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
15512         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
15513         Likewise.
15514         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
15515         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
15516         Likewise.
15517         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
15518         Likewise.
15519         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
15520         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
15521         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
15522         Likewise.
15523         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
15524         Likewise.
15525         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
15526         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
15527         * termios/termios.h [__USE_BSD]: Likewise.
15528         * time/sys/time.h [__USE_BSD]: Likewise.
15529         * time/time.h [__USE_BSD]: Likewise.
15530         [__USE_SVID]: Likewise.
15531
15532         * Makefile (subdir_targets): Remove subdir_lint.out.
15533
15534         * stdio-common/Makefile (do-tst-unbputc): Remove target.
15535         (do-tst-printf): Likewise.
15536         (tests): Depend directly on $(objpfx)tst-unbputc.out and
15537         $(objpfx)tst-printf.out.
15538
15539         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
15540
15541         * Makerules (check-abi-%): Change target to
15542         $(objpfx)check-abi-%.out.
15543         (check-abi target): Update dependencies.
15544         (check-abi-pattern variable): Redirect output of diff to $@.
15545         (check-abi variable): Likewise.
15546         * elf/Makefile (check-abi): Update dependencies.
15547
15548         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
15549         unused.
15550         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
15551         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
15552         subnormal range.
15553         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
15554         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
15555         value has largest subnormal exponent.
15556         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
15557         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
15558         * sysdeps/aarch64/soft-fp/sfp-machine.h
15559         (_FP_TININESS_AFTER_ROUNDING): New macro.
15560         * sysdeps/alpha/soft-fp/sfp-machine.h
15561         (_FP_TININESS_AFTER_ROUNDING): Likewise.
15562         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
15563         Likewise.
15564         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
15565         (_FP_TININESS_AFTER_ROUNDING): Likewise.
15566         * sysdeps/mips/soft-fp/sfp-machine.h
15567         (_FP_TININESS_AFTER_ROUNDING): Likewise.
15568         * sysdeps/powerpc/soft-fp/sfp-machine.h
15569         (_FP_TININESS_AFTER_ROUNDING): Likewise.
15570         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
15571         Likewise.
15572         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
15573         (_FP_TININESS_AFTER_ROUNDING): Likewise.
15574         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
15575         (_FP_TININESS_AFTER_ROUNDING): Likewise.
15576         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
15577         Likewise.
15578
15579 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
15580
15581         [BZ #16545]
15582         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
15583         model 1.
15584
15585 2014-02-12  Richard Henderson  <rth@redhat.com>
15586
15587         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
15588         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
15589         * sysdeps/unix/sysv/linux/alpha: Move directory from
15590         ports/sysdeps/unix/sysv/linux/alpha.
15591         * README: Update listing for alpha-*-linux-gnu.
15592
15593 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
15594
15595         * include/features.h: Update comment documenting feature test
15596         macros.
15597         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
15598         _DEFAULT_SOURCE.
15599         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
15600         (_SVID_SOURCE): Likewise.
15601         (_DEFAULT_SOURCE): Update description of default features.
15602         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
15603         with _GNU_SOURCE.
15604         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
15605         (S_ISVTX): Likewise.
15606         * manual/math.texi (Mathematical Constants): Likewise.
15607         * manual/signal.texi (Interrupted Primitives): Likewise.
15608         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
15609         * math/test-matherr.c (_SVID_SOURCE): Do not define.
15610         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
15611         Don't refer to _SVID_SOURCE in warning text.
15612
15613         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15614
15615         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
15616         already defined.
15617         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
15618         * sysdeps/mips/dl-lookup.c: Remove.
15619         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
15620
15621 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
15622
15623         [BZ #16447]
15624         * math/auto-libm-test-in: Add testcase for expl.
15625         * math/auto-libm-test-out: Regenerate.
15626         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
15627         calculation of unsafe.
15628         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
15629
15630 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
15631
15632         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
15633         * sysdeps/unix/sysv/linux/aarch64: Move directory from
15634         ports/sysdeps/unix/sysv/linux/aarch64.
15635         * README: Update listing for aarch64*-*-linux-gnu.
15636
15637 2014-02-11  Will Newton  <will.newton@linaro.org>
15638
15639         * manual/probes.texi (Mathematical Function Probes): Use
15640         "triggered" instead of "hit".
15641
15642         * manual/probes.texi (Internal Probes): Add documentation
15643         of setjmp, longjmp and longjmp_target probes.
15644
15645         * include/stap-probe.h: Add comment about probe argument
15646         format.
15647
15648         * malloc/mtrace.c (attribute_hidden): Remove unused macro
15649         definition.  (tr_where, tr_freehook, tr_mallochook,
15650         tr_reallochook, tr_memalignhook): Use ANSI protoype.
15651
15652 2014-02-11  David S. Miller  <davem@davemloft.net>
15653
15654         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
15655         processing int_tests.
15656
15657 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
15658
15659         * sysdeps/mips: Move directory from ports/sysdeps/mips.
15660         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
15661         * sysdeps/unix/sysv/linux/mips: Move directory from
15662         ports/sysdeps/unix/sysv/linux/mips.
15663         * README: Update listing for mips-*-linux-gnu and
15664         mips64-*-linux-gnu.
15665
15666 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
15667
15668         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
15669         * sysdeps/unix/sysv/linux/m68k: Move directory from
15670         ports/sysdeps/unix/sysv/linux/m68k.
15671         * README: Update listing for m68k-*-linux-gnu.
15672
15673 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
15674
15675         * sysdeps/tile: Move directory from ports/sysdeps/tile.
15676         * sysdeps/unix/sysv/linux/generic: Move directory from
15677         ports/sysdeps/unix/sysv/linux/generic.
15678         * sysdeps/unix/sysv/linux/tile: Move directory from
15679         ports/sysdeps/unix/sysv/linux/tile.
15680         * README: Update listing for tile*-*-linux-gnu.
15681
15682 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
15683
15684         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
15685         __builtin_expect.
15686         * benchtests/bench-memmem.c (simple_memmem): Likewise.
15687         * catgets/open_catalog.c (__open_catalog): Likewise.
15688         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
15689         * debug/confstr_chk.c: Likewise.
15690         * debug/fread_chk.c (__fread_chk): Likewise.
15691         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
15692         * debug/getgroups_chk.c: Likewise.
15693         * debug/mbsnrtowcs_chk.c: Likewise.
15694         * debug/mbsrtowcs_chk.c: Likewise.
15695         * debug/mbstowcs_chk.c: Likewise.
15696         * debug/memcpy_chk.c: Likewise.
15697         * debug/memmove_chk.c: Likewise.
15698         * debug/mempcpy_chk.c: Likewise.
15699         * debug/memset_chk.c: Likewise.
15700         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
15701         * debug/strcat_chk.c (__strcat_chk): Likewise.
15702         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
15703         * debug/strncat_chk.c (__strncat_chk): Likewise.
15704         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
15705         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
15706         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
15707         * debug/wcpncpy_chk.c: Likewise.
15708         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
15709         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
15710         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
15711         * debug/wcsncpy_chk.c: Likewise.
15712         * debug/wcsnrtombs_chk.c: Likewise.
15713         * debug/wcsrtombs_chk.c: Likewise.
15714         * debug/wcstombs_chk.c: Likewise.
15715         * debug/wmemcpy_chk.c: Likewise.
15716         * debug/wmemmove_chk.c: Likewise.
15717         * debug/wmempcpy_chk.c: Likewise.
15718         * debug/wmemset_chk.c: Likewise.
15719         * dirent/scandirat.c (SCANDIRAT): Likewise.
15720         * dlfcn/dladdr1.c (dladdr1): Likewise.
15721         * dlfcn/dladdr.c (dladdr): Likewise.
15722         * dlfcn/dlclose.c (dlclose_doit): Likewise.
15723         * dlfcn/dlerror.c (__dlerror): Likewise.
15724         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
15725         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
15726         * dlfcn/dlopen.c (dlopen_doit): Likewise.
15727         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
15728         * dlfcn/dlsym.c (dlsym_doit): Likewise.
15729         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
15730         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
15731         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
15732         Likewise.
15733         * elf/dl-conflict.c: Likewise.
15734         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
15735         * elf/dl-dst.h: Likewise.
15736         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
15737         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
15738         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
15739         * elf/dl-init.c (call_init, _dl_init): Likewise.
15740         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
15741         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
15742         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
15743         Likewise.
15744         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
15745         Likewise.
15746         * elf/dl-minimal.c (__libc_memalign): Likewise.
15747         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
15748         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
15749         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
15750         * elf/dl-sym.c (do_sym): Likewise.
15751         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
15752         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
15753         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
15754         * elf/dl-writev.h (_dl_writev): Likewise.
15755         * elf/ldconfig.c (search_dir): Likewise.
15756         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
15757         (dl_main): Likewise.
15758         * elf/setup-vdso.h (setup_vdso): Likewise.
15759         * grp/compat-initgroups.c (compat_call): Likewise.
15760         * grp/fgetgrent.c (fgetgrent): Likewise.
15761         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
15762         * grp/putgrent.c (putgrent): Likewise.
15763         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
15764         Likewise.
15765         * hurd/hurdinit.c: Likewise.
15766         * iconvdata/8bit-gap.c (struct): Likewise.
15767         * iconvdata/ansi_x3.110.c : Likewise.
15768         * iconvdata/big5.c : Likewise.
15769         * iconvdata/big5hkscs.c : Likewise.
15770         * iconvdata/cp1255.c: Likewise.
15771         * iconvdata/cp1258.c : Likewise.
15772         * iconvdata/cp932.c : Likewise.
15773         * iconvdata/euc-cn.c: Likewise.
15774         * iconvdata/euc-jisx0213.c : Likewise.
15775         * iconvdata/euc-jp.c: Likewise.
15776         * iconvdata/euc-jp-ms.c : Likewise.
15777         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
15778         * iconvdata/gb18030.c : Likewise.
15779         * iconvdata/gbbig5.c (const): Likewise.
15780         * iconvdata/gbgbk.c: Likewise.
15781         * iconvdata/gbk.c : Likewise.
15782         * iconvdata/ibm1364.c : Likewise.
15783         * iconvdata/ibm930.c : Likewise.
15784         * iconvdata/ibm932.c: Likewise.
15785         * iconvdata/ibm933.c : Likewise.
15786         * iconvdata/ibm935.c : Likewise.
15787         * iconvdata/ibm937.c : Likewise.
15788         * iconvdata/ibm939.c : Likewise.
15789         * iconvdata/ibm943.c: Likewise.
15790         * iconvdata/iso_11548-1.c: Likewise.
15791         * iconvdata/iso-2022-cn.c : Likewise.
15792         * iconvdata/iso-2022-cn-ext.c : Likewise.
15793         * iconvdata/iso-2022-jp-3.c: Likewise.
15794         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
15795         * iconvdata/iso-2022-kr.c : Likewise.
15796         * iconvdata/iso646.c (gconv_end): Likewise.
15797         * iconvdata/iso_6937-2.c : Likewise.
15798         * iconvdata/iso_6937.c : Likewise.
15799         * iconvdata/iso8859-1.c: Likewise.
15800         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
15801         * iconvdata/shift_jisx0213.c : Likewise.
15802         * iconvdata/sjis.c : Likewise.
15803         * iconvdata/t.61.c : Likewise.
15804         * iconvdata/tcvn5712-1.c : Likewise.
15805         * iconvdata/tscii.c: Likewise.
15806         * iconvdata/uhc.c : Likewise.
15807         * iconvdata/unicode.c (gconv_end): Likewise.
15808         * iconvdata/utf-16.c (gconv_end): Likewise.
15809         * iconvdata/utf-32.c (gconv_end): Likewise.
15810         * iconvdata/utf-7.c (base64): Likewise.
15811         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
15812         * iconv/gconv_close.c (__gconv_close): Likewise.
15813         * iconv/gconv_open.c (__gconv_open): Likewise.
15814         * iconv/gconv_simple.c (internal_ucs4_loop_single)
15815         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
15816         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
15817         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
15818         (ucs4le_internal_loop_single): Likewise.
15819         * iconv/iconv.c (iconv): Likewise.
15820         * iconv/iconv_close.c: Likewise.
15821         * iconv/loop.c (SINGLE): Likewise.
15822         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
15823         * include/atomic.h: Likewise.
15824         * inet/inet6_option.c (option_alloc): Likewise.
15825         * intl/bindtextdom.c (set_binding_values): Likewise.
15826         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
15827         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
15828         * intl/localealias.c (read_alias_file): Likewise.
15829         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
15830         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
15831         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
15832         * libio/fmemopen.c (fmemopen): Likewise.
15833         * libio/iofgets.c (_IO_fgets): Likewise.
15834         * libio/iofgets_u.c (fgets_unlocked): Likewise.
15835         * libio/iofgetws.c (fgetws): Likewise.
15836         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
15837         * libio/iogetdelim.c (_IO_getdelim): Likewise.
15838         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
15839         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
15840         * locale/findlocale.c (_nl_find_locale): Likewise.
15841         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
15842         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
15843         Likewise.
15844         * locale/setlocale.c (setlocale): Likewise.
15845         * login/programs/pt_chown.c (main): Likewise.
15846         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
15847         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
15848         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
15849         (mmap, mmap64, mremap, munmap): Likewise.
15850         * math/e_exp2l.c: Likewise.
15851         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
15852         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
15853         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
15854         * math/s_catan.c (__catan): Likewise.
15855         * math/s_catanf.c (__catanf): Likewise.
15856         * math/s_catanh.c (__catanh): Likewise.
15857         * math/s_catanhf.c (__catanhf): Likewise.
15858         * math/s_catanhl.c (__catanhl): Likewise.
15859         * math/s_catanl.c (__catanl): Likewise.
15860         * math/s_ccosh.c (__ccosh): Likewise.
15861         * math/s_ccoshf.c (__ccoshf): Likewise.
15862         * math/s_ccoshl.c (__ccoshl): Likewise.
15863         * math/s_cexp.c (__cexp): Likewise.
15864         * math/s_cexpf.c (__cexpf): Likewise.
15865         * math/s_cexpl.c (__cexpl): Likewise.
15866         * math/s_clog10.c (__clog10): Likewise.
15867         * math/s_clog10f.c (__clog10f): Likewise.
15868         * math/s_clog10l.c (__clog10l): Likewise.
15869         * math/s_clog.c (__clog): Likewise.
15870         * math/s_clogf.c (__clogf): Likewise.
15871         * math/s_clogl.c (__clogl): Likewise.
15872         * math/s_csin.c (__csin): Likewise.
15873         * math/s_csinf.c (__csinf): Likewise.
15874         * math/s_csinh.c (__csinh): Likewise.
15875         * math/s_csinhf.c (__csinhf): Likewise.
15876         * math/s_csinhl.c (__csinhl): Likewise.
15877         * math/s_csinl.c (__csinl): Likewise.
15878         * math/s_csqrt.c (__csqrt): Likewise.
15879         * math/s_csqrtf.c (__csqrtf): Likewise.
15880         * math/s_csqrtl.c (__csqrtl): Likewise.
15881         * math/s_ctan.c (__ctan): Likewise.
15882         * math/s_ctanf.c (__ctanf): Likewise.
15883         * math/s_ctanh.c (__ctanh): Likewise.
15884         * math/s_ctanhf.c (__ctanhf): Likewise.
15885         * math/s_ctanhl.c (__ctanhl): Likewise.
15886         * math/s_ctanl.c (__ctanl): Likewise.
15887         * math/w_pow.c: Likewise.
15888         * math/w_powf.c: Likewise.
15889         * math/w_powl.c: Likewise.
15890         * math/w_scalb.c (sysv_scalb): Likewise.
15891         * math/w_scalbf.c (sysv_scalbf): Likewise.
15892         * math/w_scalbl.c (sysv_scalbl): Likewise.
15893         * misc/error.c (error_tail): Likewise.
15894         * misc/pselect.c (__pselect): Likewise.
15895         * nis/nis_callback.c (__nis_create_callback): Likewise.
15896         * nis/nis_call.c (__nisfind_server): Likewise.
15897         * nis/nis_creategroup.c (nis_creategroup): Likewise.
15898         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
15899         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
15900         * nis/nis_getservlist.c (nis_getservlist): Likewise.
15901         * nis/nis_lookup.c (nis_lookup): Likewise.
15902         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
15903         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
15904         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
15905         * nis/nis_xdr.c (xdr_endpoint): Likewise.
15906         * nis/nss_compat/compat-grp.c (getgrent_next_file)
15907         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
15908         * nis/nss_compat/compat-initgroups.c (add_group)
15909         (internal_getgrent_r): Likewise.
15910         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
15911         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
15912         * nis/nss_compat/compat-spwd.c (getspent_next_file)
15913         (internal_getspnam_r): Likewise.
15914         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
15915         (_nss_nis_getaliasbyname_r): Likewise.
15916         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
15917         (_nss_nis_getntohost_r): Likewise.
15918         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
15919         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
15920         (_nss_nis_getgrgid_r): Likewise.
15921         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
15922         (internal_nis_gethostent_r, internal_gethostbyname2_r)
15923         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
15924         (_nss_nis_gethostbyname4_r): Likewise.
15925         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
15926         (initgroups_netid): Likewise.
15927         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
15928         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
15929         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
15930         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
15931         (_nss_nis_getprotobynumber_r): Likewise.
15932         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
15933         (_nss_nis_getsecretkey): Likewise.
15934         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
15935         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
15936         (_nss_nis_getpwuid_r): Likewise.
15937         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
15938         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
15939         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
15940         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
15941         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
15942         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
15943         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
15944         Likewise.
15945         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
15946         (_nss_nisplus_getntohost_r): Likewise.
15947         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
15948         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
15949         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
15950         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
15951         Likewise.
15952         * nis/nss_nisplus/nisplus-initgroups.c
15953         (_nss_nisplus_initgroups_dyn): Likewise.
15954         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
15955         (_nss_nisplus_getnetbyaddr_r): Likewise.
15956         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
15957         (_nss_nisplus_getprotobynumber_r): Likewise.
15958         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
15959         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
15960         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
15961         Likewise.
15962         * nis/nss_nisplus/nisplus-service.c
15963         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
15964         (_nss_nisplus_getservbyport_r): Likewise.
15965         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
15966         (_nss_nisplus_getspnam_r): Likewise.
15967         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
15968         Likewise.
15969         * nscd/aicache.c (addhstaiX): Likewise.
15970         * nscd/cache.c (cache_search, prune_cache): Likewise.
15971         * nscd/connections.c (register_traced_file, send_ro_fd)
15972         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
15973         (main_loop_epoll): Likewise.
15974         * nscd/grpcache.c (addgrbyX): Likewise.
15975         * nscd/hstcache.c (addhstbyX): Likewise.
15976         * nscd/initgrcache.c (addinitgroupsX): Likewise.
15977         * nscd/mem.c (gc, mempool_alloc): Likewise.
15978         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
15979         (addinnetgrX): Likewise.
15980         * nscd/nscd-client.h (__nscd_acquire_maplock)
15981         (__nscd_drop_map_ref): Likewise.
15982         * nscd/nscd_getai.c (__nscd_getai): Likewise.
15983         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
15984         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
15985         Likewise.
15986         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
15987         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
15988         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
15989         (__nscd_get_map_ref): Likewise.
15990         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
15991         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
15992         Likewise.
15993         * nscd/pwdcache.c (addpwbyX): Likewise.
15994         * nscd/selinux.c (preserve_capabilities): Likewise.
15995         * nscd/servicescache.c (addservbyX): Likewise.
15996         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
15997         * posix/fnmatch.c (fnmatch): Likewise.
15998         * posix/getopt.c (_getopt_internal_r): Likewise.
15999         * posix/glob.c (glob, glob_in_dir): Likewise.
16000         * posix/wordexp.c (exec_comm_child): Likewise.
16001         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
16002         (getanswer_r, gaih_getanswer_slice): Likewise.
16003         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
16004         * resolv/res_init.c: Likewise.
16005         * resolv/res_mkquery.c (res_nmkquery): Likewise.
16006         * resolv/res_query.c (__libc_res_nquery): Likewise.
16007         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
16008         Likewise.
16009         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
16010         * stdio-common/perror.c (perror): Likewise.
16011         * stdio-common/printf_fp.c (___printf_fp): Likewise.
16012         * stdio-common/tmpnam.c (tmpnam): Likewise.
16013         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
16014         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
16015         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
16016         Likewise.
16017         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
16018         * stdlib/putenv.c (putenv): Likewise.
16019         * stdlib/setenv.c (__add_to_environ): Likewise.
16020         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
16021         * stdlib/strtol_l.c (INTERNAL): Likewise.
16022         * string/memmem.c (memmem): Likewise.
16023         * string/strerror.c (strerror): Likewise.
16024         * string/strnlen.c (__strnlen): Likewise.
16025         * string/test-memmem.c (simple_memmem): Likewise.
16026         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
16027         * sunrpc/pm_getport.c (__get_socket): Likewise.
16028         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
16029         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
16030         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
16031         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
16032         Likewise.
16033         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
16034         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
16035         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
16036         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
16037         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
16038         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
16039         Likewise.
16040         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
16041         Likewise.
16042         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
16043         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
16044         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
16045         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
16046         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
16047         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
16048         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
16049         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
16050         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
16051         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
16052         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
16053         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
16054         Likewise.
16055         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
16056         Likewise.
16057         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
16058         Likewise.
16059         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
16060         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
16061         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
16062         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
16063         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
16064         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
16065         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
16066         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
16067         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
16068         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
16069         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
16070         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
16071         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
16072         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
16073         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16074         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
16075         Likewise.
16076         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
16077         Likewise.
16078         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
16079         Likewise.
16080         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
16081         Likewise.
16082         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
16083         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16084         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
16085         Likewise.
16086         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
16087         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
16088         * sysdeps/posix/opendir.c (__opendirat): Likewise.
16089         * sysdeps/posix/sleep.c: Likewise.
16090         * sysdeps/posix/tempname.c: Likewise.
16091         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
16092         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
16093         Likewise.
16094         * sysdeps/powerpc/powerpc32/dl-machine.h
16095         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
16096         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
16097         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
16098         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
16099         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
16100         Likewise.
16101         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
16102         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
16103         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
16104         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
16105         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
16106         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
16107         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
16108         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
16109         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
16110         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
16111         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
16112         (elf_machine_lazy_rel): Likewise.
16113         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
16114         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
16115         (elf_machine_lazy_rel): Likewise.
16116         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
16117         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
16118         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
16119         * sysdeps/unix/grantpt.c (grantpt): Likewise.
16120         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
16121         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
16122         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
16123         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
16124         Likewise.
16125         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
16126         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
16127         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
16128         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
16129         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
16130         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
16131         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
16132         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
16133         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
16134         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
16135         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
16136         Likewise.
16137         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
16138         (__posix_fallocate64_l64): Likewise.
16139         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
16140         (posix_fallocate): Likewise.
16141         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
16142         Likewise.
16143         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
16144         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
16145         (getifaddrs_internal): Likewise.
16146         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
16147         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
16148         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
16149         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
16150         * sysdeps/unix/sysv/linux/posix_fallocate64.c
16151         (__posix_fallocate64_l64): Likewise.
16152         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
16153         Likewise.
16154         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
16155         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
16156         (__get_clockfreq): Likewise.
16157         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
16158         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
16159         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
16160         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
16161         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
16162         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
16163         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
16164         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
16165         Likewise.
16166         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
16167         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
16168         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
16169         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
16170         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
16171         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
16172         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
16173         Likewise.
16174         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
16175         (posix_fallocate): Likewise.
16176         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
16177         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
16178         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
16179         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
16180         (elf_machine_rela, elf_machine_rela_relative)
16181         (elf_machine_lazy_rel): Likewise.
16182         * time/asctime.c (asctime_internal): Likewise.
16183         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
16184         * time/tzset.c (__tzset_parse_tz): Likewise.
16185         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
16186         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
16187         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
16188         * wcsmbs/wcsmbsload.h: Likewise.
16189
16190         [BZ #15894]
16191         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
16192
16193         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
16194         (arena_get2): Remove THREAD_STATS conditionals.
16195         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
16196         (__malloc_stats, int): Likewise.
16197
16198 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
16199
16200         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
16201         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
16202
16203         * manual/setjmp.texi: Fix typos/grammar errors.
16204
16205         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
16206         Only return early when n is <= 0.  Delete unused return statement.
16207
16208         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
16209         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
16210         * debug/tst-longjmp_chk3.c: New file.
16211
16212         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
16213         (test_main): Replace code with set_fortify_handler call.
16214         * debug/test-strcpy_chk.c: Likewise.
16215         * debug/tst-chk1.c: Likewise.
16216         * debug/tst-longjmp_chk.c: Likewise.
16217         * test-skeleton.c: Include fcntl.h & paths.h
16218         (set_fortify_handler): Define.
16219
16220         * debug/tst-longjmp_chk.c: Add header comment and include
16221         ../test-skeleton.c.
16222         (do_test): Mark static.
16223         (TEST_FUNCTION): Define.
16224
16225         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
16226         (IP_PMTUDISC_INTERFACE): Likewise.
16227         (IP_MULTICAST_IF): Likewise.
16228         (IP_MULTICAST_TTL): Likewise.
16229         (IP_MULTICAST_LOOP): Likewise.
16230         (IP_ADD_MEMBERSHIP): Likewise.
16231         (IP_DROP_MEMBERSHIP): Likewise.
16232         (IP_UNBLOCK_SOURCE): Likewise.
16233         (IP_BLOCK_SOURCE): Likewise.
16234         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
16235         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
16236         (IP_MSFILTER): Likewise.
16237         (MCAST_JOIN_GROUP): Likewise.
16238         (MCAST_BLOCK_SOURCE): Likewise.
16239         (MCAST_UNBLOCK_SOURCE): Likewise.
16240         (MCAST_LEAVE_GROUP): Likewise.
16241         (MCAST_JOIN_SOURCE_GROUP): Likewise.
16242         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
16243         (MCAST_MSFILTER): Likewise.
16244         (IP_MULTICAST_ALL): Likewise.
16245         (IP_UNICAST_IF): Likewise.
16246
16247         * timezone/Makefile: Delete $(have-ksh) check.
16248         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
16249         * timezone/tzselect.ksh: Add +x mode bits.
16250
16251         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
16252         (ANON_INODE_FS_MAGIC): Likewise.
16253         (BDEVFS_MAGIC): Likewise.
16254         (BINFMTFS_MAGIC): Likewise.
16255         (BTRFS_TEST_MAGIC): Likewise.
16256         (CRAMFS_MAGIC_WEND): Likewise.
16257         (DEBUGFS_MAGIC): Likewise.
16258         (ECRYPTFS_SUPER_MAGIC): Likewise.
16259         (EXT3_SUPER_MAGIC): Likewise.
16260         (EXT4_SUPER_MAGIC): Likewise.
16261         (FUTEXFS_SUPER_MAGIC): Likewise.
16262         (HOSTFS_SUPER_MAGIC): Likewise.
16263         (HUGETLBFS_MAGIC): Likewise.
16264         (MINIX3_SUPER_MAGIC): Likewise.
16265         (MTD_INODE_FS_MAGIC): Likewise.
16266         (NILFS_SUPER_MAGIC): Likewise.
16267         (OPENPROM_SUPER_MAGIC): Likewise.
16268         (PIPEFS_MAGIC): Likewise.
16269         (PSTOREFS_MAGIC): Likewise.
16270         (QNX6_SUPER_MAGIC): Likewise.
16271         (RAMFS_MAGIC): Likewise.
16272         (REISERFS_SUPER_MAGIC_STRING): Likewise.
16273         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
16274         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
16275         (SECURITYFS_MAGIC): Likewise.
16276         (SELINUX_MAGIC): Likewise.
16277         (SMACK_MAGIC): Likewise.
16278         (SOCKFS_MAGIC): Likewise.
16279         (SQUASHFS_MAGIC): Likewise.
16280         (STACK_END_MAGIC): Likewise.
16281         (TMPFS_MAGIC): Likewise.
16282         (USBDEVICE_SUPER_MAGIC): Likewise.
16283         (V9FS_MAGIC): Likewise.
16284         (XENFS_SUPER_MAGIC): Likewise.
16285         (CRAMFS_MAGIC): Fix typo in comment.
16286         (EXT2_SUPER_MAGIC): Update comment.
16287         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
16288
16289 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
16290
16291         * sysdeps/arm: Move directory from ports/sysdeps/arm.
16292         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
16293         * sysdeps/unix/sysv/linux/arm: Move directory from
16294         ports/sysdeps/unix/sysv/linux/arm.
16295         * README: Update listing for arm-*-linux-gnueabi.
16296
16297         * README: Remove mention of am33.
16298
16299 2014-02-07  Roland McGrath  <roland@hack.frob.com>
16300
16301         * bits/sigset.h (__sigemptyset): Use a statement expression rather
16302         than the comma operator, to avoid "rhs of comma has no effect"
16303         compiler warnings.
16304         (__sigfillset, __sigandset, __sigorset): Likewise.
16305         * include/signal.h (__sigemptyset): Likewise.
16306         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
16307
16308 2014-02-07  Allan McRae  <allan@archlinux.org>
16309
16310         * version.h (RELEASE): Set to "development".
16311         (VERSION): Set to "2.19.90"
16312         * NEWS: Add 2.20 section.
16313
16314 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
16315
16316         [BZ #16529]
16317         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
16318
16319 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
16320
16321         * manual/contrib.texi: Update entry for Carlos O'Donell,
16322         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
16323
16324 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
16325
16326         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
16327
16328         * sysdeps/unix/sysv/linux/kernel-features.h
16329         [__LINUX_KERNEL_VERSION >= 0x020621]
16330         (__ASSUME_PROC_PID_TASK_COMM): Define.
16331
16332 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
16333
16334         [BZ #16398]
16335         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
16336         conversion when destination buffer does not have enough space.
16337         * libio/tst-ftell-partial-wide.c: New test case.
16338         * libio/Makefile (tests): Add tst-ftell-partial-wide.
16339
16340         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
16341         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
16342         Leonard and Allan McRae.
16343
16344 2014-02-04  David S. Miller  <davem@davemloft.net>
16345
16346         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
16347         32-bit.
16348
16349 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16350
16351         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
16352         New file
16353         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
16354         New file
16355         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
16356         New file.
16357         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
16358         New file.
16359         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
16360         New file.
16361         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
16362         New file.
16363         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
16364         New file.
16365         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
16366         New file.
16367         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
16368         New file.
16369         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
16370         New file.
16371         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
16372         New file.
16373         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
16374         New file.
16375         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
16376         New file.
16377
16378 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16379
16380         * nptl/shlib-versions: Change powerpc*le start to 2.17.
16381         * shlib-versions: Likewise.
16382
16383 2014-02-04  Roland McGrath  <roland@hack.frob.com>
16384             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16385
16386         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
16387         (abilist-pattern): New variable, set to %-le.abilist.
16388
16389         * Makerules (abilist-pattern): New variable.
16390         (vpath): Use $(abilist-pattern) in place of %.abilist.
16391         (check-abi-% pattern rule): Likewise.
16392         (check-abi, update-abi): Likewise.
16393
16394 2014-02-04  Eric Wong  <normalperson@yhbt.net>
16395
16396         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16397
16398 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
16399
16400         * manual/startup.texi: Add next, previous, and top entries for
16401         the `Program Arguments' and `Environment Variables' nodes.
16402
16403 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
16404
16405         * manual/macros.texi: Add comments before MTASC-safety macros.
16406
16407         * manual/users.texi: Document MTASC-safety properties.
16408
16409         * manual/threads.texi (pthread_key_create, pthread_key_delete)
16410         (pthread_getspecific, pthread_setspecific): Format with
16411         @deftypefun, and add @safety note.
16412         * manual/signal.texi: Move comments that analyze the above
16413         functions to their home place.
16414
16415 2014-02-03  Allan McRae  <allan@archlinux.org>
16416
16417         * po/sl.po: Update Slovenian translation from translation project.
16418
16419 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
16420
16421         * manual/time.texi (timegm): Add missing blank after @c.
16422         Reported by Joseph Myers <joseph@codesourcery.com>.
16423
16424 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
16425
16426         * manual/check-safety.sh: New.
16427         * manual/Makefile ($(objpfx)stamp-summary): Run it.
16428
16429         * manual/terminal.texi: Document MTASC-safety properties.
16430
16431         * manual/filesys.texi: Document MTASC-safety properties.
16432
16433         * manual/errno.texi: Document MTASC-safety properties.
16434
16435         * manual/intro.texi: Document safety identifiers and
16436         conditionals.
16437
16438         * manual/string.texi (wcstok): Fix prototype.
16439         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
16440
16441         * manual/time.texi: Document MTASC-safety properties.
16442
16443         * manual/string.texi: Document MTASC-safety properties.
16444
16445         * manual/threads.texi: Document MTASC-safety properties.
16446
16447         * manual/stdio.texi: Document MTASC-safety properties.
16448
16449         * manual/syslog.texi: Document MTASC-safety properties.
16450
16451         * manual/sysinfo.texi: Document MTASC-safety properties.
16452
16453         * manual/startup.texi: Document MTASC-safety properties.
16454
16455         * manual/socket.texi: Document MTASC-safety properties.
16456
16457         * manual/signal.texi: Document MTASC-safety properties.
16458
16459 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
16460
16461         * manual/setjmp.texi: Document MTASC-safety properties.
16462
16463         * manual/search.texi: Document MTASC-safety properties.
16464
16465         * manual/resource.texi: Document MTASC-safety properties.
16466
16467         * manual/process.texi: Document MTASC-safety properties.
16468
16469         * manual/platform.texi: Document MTASC-safety properties.
16470
16471         * manual/pipe.texi: Document MTASC-safety properties.
16472
16473         * manual/pattern.texi: Document MTASC-safety properties.
16474
16475         * manual/message.texi: Document MTASC-safety properties.
16476
16477         [BZ #12751]
16478         * manual/memory.texi: Document MTASC-safety properties.
16479
16480         * manual/math.texi: Document MTASC-safety properties.
16481
16482         * manual/locale.texi: Document MTASC-safety properties.
16483
16484         * manual/llio.texi: Document MTASC-safety properties.
16485
16486         * manual/libdl.texi: New.
16487
16488         * manual/lang.texi: Document MTASC-safety properties.
16489
16490         * manual/job.texi: Document MTASC-safety properties.
16491
16492         * manual/getopt.texi: Document MTASC-safety properties.
16493
16494         * manual/ctype.texi: Document MTASC-safety properties.
16495
16496 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
16497
16498         [BZ #16046]
16499         * csu/libc-tls.c (static_map): Remove variable.
16500         (__libc_setup_tls): Use main executable's link map for TLS data.
16501         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
16502         casing for LM_ID_BASE and GL(dl_nns).
16503         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
16504         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
16505         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
16506         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
16507         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
16508         member.
16509         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
16510         l_phnum members.
16511
16512 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
16513
16514         * manual/debug.texi: Document MTASC-safety properties.
16515
16516 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
16517
16518         [BZ #16510]
16519         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
16520         of __x86_64__ when disabling x87 inline functions.
16521
16522 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
16523
16524         * manual/charset.texi: Document MTASC-safety properties.
16525
16526         * manual/crypt.texi: Document MTASC-safety properties.
16527
16528         * manual/conf.texi: Document MTASC-safety properties.
16529
16530         * manual/arith.texi: Document MTASC-safety properties.
16531
16532         * manual/argp.texi: Document MTASC-safety properties.
16533
16534         * manual/macros.texi: Introduce macros to document multi
16535         thread, asynchronous signal and asynchronous cancellation
16536         safety properties.
16537         * manual/intro.texi: Introduce the properties themselves.
16538
16539 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
16540
16541         * sysdeps/sh/sh4/Makefile: New file.
16542
16543 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
16544
16545         * math/gen-libm-test.pl ($srcdir): New variable.
16546         ($auto_input): Use it.
16547
16548 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
16549
16550         [BZ #16506]
16551         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
16552         access beyond array bounds when parsing netgroups file.
16553
16554         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
16555         the old buffer before realloc.
16556
16557 2014-01-27  Allan McRae  <allan@archlinux.org>
16558
16559         * po/fr.po: Update French translation from translation project.
16560
16561 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
16562
16563         * sysdeps/sh/libm-test-ulps: Regenerate.
16564
16565 2014-01-24  David S. Miller  <davem@davemloft.net>
16566
16567         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
16568
16569 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
16570
16571         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
16572         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
16573
16574 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
16575
16576         [BZ #16474]
16577         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
16578         string pointers after reallocation.
16579
16580 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
16581
16582         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
16583         __SH4A__ instead of __SH_FPU_ANY__.
16584
16585 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
16586
16587         * sysdeps/sh/fpu_control.h: New file.
16588         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
16589         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
16590         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
16591         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
16592         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
16593         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
16594         * sysdeps/sh/sys/ucontext.h: Remove.
16595         * sysdeps/sh/sys: Remove directory.
16596
16597 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16598
16599         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
16600         s390/sys/ucontext.h.
16601         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
16602         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
16603
16604 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
16605
16606         [BZ #15605]
16607         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
16608
16609 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16610
16611         [BZ#16431]
16612         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
16613         Adjust the vDSO correctly for internal calls.
16614         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
16615
16616 2014-01-20  Allan McRae  <allan@archlinux.org>
16617
16618         * po/ca.po: Update Catalan translation from translation project.
16619
16620 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
16621
16622         * sysdeps/s390/sotruss-lib.c: New file.
16623
16624 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16625
16626         [BZ#16430]
16627         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
16628         (__GI___gettimeofday): Alias for a different internal symbol to avoid
16629         local calls issues by not having a PLT stub required for IFUNC calls.
16630         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
16631
16632 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
16633
16634         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
16635         * math/test-fpucw-static.c: Likewise.
16636
16637 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
16638
16639         [BZ #16453]
16640         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
16641
16642 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16643
16644         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
16645         implementation for powerpc.
16646
16647 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
16648
16649         [BZ #14782]
16650         * sysdeps/posix/system.c (__libc_system): Do not enable
16651         asynchronous cancellation.
16652
16653 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16654
16655         [BZ #16427]
16656         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
16657         handling only for numbers special also in the IEEE case.
16658
16659 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16660
16661         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
16662
16663 2014-01-11  Allan McRae  <allan@archlinux.org>
16664
16665         * po/bg.po: Update Bulgarian translation from translation project.
16666
16667         * po/de.po: Update German translation from translation project.
16668
16669 2014-01-10  Roland McGrath  <roland@hack.frob.com>
16670
16671         * sysdeps/generic/gcc-compat.h: New file.
16672
16673 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
16674
16675         * benchtests/asin-inputs: Correct slow inputs.
16676         * benchtests/acos-inputs: Likewise.
16677
16678 2014-01-10  Allan McRae  <allan@archlinux.org>
16679
16680         * po:sv.po: Update Swedish translation from translation project.
16681
16682         * po/vi.po: Update Vietnamese translation from translation project.
16683
16684         * po/eo.po: Update Esperanto translation from translation project.
16685
16686         * po/cs.po: Update Czech translation from translation project.
16687
16688         * po/nl.po: Update Dutch translation from translation project.
16689
16690         * po/pl.po: Update Polish translation from translation project.
16691
16692         * po/ru.po: Update Russian translation from translation project.
16693
16694         * po/uk.po: Update Ukrainian translation from translation project.
16695
16696 2014-01-08  Brooks Moses  <bmoses@google.com>
16697
16698         * elf/dl-load.c: Fix comment typo.
16699
16700 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
16701
16702         * po/header.pot: Rename to...
16703         * po/pot.header: ... this.
16704         * po/Makefile: Use pot.header.
16705
16706 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
16707             Maxim Kuvyrkov  <maxim@kugelworks.com>
16708
16709         [BZ #16394]
16710         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
16711         SRC and DEST against LEN.
16712
16713 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16714
16715         [BZ #16414]
16716         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
16717         implementation.
16718         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
16719
16720 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16721
16722         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16723
16724 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
16725
16726         [BZ #16408]
16727         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
16728         for large positive arguments.
16729
16730 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
16731
16732         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
16733
16734         * math/auto-libm-test-in: Mark various tests with
16735         xfail-rounding:ldbl-128ibm.
16736         * math/auto-libm-test-out: Regenerated.
16737
16738         [BZ #16407]
16739         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
16740         Increase overflow threshold.
16741
16742 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
16743
16744         [BZ #14286]
16745         * stdio-common/vfprintf.c: Check for integer overflow.
16746
16747 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16748
16749         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
16750         the first argument and return value of __tls_get_addr_internal.
16751
16752 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16753
16754         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
16755         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
16756
16757 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16758
16759         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
16760         * sysdeps/s390/rtld-global-offsets.sym: New file.
16761         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
16762         GLIBC_2.19 symbol.
16763         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
16764         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
16765         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
16766         ... this.
16767         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
16768         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
16769         ... this.
16770         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
16771         Regenerate.
16772         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
16773         Regenerate.
16774         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
16775         halfs of GPRs for high_gprs contexts.
16776         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
16777         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
16778         field.
16779         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
16780         uc_flags field.
16781         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
16782         64 bit versions:
16783         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
16784         for high GPRs (uc_high_gprs) and for future extensions
16785         (__reserved).
16786         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
16787         for future extensions (__reserved).
16788         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
16789         64 bit versions:
16790         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
16791         SC_HIGHGPRS offset definition.
16792         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
16793         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
16794
16795         * Versions.def: Add GLIBC_2.19 for libpthread.
16796         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
16797         siglongjmp for libpthread with GLIBC_2.19 symver.
16798         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
16799         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
16800         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
16801         * sysdeps/s390/__longjmp.c: New file.
16802         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
16803         * sysdeps/s390/longjmp.c: New file.
16804         * sysdeps/s390/setjmp.S: New file.
16805         * sysdeps/s390/sigjmp.S: New file.
16806         * sysdeps/s390/v1-longjmp.c: New file.
16807         * sysdeps/s390/v1-setjmp.h: New file.
16808         * sysdeps/s390/v1-sigjmp.c: New file.
16809         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
16810         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
16811         GLIBC_2.19 version.
16812         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
16813         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
16814         versioned symbols for ____longjmp_chk.
16815         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
16816         Likewise.
16817         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
16818         Regenerate.
16819         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
16820         Regenerate.
16821         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
16822         Regenerate.
16823         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
16824         Regenerate.
16825         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
16826         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
16827         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
16828         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
16829         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
16830         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
16831         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
16832         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
16833         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
16834         * sysdeps/s390/rtld-__longjmp.c: New file.
16835         * sysdeps/s390/rtld-setjmp.S: New file.
16836
16837 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
16838
16839         [BZ #16400]
16840         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
16841         Return -__logl (x) for small positive arguments without evaluating
16842         a polynomial.
16843
16844 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
16845
16846         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
16847         Rename to ...
16848         (__ptrace_peeksiginfo_args): ... this.
16849         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
16850         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
16851         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
16852
16853 2014-01-06  Allan McRae  <allan@archlinux.org>
16854
16855         * inet/netinet/in.h: Fix typo in comment.
16856
16857 2014-01-05  Andreas Jaeger  <aj@suse.de>
16858
16859         * sysdeps/i386/fpu/libm-test-ulps: Update.
16860
16861 2014-01-05  Allan McRae  <allan@archlinux.org>
16862
16863         * po/libc.pot: Regenerated.
16864
16865         * malloc/memusagestat.c: Fix gettext call formatting.
16866
16867 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
16868
16869         * nscd/nscd.c: Improve usage() output.
16870
16871 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
16872
16873         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
16874         * sysdeps/unix/sysv/linux/configure: Regenerated.
16875         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
16876         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
16877
16878 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
16879
16880         [BZ #16390]
16881         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
16882         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
16883
16884 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16885
16886         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
16887         extra tokens at end of #undef directive.
16888         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
16889         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
16890         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
16891
16892 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
16893
16894         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
16895
16896         * math/auto-libm-test-in: Mark various tests with
16897         xfail-rounding:ldbl-128ibm.
16898         * math/auto-libm-test-out: Regenerated.
16899
16900 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
16901
16902         [BZ #16386]
16903         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
16904         numbers with subnormal high part when calculating exponent.
16905
16906         [BZ #16385]
16907         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
16908         fabs.
16909
16910         [BZ #16384]
16911         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
16912         M_LN2l.
16913         (__ieee754_acoshl): Use __log1pl not __log1p.
16914
16915 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
16916
16917         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
16918         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
16919         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
16920         (grow_heap, heap_trim, _int_new_arena, get_free_list)
16921         (reused_arena, arena_get2): Convert to GNU style.
16922         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
16923         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
16924         (memalign_check, __malloc_set_state): Likewise.
16925         * malloc/mallocbug.c (main): Likewise.
16926         * malloc/malloc.c (__malloc_assert, malloc_init_state)
16927         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
16928         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
16929         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
16930         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
16931         (__posix_memalign, malloc_info): Likewise.
16932         * malloc/malloc.h: Likewise.
16933         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
16934         (mallochook, memalignhook, reallochook, mabort): Likewise.
16935         * malloc/mcheck.h: Likewise.
16936         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
16937         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
16938         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
16939         * malloc/morecore.c (__default_morecore): Likewise.
16940         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
16941         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
16942         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
16943         (print_and_abort): Likewise.
16944         * malloc/obstack.h: Likewise.
16945         * malloc/set-freeres.c (__libc_freeres): Likewise.
16946         * malloc/tst-mallocstate.c (main): Likewise.
16947         * malloc/tst-mtrace.c (main): Likewise.
16948         * malloc/tst-realloc.c (do_test): Likewise.
16949
16950 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
16951
16952         [BZ #16366]
16953         * nscd/netgroupcache.c (do_notfound): New function.
16954         (addgetnetgrentX): Use it.
16955
16956         [BZ # 16365]
16957         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
16958         NSS_STATUS_NOTFOUND.
16959
16960 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
16961
16962         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
16963         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16964
16965 2014-01-01  Allan McRae  <allan@archlinux.org>
16966
16967         * scripts/update-copyrights: Update configure input file suffix.
16968
16969         * NEWS: Update copyright year.
16970         * catgets/gencat.c: Likewise.
16971         * csu/version.c: Likewise.
16972         * debug/catchsegv.sh: Likewise.
16973         * debug/pcprofiledump.c: Likewise.
16974         * debug/xtrace.sh: Likewise.
16975         * elf/ldconfig.c: Likewise.
16976         * elf/ldd.bash.in: Likewise.
16977         * elf/pldd.c: Likewise.
16978         * elf/sotruss.ksh: Likewise.
16979         * elf/sprof.c: Likewise.
16980         * iconv/iconv_prog.c: Likewise.
16981         * iconv/iconvconfig.c: Likewise.
16982         * locale/programs/locale.c: Likewise.
16983         * locale/programs/localedef.c: Likewise.
16984         * login/programs/pt_chown.c: Likewise.
16985         * malloc/memusage.sh: Likewise.
16986         * malloc/memusagestat.c: Likewise.
16987         * malloc/mtrace.pl: Likewise.
16988         * manual/libc.texinfo: Likewise.
16989         * nscd/nscd.c: Likewise.
16990         * nss/getent.c: Likewise.
16991         * nss/makedb.c: Likewise.
16992         * posix/getconf.c: Likewise.
16993         * scripts/test-installation.pl: Likewise.
16994
16995         * All files with FSF copyright notices: Update copyright dates
16996         using scripts/update-copyrights.
16997         * intl/plural.c: Regenerated.
16998         * locale/programs/charmap-kw.h: Likewise.
16999         * locale/programs/locfile-kw.h: Likewise.
17000
17001 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
17002
17003         * sysdeps/unix/sysv/linux/configure: Regenerated.
17004         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
17005         the linux/fanotify.h header.
17006         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
17007         HAVE_LINUX_FANOTIFY_H is defined.
17008
17009 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
17010
17011         * benchtests/cos-inputs: New inputs.
17012         * benchtests/sin-inputs: Likewise.
17013
17014         * benchtests/atan-inputs: New inputs. Fix name of multiple
17015         precision fallback inputs.
17016
17017         * benchtests/atanh-inputs: New inputs.
17018         * benchtests/tanh-inputs: Likewise.
17019
17020         * benchtests/acosh-inputs: New inputs.
17021         * benchtests/asinh-inputs: Likewise.
17022
17023         * benchtests/cosh-inputs: New inputs.
17024         * benchtests/sinh-inputs: Likewise.
17025
17026         * benchtests/acos-inputs: Add more inputs.
17027         * benchtests/asin-inputs: Likewise.
17028
17029 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
17030
17031         [BZ #16375]
17032         * manual/arith.texi: Fix spelling.
17033         * manual/charset.texi: Likewise.
17034         * manual/errno.texi: Likewise.
17035         * manual/filesys.texi: Likewise.
17036         * manual/lang.texi: Likewise.
17037         * manual/llio.texi: Likewise.
17038         * manual/locale.texi: Likewise.
17039         * manual/message.texi: Likewise.
17040         * manual/resource.texi: Likewise.
17041         * manual/search.texi: Likewise.
17042         * manual/setjmp.texi: Likewise.
17043         * manual/stdio.texi: Likewise.
17044         * manual/string.texi: Likewise.
17045         * manual/sysinfo.texi: Likewise.
17046         * manual/time.texi: Likewise.
17047
17048 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
17049
17050         * po/sl.po: New file.
17051
17052 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
17053
17054         * .gitignore: Add core/.gdbinit/.gdb_history.
17055
17056 2013-12-27  Allan McRae  <allan@archlinux.org>
17057
17058         [BZ #16369]
17059         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
17060         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
17061
17062 2013-12-24  Brooks Moses  <bmoses@google.com>
17063
17064         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
17065         all compilers that claim C++98 compliance, not just GCC.
17066         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
17067         Likewise.
17068
17069 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
17070
17071         * NEWS: Restore accidentally deleted bug-fix entries.
17072
17073 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
17074             Ondřej Bílka  <neleai@seznam.cz>
17075
17076         [BZ #15073]
17077         * malloc/malloc.c (_int_free): Perform sanity check only if we
17078         have_lock.
17079
17080 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
17081
17082         [BZ #12986]
17083         * manual/stdio.texi (String Input Conversions): Clarify that character
17084         classes are not supported.
17085
17086 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17087
17088         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17089
17090 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
17091
17092         [BZ #16337]
17093         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
17094         Calculate results for small negative arguments directly rather
17095         than using reflection formula with special underflow handling.
17096
17097         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
17098         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
17099         sysdeps/unix/bsd/bsd4.4/syscalls.list.
17100         (fchflags): Likewise.
17101         (revoke): Likewise.
17102         (setlogin): Likewise.
17103         (sigaltstack): Likewise.
17104         (wait4): Likewise.
17105         (sigblock): Remove.
17106         (sigsetmask): Likewise.
17107         (wait3): Likewise.
17108         (waitpid): Likewise.
17109         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
17110         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
17111         file.
17112         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
17113         * sysdeps/unix/bsd/Makefile: ... here.
17114         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
17115         * sysdeps/unix/bsd/Versions: ... here.
17116         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
17117         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
17118         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
17119         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
17120         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
17121         * sysdeps/unix/bsd/sigblock.c: ... here.
17122         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
17123         * sysdeps/unix/bsd/sigsetmask.c: ... here.
17124         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
17125         * sysdeps/unix/bsd/sigvec.c: ... here.
17126         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
17127         * sysdeps/unix/bsd/tcdrain.c: ... here.
17128         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
17129         * sysdeps/unix/bsd/tcgetattr.c: ... here.
17130         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
17131         * sysdeps/unix/bsd/tcsetattr.c: ... here.
17132         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
17133         * sysdeps/unix/bsd/wait.c: ... here.
17134         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
17135         * sysdeps/unix/bsd/wait3.c: ... here.
17136         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
17137         * sysdeps/unix/bsd/waitpid.c: ... here.
17138
17139 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
17140
17141         [BZ #16356]
17142         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
17143         round-to-nearest for [!USE_AS_EXPM1L].
17144         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
17145         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
17146         more tests of exp and exp10.  Expect some exp10 tests to miss
17147         exceptions or fail in directed rounding modes.
17148         * math/auto-libm-test-out: Regenerated.
17149         * math/libm-test.inc (exp10_tonearest_test_data): New array.
17150         (exp10_test_tonearest): New function.
17151         (exp10_towardzero_test_data): New array.
17152         (exp10_test_towardzero): New function.
17153         (exp10_downward_test_data): New array.
17154         (exp10_test_downward): New function.
17155         (exp10_upward_test_data): New array.
17156         (exp10_test_upward): New function.
17157         (main): Call the new functions.
17158         * sysdeps/i386/fpu/libm-test-ulps: Update.
17159         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17160
17161 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
17162
17163         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
17164         asinh, atan, atan2, atanh, cbrt, cos and cosh.
17165         * math/auto-libm-test-out: Regenerated.
17166         * math/libm-test.inc (acosh_test_data): Add more tests.
17167         (atanh_test_data): Likewise.
17168         (ceil_test_data): Likewise.
17169         (copysign_test_data): Likewise.
17170         * sysdeps/i386/fpu/libm-test-ulps: Update.
17171         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17172
17173         * timezone/checktab.awk: Update from tzcode 2013i.
17174         * timezone/private.h: Likewise.
17175         * timezone/scheck.c: Likewise.
17176         * timezone/tzfile.h: Likewise.
17177         * timezone/tzselect.ksh: Likewise.
17178         * timezone/zdump.c: Likewise.
17179         * timezone/zic.c: Likewise.
17180
17181         * math/auto-libm-test-in: Add tests of cpow.
17182         * math/auto-libm-test-out: Regenerated.
17183         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
17184         * math/gen-auto-libm-tests.c (func_calc_method): Add value
17185         mpc_cc_c.
17186         (func_calc_desc): Add mpc_cc_c union field.
17187         (test_functions): Add cpow.
17188         (special_fill_2pi): New function.
17189         (special_real_inputs): Add 2pi.
17190         (calc_generic_results): Handle mpc_cc_c.
17191         * sysdeps/i386/fpu/libm-test-ulps: Update.
17192         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17193
17194         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
17195         csqrt, ctan and ctanh.
17196         * math/auto-libm-test-out: Regenerated.
17197         * math/libm-test.inc (TEST_COND_x86_64): New macro.
17198         (TEST_COND_x86): Likewise.
17199         (ccos_test_data): Use AUTO_TESTS_c_c.
17200         (ccosh_test_data): Likewise.
17201         (cexp_test_data): Likewise.
17202         (clog_test_data): Likewise.
17203         (csqrt_test_data): Likewise.
17204         (ctan_test_data): Likewise.
17205         (ctan_tonearest_test_data): Likewise.
17206         (ctan_towardzero_test_data): Likewise.
17207         (ctan_downward_test_data): Likewise.
17208         (ctan_upward_test_data): Likewise.
17209         (ctanh_test_data): Likewise.
17210         (ctanh_tonearest_test_data): Likewise.
17211         (ctanh_towardzero_test_data): Likewise.
17212         (ctanh_downward_test_data): Likewise.
17213         (ctanh_upward_test_data): Likewise.
17214         * math/gen-auto-libm-tests.c (func_calc_method): Add value
17215         mpc_c_c.
17216         (func_calc_desc): Add mpc_c_c union field.
17217         (FUNC_mpc_c_c): New macro.
17218         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
17219         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
17220         ctanh.
17221         (special_fill_min_subnorm_p120): New function.
17222         (special_real_inputs): Add min_subnorm_p120.
17223         (calc_generic_results): Handle mpc_c_c.
17224         * sysdeps/i386/fpu/libm-test-ulps: Update.
17225         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17226
17227 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
17228
17229         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
17230         (do_sin_slow): New functions.
17231         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
17232         (cslow2, csloww1, csloww2): Use the new functions.
17233
17234         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
17235         Use M to change sign of result instead of X.  Assume X is
17236         positive.
17237         (csloww1): Likewise.
17238         (__sin): Adjust.
17239         (__cos): Adjust.
17240
17241         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
17242         arguments A and DA.
17243         (__sin): Adjust.
17244         (__cos): Likewise.
17245
17246         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
17247         (__cos): Likewise.
17248         (sloww1): Don't adjust sign of DX.
17249         (csloww1): Likewise.
17250         (sloww2): Use X directly and don't adjust sign of DX.
17251         (csloww2): Likewise.
17252
17253 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
17254
17255         * math/auto-libm-test-in: Add tests of cabs and carg.
17256         * math/auto-libm-test-out: Regenerated.
17257         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
17258         (carg_test_data): Likewise.
17259         * math/gen-auto-libm-tests.c (func_calc_method): Add value
17260         mpc_c_f.
17261         (func_calc_desc): Add mpc_c_f union field.
17262         (test_functions): Add cabs and carg.
17263         (calc_generic_results): Handle mpc_c_f.
17264
17265         * sysdeps/powerpc/powerpc32/libgcc-compat.S
17266         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
17267         as a macro and a compat symbol.
17268         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
17269         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
17270         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
17271         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
17272         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
17273         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
17274         not use .hidden.
17275         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
17276         Likewise.
17277         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
17278         Likewise.
17279         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
17280         Likewise.
17281         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
17282         Likewise.
17283         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
17284         Likewise.
17285         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
17286         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
17287         from GLIBC_2.3.2.
17288
17289 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17290
17291         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17292
17293 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
17294
17295         * manual/texinfo.tex: Update to version 2013-11-26.10 with
17296         trailing whitespace removed.
17297         * scripts/config.guess: Update to version 2013-11-29.
17298         * scripts/config.sub: Update to version 2013-10-01.
17299
17300         * math/auto-libm-test-in: Add tests of sincos.
17301         * math/auto-libm-test-out: Regenerated.
17302         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
17303         * math/gen-auto-libm-tests.c (func_calc_method): Add value
17304         mpfr_f_11.
17305         (func_calc_desc): Add mpfr_f_11 union field.
17306         (test_functions): Add sincos.
17307         (calc_generic_results): Handle mpfr_f_11.
17308         * sysdeps/i386/fpu/libm-test-ulps: Update.
17309         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17310
17311 2013-12-19  Andreas Schwab  <schwab@suse.de>
17312
17313         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
17314         CALL_MCOUNT.
17315         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
17316         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
17317         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
17318
17319 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
17320
17321         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
17322         * sysdeps/i386/fpu/libm-test-ulps: Update.
17323         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17324
17325         [BZ #16293]
17326         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
17327         round-to-nearest mode when using frndint.
17328         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
17329         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
17330         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
17331         Likewise.
17332         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
17333         sinh test to fail.
17334         * math/auto-libm-test-out: Regenerated.
17335         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
17336         (TEST_COND_x86): Likewise.
17337         (expm1_tonearest_test_data): New array.
17338         (expm1_test_tonearest): New function.
17339         (expm1_towardzero_test_data): New array.
17340         (expm1_test_towardzero): New function.
17341         (expm1_downward_test_data): New array.
17342         (expm1_test_downward): New function.
17343         (expm1_upward_test_data): New array.
17344         (expm1_test_upward): New function.
17345         (main): Run the new test functions.
17346         * sysdeps/i386/fpu/libm-test-ulps: Update.
17347         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17348
17349         * include/features.h: Update comment documenting feature test
17350         macros.  Mention _DEFAULT_SOURCE in comment.
17351         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
17352         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
17353         _BSD_SOURCE and _SVID_SOURCE.
17354         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
17355         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
17356         !_SVID_SOURCE]: Likewise.
17357         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
17358         (__USE_POSIX_IMPLICITLY): Define.
17359         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
17360         (_POSIX_SOURCE): Undefine and redefine.
17361         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
17362         (_POSIX_C_SOURCE): Likewise.
17363         * manual/creature.texi (_DEFAULT_SOURCE): Document.
17364         (Feature Test Macros): Update documentation of default features.
17365
17366 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
17367
17368         * benchtests/Makefile: Add bench-strtok.
17369         * benchtests/bench-strtok.c: New file: strtok benchtest.
17370
17371 2013-12-19  Allan McRae  <allan@archlinux.org>
17372
17373         * manual/install.texi: Suppress menu for plain text output.
17374         * INSTALL: Regenerated.
17375
17376 2013-12-18  Brooks Moses  <bmoses@google.com>
17377
17378         [BZ #15846]
17379         * misc/getauxval.c: Include errno.h.
17380         (__getauxval): Set errno to ENOENT if the requested type is not
17381         found.
17382         * misc/sys/auxv.h (getauxval): Document that it may set errno;
17383         don't declare with __attribute_const__.
17384         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
17385         * manual/startup.texi: Document that getauxval sets errno.
17386
17387 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
17388
17389         * math/auto-libm-test-in: Add tests of jn and yn.
17390         * math/auto-libm-test-out: Regenerated.
17391         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
17392         (yn_test_data): Likewise.
17393         * math/gen-auto-libm-tests.c (func_calc_method): Add value
17394         mpfr_if_f.
17395         (func_calc_desc): Add mpfr_if_f union field.
17396         (FUNC_mpfr_if_f): New macro.
17397         (test_functions): Add jn and yn.
17398         (calc_generic_results): Assert type of second input for
17399         mpfr_ff_f.  Handle mpfr_if_f.
17400         (output_for_one_input_case): Disable all checking for arguments
17401         fitting floating-point types in case of an integer argument.
17402         * sysdeps/i386/fpu/libm-test-ulps: Update.
17403         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17404
17405         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
17406         Don't expect fegetround reference in libm.so.
17407
17408 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
17409
17410         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
17411         $(config-cflags-nofma).
17412
17413 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
17414
17415         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
17416         * math/auto-libm-test-out: Regenerated.
17417
17418         [BZ #16338]
17419         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
17420         to determine exponent and adjust argument to have exponent of -1.
17421         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
17422         log2.
17423         * math/auto-libm-test-out: Regenerated.
17424         * sysdeps/i386/fpu/libm-test-ulps: Update.
17425         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17426
17427 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
17428
17429         * manual/probes.texi: Remove cases when per-thread arenas are
17430         disabled.
17431
17432 2013-12-18  Andreas Schwab  <schwab@suse.de>
17433
17434         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
17435         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
17436         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
17437         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
17438         * sysdeps/i386/i686/multiarch/Makefile: Update.
17439         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
17440
17441 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
17442
17443         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
17444         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
17445
17446 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
17447
17448         [BZ #15968]
17449         Support TZ transition times < 00:00:00.
17450         This is needed for version-3 tz-format files; it supports time
17451         stamps past 2037 for America/Godthab (the only entry in the tz
17452         database for which this change is relevant).
17453         * manual/time.texi (TZ Variable): Document transition times
17454         from -167:59:59 through -00:00:01.
17455         * time/tzset.c (tz_rule): Time of day is now signed.
17456         (__tzset_parse_tz): Parse negative time of day.
17457
17458         Document TZ transition times >= 25:00:00.
17459         * manual/time.texi (TZ Variable): Document transition times from
17460         25:00:00 through 167:59:59.  These are already supported, and this
17461         support will help with version-3 tz-format files.
17462
17463         * manual/time.texi (TZ Variable): Modernize North America example
17464         to reflect current (i.e., 2007-and-later) daylight saving rules.
17465
17466         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
17467
17468 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
17469
17470         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
17471         * sysdeps/unix/bsd/bits/stat.h: Likewise.
17472         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
17473         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
17474         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
17475         * sysdeps/unix/bsd/bsdstat.h: Likewise.
17476         * sysdeps/unix/bsd/clock.c: Likewise.
17477         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
17478         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
17479         * sysdeps/unix/bsd/init-posix.c: Likewise.
17480         * sysdeps/unix/bsd/poll.c: Likewise.
17481         * sysdeps/unix/bsd/ptsname.c: Likewise.
17482         * sysdeps/unix/bsd/seekdir.c: Likewise.
17483         * sysdeps/unix/bsd/setegid.c: Likewise.
17484         * sysdeps/unix/bsd/seteuid.c: Likewise.
17485         * sysdeps/unix/bsd/setgid.c: Likewise.
17486         * sysdeps/unix/bsd/setrgid.c: Likewise.
17487         * sysdeps/unix/bsd/setruid.c: Likewise.
17488         * sysdeps/unix/bsd/setsid.c: Likewise.
17489         * sysdeps/unix/bsd/setuid.c: Likewise.
17490         * sysdeps/unix/bsd/sigaction.c: Likewise.
17491         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
17492         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
17493         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
17494         * sysdeps/unix/bsd/telldir.c: Likewise.
17495         * sysdeps/unix/bsd/times.c: Likewise.
17496         * sysdeps/unix/bsd/usleep.c: Likewise.
17497
17498         * misc/Makefile (install-lib): Remove libbsd-compat.a.
17499         ($(objpfx)libbsd-compat.a): Remove rule.
17500
17501         * include/features.h (__FAVOR_BSD): Do not define.
17502         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
17503         features conflicting with POSIX.
17504         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
17505         (_BSD_SOURCE): Remove description of not being a subset of other
17506         feature test macros.
17507         * manual/job.texi (getpgrp): Do not document BSD version.
17508         (getpgid): Do not document by reference to BSD getpgrp.
17509         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
17510         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
17511         * signal/signal.h [__FAVOR_BSD]: Likewise.
17512         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
17513         instead of making contents conditional on [__FAVOR_BSD].
17514         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
17515
17516 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17517
17518         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17519
17520 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
17521
17522         [BZ #16314]
17523         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
17524         values below 2**-450, not 2**-500.
17525         * math/auto-libm-test-in: Don't allow spurious underflow from
17526         hypot.
17527         * math/auto-libm-test-out: Regenerated.
17528
17529         [BZ #16316]
17530         [BZ #16330]
17531         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
17532         values of ha and hb and sort them after adjusting subnormal
17533         arguments.
17534         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
17535         Likewise.
17536         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
17537         values of ea and eb and sort them after adjusting subnormal
17538         arguments.
17539         * math/auto-libm-test-in: Do not expect some hypot tests of
17540         subnormals to fail.  Add more hypot tests.
17541         * math/auto-libm-test-out: Regenerated.
17542
17543 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
17544
17545         [BZ #13304]
17546         * sysdeps/sh/s_fma.c: New file.
17547         * sysdeps/sh/s_fmaf.c: New file.
17548         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
17549         version.
17550         * sysdeps/sh/Implies: Add sh/soft-fp.
17551
17552 2013-12-16  Roland McGrath  <roland@hack.frob.com>
17553
17554         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
17555         level of indirection to members `objname', `errstring', `malloced'.
17556         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
17557         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
17558         it as the __longjmp argument (just pass 1 instead).
17559         (_dl_catch_error): Initialize C with argument pointers and address of
17560         volatile local ERRCODE rather than copying values out of C at return.
17561
17562 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
17563
17564         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
17565         * math/auto-libm-test-out: Regenerated.
17566         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
17567         (hypot_test_data): Likewise.
17568         (pow_test_data): Likewise.
17569         (pow_tonearest_test_data): Likewise.
17570         * math/gen-auto-libm-tests.c (func_calc_method): Add value
17571         mpfr_ff_f.
17572         (func_calc_desc): Add mpfr_ff_f union field.
17573         (FUNC_mpfr_ff_f): New macro.
17574         (test_functions): Add atan2, hypot and pow.
17575         (special_fill_min): New function.
17576         (special_fill_minus_min): Likewise.
17577         (special_fill_min_subnorm): Likewise.
17578         (special_fill_minus_min_subnorm): Likewise.
17579         (special_real_inputs): Add min, -min, min_subnorm and
17580         -min_subnorm.
17581         (calc_generic_results): Handle mpfr_ff_f.
17582         * sysdeps/i386/fpu/libm-test-ulps: Update.
17583         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17584
17585 2013-12-16  Will Newton  <will.newton@linaro.org>
17586
17587         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
17588         (Aligned Memory Blocks): Add documentation for aligned_alloc
17589         and suggest it as an alternative to posix_memalign.
17590         (Hooks for Malloc): Document __memalign_hook is also called
17591         for aligned_alloc.  (Summary of Malloc): Add summary for
17592         aligned alloc.  Document __memalign_hook is also called
17593         for aligned_alloc.
17594
17595 2013-12-16  Will Newton  <will.newton@linaro.org>
17596
17597         * manual/memory.texi (Malloc Examples): Clarify default
17598         alignment documentation.  Suggest posix_memalign rather
17599         than memalign or valloc.
17600         (Aligned Memory Blocks): Remove suggestion to use memalign
17601         or valloc.  Remove obsolete comment about BSD.
17602         Document memalign errno values and mark the function obsolete.
17603         Document posix_memalign returned error codes.  Mark valloc
17604         as obsolete.  (Hooks for Malloc): __memalign_hook is also
17605         called for posix_memalign and valloc.
17606         (Summary of Malloc): Add posix_memalign to function summary.
17607         __memalign_hook is also called for posix_memalign and valloc.
17608
17609 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
17610
17611         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
17612         TAYLOR_SIN.
17613         (__sin): Adjust.
17614         (__cos): Likewise.
17615         (sloww): Use mynumber union.  Expand ternary operator into
17616         if-else statements.
17617         (cslow): use mynumber union.
17618
17619 2013-12-16  Allan McRae  <allan@archlinux.org>
17620
17621         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
17622         * configure: Regenerated.
17623
17624         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
17625
17626         [BZ #14120]
17627         * configure.ac: Added --enable-maintainer-mode. Check for
17628         autoconf when enabled.
17629         * configure: Regenerated.
17630
17631         * nscd/nscd.service: New file.
17632         * nscd/nscd.tmpfiles: New file.
17633
17634 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
17635
17636         [BZ #12100]
17637         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
17638         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
17639         * sysdeps/x86_64/multiarch/strstr.c: ... here.
17640         (strstr): Add __strstr_sse2_unaligned ifunc.
17641         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
17642         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
17643         (strcasestr): Remove __strcasestr_sse42 ifunc.
17644         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
17645         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
17646         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
17647
17648 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
17649
17650         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
17651         * sysdeps/sh/bits/fenv.h: ... here.
17652         * sysdeps/sh/sh4/fpu/bits: Remove directory.
17653
17654 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17655
17656         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
17657
17658         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
17659         hypotf multiarch implementations.
17660         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
17661         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
17662         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
17663         multiarch hypot for PPC64.
17664         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
17665         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
17666         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
17667         multiarch hypotf for PPC64.
17668
17669         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
17670         modff multiarch implementations.
17671         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
17672         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
17673         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
17674         multiarch modf for PPC64.
17675         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
17676         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
17677         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
17678         multiarch modff for PPC64.
17679
17680         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
17681         and logl multiarch implementations.
17682         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
17683         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
17684         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
17685         multiarch logb for PPC64.
17686         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
17687         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
17688         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
17689         multiarch logb for PPC64.
17690         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
17691         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
17692         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
17693         multiarch logb for PPC64.
17694
17695         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
17696         isinff multiarch implementation.
17697         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
17698         file.
17699         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
17700         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
17701         multiarch isinf for PPC64.
17702         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
17703         file.
17704         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
17705         multiarch isinff for PPC64.
17706
17707         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
17708         finitef multiarch implementation.
17709         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
17710         file.
17711         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
17712         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
17713         multiarch finite for PPC64.
17714         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
17715         file.
17716         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
17717         multiarch finitef for PPC64.
17718
17719         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
17720         lrint multiarch implementation.
17721         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
17722         file.
17723         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
17724         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
17725         multiarch llrint for PPC64.
17726         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
17727         multiarch lrint for PPC64.
17728
17729         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
17730         copysignf multiarch implementation.
17731         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
17732         file.
17733         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
17734         file.
17735         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
17736         multiarch copysign for PPC64.
17737         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
17738         multiarch copysignf for PPC64.
17739
17740         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
17741         multiarch implementation.
17742         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
17743         file.
17744         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
17745         file.
17746         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
17747         file.
17748         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
17749         file.
17750         multiarch llround for PPC64.
17751         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
17752         multiarch trunc for PPC64.
17753         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
17754         multiarch truncf for PPC64.
17755
17756         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
17757         multiarch implementation.
17758         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
17759         file.
17760         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
17761         file.
17762         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
17763         file.
17764         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
17765         file.
17766         multiarch llround for PPC64.
17767         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
17768         multiarch round for PPC64.
17769         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
17770         multiarch roundf for PPC64.
17771
17772         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
17773         multiarch implementation.
17774         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
17775         file.
17776         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
17777         file.
17778         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
17779         file.
17780         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
17781         file.
17782         multiarch llround for PPC64.
17783         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
17784         multiarch floor for PPC64.
17785         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
17786         multiarch floorf for PPC64.
17787
17788         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
17789         multiarch implementation.
17790         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
17791         file.
17792         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
17793         file.
17794         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
17795         file.
17796         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
17797         file.
17798         multiarch llround for PPC64.
17799         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
17800         multiarch ceil for PPC64.
17801         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
17802         multiarch ceilf for PPC64.
17803
17804         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
17805         multiarch implementation.
17806         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
17807         file.
17808         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
17809         file.
17810         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
17811         file.
17812         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
17813         multiarch llround for PPC64.
17814         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
17815         multiarch lround for PPC64.
17816
17817         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
17818         multiarch implementation.
17819         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
17820         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
17821         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
17822         file.
17823         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
17824         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
17825         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
17826         multiarch isnan for PPC64.
17827         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
17828         multiarch isnanf for PPC64.
17829
17830         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
17831         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
17832         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
17833         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
17834         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
17835         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
17836
17837         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
17838         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
17839         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
17840         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
17841
17842         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
17843         multiarch implementations.
17844         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17845         (__libc_ifunc_impl_list): Likewise.
17846         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
17847         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
17848         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
17849         multiarch stpcpy for PPC64.
17850
17851         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
17852         multiarch implementations.
17853         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17854         (__libc_ifunc_impl_list): Likewise.
17855         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
17856         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
17857         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
17858         multiarch strcpy for PPC64.
17859
17860         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
17861         redefine function name.
17862         (_wordcopy_fwd_dest_aligned): Likewise.
17863         (_wordcopy_bwd_aligned): Likewise.
17864         (_wordcopy_bwd_dest_aligned): Likewise.
17865         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
17866         multiarch implementations.
17867         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17868         (__libc_ifunc_impl_list): Likewise.
17869         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
17870         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
17871         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
17872         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
17873         multiarch wcscpy for PPC64.
17874
17875         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
17876         multiarch implementations.
17877         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17878         (__libc_ifunc_impl_list): Likewise.
17879         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
17880         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
17881         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
17882         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
17883         multiarch wcscpy for PPC64.
17884
17885         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
17886         multiarch implementations.
17887         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17888         (__libc_ifunc_impl_list): Likewise.
17889         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
17890         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
17891         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
17892         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
17893         multiarch wcsrchr for PPC64.
17894
17895         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
17896         multiarch implementations.
17897         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17898         (__libc_ifunc_impl_list): Likewise.
17899         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
17900         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
17901         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
17902         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
17903         multiarch wcschr for PPC64.
17904
17905         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
17906         multiarch implementations.
17907         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17908         (__libc_ifunc_impl_list): Likewise.
17909         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
17910         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
17911         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
17912         multiarch strchrnul for PPC64.
17913
17914         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
17915         implementations.
17916         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17917         (__libc_ifunc_impl_list): Likewise.
17918         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
17919         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
17920         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
17921         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
17922         strchr for PPC64.
17923
17924         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
17925         implementations.
17926         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17927         (__libc_ifunc_impl_list): Likewise.
17928         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
17929         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
17930         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
17931         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
17932         strncmp for PPC64.
17933
17934         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
17935         multiarch implementations.
17936         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17937         (__libc_ifunc_impl_list): Likewise.
17938         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
17939         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
17940         strncasecmp for PPC64.
17941         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
17942         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
17943         multiarch strncasecmp_l for PPC64.
17944
17945         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
17946         multiarch implementations.
17947         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
17948         (__libc_ifunc_impl_list): Likewise.
17949         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
17950         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
17951         multiarch strcasecmp for PPC64.
17952         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
17953         file.
17954         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
17955         multiarch strcasecmp_l for PPC64.
17956
17957         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
17958         implementations.
17959         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17960         (__libc_ifunc_impl_list): Likewise.
17961         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
17962         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
17963         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
17964         strnlen for PPC64.
17965
17966         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
17967         implementations.
17968         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17969         (__libc_ifunc_impl_list): Likewise.
17970         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
17971         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
17972         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
17973         strlen for PPC64.
17974
17975         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
17976         implementations.
17977         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17978         (__libc_ifunc_impl_list): Likewise.
17979         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
17980         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
17981         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
17982         rawmemrchr for PPC64.
17983
17984         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
17985         implementation.
17986         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17987         (__libc_ifunc_impl_list): Likewise.
17988         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
17989         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
17990         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
17991         memrchr for PPC64.
17992
17993         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
17994         implementation.
17995         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17996         (__libc_ifunc_impl_list): Likewise.
17997         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
17998         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
17999         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
18000         memchr for PPC64.
18001
18002         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
18003         implementation.
18004         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18005         (__libc_ifunc_impl_list): Likewise.
18006         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
18007         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
18008         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
18009         mempcpy for PPC64.
18010
18011         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
18012         avoid cretion of __bzero symbol.
18013         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
18014         Likewise.
18015         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
18016         Likewise.
18017         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
18018         Likewise.
18019         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
18020         multiarch implementations.
18021         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18022         (__libc_ifunc_impl_list): Likewise.
18023         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
18024         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
18025         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
18026         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
18027         bzero for PPC32.
18028         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
18029         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
18030         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
18031         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
18032         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
18033         memset for PPC64.
18034         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
18035
18036         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
18037         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
18038         implementations.
18039         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18040         (__libc_ifunc_impl_list): Likewise.
18041         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
18042         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
18043         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
18044         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
18045         memcmp for PPC64.
18046
18047         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
18048         multiarch for POWER/PPC64.
18049         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
18050         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
18051         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
18052         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
18053         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
18054         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
18055         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
18056         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
18057         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
18058         memcpy for PPC64.
18059
18060         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
18061         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
18062         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
18063         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
18064         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
18065         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
18066         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
18067         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
18068         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
18069         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
18070         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
18071         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
18072         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
18073         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
18074         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
18075         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
18076         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
18077         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
18078         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
18079         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
18080         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
18081         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
18082
18083 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
18084
18085         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
18086
18087 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
18088
18089         * benchtests/Makefile (bench): Add exp2 and log2.
18090         (LDLIBS-bench-exp2): Add -lm.
18091         (LDLIBS-bench-log2): Likewise.
18092         * benchtests/exp2-inputs: New inputs file.
18093         * benchtests/log2-inputs: New inputs file.
18094         * benchtests/log-inputs: Add new inputs.
18095         * benchtests/tan-inputs: Likewise.
18096
18097 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
18098
18099         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
18100         definition...
18101         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
18102         (csloww2): ... from here.
18103
18104         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
18105         instead of structures.
18106         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
18107         (POLYNOMIAL): Likewise.
18108         (TAYLOR_SLOW): Likewise.
18109         (__sin): Likewise.
18110         (__cos): Likewise.
18111         (slow1): Likewise.
18112         (slow2): Likewise.
18113         (sloww): Likewise.
18114         (sloww1); Likewise.
18115         (sloww2): Likewise.
18116         (bsloww1): Likewise.
18117         (bsloww2): Likewise.
18118         (cslow2): Likewise.
18119         (csloww): Likewise.
18120         (csloww1): Likewise.
18121         (csloww2): Likewise.
18122
18123 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
18124
18125         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
18126         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
18127         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
18128         * malloc/hooks.c (realloc_check): Likewise.
18129
18130         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
18131         * malloc/arena.c: Remove PER_THREAD conditional.
18132         [!PER_THREAD]: Remove code.
18133         (ptmalloc_unlock_all2): Likewise.
18134         (ptmalloc_init): Likewise.
18135         (_int_new_arena): Likewise.
18136         (arena_get2): Likewise.
18137         * malloc/hooks.c (__malloc_get_state): Likewise.
18138         (__malloc_set_state): Likewise.
18139         * malloc/malloc.c: Likewise.
18140         (struct malloc_state): Likewise.
18141         (struct malloc_par): Likewise.
18142         (__libc_realloc): Likewise.
18143         (__libc_mallopt): Likewise.
18144
18145 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18146
18147         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
18148
18149 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
18150
18151         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
18152         macro to a function.  Check for zero perturb_byte.
18153         (_int_malloc, _int_free): Remove zero perturb_byte checks.
18154
18155         * malloc/malloc.c: (force_reg): Remove.
18156         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
18157         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
18158         force_reg by atomic_forced_read.
18159         * malloc/arena.c (ptmalloc_init): Likewise.
18160         * malloc/hooks.c (top_check): Likewise.
18161
18162 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18163
18164         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18165
18166 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
18167
18168         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18169
18170 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
18171
18172         * math/auto-libm-test-in: Add tests of lgamma.
18173         * math/auto-libm-test-out: Regenerated.
18174         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
18175         (M_LOG_2_SQRT_PIl): Likewise.
18176         (lgamma_test_data): Use AUTO_TESTS_f_f1.
18177         * math/gen-auto-libm-tests.c (func_calc_method): Add value
18178         mpfr_f_f1.
18179         (func_calc_desc): Add mpfr_f_f1 union field.
18180         (ARGS1): New macro.
18181         (ARGS2): Likewise.
18182         (ARGS3): Likewise.
18183         (ARGS4): Likewise.
18184         (RET1): Likewise.
18185         (RET2): Likewise.
18186         (CALC): Likewise.
18187         (FUNC): Likewise.
18188         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
18189         (test_functions): Add lgamma.
18190         (calc_generic_results): Handle mpfr_f_f1.
18191         * sysdeps/i386/fpu/libm-test-ulps: Update.
18192         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18193
18194 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18195
18196         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
18197         __mpn_add_n for PowerPC64/POWER7.
18198         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
18199         __mpn_sub_n for PowerPC64/POWER7.
18200
18201         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
18202         __mpn_addmul_1 for PowerPC64.
18203         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
18204         __mpn_submul_1 for PowerPC64.
18205         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
18206         for PowerPC64.
18207         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
18208         for PowerPC64.
18209
18210 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
18211
18212         [BZ #15089]
18213         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
18214
18215 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18216
18217         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
18218
18219         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
18220         add multiarch folders.
18221         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
18222         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
18223         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
18224         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
18225         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
18226         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
18227         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
18228         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
18229         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
18230         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
18231         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
18232         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
18233         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
18234         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
18235         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
18236         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
18237         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
18238
18239         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
18240         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
18241         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
18242         New file.
18243         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
18244         New file.
18245         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
18246         multiarch __ieee754_hypot for PowerPC32.
18247         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
18248         New file.
18249         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
18250         New file.
18251         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
18252         multiarch __ieee754_hypotf for PowerPC32.
18253
18254         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
18255         long_double_symbol only if __logbl is defined.
18256         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
18257         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
18258         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
18259         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
18260         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
18261         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
18262         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
18263         path for implementation.
18264         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
18265         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
18266         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
18267         logb, and logbl multiarch implementations for PowerPC32.
18268         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
18269         file.
18270         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
18271         file.
18272         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
18273         multiarch logb for PowerPC32.
18274         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
18275         file.
18276         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
18277         file.
18278         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
18279         multiarch logbf for PowerPC32.
18280         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
18281         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
18282         file.
18283         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
18284         multiarch logbl implementation for PowerPC32.
18285
18286         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
18287         and modff multiarch implementations.
18288         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
18289         New file.
18290         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
18291         New file.
18292         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
18293         multiarch modf for PowerPC32.
18294         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
18295         New file.
18296         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
18297         New file.
18298         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
18299         multiarch modff for PowerPC32.
18300
18301         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
18302         and lrintf multiarch implementations.
18303         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
18304         New file.
18305         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
18306         New file.
18307         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
18308         multiarch lrint for PowerPC32.
18309         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
18310         file: multiarch lrintf for PowerPC32.
18311
18312         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
18313         and lroundf multiarch implementations.
18314         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
18315         New file.
18316         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
18317         New file.
18318         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
18319         New file.
18320         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
18321         multiarch lround for PowerPC32.
18322         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
18323         file: multiarch lroundf for PowerPC32.
18324
18325         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
18326         copysign and copysignf multiarch implementations.
18327         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
18328         New file.
18329         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
18330         New file.
18331         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
18332         file: multiarch copysign for PowerPC32.
18333         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
18334         file: multiarch copysignf for PowerPC32.
18335
18336         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
18337         and truncf multiarch implementations.
18338         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
18339         New file.
18340         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
18341         file.
18342         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
18343         multiarch trunc for PowerPC32.
18344         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
18345         New file.
18346         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
18347         New file.
18348         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
18349         multiarch truncf for PowerPC32.
18350
18351         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
18352         and roundf multiarch implementations.
18353         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
18354         New file.
18355         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
18356         file.
18357         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
18358         multiarch round for PowerPC32.
18359         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
18360         New file.
18361         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
18362         New file.
18363         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
18364         multiarch roundf for PowerPC32.
18365
18366         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
18367         and floorf multiarch implementations.
18368         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
18369         New file.
18370         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
18371         file.
18372         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
18373         multiarch floor for PowerPC32.
18374         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
18375         New file.
18376         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
18377         New file.
18378         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
18379         multiarch floorf for PowerPC32.
18380
18381         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
18382         and ceilf multiarch implementations.
18383         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
18384         New file.
18385         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
18386         file.
18387         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
18388         multiarch ceil for PowerPC32.
18389         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
18390         New file.
18391         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
18392         file.
18393         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
18394         multiarch ceilf for PowerPC32.
18395
18396         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
18397         is defined.
18398         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
18399         FINITEF is defined.
18400         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
18401         and finitef multiarch implementations.
18402         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
18403         New file.
18404         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
18405         file.
18406         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
18407         multiarch finite for PowerPC32.
18408         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
18409         New file.
18410         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
18411         file: multiarch finitef for PowerPC32.
18412
18413         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
18414         and isinff multiarch implementations.
18415         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
18416         file.
18417         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
18418         file.
18419         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
18420         multiarch isinf for PowerPC32.
18421         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
18422         New file.
18423         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
18424         multiarch isinff for PowerPC32.
18425
18426         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
18427         alias when __isnan is defined.
18428         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
18429         and isnanf multiarch implementations.
18430         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
18431         file.
18432         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
18433         file.
18434         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
18435         file.
18436         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
18437         file.
18438         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
18439         multiarch isnan for PowerPC32.
18440         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
18441         New file.
18442         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
18443         New file.
18444         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
18445         multiarch isnanf for PowerPC32.
18446
18447         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
18448         and sqrtf multiarch implementations.
18449         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
18450         file.
18451         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
18452         file.
18453         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
18454         multiarch sqrt for PowerPC32.
18455         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
18456         file.
18457         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
18458         file.
18459         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
18460         multiarch sqrtf for PowerPC32.
18461
18462         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
18463         and llroundf multiarch implementations.
18464         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
18465         New file.
18466         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
18467         New file.
18468         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
18469         New file.
18470         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
18471         file: multiarch llround for PowerPC32.
18472         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
18473         file: multiarch llroundf for PowerPC32.
18474
18475         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
18476         multiarch PowerPC32 fpu implementations.
18477         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
18478         New file.
18479         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
18480         New file.
18481         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
18482         multiarch llrint for PowerPC32.
18483         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
18484         New file.
18485         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
18486         New file.
18487         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
18488         file.
18489
18490         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
18491
18492         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
18493         file.
18494         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
18495         file.
18496         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
18497         file.
18498         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
18499         multiarch wordcopy for PPC32.
18500         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
18501         wordcopy objects.
18502         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18503         (__libc_ifunc_impl_list): Likewise.
18504         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
18505         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
18506         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
18507         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
18508         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
18509         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
18510
18511         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
18512         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
18513         file.
18514         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
18515         file.
18516         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
18517         file.
18518         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
18519         multiarch wcscpy for PPC32.
18520         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
18521         multiarch objects.
18522         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18523         (__libc_ifunc_impl_list): Likewise.
18524         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
18525         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
18526         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
18527         sysdeps/powerpc/power6/wcscpy.c.
18528
18529         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
18530         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
18531         file.
18532         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
18533         file.
18534         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
18535         file.
18536         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
18537         multiarch wcsrchr for PPC32.
18538         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
18539         multiarch objects.
18540         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18541         (__libc_ifunc_impl_list): Likewise.
18542         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
18543         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
18544         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
18545         sysdeps/powerpc/power6/wcsrchr.c.
18546
18547         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
18548         file.
18549         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
18550         file.
18551         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
18552         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
18553         multiarch wcschr for PPc32.
18554         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
18555         multiarch objects.
18556         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18557         (__libc_ifunc_impl_list): Likewise.
18558         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
18559         * sysdeps/powerpc/power6/wcschr.c: ... to here.
18560         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
18561         sysdeps/powerpc/power6/wcschr.c.
18562
18563         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
18564         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
18565         file.
18566         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
18567         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
18568         file: multiarch strchr for PPC32.
18569         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
18570         multiarch objects.
18571         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18572         (__libc_ifunc_impl_list): Likewise.
18573
18574         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
18575         name.
18576         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
18577         file.
18578         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
18579         file.
18580         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
18581         multiarch strchrnul for PPC32.
18582         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
18583         multiarch objects.
18584         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18585         (__libc_ifunc_impl_list): Likewise.
18586
18587         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
18588         file.
18589         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
18590         multiarch strncasecmp for PPC32.
18591         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
18592         file.
18593         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
18594         multiarch strncasecmp_l for PPC32.
18595         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
18596         strncasecmp multiarch objects.
18597         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18598         (__libc_ifunc_impl_list): Likewise.
18599
18600         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
18601         file.
18602         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
18603         multiarch strncasecmp for PPC32.
18604         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
18605         New file.
18606         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
18607         multiarch strcasecmp_l for PPC32.
18608         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
18609         multiarch objects.
18610         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18611         (__libc_ifunc_impl_list): Likewise.
18612
18613         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
18614         file.
18615         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
18616         file.
18617         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
18618         multiarch strncmp for PPC32.
18619         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
18620         multiarch objects.
18621         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18622         (__libc_ifunc_impl_list): Likewise.
18623
18624         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
18625         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
18626         file.
18627         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
18628         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
18629         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
18630         multiarch objects.
18631         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18632         (__libc_ifunc_impl_list): Likewise.
18633
18634         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
18635         file.
18636         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
18637         file.
18638         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
18639         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
18640         multiarch objects.
18641         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18642         (__libc_ifunc_impl_list): Likewise.
18643
18644         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
18645         file.
18646         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
18647         file.
18648         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
18649         multiarch rawmemchr for PPC32.
18650         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
18651         multiarch objects.
18652         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18653         (__libc_ifunc_impl_list): Likewise.
18654
18655         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
18656         file.
18657         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
18658         file.
18659         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
18660         file: memrchr multiarch for PPC32.
18661         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
18662         multiarch objects.
18663         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18664         (__libc_ifunc_impl_list): Likewise.
18665
18666         * string/memchr.c (__memchr): Using macro to redefine symbol name.
18667         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
18668         file.
18669         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
18670         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
18671         multiarch memchr for PPC32.
18672         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
18673         multiarch objects.
18674         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
18675         (__libc_ifunc_impl_list): Likewise.
18676
18677         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
18678         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
18679         file.
18680         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
18681         file.
18682         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
18683         file: multiarch mempcpy for PPC32.
18684         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
18685         multiarch objects.
18686         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
18687         (__libc_ifunc_impl_list): Likewise.
18688
18689         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
18690         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
18691         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
18692         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
18693         multiarch bzero for PPC32.
18694         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
18695         file.
18696         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
18697         file.
18698         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
18699         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
18700         file: multiarch memset for PPC32.
18701         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
18702         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
18703         memset multiarch objects.
18704         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
18705         (__libc_ifunc_impl_list): Likewise.
18706
18707         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
18708         file.
18709         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
18710         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
18711         memcmp for PPC32.
18712         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
18713         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
18714         multiarch objects.
18715         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
18716         (__libc_ifunc_impl_list): Likewise.
18717
18718         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
18719         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
18720         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
18721         file.
18722         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
18723         file.
18724         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
18725         file.
18726         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
18727         multiarch memcpy for PPC32.
18728         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
18729         multiarch objects.
18730         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
18731         (__libc_ifunc_impl_list): Likewise.
18732
18733         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
18734         support multiarch for POWER/PPC32.
18735         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
18736         Likewise.
18737         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
18738         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
18739         Implies file to make multiarch folder appers before the fpu and
18740         default folder for power4 configuration.
18741
18742 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
18743
18744         * scripts/bench.pl: Append volatile keyword to type.
18745
18746 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
18747
18748         * sysdeps/sh/sotruss-lib.c: New file.
18749         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
18750
18751 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18752
18753         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18754
18755 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
18756
18757         [BZ #6810]
18758         * math/w_tgamma.c: Include <errno.h>.
18759         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
18760         * math/w_tgammaf.c: Include <errno.h>.
18761         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
18762         * math/w_tgammal.c: Include <errno.h>.
18763         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
18764         * math/auto-libm-test-in: Do not allow missing errno on tgamma
18765         underflow.  Add more tgamma tests.
18766         * math/auto-libm-test-out: Regenerated.
18767         * sysdeps/i386/fpu/libm-test-ulps: Update.
18768         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18769
18770         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
18771         sin, sinh, tan, tanh, tgamma, y0 and y1.
18772         * math/auto-libm-test-out: Regenerated.
18773         * math/libm-test.inc (TEST_COND_x86_64): New macro.
18774         (TEST_COND_x86): Likewise.
18775         (M_E2l): Remove macro.
18776         (M_E3l): Likewise.
18777         (M_2_SQRT_PIl): Likewise.
18778         (M_SQRT_PIl): Likewise.
18779         (M_1_DIV_El): Likewise.
18780         (log_test_data): Use AUTO_TESTS_f_f.
18781         (log10_test_data): Likewise.
18782         (log1p_test_data): Likewise.
18783         (log2_test_data): Likewise.
18784         (sin_test_data): Likewise.
18785         (sin_tonearest_test_data): Likewise.
18786         (sin_towardzero_test_data): Likewise.
18787         (sin_downward_test_data): Likewise.
18788         (sin_upward_test_data): Likewise.
18789         (sinh_test_data): Likewise.
18790         (sinh_tonearest_test_data): Likewise.
18791         (sinh_towardzero_test_data): Likewise.
18792         (sinh_downward_test_data): Likewise.
18793         (sinh_upward_test_data): Likewise.
18794         (tan_test_data): Likewise.
18795         (tan_tonearest_test_data): Likewise.
18796         (tan_towardzero_test_data): Likewise.
18797         (tan_downward_test_data): Likewise.
18798         (tan_upward_test_data): Likewise.
18799         (tanh_test_data): Likewise.
18800         (tgamma_test_data): Likewise.
18801         (y0_test_data): Likewise.
18802         (y1_test_data): Likewise.
18803         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
18804         (special_real_inputs): Add pi/4.
18805         * sysdeps/i386/fpu/libm-test-ulps: Update.
18806         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18807
18808 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18809
18810         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
18811         "longjmp_target" static probes.
18812         (__longjmp): Rename to __longjmp_symbol.
18813         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
18814         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
18815         on which longjmp to generate.
18816         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
18817         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
18818         probe.
18819         (__sigsetjmp): Rename to __sigsetjmp_symbol.
18820         (__sigjmp_save): Rename to __sigjmp_save_symbol.
18821         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
18822         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
18823         and __sigjmp_save_symbol based on which sigsetjmp to generated.
18824         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
18825         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
18826         __longjmp_symbol based on which __longjmp to generate.
18827         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
18828         probe.
18829         (setjmp): Rename to setjmp_symbol.
18830         (__sigsetjmp): Rename to __sigsetjmp_symbol.
18831         (_setjmp): Rename to _setjmp_symbol.
18832         (__sigsetjmp): Rename to __sigsetjmp_symbol.
18833         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
18834         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
18835         which setjmp to generate.
18836         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
18837         "longjmp_target" static probes.
18838
18839 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
18840
18841         * benchtests/README: Add note about output arguments.
18842         * benchtests/bench-sincos.c: Remove file.
18843         * benchtests/sincos-inputs: New file.
18844         * scripts/bench.pl: Identify output arguments and define
18845         static variables for them.
18846
18847         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
18848
18849         [BZ #15941]
18850         * Makefile (INSTALL): Add install-plain.texi as the primary
18851         dependency.
18852         * manual/install-plain.texi: New file.
18853         * manual/install.texi: Include node directive only for
18854         non-plaintext output.
18855
18856 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
18857
18858         * stdlib/longlong.h: Update from GCC.
18859
18860         [BZ #6807]
18861         [BZ #15901]
18862         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
18863         * math/w_j0f.c (y0f): Likewise.
18864         * math/w_j0l.c (__y0l): Likewise.
18865         * math/w_j1.c (y1): Likewise.
18866         * math/w_j1f.c (y1f): Likewise.
18867         * math/w_j1l.c (__y1l): Likewise
18868         * math/w_jn.c (yn): Likewise.
18869         * math/w_jnf.c (ynf): Likewise.
18870         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
18871         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
18872         value for Bessel function domain errors outside _SVID_ mode.
18873         Adjust sign of return value for yn (negative integer, 0).
18874         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
18875         by zero in return for negative x and set sign appropriately for
18876         negative n.
18877         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
18878         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
18879         * math/libm-test.inc (y0_test_data): Add more tests and adjust
18880         expectations in error cases.
18881         (y1_test_data): Likewise.
18882         (yn_test_data): Likewise.
18883         * sysdeps/i386/fpu/libm-test-ulps: Update.
18884         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18885
18886 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
18887
18888         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
18889         "64" to "64-v1".  Add "64-v2".
18890         (abi-64-options): Rename to ...
18891         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
18892         (abi-64-condition): Rename to ...
18893         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
18894         (abi-64-ld-soname): Rename to ...
18895         (abi-64-v1-ld-soname): ... this.
18896         (abi-64-v2-options): Define.
18897         (abi-64-v2-condition): Likewise.
18898         (abi-64-v2-ld-soname): Likewise.
18899         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
18900         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
18901         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
18902         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
18903         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
18904
18905 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
18906             Alan Modra  <amodra@gmail.com>
18907
18908         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
18909         New versions for use with the ELFv2 ABI.
18910         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
18911         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
18912         declaration.
18913         (struct La_ppc64v2_retval): Likewise.
18914         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
18915         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
18916         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
18917         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
18918         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
18919         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
18920         Do not save or restore CR.
18921         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
18922         (_dl_profile_resolve): Do no save or restore CR.  Support extended
18923         return values for ELFv2 ABI.  Fix location of FPR return registers.
18924         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
18925         updated values for _CALL_ELF == 2.
18926         (La_regs, La_retval, int_retval): Likewise.
18927
18928 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
18929
18930         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
18931         (FRAME_MIN_SIZE_PARM): Likewise.
18932         (FRAME_BACKCHAIN): Likewise.
18933         (FRAME_CR_SAVE): Likewise.
18934         (FRAME_LR_SAVE): Likewise.
18935         (FRAME_TOC_SAVE): Likewise.
18936         (FRAME_PARM_SAVE): Likewise.
18937         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
18938         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
18939         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
18940         (call_mcount_parm_offset): New macro.
18941         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
18942         (PROF): Use symbolic stack frame offsets.
18943         (TAIL_CALL_SYSCALL_ERROR): Likewise.
18944         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
18945         Redefine in terms of FRAME_MIN_SIZE.
18946         (_dl_runtime_resolve): Use symbolic stack frame offsets.
18947         (_dl_profile_resolve): Likewise.  Update comment.
18948         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
18949         symbols stack frame offsets.
18950         (__sigsetjmp): Likewise.
18951         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
18952         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
18953         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
18954         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
18955
18956         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
18957         (FRAME_BACKCHAIN): Remove.
18958         (FRAME_CR_SAVE): Likewise.
18959         (FRAME_LR_SAVE): Likewise.
18960         (FRAME_COMPILER_DW): Likewise.
18961         (FRAME_LINKER_DW): Likewise.
18962         (FRAME_TOC_SAVE): Likewise.
18963         (FRAME_PARM_SAVE): Likewise.
18964         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
18965         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
18966         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
18967         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
18968         (CHECK_SP): Use symbolic stack frame offsets.
18969         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
18970         zone" instead of caller's parameter save area for temp storage.
18971         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
18972         Likewise.  Also, use symbolic stack frame offsets.
18973         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
18974         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
18975         our own stack frame instead of the caller's.
18976         (__socket): Use symbolic stack frame offsets.
18977
18978 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
18979             Alan Modra  <amodra@gmail.com>
18980
18981         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
18982         Define.
18983         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
18984         (PPC64_LOCAL_ENTRY_OFFSET): Define.
18985         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
18986         New function.
18987         (elf_machine_fixup_plt): Call it.
18988         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
18989         reloc arguments.
18990         (elf_machine_rela): Update call to elf_machine_plt_conflict.
18991         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
18992         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
18993         r2 before calling target.
18994
18995 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
18996             Alan Modra  <amodra@gmail.com>
18997
18998         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
18999         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
19000         versions of macros to support ELFv2 ABI.
19001         (LOCALENTRY): New macro.
19002         (ENTRY, EALIGN): Use it.
19003         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
19004         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
19005         fall through into ENTRY entry point.
19006         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
19007         Only define if _CALL_ELF != 2.
19008
19009         (elf_machine_matches_host): Verify ABI version matches.
19010         (RTLD_START): Use LOCALENTRY.
19011         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
19012         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
19013         (PLT_ENTRY_WORDS): New macro.
19014         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
19015         (elf_machine_runtime_setup): Support ELFv2 ABI.
19016         (elf_machine_fixup_plt): Likewise.
19017         (elf_machine_plt_conflict): Likewise.
19018         (resolve_ifunc): Likewise.
19019         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
19020         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
19021         Likewise.
19022         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
19023         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
19024         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
19025         (makecontext): Support ELFv2 ABI.
19026         * elf/elf.h (EF_PPC64_ABI): Define.
19027
19028 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
19029
19030         * sysdeps/powerpc/powerpc64/sysdep.h
19031         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
19032         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
19033         (ENTRY) [ASSEMBLER]: ... but instead here ...
19034         (EALIGN) [ASSEMBLER]: ... and here.
19035         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
19036         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
19037         (ENTRY_2) [!ASSEMBLER]: Use it.
19038         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
19039         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
19040         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
19041         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
19042         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
19043         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
19044         Use PPC64_LOAD_FUNCPTR.
19045
19046         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
19047
19048 2013-12-04  Alan Modra  <amodra@gmail.com>
19049
19050         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
19051         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
19052         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
19053         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
19054
19055         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
19056         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
19057         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
19058         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
19059         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
19060         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
19061
19062 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
19063
19064         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
19065         (__makecontext): Fix incorrect CFI when backtracing out of
19066         context created via makecontext.
19067         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
19068         (__setcontext): Fix incorrect CFI during switch to new context.
19069         (__novec_setcontext): Likewise.
19070
19071 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
19072
19073         [BZ #4772]
19074         * time/strptime_l.c (__strptime_internal): Allow modifiers
19075         in strptime.
19076         * time/tst-strptime.c (day_tests): Add testcase.
19077
19078 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
19079
19080         * scripts/bench.pl: Skip over blank lines.
19081
19082 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
19083
19084         [BZ #926]
19085         * manual/time.texi (Calendar Time): Clarify what timezone functions
19086         use.
19087
19088 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19089
19090         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19091
19092 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
19093
19094         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
19095         implementation.
19096         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
19097         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
19098         * debug/memset_chk.c (__memset_chk): Likewise.
19099         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
19100         * debug/strncpy_chk.c: Likewise.
19101
19102 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
19103
19104         [BZ #15268]
19105         [BZ #15425]
19106         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
19107         (__ieee754_exp): For possibly underflowing results, check size of
19108         result and force underflow exception if required.
19109         * math/auto-libm-test-in: Add more tests of exp.
19110         * math/auto-libm-test-out: Regenerated.
19111         * sysdeps/i386/fpu/libm-test-ulps: Update.
19112         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19113
19114         [BZ #16283]
19115         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
19116         * math/w_exp2f.c (__exp2f): Likewise.
19117         * math/w_exp2l.c (__exp2l): Likewise.
19118         * math/auto-libm-test-in: Do not allow missing errno on exp2
19119         underflow.
19120         * math/auto-libm-test-out: Regenerated.
19121
19122 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
19123
19124         [BZ #16274]
19125         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
19126         handle filename validation.
19127         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
19128         (do_open): Delete.
19129
19130 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
19131
19132         [BZ #6786]
19133         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
19134         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
19135         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
19136         <float.h>.
19137         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
19138         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
19139         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
19140         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
19141         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
19142         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
19143         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
19144         * math/auto-libm-test-in: Don't allow missing errno from erfc.
19145         Add more erfc tests.
19146         * math/auto-libm-test-out: Regenerated.
19147         * sysdeps/i386/fpu/libm-test-ulps: Update.
19148         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19149
19150         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
19151         exp2, expm1, j0 and j1.
19152         * math/auto-libm-test-out: Regenerated.
19153         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
19154         (erfc_test_data): Likewise.
19155         (exp_test_data): Likewise.
19156         (exp_tonearest_test_data): Likewise.
19157         (exp_towardzero_test_data): Likewise.
19158         (exp_downward_test_data): Likewise.
19159         (exp_upward_test_data): Likewise.
19160         (exp10_test_data): Likewise.
19161         (exp2_test_data): Likewise.
19162         (expm1_test_data): Likewise.
19163         (j0_test_data): Likewise.
19164         (j1_test_data): Likewise.
19165         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
19166         (input_flag_type): Add flag_xfail_rounding.
19167         (input_flags): Add xfail-rounding.
19168         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
19169         (output_for_one_input_case): Handle flag_xfail_rounding.
19170         * sysdeps/i386/fpu/libm-test-ulps: Update.
19171         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19172
19173 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
19174
19175         [BZ #16289]
19176         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
19177         division by 0.
19178
19179 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
19180
19181         [BZ #16195]
19182         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
19183         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
19184         (STAP_PROBE0): New macro.
19185         (STAP_PROBE1): Likewise.
19186         (STAP_PROBE2): Likewise.
19187         (STAP_PROBE3): Likewise.
19188         (STAP_PROBE4): Likewise.
19189
19190 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
19191
19192         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
19193
19194 2013-12-02  Steve Ellcey  <sellcey@mips.com>
19195
19196         * benchtests/Makefile (bench): Add sqrt.
19197         (LDLIBS-bench-sqrt): New.
19198         * benchtests/sqrt-input: New.
19199
19200 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
19201
19202         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
19203         (GAIH_EAI): Likewise.
19204         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
19205         (gaih_inet): Likewise.
19206         (getaddrinfo): Don't use GAIH_EAI.
19207
19208         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
19209         (struct gaih): Remove definition.
19210
19211 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
19212
19213         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
19214         Use HERRNOP directly.
19215
19216 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19217
19218         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19219
19220 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
19221
19222         * math/gen-auto-libm-tests.c (test_functions): Add more
19223         single-argument functions.
19224         (special_fill_pi_2): New function.
19225         (special_fill_minus_pi_2): Likewise.
19226         (special_fill_pi_6): Likewise.
19227         (special_fill_minus_pi_6): Likewise.
19228         (special_fill_pi_3): Likewise.
19229         (special_fill_2pi_3): Likewise.
19230         (special_fill_e): Likewise.
19231         (special_fill_1_e): Likewise.
19232         (special_fill_e_minus_1): Likewise.
19233         (special_real_inputs): Add more special inputs.
19234         (output_for_one_input_case): Do not require ERANGE on underflow to
19235         zero if round-to-nearest result does not underflow to zero, unless
19236         exact results required.
19237         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
19238         atan, atanh, cbrt, cos and cosh.
19239         * math/auto-libm-test-out: Regenerated.
19240         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
19241         (acos_tonearest_test_data): Likewise.
19242         (acos_towardzero_test_data): Likewise.
19243         (acos_downward_test_data): Likewise.
19244         (acos_upward_test_data): Likewise.
19245         (acosh_test_data): Likewise.
19246         (asin_test_data): Likewise.
19247         (asin_tonearest_test_data): Likewise.
19248         (asin_towardzero_test_data): Likewise.
19249         (asin_upward_test_data): Likewise.
19250         (asinh_test_data): Likewise.
19251         (atan_test_data): Likewise.
19252         (atanh_test_data): Likewise.
19253         (cbrt_test_data): Likewise.
19254         (cos_test_data): Likewise.
19255         (cos_tonearest_test_data): Likewise.
19256         (cos_towardzero_test_data): Likewise.
19257         (cos_downward_test_data): Likewise.
19258         (cos_upward_test_data): Likewise.
19259         (cosh_test_data): Likewise.
19260         (cosh_tonearest_test_data): Likewise.
19261         (cosh_towardzero_test_data): Likewise.
19262         (cosh_downward_test_data): Likewise.
19263         (cosh_upward_test_data): Likewise.
19264         * sysdeps/i386/fpu/libm-test-ulps: Update.
19265         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19266
19267 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
19268
19269         [BZ #6787]
19270         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
19271         * math/w_exp10f.c (__exp10f): Likewise.
19272         * math/w_exp10l.c (__exp10l): Likewise.
19273         * math/libm-test.inc (exp10_test_data): Add more tests and expect
19274         errno settings in existing tests.
19275
19276         [BZ #14032]
19277         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
19278         precision control set to double precision.
19279         * sysdeps/i386/fpu/w_sqrt.c: New file.
19280         * math/auto-libm-test-in: Add more tests.
19281         * math/auto-libm-test-out: Update.
19282
19283         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
19284         (sqrt_test_tonearest): New function.
19285         (sqrt_towardzero_test_data): New variable.
19286         (sqrt_test_towardzero): New function.
19287         (sqrt_downward_test_data): New variable.
19288         (sqrt_test_downward): New function.
19289         (sqrt_upward_test_data): New variable.
19290         (sqrt_test_upward): New function.
19291         (main): Call the new functions.
19292
19293         * math/gen-auto-libm-tests.c: New file.
19294         * math/auto-libm-test-in: Likewise.
19295         * math/auto-libm-test-out: New generated file.
19296         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
19297         variables.
19298         (%beautify): Add generated representations of zero.
19299         (top level): Set $auto_input and call parse_auto_input.
19300         (beautify): Remove trailing "f" from hex float constants.
19301         (parse_args): Handle XFAIL_TEST.
19302         (convert_condition): New function.
19303         (or_value): Likewise.
19304         (or_cond_value): Likewise.
19305         (generate_testfile): Handle AUTO_TESTS_* lines.
19306         (parse_auto_input): New function.
19307         * math/libm-test.inc (XFAIL_TEST): New macro.
19308         (ERRNO_UNCHANGED): Update value.
19309         (ERRNO_EDOM): Likewise.
19310         (ERRNO_ERANGE): Likewise.
19311         (IGNORE_RESULT): Likewise.
19312         (TEST_COND_flt_32): New macro.
19313         (TEST_COND_dbl_64): Likewise.
19314         (TEST_COND_ldbl_96_intel): Likewise.
19315         (TEST_COND_ldbl_96_m68k): Likewise.
19316         (TEST_COND_ldbl_128): Likewise.
19317         (TEST_COND_ldbl_128ibm): Likewise.
19318         (TEST_COND_long32): Likewise.
19319         (TEST_COND_long64): Likewise.
19320         (TEST_COND_before_rounding): Likewise.
19321         (TEST_COND_after_rounding): Likewise.
19322         (enable_test): Handle XFAIL_TEST flag.
19323         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
19324         with finite results.
19325         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
19326         auto-libm-test-out.
19327
19328 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
19329             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19330
19331         [BZ #16214]
19332         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
19333         __tls_get_addr_internal instead of __tls_get_offset in order to
19334         avoid GOT pointer dependency.  Make rtld export
19335         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
19336         __tls_get_addr since we are a __tls_get_offset platform.
19337         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
19338         GOT pointer being set up before.
19339         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
19340
19341 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
19342
19343         * manual/math.texi (Errors in Math Functions): Document accuracy
19344         goals.
19345
19346         [BZ #15004]
19347         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
19348         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
19349         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
19350         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
19351         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
19352         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
19353         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
19354         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
19355         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
19356         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
19357         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
19358         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
19359         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
19360         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
19361         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
19362         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
19363
19364         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
19365         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
19366         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
19367         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
19368         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
19369         Likewise.
19370         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
19371         Likewise.
19372         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
19373         Likewise.
19374         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
19375         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
19376         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
19377         atomic-feupdateenv and flt-rounds.
19378         * sysdeps/powerpc/nofpu/Versions (libc): Add
19379         __atomic_feholdexcept, __atomic_feclearexcept,
19380         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
19381         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
19382         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
19383         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
19384         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
19385         here.
19386         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
19387         Update.
19388
19389         * manual/arith.texi (FP Exceptions): Document that exceptions may
19390         not be raised when matherr is used.
19391         (Math Error Reporting): Document overflow in directed rounding
19392         modes.  Document that errno may not be set when finite values are
19393         returned on overflow.  Document intent to set errno on underflow
19394         only for underflow to zero.
19395
19396         [BZ #16271]
19397         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
19398         round-to-nearest then adjust result for other rounding modes.
19399         * include/fenv.h (fegetround): Use libm_hidden_proto.
19400         * math/fegetround.c (fegetround): Use libm_hidden_def.
19401         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
19402         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
19403         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
19404         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
19405         Likewise.
19406         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
19407         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
19408         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
19409         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
19410
19411 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
19412
19413         [BZ #16077]
19414         * nss/Versions (libnss_files): Add
19415         _nss_files_gethostbyname3_r.
19416         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
19417         New function.
19418         (HOST_DB_LOOKUP): Remove macro.
19419         (_nss_files_gethostbyname_r): Implement function without the
19420         HOST_DB_LOOKUP macro.
19421         (_nss_files_gethostbyname2_r): Likewise.
19422
19423 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
19424
19425         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
19426
19427 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
19428
19429         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
19430         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
19431         warning.
19432
19433 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19434
19435         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
19436         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
19437         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
19438         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
19439         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
19440         __fe_nomask_env_priv and attribute_hidden.
19441         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
19442         (libc_feupdateenv_test_ppc): Likewise.
19443         (libc_feresetround_ppc): Likewise.
19444         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
19445         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
19446         compat_symbol macro.
19447         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
19448         (__fe_nomask_env): Likewise.
19449         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
19450
19451 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
19452
19453         * string/Makefile: Remove ifunc tests.
19454         * string/test-string.h: Define TEST_IFUNC.
19455         * string/test-bcopy-ifunc.c: Remove.
19456         * string/test-bzero-ifunc.c: Likewise.
19457         * string/test-memccpy-ifunc.c: Likewise.
19458         * string/test-memchr-ifunc.c: Likewise.
19459         * string/test-memcmp-ifunc.c: Likewise.
19460         * string/test-memcpy-ifunc.c: Likewise.
19461         * string/test-memmem-ifunc.c: Likewise.
19462         * string/test-memmove-ifunc.c: Likewise.
19463         * string/test-mempcpy-ifunc.c: Likewise.
19464         * string/test-memrchr-ifunc.c: Likewise.
19465         * string/test-memset-ifunc.c: Likewise.
19466         * string/test-rawmemchr-ifunc.c: Likewise.
19467         * string/test-stpcpy-ifunc.c: Likewise.
19468         * string/test-stpncpy-ifunc.c: Likewise.
19469         * string/test-strcasecmp-ifunc.c: Likewise.
19470         * string/test-strcasestr-ifunc.c: Likewise.
19471         * string/test-strcat-ifunc.c: Likewise.
19472         * string/test-strchr-ifunc.c: Likewise.
19473         * string/test-strchrnul-ifunc.c: Likewise.
19474         * string/test-strcmp-ifunc.c: Likewise.
19475         * string/test-strcpy-ifunc.c: Likewise.
19476         * string/test-strcspn-ifunc.c: Likewise.
19477         * string/test-strlen-ifunc.c: Likewise.
19478         * string/test-strncasecmp-ifunc.c: Likewise.
19479         * string/test-strncat-ifunc.c: Likewise.
19480         * string/test-strncmp-ifunc.c: Likewise.
19481         * string/test-strncpy-ifunc.c: Likewise.
19482         * string/test-strnlen-ifunc.c: Likewise.
19483         * string/test-strpbrk-ifunc.c: Likewise.
19484         * string/test-strrchr-ifunc.c: Likewise.
19485         * string/test-strspn-ifunc.c: Likewise.
19486         * string/test-strstr-ifunc.c: Likewise.
19487
19488 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
19489
19490         * benchtests/Makefile: Remove ifunc tests.
19491         * benchtests/bench-string.h: Define TEST_IFUNC.
19492         * benchtests/bench-bcopy-ifunc.c: Remove.
19493         * benchtests/bench-bzero-ifunc.c: Likewise.
19494         * benchtests/bench-memccpy-ifunc.c: Likewise.
19495         * benchtests/bench-memchr-ifunc.c: Likewise.
19496         * benchtests/bench-memcmp-ifunc.c: Likewise.
19497         * benchtests/bench-memcpy-ifunc.c: Likewise.
19498         * benchtests/bench-memmem-ifunc.c: Likewise.
19499         * benchtests/bench-memmove-ifunc.c: Likewise.
19500         * benchtests/bench-mempcpy-ifunc.c: Likewise.
19501         * benchtests/bench-memrchr-ifunc.c: Likewise.
19502         * benchtests/bench-memset-ifunc.c: Likewise.
19503         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
19504         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
19505         * benchtests/bench-stpcpy-ifunc.c: Likewise.
19506         * benchtests/bench-stpncpy-ifunc.c: Likewise.
19507         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
19508         * benchtests/bench-strcasestr-ifunc.c: Likewise.
19509         * benchtests/bench-strcat-ifunc.c: Likewise.
19510         * benchtests/bench-strchr-ifunc.c: Likewise.
19511         * benchtests/bench-strchrnul-ifunc.c: Likewise.
19512         * benchtests/bench-strcmp-ifunc.c: Likewise.
19513         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
19514         * benchtests/bench-strcpy-ifunc.c: Likewise.
19515         * benchtests/bench-strcspn-ifunc.c: Likewise.
19516         * benchtests/bench-strlen-ifunc.c: Likewise.
19517         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
19518         * benchtests/bench-strncat-ifunc.c: Likewise.
19519         * benchtests/bench-strncmp-ifunc.c: Likewise.
19520         * benchtests/bench-strncpy-ifunc.c: Likewise.
19521         * benchtests/bench-strnlen-ifunc.c: Likewise.
19522         * benchtests/bench-strpbrk-ifunc.c: Likewise.
19523         * benchtests/bench-strrchr-ifunc.c: Likewise.
19524         * benchtests/bench-strsep-ifunc.c: Likewise.
19525         * benchtests/bench-strspn-ifunc.c: Likewise.
19526         * benchtests/bench-strstr-ifunc.c: Likewise.
19527
19528 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
19529
19530         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
19531
19532 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
19533
19534         * resolv/netdb.h: Use __glibc_reserved instead __unused.
19535         * rt/aio.h: Likewise.
19536         * sysdeps/gnu/bits/utmp.h: Likewise.
19537         * sysdeps/gnu/bits/utmpx.h: Likewise.
19538         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
19539         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
19540         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
19541         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
19542         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
19543         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
19544         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
19545         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
19546         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
19547         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
19548         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
19549         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
19550         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
19551         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
19552         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
19553         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
19554         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
19555         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
19556         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
19557         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
19558         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
19559         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
19560         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
19561         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
19562         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
19563         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
19564         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
19565         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
19566         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
19567         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
19568         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
19569         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
19570         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
19571         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
19572         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
19573         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
19574         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
19575         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
19576         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
19577         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
19578         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
19579         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
19580
19581 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
19582
19583         [BZ #16245]
19584         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
19585         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
19586
19587 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
19588
19589         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
19590         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
19591         Likewise.
19592
19593 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19594
19595         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
19596         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
19597         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
19598         (__fesetround): Remove define.
19599         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
19600         rounding and exceptions handling.
19601         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
19602         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
19603         (__fe_nomask_env): Likewise.
19604         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
19605         __fegetround instead of fegetround.
19606         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
19607         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
19608
19609 2013-11-21  Roland McGrath  <roland@hack.frob.com>
19610
19611         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
19612         it's there.
19613
19614         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
19615
19616 2013-11-21  Meador Inge  <meadori@codesourcery.com>
19617
19618         [BZ #11157]
19619         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
19620         (encrypt_r): Likewise.
19621         * malloc/obstack.h (obstack_free): Likewise.
19622         * posix/unistd.h (encrypt): Likewise.
19623
19624 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
19625
19626         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
19627         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
19628         DL_CALL_DT_FINI() that call the functions directly.
19629         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
19630         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
19631         * elf/dl-fini.c: Likewise.
19632
19633 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
19634
19635         * malloc/hooks.c (memalign_check): Add alignment rounding.
19636         * malloc/malloc.c (_mid_memalign): New function.
19637         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
19638         Implement by calling _mid_memalign.
19639         * manual/probes.texi (Memory Allocation Probes): Remove
19640         memory_valloc_retry and memory_pvalloc_retry.
19641
19642 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
19643
19644         * locale/programs/locarchive.c (open_archive): Add const
19645         qualifier to ARCHIVEFNAME and copy default fname to
19646         DEFAULT_FNAME.
19647
19648         [BZ #15601]
19649         * libio/tst-widetext.input: Rename Oriya to Odia.
19650         * locale/iso-639.def: Likewise.
19651
19652         * manual/probes.texi (Mathematical Function Probes): Add
19653         documentation for sin, cos, asin and acos probes.
19654         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
19655         (__sin32): Add slowasin probe.
19656         (__cos32): Add slowacos probe.
19657         (__mpsin): Add slowsin probe.
19658         (__mpcos): Add slowcos probe.
19659
19660 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
19661
19662         [BZ #15483]
19663         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
19664         thread-local __sim_exceptions_thread and global
19665         __sim_exceptions_global.
19666         (__sim_disabled_exceptions): Change to thread-local
19667         __sim_disabled_exceptions_thread and global
19668         __sim_disabled_exceptions_global.
19669         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
19670         and global __sim_round_mode_global.
19671         (__simulate_exceptions): Use thread-local floating-point state and
19672         set global state from it as needed.
19673         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
19674         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
19675         __sim_round_mode_thread.
19676         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
19677         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
19678         and global __sim_exceptions_global.
19679         (__sim_disabled_exceptions): Change to thread-local
19680         __sim_disabled_exceptions_thread and global
19681         __sim_disabled_exceptions_global.
19682         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
19683         and global __sim_round_mode_global.
19684         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
19685         (SIM_SET_GLOBAL): Likewise.
19686         * sysdeps/powerpc/soft-fp/sfp-machine.h
19687         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
19688         __sim_round_mode_thread.
19689         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
19690         __sim_disabled_exceptions_thread.
19691         (__sim_exceptions): Change to __sim_exceptions_thread.
19692         (__sim_disabled_exceptions): Change to
19693         __sim_disabled_exceptions_thread.
19694         (__sim_round_mode): Change to __sim_round_mode_thread.
19695         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
19696         thread-local floating-point state and set global state from it as
19697         needed.
19698         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
19699         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
19700         (__sim_disabled_exceptions): Remove extern declaration.
19701         (feenableexcept): Use thread-local floating-point state and set
19702         global state from it as needed.
19703         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
19704         extern declaration.
19705         (__sim_disabled_exceptions): Likewise.
19706         (__sim_round_mode): Likewise.
19707         (__fegetenv): Use thread-local floating-point state.
19708         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
19709         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
19710         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
19711         floating-point state and set global state from it as needed.
19712         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
19713         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
19714         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
19715         Likewise.
19716         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
19717         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
19718         Likewise.
19719         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
19720         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
19721         Use __sim_round_mode_thread.
19722         * math/test-fenv-tls.c: New file.
19723         * math/Makefile (tests): Add test-fenv-tls.
19724         ($(objpfx)test-fenv-tls): Depend on
19725         $(common-objpfx)nptl/libpthread.so.
19726
19727 2013-11-19  Andreas Schwab  <schwab@suse.de>
19728
19729         * locale/programs/locale.c (show_info): Decode wordarray elements.
19730         * locale/categories.def (LC_MONETARY): Add element for
19731         _NL_MONETARY_CRNCYSTR.
19732         * locale/C-monetary.c (conversion_rate): New variable.
19733         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
19734         element.
19735
19736 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
19737
19738         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
19739         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
19740
19741 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
19742
19743         * elf/Makefile (tst-auxv): New test.
19744         * elf/tst-auxv.c: New
19745         * elf/rtld.c (dl_main): Adjust AT_EXECFN
19746
19747 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
19748
19749         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
19750         (hidden_proto): Caller changed.
19751         (hidden_tls_proto): New macro.
19752         (libc_hidden_tls_proto): Likewise.
19753         (rtld_hidden_tls_proto): Likewise.
19754         (libm_hidden_tls_proto): Likewise.
19755         (libresolv_hidden_tls_proto): Likewise.
19756         (librt_hidden_tls_proto): Likewise.
19757         (libdl_hidden_tls_proto): Likewise.
19758         (libnss_files_hidden_tls_proto): Likewise.
19759         (libnsl_hidden_tls_proto): Likewise.
19760         (libnss_nisplus_hidden_tls_proto): Likewise.
19761         (libutil_hidden_tls_proto): Likewise.
19762
19763 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
19764
19765         [BZ #10253]
19766         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
19767         (decompose_rpath): Defer expansion to fillin_rpath.
19768         (_dl_init_paths): Pass linkmap to fillin_rpath.
19769
19770 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
19771
19772         * benchtests/Makefile: Add strsep.
19773         * benchtests/bench-strsep.c: New file: strsep benchtest.
19774         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
19775
19776 2013-11-18  Andreas Schwab  <schwab@suse.de>
19777
19778         * locale/programs/locale.c (show_info) [case byte]: Check for
19779         '\377' instead of '\177'.
19780         * locale/C-monetary.c (not_available): Always use "\377".
19781         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
19782         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
19783         detect unavailable sign_posn locale elements.
19784         * locale/localeconv.c (__localeconv): For grouping and
19785         mon_grouping handle "\177" and "\377" like no grouping.
19786         (INT_ELEM): New macro.  Use it to set all numeric members.
19787         * locale/programs/ld-monetary.c (monetary_read)
19788         <tok_mon_grouping>: Normalize single -1 to the empty string.
19789         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
19790         Likewise.
19791
19792 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
19793
19794         [BZ #16055]
19795         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
19796         when we match (nil).
19797         * stdio-common/tst-sscanf.c (struct test): Add testcase.
19798
19799 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
19800
19801         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
19802         (NO_TEST_INLINE): Update value.
19803         (ERRNO_UNCHANGED): Likewise.
19804         (ERRNO_EDOM): Likewise.
19805         (ERRNO_ERANGE): Likewise.
19806         (IGNORE_RESULT): Likewise.
19807         (check_float_internal): Check signs of NaN results if
19808         TEST_NAN_SIGN used.
19809         (check_complex): Pass TEST_NAN_SIGN flag through to second
19810         check_float_internal call.
19811         (copysign_test_data): Add tests with quiet NaNs as second
19812         argument.  Use TEST_NAN_SIGN.
19813         (fabs_test_data): Add test of negative quiet NaN argument.  Use
19814         TEST_NAN_SIGN.
19815         (signbit_test_data): Add tests of quiet NaN argument.
19816         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
19817
19818         * math/gen-libm-test.pl (show_exceptions): Take extra argument
19819         $ignore_result.
19820         (parse_args): Handle function results specified as IGNORE.
19821         * math/libm-test.inc (IGNORE_RESULT): New macro.
19822         (check_float_internal): Do not check numerical result if flag
19823         IGNORE_RESULT set.
19824         (check_complex): Pass through IGNORE_RESULT to second
19825         check_float_internal call.
19826         (check_int): Do not check numerical result if flag IGNORE_RESULT
19827         set.
19828         (check_long): Likewise.
19829         (check_bool): Likewise.
19830         (check_longlong): Likewise.
19831         (lrint_test_data): Add tests of infinite and NaN arguments.
19832         (lrint_tonearest_test_data): Likewise.
19833         (lrint_towardzero_test_data): Likewise.
19834         (lrint_downward_test_data): Likewise.
19835         (lrint_upward_test_data): Likewise.
19836         (llrint_test_data): Likewise.
19837         (llrint_tonearest_test_data): Likewise.
19838         (llrint_towardzero_test_data): Likewise.
19839         (llrint_downward_test_data): Likewise.
19840         (llrint_upward_test_data): Likewise.
19841         (lround_test_data): Likewise.
19842         (llround_test_data): Likewise.
19843
19844         * math/libm-test.inc (NO_TEST_INLINE): New macro.
19845         (ERRNO_UNCHANGED): Update value.
19846         (ERRNO_EDOM): Likewise.
19847         (ERRNO_ERANGE): Likewise.
19848         (NO_TEST_INLINE_FLOAT): New macro.
19849         (NO_TEST_INLINE_DOUBLE): Likewise.
19850         (enable_test): New function.
19851         (RUN_TEST_f_f): Check enable_test before running test.
19852         (RUN_TEST_2_f): Likewise.
19853         (RUN_TEST_fff_f): Likewise.
19854         (RUN_TEST_c_f): Likewise.
19855         (RUN_TEST_f_f1): Likewise.
19856         (RUN_TEST_fF_f1): Likewise.
19857         (RUN_TEST_fI_f1): Likewise.
19858         (RUN_TEST_ffI_f1): Likewise.
19859         (RUN_TEST_c_c): Likewise.
19860         (RUN_TEST_cc_c): Likewise.
19861         (RUN_TEST_f_i): Likewise.
19862         (RUN_TEST_f_i_tg): Likewise.
19863         (RUN_TEST_ff_i_tg): Likewise.
19864         (RUN_TEST_f_b): Likewise.
19865         (RUN_TEST_f_b_tg): Likewise.
19866         (RUN_TEST_f_l): Likewise.
19867         (RUN_TEST_f_L): Likewise.
19868         (RUN_TEST_fFF_11): Likewise.
19869         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
19870         conditionals.
19871         (cosh_test_data): Likewise.
19872         (exp_test_data): Likewise.
19873         (expm1_test_data): Likewise.
19874         (hypot_test_data): Likewise.
19875         (pow_test_data): Likewise.
19876         (sinh_test_data): Likewise.
19877         (tanh_test_data): Likewise.
19878         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
19879         flags argument.
19880
19881         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
19882         tests with quiet NaN input and output.
19883         (acosh_test_data): Likewise.
19884         (asin_test_data): Likewise.
19885         (asinh_test_data): Likewise.
19886         (atan_test_data): Likewise.
19887         (atanh_test_data): Likewise.
19888         (atan2_test_data): Likewise.
19889         (cbrt_test_data): Likewise.
19890         (cos_test_data): Likewise.
19891         (cosh_test_data): Likewise.
19892         (erf_test_data): Likewise.
19893         (erfc_test_data): Likewise.
19894         (exp_test_data): Likewise.
19895         (exp10_test_data): Likewise.
19896         (exp2_test_data): Likewise.
19897         (expm1_test_data): Likewise.
19898         (hypot_test_data): Likewise.
19899         (j0_test_data): Likewise.
19900         (j1_test_data): Likewise.
19901         (jn_test_data): Likewise.
19902         (lgamma_test_data): Likewise.
19903         (log_test_data): Likewise.
19904         (log10_test_data): Likewise.
19905         (log1p_test_data): Likewise.
19906         (log2_test_data): Likewise.
19907         (pow_test_data): Likewise.
19908         (scalb_test_data): Likewise.
19909         (sin_test_data): Likewise.
19910         (sincos_test_data): Likewise.
19911         (sinh_test_data): Likewise.
19912         (tan_test_data): Likewise.
19913         (tanh_test_data): Likewise.
19914         (tgamma_test_data): Likewise.
19915         (y0_test_data): Likewise.
19916         (y1_test_data): Likewise.
19917         (yn_test_data): Likewise.
19918
19919         [BZ #16167]
19920         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
19921         argument being NaN and avoid computations with second argument in
19922         that case.
19923         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
19924         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
19925         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
19926
19927 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
19928
19929         * locale/iso-639.def: Add Chitwani Tharu (the).
19930
19931 2013-11-14  Andreas Schwab  <schwab@suse.de>
19932
19933         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
19934         word instead of empty string.
19935
19936 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19937
19938         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
19939         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
19940         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
19941         (__fe_nomask_env): Likewise.
19942
19943 2013-11-13  Steve Ellcey  <sellcey@mips.com>
19944
19945         * benchtests/bench-timing.h: Include time.h.
19946
19947 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
19948
19949         [BZ #15997]
19950         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
19951         to 3.4.0 for x32.
19952         * sysdeps/unix/sysv/linux/configure: Regenerated.
19953
19954 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
19955
19956         [BZ #16151]
19957         * stdlib/strtod_l.c (round_and_return): Do not consider
19958         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
19959         exponent one less than half the least subnormal exponent.
19960         * stdlib/test-strtod-round-data: Add more tests.
19961         * stdlib/tst-strtod-round.c (tests): Regenerated.
19962
19963 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19964
19965         [BZ #14143]
19966         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
19967         (__fe_mask_env): Likewise.
19968         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
19969         libm_hidden_proto and add function prototype.
19970         (__fe_mask_env): Add function prototype.
19971         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
19972         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
19973         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
19974         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
19975         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
19976         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
19977
19978 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
19979
19980         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
19981         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
19982
19983 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
19984
19985         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
19986         of htab_find_slot().
19987
19988 2013-11-11  David S. Miller  <davem@davemloft.net>
19989
19990         [BZ #16150]
19991         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
19992         symbol in the non-vis3 case in static builds.
19993         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
19994         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
19995         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
19996         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
19997
19998 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
19999
20000         [BZ #387]
20001         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
20002         it is empty.
20003
20004 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20005
20006         * benchtests/Makefile: Add bench-strtod.
20007         * benchtests/bench-strtod.c: New file: strtod benchtest
20008
20009 2013-11-11  Andreas Schwab  <schwab@suse.de>
20010
20011         [BZ #16153]
20012         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
20013         terminating NUL in key length.
20014
20015 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20016
20017         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
20018         Add artificial ODP entry for vDSO symbol for PPC64.
20019         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
20020         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
20021
20022 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
20023
20024         [BZ #15374]
20025         * nss/getent.c (services_keys): Recognize services starting with digit.
20026
20027 2013-11-06  David S. Miller  <davem@davemloft.net>
20028
20029         [BZ #15985]
20030         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
20031         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
20032
20033 2013-11-06  Will Newton  <will.newton@linaro.org>
20034
20035         * manual/memory.texi (Malloc Examples): Remove register
20036         keyword from examples.
20037
20038 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
20039
20040         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
20041
20042 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
20043
20044         [BZ #6981]
20045         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
20046         depending on [__GCC_IEC_559 > 0].
20047         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
20048         depending on [__GCC_IEC_559_COMPLEX > 0].
20049
20050 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
20051
20052         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
20053         to iso-639.def.
20054
20055 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
20056
20057         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
20058
20059 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
20060
20061         [BZ #16112]
20062         * malloc/malloc (malloc_info): Do not handle first bin as
20063         special case.
20064
20065 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
20066
20067         * locale/iso-639.def: Add Central Nahuatl (nhn).
20068
20069 2013-11-01  Bruno Haible  <bruno@clisp.org>
20070
20071         [BZ #7003]
20072         * manual/math.texi (BSD Random): Specify range upper bound as
20073         in POSIX.
20074
20075 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
20076
20077         * locale/iso-639.def: Add Meadow Mari (mhr).
20078
20079 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
20080
20081         [BZ #14752], [BZ #15763]
20082         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
20083         Validate name.
20084         * rt/tst_shm.c: Add test for escaping directory.
20085
20086 2013-10-31  Andreas Schwab  <schwab@suse.de>
20087
20088         [BZ #15917]
20089         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
20090         followed by 'x' as part of digit sequence.
20091         * stdio-common/tst-sscanf.c (double_tests2): New tests.
20092
20093 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
20094
20095         [BZ #16037]
20096         * configure.ac: allow GNU Make 4.0 and greater.
20097         * configure: Regenerated.
20098
20099 2013-10-30  Will Newton  <will.newton@linaro.org>
20100
20101         [BZ #16038]
20102         * malloc/hooks.c (memalign_check): Limit alignment to the
20103         maximum representable power of two.
20104         * malloc/malloc.c (__libc_memalign): Likewise.
20105         * malloc/tst-memalign.c (do_test): Add test for very
20106         large alignment values.
20107         * malloc/tst-posix_memalign.c (do_test): Likewise.
20108
20109 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
20110
20111         [BZ #11087]
20112         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
20113         (munmap_chunk): Likewise.
20114         (mremap_chunk): Likewise.
20115
20116 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
20117
20118         [BZ #15799]
20119         * stdlib/div.c (div): Remove obsolete code.
20120         * stdlib/ldiv.c (ldiv): Likewise.
20121         * stdlib/lldiv.c (lldiv): Likewise.
20122
20123 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
20124
20125         [BZ #16071]
20126         * nss/nss_files/files-XXX.c (get_contents_ret): New
20127         enumerator.
20128         (get_contents): New function.
20129         (internal_getent): Use it.  Expand size of LINEBUFLEN.
20130
20131 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
20132
20133         * configure.in: Moved to ...
20134         * configure.ac: ... here. Change reference to configure.in
20135         to configure.ac.
20136         * sysdeps/arm/preconfigure.ac: ... here.
20137         configure.in to configure.ac.
20138         * sysdeps/gnu/configure.in: Moved to ...
20139         * sysdeps/gnu/configure.ac: ... here.
20140         * sysdeps/i386/configure.in: Moved to ...
20141         * sysdeps/i386/configure.ac: ... here.
20142         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
20143         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
20144         * sysdeps/mach/configure.in: Moved to ...
20145         * sysdeps/mach/configure.ac: ... here.
20146         * sysdeps/mach/hurd/configure.in: Moved to ...
20147         * sysdeps/mach/hurd/configure.ac: ... here.
20148         * sysdeps/powerpc/configure.in: Moved to ...
20149         * sysdeps/powerpc/configure.ac: ... here.
20150         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
20151         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
20152         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
20153         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
20154         * sysdeps/s390/s390-32/configure.in: Moved to ...
20155         * sysdeps/s390/s390-32/configure.ac: ... here.
20156         * sysdeps/s390/s390-64/configure.in: Moved to ...
20157         * sysdeps/s390/s390-64/configure.ac: ... here.
20158         * sysdeps/sh/configure.in: Moved to ...
20159         * sysdeps/sh/configure.ac: ... here.
20160         * sysdeps/sparc/configure.in: Moved to ...
20161         * sysdeps/sparc/configure.ac: ... here.
20162         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
20163         * sysdeps/unix/sysv/linux/configure.ac: ... here.
20164         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
20165         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
20166         * sysdeps/x86_64/configure.in: Moved to ...
20167         * sysdeps/x86_64/configure.ac: ... here.
20168         * sysdeps/x86_64/preconfigure.in: Moved to ...
20169         * sysdeps/x86_64/preconfigure.ac: ... here.
20170         * aclocal.m4: Change reference to configure.in to configure.ac.
20171         * config.h.in: Likewise.
20172         * manual/install.texi: Likewise.
20173         * manual/maint.texi: Likewise.
20174         * Makefile: Likewise.
20175         * malloc/Makefile: Likewise.
20176         * nscd/Makefile: Likewise.
20177         * Makeconfig: Change reference to configure.in and
20178         preconfigure.in to configure.ac and preconfigure.ac
20179         respectively.
20180         * INSTALL: Regenerated.
20181         * configure: Likewise.
20182         * sysdeps/gnu/configure: Likewise.
20183         * sysdeps/i386/configure: Likewise.
20184         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
20185         * sysdeps/mach/configure: Likewise.
20186         * sysdeps/mach/hurd/configure: Likewise.
20187         * sysdeps/powerpc/configure: Likewise.
20188         * sysdeps/powerpc/powerpc32/configure: Likewise.
20189         * sysdeps/powerpc/powerpc64/configure: Likewise.
20190         * sysdeps/s390/s390-32/configure: Likewise.
20191         * sysdeps/s390/s390-64/configure: Likewise.
20192         * sysdeps/sh/configure: Likewise.
20193         * sysdeps/sparc/configure: Likewise.
20194         * sysdeps/unix/sysv/linux/configure: Likewise.
20195         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
20196         * sysdeps/x86_64/configure: Likewise.
20197         * sysdeps/x86_64/preconfigure: Likewise.
20198
20199 2013-10-29  Andreas Schwab  <schwab@suse.de>
20200
20201         * stdio-common/Makefile (tst-swscanf-ENV): Define.
20202
20203 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
20204
20205         * benchtests/pow-inputs: Add new inputs.
20206
20207         * benchtests/exp-inputs: Add new inputs.
20208
20209         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
20210         conditional check for return value.
20211         (__cos32): Likewise.
20212
20213 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20214
20215         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
20216         to provide a boost for large inputs with word alignment.
20217         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
20218         implementation based on optimized PPC64 strcpy.
20219         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
20220         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
20221         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
20222         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
20223
20224 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
20225
20226         [BZ #2801]
20227         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
20228
20229 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
20230
20231         [BZ #14876]
20232         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
20233         * time/tst-strptime.c (day_tests): Add testcase.
20234
20235 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
20236
20237         [BZ #14029]
20238         * manual/pattern.texi: Acknowledge that fnmatch can fail.
20239
20240 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
20241
20242         [BZ #16074]
20243         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
20244         MAP_FAILED on error.
20245
20246 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
20247
20248         [BZ #16072]
20249         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
20250         heap for large requests.
20251
20252 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
20253
20254         [BZ #9954]
20255         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
20256         result if the result has no associated interface.
20257         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
20258         interface for all 127.X.Y.Z addresses.
20259
20260 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
20261
20262         * locale/iso-639.def: Add Ligurian (lij)
20263
20264 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
20265
20266         [BZ #15825]
20267         * sunrpc/rpc_main.c: Document rpcgen -5.
20268
20269 2013-10-19  Michael Stahl  <mstahl@redhat.com>
20270
20271         * elf/rtld.c (do_preload): Print the reason why preloading failed.
20272
20273 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
20274
20275         [BZ #10278]
20276         * posix/glob.c: Match only directories when trailing slash is present.
20277         * posix/tst-gnuglob.c (my_opendir): Do not open files.
20278         (main): Add testcase.
20279
20280 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
20281
20282         [BZ #15670]
20283         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
20284
20285 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
20286
20287         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
20288         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
20289         AUTH_DES and cindex for FIPS 140-2.
20290         (DES Encryption): Add cindex FIPS 46-3.
20291
20292         * locale/locarchive.h (struct locarhandle): Add fname.
20293         * locale/programs/localedef.c (main): Pass ARGV[remaining]
20294         if an optional argument was specified to --list-archive,
20295         otherwise NULL.
20296         * locale/programs/locarchive.c (show_archive_content): Take new
20297         argument fname and pass it via ah.fname to open_archive.
20298         * locale/programs/localedef.h: Update decl.
20299         (open_archive): If AH->fname is non-null, open that file
20300         rather than the default file name, and don't ignore ENOENT.
20301         (create_archive): Set AH.fname to NULL.
20302         (delete_locales_from_archive): Likewise.
20303         (add_locales_to_archive): Likewise.
20304         * locale/programs/locfile.c (write_all_categories): Likewise.
20305
20306 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
20307             Aldy Hernandez  <aldyh@redhat.com>
20308
20309         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
20310         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
20311         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
20312         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
20313         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
20314         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
20315         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
20316         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
20317         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
20318         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
20319         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
20320         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
20321         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
20322         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
20323         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
20324         Likewise.
20325         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
20326         Likewise.
20327         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
20328         Likewise.
20329         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
20330         Likewise.
20331         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
20332         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
20333         Likewise.
20334         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
20335         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
20336         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
20337         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
20338         Likewise.
20339         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
20340         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
20341         * sysdeps/powerpc/preconfigure: Likewise.
20342         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
20343         Likewise.
20344         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
20345         Replace contents of file by #include of <fenv_libc.h>.
20346         * sysdeps/powerpc/soft-fp/sfp-machine.h
20347         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
20348         and <sys/prctl.h>.
20349         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
20350         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
20351         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
20352         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
20353         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
20354         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
20355         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
20356         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
20357         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
20358         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
20359         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
20360         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
20361         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
20362         Allow copysignl PLT reference to be missing.
20363
20364 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
20365             Joseph Myers  <joseph@codesourcery.com
20366
20367         [BZ #15948]
20368         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
20369         single character.
20370         (add_to_tablewc): Assert sequence of wide characters is nonempty.
20371
20372 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
20373
20374         * elf/tst-tls-dlinfo.c: Don't include tls.h.
20375         * elf/tst-tls1.c: Likewise.
20376         * elf/tst-tls10.h: Likewise.
20377         * elf/tst-tls14.c: Likewise.
20378         * elf/tst-tls2.c: Likewise.
20379         * elf/tst-tls3.c: Likewise.
20380         * elf/tst-tls4.c: Likewise.
20381         * elf/tst-tls5.c: Likewise.
20382         * elf/tst-tls6.c: Likewise.
20383         * elf/tst-tls7.c: Likewise.
20384         * elf/tst-tls8.c: Likewise.
20385         * elf/tst-tls9.c: Likewise.
20386         * elf/tst-tlsmod1.c: Likewise.
20387         * elf/tst-tlsmod13.c: Likewise.
20388         * elf/tst-tlsmod13a.c: Likewise.
20389         * elf/tst-tlsmod14a.c: Likewise.
20390         * elf/tst-tlsmod16a.c: Likewise.
20391         * elf/tst-tlsmod16b.c: Likewise.
20392         * elf/tst-tlsmod2.c: Likewise.
20393         * elf/tst-tlsmod3.c: Likewise.
20394         * elf/tst-tlsmod4.c: Likewise.
20395         * elf/tst-tlsmod5.c: Likewise.
20396         * elf/tst-tlsmod6.c: Likewise.
20397
20398 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
20399
20400         [BZ #12486]
20401         * malloc/malloc.c: remove checks for statistics.
20402
20403 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
20404
20405         [BZ #15277]
20406         * inet/inet_net.c (inet_network): Detect additional invalid strings.
20407         * inet/tst-network.c: Add testcase.
20408
20409 2013-10-17  Andreas Schwab  <schwab@suse.de>
20410
20411         [BZ #15218]
20412         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
20413         to determine canonical name.
20414
20415 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
20416
20417         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
20418         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
20419         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
20420         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
20421         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
20422         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
20423         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
20424         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
20425         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
20426         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
20427         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
20428         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
20429         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
20430         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
20431         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
20432         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
20433         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
20434         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
20435         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
20436         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
20437         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
20438         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
20439         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
20440         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
20441         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
20442         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
20443         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
20444         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
20445         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
20446         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
20447         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
20448         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
20449         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
20450         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
20451         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
20452         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
20453         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
20454         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
20455         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
20456         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
20457         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
20458         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
20459         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
20460         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
20461         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
20462         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
20463         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
20464         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
20465         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
20466         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
20467         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
20468         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
20469         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
20470         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
20471         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
20472         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
20473         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
20474         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
20475
20476 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
20477
20478         [BZ #16041]
20479         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
20480         make result into a quiet NaN.
20481
20482 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
20483
20484         * soft-fp/adddf3.c: Fix horizontal whitespace.
20485         * soft-fp/addsf3.c: Likewise.
20486         * soft-fp/addtf3.c: Likewise.
20487         * soft-fp/divdf3.c: Likewise.
20488         * soft-fp/divsf3.c: Likewise.
20489         * soft-fp/divtf3.c: Likewise.
20490         * soft-fp/double.h: Likewise.
20491         * soft-fp/eqdf2.c: Likewise.
20492         * soft-fp/eqsf2.c: Likewise.
20493         * soft-fp/eqtf2.c: Likewise.
20494         * soft-fp/extenddftf2.c: Likewise.
20495         * soft-fp/extended.h: Likewise.
20496         * soft-fp/extendsfdf2.c: Likewise.
20497         * soft-fp/extendsftf2.c: Likewise.
20498         * soft-fp/extendxftf2.c: Likewise.
20499         * soft-fp/fixdfdi.c: Likewise.
20500         * soft-fp/fixdfsi.c: Likewise.
20501         * soft-fp/fixdfti.c: Likewise.
20502         * soft-fp/fixsfdi.c: Likewise.
20503         * soft-fp/fixsfsi.c: Likewise.
20504         * soft-fp/fixsfti.c: Likewise.
20505         * soft-fp/fixtfdi.c: Likewise.
20506         * soft-fp/fixtfsi.c: Likewise.
20507         * soft-fp/fixtfti.c: Likewise.
20508         * soft-fp/fixunsdfdi.c: Likewise.
20509         * soft-fp/fixunsdfsi.c: Likewise.
20510         * soft-fp/fixunsdfti.c: Likewise.
20511         * soft-fp/fixunssfdi.c: Likewise.
20512         * soft-fp/fixunssfsi.c: Likewise.
20513         * soft-fp/fixunssfti.c: Likewise.
20514         * soft-fp/fixunstfdi.c: Likewise.
20515         * soft-fp/fixunstfsi.c: Likewise.
20516         * soft-fp/fixunstfti.c: Likewise.
20517         * soft-fp/floatdidf.c: Likewise.
20518         * soft-fp/floatdisf.c: Likewise.
20519         * soft-fp/floatditf.c: Likewise.
20520         * soft-fp/floatsidf.c: Likewise.
20521         * soft-fp/floatsisf.c: Likewise.
20522         * soft-fp/floatsitf.c: Likewise.
20523         * soft-fp/floattidf.c: Likewise.
20524         * soft-fp/floattisf.c: Likewise.
20525         * soft-fp/floattitf.c: Likewise.
20526         * soft-fp/floatundidf.c: Likewise.
20527         * soft-fp/floatundisf.c: Likewise.
20528         * soft-fp/floatunditf.c: Likewise.
20529         * soft-fp/floatunsidf.c: Likewise.
20530         * soft-fp/floatunsisf.c: Likewise.
20531         * soft-fp/floatunsitf.c: Likewise.
20532         * soft-fp/floatuntidf.c: Likewise.
20533         * soft-fp/floatuntisf.c: Likewise.
20534         * soft-fp/floatuntitf.c: Likewise.
20535         * soft-fp/fmadf4.c: Likewise.
20536         * soft-fp/fmasf4.c: Likewise.
20537         * soft-fp/fmatf4.c: Likewise.
20538         * soft-fp/gedf2.c: Likewise.
20539         * soft-fp/gesf2.c: Likewise.
20540         * soft-fp/getf2.c: Likewise.
20541         * soft-fp/ledf2.c: Likewise.
20542         * soft-fp/lesf2.c: Likewise.
20543         * soft-fp/letf2.c: Likewise.
20544         * soft-fp/muldf3.c: Likewise.
20545         * soft-fp/mulsf3.c: Likewise.
20546         * soft-fp/multf3.c: Likewise.
20547         * soft-fp/negdf2.c: Likewise.
20548         * soft-fp/negsf2.c: Likewise.
20549         * soft-fp/negtf2.c: Likewise.
20550         * soft-fp/op-1.h: Likewise.
20551         * soft-fp/op-2.h: Likewise.
20552         * soft-fp/op-4.h: Likewise.
20553         * soft-fp/op-8.h: Likewise.
20554         * soft-fp/op-common.h: Likewise.
20555         * soft-fp/quad.h: Likewise.
20556         * soft-fp/single.h: Likewise.
20557         * soft-fp/soft-fp.h: Likewise.
20558         * soft-fp/sqrtdf2.c: Likewise.
20559         * soft-fp/sqrtsf2.c: Likewise.
20560         * soft-fp/sqrttf2.c: Likewise.
20561         * soft-fp/subdf3.c: Likewise.
20562         * soft-fp/subsf3.c: Likewise.
20563         * soft-fp/subtf3.c: Likewise.
20564         * soft-fp/truncdfsf2.c: Likewise.
20565         * soft-fp/trunctfdf2.c: Likewise.
20566         * soft-fp/trunctfsf2.c: Likewise.
20567         * soft-fp/trunctfxf2.c: Likewise.
20568         * soft-fp/unorddf2.c: Likewise.
20569         * soft-fp/unordsf2.c: Likewise.
20570         * soft-fp/unordtf2.c: Likewise.
20571
20572 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
20573
20574         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
20575         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
20576
20577 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
20578
20579         * elf/dl-libc.c: Clear initfini list after freeing.
20580
20581 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
20582
20583         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
20584         * soft-fp/addsf3.c: Likewise.
20585         * soft-fp/addtf3.c: Likewise.
20586         * soft-fp/divdf3.c: Likewise.
20587         * soft-fp/divsf3.c: Likewise.
20588         * soft-fp/divtf3.c: Likewise.
20589         * soft-fp/double.h: Likewise.
20590         * soft-fp/eqdf2.c: Likewise.
20591         * soft-fp/eqsf2.c: Likewise.
20592         * soft-fp/eqtf2.c: Likewise.
20593         * soft-fp/extenddftf2.c: Likewise.
20594         * soft-fp/extended.h: Likewise.
20595         * soft-fp/extendsfdf2.c: Likewise.
20596         * soft-fp/extendsftf2.c: Likewise.
20597         * soft-fp/extendxftf2.c: Likewise.
20598         * soft-fp/fixdfdi.c: Likewise.
20599         * soft-fp/fixdfsi.c: Likewise.
20600         * soft-fp/fixdfti.c: Likewise.
20601         * soft-fp/fixsfdi.c: Likewise.
20602         * soft-fp/fixsfsi.c: Likewise.
20603         * soft-fp/fixsfti.c: Likewise.
20604         * soft-fp/fixtfdi.c: Likewise.
20605         * soft-fp/fixtfsi.c: Likewise.
20606         * soft-fp/fixtfti.c: Likewise.
20607         * soft-fp/fixunsdfdi.c: Likewise.
20608         * soft-fp/fixunsdfsi.c: Likewise.
20609         * soft-fp/fixunsdfti.c: Likewise.
20610         * soft-fp/fixunssfdi.c: Likewise.
20611         * soft-fp/fixunssfsi.c: Likewise.
20612         * soft-fp/fixunssfti.c: Likewise.
20613         * soft-fp/fixunstfdi.c: Likewise.
20614         * soft-fp/fixunstfsi.c: Likewise.
20615         * soft-fp/fixunstfti.c: Likewise.
20616         * soft-fp/floatdidf.c: Likewise.
20617         * soft-fp/floatdisf.c: Likewise.
20618         * soft-fp/floatditf.c: Likewise.
20619         * soft-fp/floatsidf.c: Likewise.
20620         * soft-fp/floatsisf.c: Likewise.
20621         * soft-fp/floatsitf.c: Likewise.
20622         * soft-fp/floattidf.c: Likewise.
20623         * soft-fp/floattisf.c: Likewise.
20624         * soft-fp/floattitf.c: Likewise.
20625         * soft-fp/floatundidf.c: Likewise.
20626         * soft-fp/floatundisf.c: Likewise.
20627         * soft-fp/floatunsidf.c: Likewise.
20628         * soft-fp/floatunsisf.c: Likewise.
20629         * soft-fp/floatuntidf.c: Likewise.
20630         * soft-fp/floatuntisf.c: Likewise.
20631         * soft-fp/floatuntitf.c: Likewise.
20632         * soft-fp/fmadf4.c: Likewise.
20633         * soft-fp/fmasf4.c: Likewise.
20634         * soft-fp/fmatf4.c: Likewise.
20635         * soft-fp/gedf2.c: Likewise.
20636         * soft-fp/gesf2.c: Likewise.
20637         * soft-fp/getf2.c: Likewise.
20638         * soft-fp/ledf2.c: Likewise.
20639         * soft-fp/lesf2.c: Likewise.
20640         * soft-fp/letf2.c: Likewise.
20641         * soft-fp/muldf3.c: Likewise.
20642         * soft-fp/mulsf3.c: Likewise.
20643         * soft-fp/multf3.c: Likewise.
20644         * soft-fp/negdf2.c: Likewise.
20645         * soft-fp/negsf2.c: Likewise.
20646         * soft-fp/negtf2.c: Likewise.
20647         * soft-fp/op-1.h: Likewise.
20648         * soft-fp/op-2.h: Likewise.
20649         * soft-fp/op-4.h: Likewise.
20650         * soft-fp/op-8.h: Likewise.
20651         * soft-fp/op-common.h: Likewise.
20652         * soft-fp/quad.h: Likewise.
20653         * soft-fp/single.h: Likewise.
20654         * soft-fp/soft-fp.h: Likewise.
20655         * soft-fp/sqrtdf2.c: Likewise.
20656         * soft-fp/sqrtsf2.c: Likewise.
20657         * soft-fp/sqrttf2.c: Likewise.
20658         * soft-fp/subdf3.c: Likewise.
20659         * soft-fp/subsf3.c: Likewise.
20660         * soft-fp/subtf3.c: Likewise.
20661         * soft-fp/truncdfsf2.c: Likewise.
20662         * soft-fp/trunctfdf2.c: Likewise.
20663         * soft-fp/trunctfsf2.c: Likewise.
20664         * soft-fp/trunctfxf2.c: Likewise.
20665         * soft-fp/unorddf2.c: Likewise.
20666         * soft-fp/unordsf2.c: Likewise.
20667         * soft-fp/unordtf2.c: Likewise.
20668
20669 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
20670
20671         [BZ #15672]
20672         * misc/error.c (error_tail): Fix possible buffer overflow.
20673
20674 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
20675
20676         [BZ #13028]
20677         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
20678         address.
20679
20680 2013-10-14  P. J. McDermott  <pj@pehjota.net>
20681
20682         [BZ #832]
20683         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
20684         testing pipefail option.
20685
20686 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
20687
20688         * soft-fp/double.h: Indent preprocessor directives inside #if.
20689         * soft-fp/extended.h: Likewise.
20690         * soft-fp/op-2.h: Likewise.
20691         * soft-fp/op-4.h: Likewise.
20692         * soft-fp/op-common.h: Likewise.
20693         * soft-fp/quad.h: Likewise.
20694         * soft-fp/single.h: Likewise.
20695         * soft-fp/soft-fp.h: Likewise.
20696
20697 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
20698
20699         * iconv/iconv_prog.c: Fix typos.
20700         * stdio-common/psiginfo-data.h: Likewise.
20701
20702 2013-10-12   Reuben Thomas <rrt@sc3d.org>
20703
20704         [BZ #15764]
20705         * locale/setlocale.c: Fix typo.
20706
20707 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
20708
20709         [BZ #16036]
20710         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
20711         signaling NaN arguments.
20712         * soft-fp/unordsf2.c (__unordsf2): Likewise.
20713         * soft-fp/unordtf2.c (__unordtf2): Likewise.
20714
20715         [BZ #14910]
20716         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
20717         unordered operands.
20718         * soft-fp/gesf2.c (__gesf2): Likewise.
20719         * soft-fp/getf2.c (__getf2): Likewise.
20720         * soft-fp/ledf2.c (__ledf2): Likewise.
20721         * soft-fp/lesf2.c (__lesf2): Likewise.
20722         * soft-fp/letf2.c (__letf2): Likewise.
20723
20724         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
20725         * soft-fp/eqsf2.c (__eqsf2): Likewise.
20726         * soft-fp/eqtf2.c (__eqtf2): Likewise.
20727         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
20728         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
20729         * soft-fp/fixdfti.c (__fixdfti): Likewise.
20730         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
20731         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
20732         * soft-fp/fixsfti.c (__fixsfti): Likewise.
20733         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
20734         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
20735         * soft-fp/fixtfti.c (__fixtfti): Likewise.
20736         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
20737         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
20738         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
20739         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
20740         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
20741         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
20742         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
20743         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
20744         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
20745         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
20746         * soft-fp/floatdisf.c (__floatdisf): Likewise.
20747         * soft-fp/floatsisf.c (__floatsisf): Likewise.
20748         * soft-fp/floattidf.c (__floattidf): Likewise.
20749         * soft-fp/floattisf.c (__floattisf): Likewise.
20750         * soft-fp/floattitf.c (__floattitf): Likewise.
20751         * soft-fp/floatundidf.c (__floatundidf): Likewise.
20752         * soft-fp/floatundisf.c (__floatundisf): Likewise.
20753         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
20754         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
20755         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
20756         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
20757         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
20758         * soft-fp/gesf2.c (__gesf2): Likewise.
20759         * soft-fp/getf2.c (__getf2): Likewise.
20760         * soft-fp/ledf2.c (__ledf2): Likewise.
20761         * soft-fp/lesf2.c (__lesf2): Likewise.
20762         * soft-fp/letf2.c (__letf2): Likewise.
20763
20764         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
20765         Undefine and redefine.
20766         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
20767         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
20768         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
20769         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
20770         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
20771         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
20772         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
20773         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
20774         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
20775         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
20776         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
20777         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
20778         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
20779         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
20780         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
20781
20782         [BZ #16032]
20783         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
20784         without decrementing exponent if mantissa >= that for the
20785         denominator, not >.
20786         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
20787         denominator, not >.  Decrement exponent in < case instead of
20788         incrementing in >= case.
20789         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
20790         without decrementing exponent if mantissa >= that for the
20791         denominator, not >.
20792
20793         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
20794         computing saturated result for unsigned overflow.
20795
20796 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
20797             Jeff Law  <law@redhat.com>
20798
20799         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
20800         (atan2Mp): Add systemtap probe marker.
20801         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
20802         (__ieee754_log): Add systemtap probe marker.
20803         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
20804         (atanMp): Add systemtap probe marker.
20805         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
20806         (tanMp): Add systemtap probe marker.
20807         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
20808         (__slowexp): Add systemtap probe marker.
20809         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
20810         (__slowpow): Add systemtap probe marker.
20811         * manual/probes.texi: Document probes.
20812
20813 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
20814
20815         [BZ #15362]
20816         * libio/fileops.c (_IO_new_file_write): Return count of bytes
20817         written.
20818         (_IO_new_file_xsputn): Don't return EOF if nothing has been
20819         written.
20820         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
20821         written to buffer but not flushed.
20822         * libio/iofwrite_u.c:  Likewise.
20823         * libio/iopadn.c:  Return bytes returned even if EOF was
20824         encountered.
20825         * libio/iowpadn.c:  Likewise.
20826         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
20827         if _IO_padn does not write the whole buffer.
20828         [!COMPILE_WPRINTF] (PAD): Likewise.
20829
20830 2013-10-10  David S. Miller  <davem@davemloft.net>
20831
20832         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
20833         directory block.
20834
20835 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
20836
20837         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
20838         instead of FSF address.
20839         * soft-fp/fixdfti.c: Likewise.
20840         * soft-fp/fixsfti.c: Likewise.
20841         * soft-fp/fixtfti.c: Likewise.
20842         * soft-fp/fixunsdfti.c: Likewise.
20843         * soft-fp/fixunssfti.c: Likewise.
20844         * soft-fp/fixunstfti.c: Likewise.
20845         * soft-fp/floattidf.c: Likewise.
20846         * soft-fp/floattisf.c: Likewise.
20847         * soft-fp/floattitf.c: Likewise.
20848         * soft-fp/floatuntidf.c: Likewise.
20849         * soft-fp/floatuntisf.c: Likewise.
20850         * soft-fp/floatuntitf.c: Likewise.
20851         * soft-fp/trunctfxf2.c: Likewise.
20852
20853         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
20854         * soft-fp/fixdfti.c: Likewise.
20855         * soft-fp/fixsfti.c: Likewise.
20856         * soft-fp/fixtfti.c: Likewise.
20857         * soft-fp/fixunsdfti.c: Likewise.
20858         * soft-fp/fixunssfti.c: Likewise.
20859         * soft-fp/fixunstfti.c: Likewise.
20860         * soft-fp/floattidf.c: Likewise.
20861         * soft-fp/floattisf.c: Likewise.
20862         * soft-fp/floattitf.c: Likewise.
20863         * soft-fp/floatuntidf.c: Likewise.
20864         * soft-fp/floatuntisf.c: Likewise.
20865         * soft-fp/floatuntitf.c: Likewise.
20866         * soft-fp/trunctfxf2.c: Likewise.
20867
20868 2013-10-10  David S. Miller  <davem@davemloft.net>
20869
20870         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20871
20872 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
20873
20874         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
20875         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
20876         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
20877         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
20878         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
20879         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
20880         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
20881
20882         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
20883         for NaNs before doing comparisons on argument.
20884         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
20885         Likewise.
20886
20887 2013-10-10  Will Newton  <will.newton@linaro.org>
20888
20889         * malloc/hooks.c (memalign_check): Ensure the value of bytes
20890         passed to _int_memalign does not overflow.
20891
20892 2013-10-10  Torvald Riegel  <triegel@redhat.com>
20893
20894         * scripts/bench.pl: Add include-sources directive.
20895         * benchtests/README: Update documentation.
20896
20897 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
20898
20899         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
20900         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
20901         instead of FP_INIT_ROUNDMODE.
20902         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
20903         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
20904
20905         [BZ #16034]
20906         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
20907         copy class of input value.
20908         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
20909         not handle exceptions.
20910         * soft-fp/negsf2.c (__negsf2): Likewise.
20911         * soft-fp/negtf2.c (__negtf2): Likewise.
20912         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
20913
20914 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
20915
20916         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
20917         semicolon.  From Linux kernel.
20918
20919 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
20920
20921         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
20922
20923 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
20924
20925         [BZ #156]
20926         * manual/socket.texi: Added statement about buffer
20927         for gethostbyname2_r.
20928
20929 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
20930
20931         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
20932         Use .p2align directive instead, throughout.
20933         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
20934         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
20935         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
20936         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
20937         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
20938         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
20939         * sysdeps/x86_64/strchr.S: Likewise.
20940         * sysdeps/x86_64/strrchr.S: Likewise.
20941
20942 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
20943
20944         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
20945
20946         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
20947
20948         * sysdeps/generic/math_private.h (__mpsin1): Remove
20949         declaration.
20950         (__mpcos1): Likewise.
20951         (__mpsin): New argument __range_reduce.
20952         (__mpcos): Likewise.
20953         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
20954         (slow): Use __mpsin and __mpcos.
20955         (slow1): Likewise.
20956         (slow2): Likewise.
20957         (sloww): Likewise.
20958         (sloww1): Likewise.
20959         (sloww2): Likewise.
20960         (bsloww): Likewise.
20961         (bsloww1): Likewise.
20962         (bsloww2): Likewise.
20963         (cslow2): Likewise.
20964         (csloww): Likewise.
20965         (csloww1): Likewise.
20966         (csloww2): Likewise.
20967         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
20968         range_reduce.  Merge in __mpsin1.
20969         (__mpcos): Likewise.
20970         (__mpsin1): Remove.
20971         (__mpcos1): Likewise.
20972
20973 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
20974
20975         * locale/loadlocale.c (_nl_intern_locale_data): Use
20976         LOCFILE_ALIGNED_P.
20977         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
20978         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
20979         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
20980         obstack data is appropriately aligned.
20981         (obstack_int32_grow_fast): Likewise.
20982         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
20983         * locale/programs/locfile.c (add_locale_uint32): Likewise.
20984         (add_locale_uint32_array): Likewise.
20985
20986 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
20987
20988         * benchtests/Makefile: Remove ARGLIST and RET variables.
20989         ($(objpfx)bench-%.c): Pass only function name to the script.
20990         * benchtests/README: Update documentation.
20991         * benchtests/acos-inputs: Add new directives.
20992         * benchtests/acosh-inputs: Likewise.
20993         * benchtests/asin-inputs: Likewise.
20994         * benchtests/asinh-inputs: Likewise.
20995         * benchtests/atan-inputs: Likewise.
20996         * benchtests/atanh-inputs: Likewise.
20997         * benchtests/cos-inputs: Likewise.
20998         * benchtests/cosh-inputs: Likewise.
20999         * benchtests/exp-inputs: Likewise.
21000         * benchtests/log-inputs: Likewise.
21001         * benchtests/pow-inputs: Likewise.
21002         * benchtests/rint-inputs: Likewise.
21003         * benchtests/sin-inputs: Likewise.
21004         * benchtests/sinh-inputs: Likewise.
21005         * benchtests/tan-inputs: Likewise.
21006         * benchtests/tanh-inputs: Likewise.
21007         * scripts/bench.pl: Add support for new directives.
21008
21009 2013-10-07  Alan Modra  <amodra@gmail.com>
21010
21011         * README: Fix careless merge.
21012
21013 2013-10-05  Alan Modra  <amodra@gmail.com>
21014
21015         * NEWS: Mention powerpc64le support and bugs fixed.
21016         * README: Both big-endian and little-endian powerpc64 supported.
21017
21018 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21019
21020         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
21021         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
21022         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
21023         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
21024
21025 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
21026
21027         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
21028         match prototype.
21029
21030 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
21031
21032         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
21033         Move -mhard-float appending from
21034         ports/sysdeps/powerpc/powerpc32/Makefile.
21035         [$(with-fp) = yes] (ASFLAGS): Likewise.
21036         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
21037         * sysdeps/powerpc/nofpu: Move directory from
21038         ports/sysdeps/powerpc/nofpu.
21039         * sysdeps/powerpc/soft-fp: Move directory from
21040         ports/sysdeps/powerpc/soft-fp.
21041         * sysdeps/powerpc/powerpc32/405: Move directory from
21042         ports/sysdeps/powerpc/powerpc32/405.
21043         * sysdeps/powerpc/powerpc32/440: Move directory from
21044         ports/sysdeps/powerpc/powerpc32/440.
21045         * sysdeps/powerpc/powerpc32/464: Move directory from
21046         ports/sysdeps/powerpc/powerpc32/464.
21047         * sysdeps/powerpc/powerpc32/476: Move directory from
21048         ports/sysdeps/powerpc/powerpc32/476.
21049         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
21050         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
21051         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
21052         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
21053         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
21054         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
21055         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
21056         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
21057         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
21058         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
21059         * README: Update for powerpc-*-linux-gnu software floating point
21060         support in libc.
21061
21062         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
21063         case to powerpc/powerpc32*.
21064         * sysdeps/unix/sysv/linux/configure: Regenerated.
21065
21066         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
21067         (_FPU_MASK_OM): Define as 0x04.
21068         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
21069         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
21070         0x00c10080.
21071         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
21072         0x0000003c.
21073         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
21074
21075         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
21076         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
21077         getcontext_e500.
21078         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
21079         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
21080         setcontext_e500.
21081         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
21082         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
21083         and setcontext_e500.
21084
21085 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
21086
21087         * locale/iso-3166.def: Update iso-1366.def and related occurrences
21088
21089 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
21090
21091         * manual/threads.texi (Default Thread Attributes): Fix typo.
21092
21093 2013-10-04  Will Newton  <will.newton@linaro.org>
21094
21095         * malloc/Makefile: Add tst-memalign.
21096         * malloc/tst-memalign.c: New file.
21097
21098         * malloc/tst-posix_memalign.c: Add comments.
21099         (do_test): Add comments and call free on all potentially
21100         allocated pointers. Add space after cast.
21101
21102         * malloc/tst-pvalloc.c: Add comments.
21103         (do_test): Add comments and call free on all potentially
21104         allocated pointers. Remove duplicate check for NULL pointer.
21105         Add space after cast.
21106
21107         * malloc/tst-valloc.c: Add comments.
21108         (do_test): Add comments and call free on all potentially
21109         allocated pointers. Remove duplicate check for NULL pointer.
21110         Add space after cast.
21111
21112 2013-10-04  Alan Modra  <amodra@gmail.com>
21113
21114         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
21115         Use stdint types in rather than __attribute__((mode())).
21116         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
21117
21118 2013-10-04  Alan Modra  <amodra@gmail.com>
21119
21120         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
21121         Correct handling of unaligned relocs for little-endian.
21122         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
21123
21124 2013-10-04  Alan Modra  <amodra@gmail.com>
21125
21126         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
21127         * configure: Regenerate.
21128         * nptl/shlib-versions: Powerpc*le starts at 2.18.
21129         * shlib-versions: Likewise.
21130
21131 2013-10-04  Alan Modra  <amodra@gmail.com>
21132
21133         * string/tester.c (test_memrchr): Increment reported test cycle.
21134
21135 2013-10-04  Alan Modra  <amodra@gmail.com>
21136
21137         * string/test-memcpy.c (do_one_test): When reporting errors, print
21138         string address and don't overrun end of string.
21139
21140 2013-10-04  Alan Modra  <amodra@gmail.com>
21141
21142         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
21143         insrdi.  Make better use of reg selection to speed exit slightly.
21144         Schedule entry path a little better.  Remove useless "are we done"
21145         checks on entry to main loop.  Handle wrapping around zero address.
21146         Correct main loop count.  Handle single left-over word from main
21147         loop inline rather than by using loop_small.  Remove extra word
21148         case in loop_small caused by wrong loop count.  Add little-endian
21149         support.
21150         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
21151         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
21152         cache hint.
21153         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
21154         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
21155         support.  Avoid rlwimi.
21156         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
21157
21158 2013-10-04  Alan Modra  <amodra@gmail.com>
21159
21160         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
21161         insrdi.  Formatting.
21162         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
21163         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
21164         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
21165         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
21166         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
21167         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
21168
21169 2013-10-04  Alan Modra  <amodra@gmail.com>
21170
21171         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
21172         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
21173         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
21174         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
21175         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
21176         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
21177         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
21178         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
21179         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
21180         use of regs.  Use power7 mtocrf.  Tidy function tails.
21181
21182 2013-10-04  Alan Modra  <amodra@gmail.com>
21183
21184         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
21185         Formatting.  Consistently use rXXX register defines or rN defines.
21186         Use early exit labels that avoid restoring unused non-volatile regs.
21187         Make cr field use more consistent with rWORDn compares.  Rename
21188         regs used as shift registers for unaligned loop, using rN defines
21189         for short lifetime/multiple use regs.
21190         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
21191         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
21192         addi 1,1,64 to pop stack frame.  Simplify return value code.
21193         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
21194
21195 2013-10-04  Alan Modra  <amodra@gmail.com>
21196
21197         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
21198         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
21199         rather than rlwimi.
21200         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
21201         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
21202         little-endian support.  Correct typos.
21203         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
21204         rather than rlwimi.
21205         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
21206         in loop and entry code to keep "and." results.
21207         (strchr): Add little-endian support.  Comment.  Move cntlzd
21208         earlier in tail.
21209         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
21210
21211 2013-10-04  Alan Modra  <amodra@gmail.com>
21212
21213         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
21214         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
21215         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
21216         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
21217
21218 2013-10-04  Alan Modra  <amodra@gmail.com>
21219
21220         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
21221         (rTMP): Define as r11.
21222         (strcmp): Add little-endian support.  Optimise tail.
21223         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
21224         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
21225         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
21226         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
21227         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
21228         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
21229         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
21230
21231 2013-10-04  Alan Modra  <amodra@gmail.com>
21232
21233         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
21234         little-endian support.  Remove unnecessary "are we done" tests.
21235         Handle "s" wrapping around zero and extremely large "size".
21236         Correct main loop count.  Handle single left-over word from main
21237         loop inline rather than by using small_loop.  Correct comments.
21238         Delete "zero" tail, use "end_max" instead.
21239         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
21240
21241 2013-10-04  Alan Modra  <amodra@gmail.com>
21242
21243         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
21244         support.  Don't branch over align.
21245         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
21246         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
21247         support.  Rearrange tmp reg use to suit.  Comment.
21248         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
21249
21250 2013-10-04  Alan Modra  <amodra@gmail.com>
21251
21252         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
21253
21254 2013-10-04  Alan Modra  <amodra@gmail.com>
21255
21256         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
21257         conditional form of branch and link when obtaining pc.
21258         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
21259
21260 2013-10-04  Alan Modra  <amodra@gmail.com>
21261
21262         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
21263         HIWORD/LOWORD.
21264         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
21265         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
21266
21267 2013-10-04  Alan Modra  <amodra@gmail.com>
21268
21269         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
21270         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
21271         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
21272         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
21273         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
21274         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
21275         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
21276         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
21277         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
21278         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
21279
21280 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
21281             Alistair Popple <alistair@ozlabs.au.ibm.com>
21282             Alan Modra <amodra@gmail.com>
21283
21284         [BZ #15723]
21285         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
21286         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
21287         _dl_hwcap access for little-endian.
21288         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
21289         destroy vmx regs when saving unaligned.
21290         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
21291         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
21292         destroy vmx regs when saving unaligned.
21293
21294 2013-10-04  Alan Modra  <amodra@gmail.com>
21295
21296         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
21297         Don't use a union to pack hi/low value.
21298
21299 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
21300
21301         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
21302         for little-endian.
21303         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
21304         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
21305         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
21306         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
21307         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
21308
21309 2013-10-04  Alan Modra  <amodra@gmail.com>
21310
21311         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
21312         constants to usual value for .cst8 section, and remove redundant
21313         high address load.
21314         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
21315         constant for 0x1p52.  Load little-endian words of double from
21316         correct stack offsets.
21317
21318 2013-10-04  Alan Modra  <amodra@gmail.com>
21319
21320         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
21321         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
21322         words of double from correct stack offsets.
21323         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
21324         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
21325         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
21326         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
21327         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
21328         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
21329         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
21330         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
21331         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
21332         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
21333         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
21334         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
21335         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
21336         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
21337         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
21338         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
21339         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
21340
21341 2013-10-04  Alan Modra  <amodra@gmail.com>
21342
21343         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
21344         64-bit int/double union.
21345         (_FPU_SETCW): Likewise.
21346         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
21347         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
21348
21349 2013-10-04  Alan Modra  <amodra@gmail.com>
21350
21351         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
21352         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
21353
21354 2013-10-04  Alan Modra  <amodra@gmail.com>
21355
21356         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
21357         use vector int constants.
21358         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
21359
21360 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
21361
21362         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
21363         array with long long.
21364         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
21365         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
21366         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
21367         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
21368         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
21369         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
21370         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
21371         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
21372         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
21373         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
21374         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
21375         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
21376         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
21377
21378 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
21379
21380         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
21381         (__signbit): Likewise.  Correct for little-endian.
21382         (__signbitl): Call __signbit.
21383         (lrint): Correct for little-endian.
21384         (lrintf): Call lrint.
21385
21386 2013-10-04  Alan Modra  <amodra@gmail.com>
21387
21388         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
21389         union 32-bit int array member with 64-bit int array.
21390         (t515, tm256): Double rather than long double.
21391         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
21392
21393 2013-10-04  Alan Modra  <amodra@gmail.com>
21394
21395         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
21396         Delete.
21397         (IEEE854_LONG_DOUBLE_BIAS): Delete.
21398         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
21399         version of math_ldbl.h.
21400
21401 2013-10-04  Alan Modra  <amodra@gmail.com>
21402
21403         [BZ #15734], [BZ #15735]
21404         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
21405         all uses of ieee875 long double macros and unions.  Simplify test
21406         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
21407         ldbl_extract_mantissa value for ix,iy exponents.  Properly
21408         normalize after ldbl_extract_mantissa, and don't add hidden bit
21409         already handled.  Don't treat low word of ieee854 mantissa like
21410         low word of IBM long double and mask off bit when testing for
21411         zero.
21412         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
21413         all uses of ieee875 long double macros and unions.  Simplify tests
21414         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
21415         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
21416         two1022, instead use their values.  Recognise that tests for large
21417         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
21418         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
21419         Rewrite all uses of ieee875 long double macros and unions.  Simplify
21420         test for 0.0L and nan.  Correct negation.
21421         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
21422         ieee875 long double macros and unions.  Correct output for large
21423         magnitude x.  Correct absolute value calculation.
21424         (__erfcl): Likewise.
21425         * math/libm-test.inc: Add tests for errors discovered in IBM long
21426         double versions of fmodl, remainderl, erfl and erfcl.
21427
21428 2013-10-04  Alan Modra  <amodra@gmail.com>
21429
21430         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
21431         all uses of ieee854 long double macros and unions.  Simplify tests
21432         for long doubles that are fully specified by the high double.
21433         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
21434         Likewise.
21435         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
21436         Remove dead code too.
21437         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
21438         (__ieee754_ynl): Likewise.
21439         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
21440         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
21441         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
21442         Remove dead code too.
21443         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
21444         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
21445         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
21446         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
21447         Simplify.
21448         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
21449         Simplify.
21450         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
21451         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
21452         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
21453         Comment on variable precision.
21454         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
21455         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
21456         Likewise.
21457         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
21458         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
21459         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
21460         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
21461         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
21462
21463 2013-10-04  Alan Modra  <amodra@gmail.com>
21464
21465         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
21466         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
21467         all uses of ieee854 long double macros and unions.
21468         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
21469         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
21470         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
21471         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
21472         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
21473         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
21474         Likewise.
21475         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
21476         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
21477         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
21478         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
21479         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
21480         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
21481         Simplify sign and nan test too.
21482         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
21483         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
21484         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
21485         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
21486         Likewise.
21487         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
21488         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
21489         Likewise.
21490         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
21491         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
21492         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
21493         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
21494         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
21495         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
21496
21497 2013-10-04  Alan Modra  <amodra@gmail.com>
21498
21499         * stdio-common/printf_size.c (__printf_size): Don't use
21500         union ieee854_long_double in fpnum union.
21501         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
21502         signbit macro to retrieve sign from long double.
21503         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
21504         retrieve sign from long double.
21505         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
21506         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
21507         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
21508         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
21509         * math/test-misc.c (main): Don't use union ieee854_long_double.
21510
21511 2013-10-04  Alan Modra  <amodra@gmail.com>
21512
21513         [BZ #15680]
21514         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
21515         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
21516         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
21517         calculation.  Remove unnecessary test for denormal exponent.
21518         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
21519         Correct handling of denormals.  Avoid undefined shift behaviour.
21520         Correct normalisation of low mantissa when low double is denormal.
21521         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
21522         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
21523         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
21524         Correct normalisation of low mantissa.  Test for overflow of high
21525         mantissa and normalise.
21526         (ldbl_nearbyint): Use more readable constant for two52.
21527         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
21528         (__mpn_construct_long_double): Fix test for overflow of high
21529         mantissa and correct normalisation.  Avoid undefined shift.
21530
21531 2013-10-04  Alan Modra  <amodra@gmail.com>
21532
21533         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
21534         (union ibm_extended_long_double): Define as an array of ieee754_double.
21535         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
21536         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
21537         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
21538         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
21539         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
21540         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
21541         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
21542         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
21543         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
21544         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
21545         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
21546
21547 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
21548
21549         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
21550         page size instead of calling getpagesize.
21551
21552         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
21553         (LOCFILE_ALIGN_MASK): Likewise.
21554         (LOCFILE_ALIGN_UP): Likewise.
21555         (LOCFILE_ALIGNED_P): Likewise.
21556         * locale/programs/ld-collate.c (collate_output): Use the new
21557         macros instead of __alignof__ (int32_t).
21558         * locale/weight.h (findidx): Likewise.
21559
21560 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
21561
21562         [BZ #431]
21563         * manual/string.texi: Fix strncat and wcsncat.
21564
21565 2013-10-03  Brooks Moses  <bmoses@google.com>
21566
21567         [BZ #15915]
21568         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
21569         * Makerules: ...here, and adjust associated comments.
21570
21571 2013-10-02  Will Newton  <will.newton@linaro.org>
21572
21573         * malloc/Makefile: Add tst-pvalloc.
21574         * malloc/tst-pvalloc.c: New file.
21575
21576 2013-10-02  Will Newton  <will.newton@linaro.org>
21577
21578         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
21579         improve test coverage.
21580
21581 2013-10-02  Will Newton  <will.newton@linaro.org>
21582
21583         * malloc/Makefile: Add tst-posix_memalign.
21584         * malloc/tst-posix_memalign.c: New file.
21585
21586 2013-10-01  Eric Blake  <eblake@redhat.com>
21587
21588         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
21589         Use __THROWNL rather than __THROW on static functions.
21590
21591 2013-09-30  Petr Machata  <pmachata@redhat.com>
21592
21593         * elf/elf.h (R_AARCH64_ABS16): New macro.
21594         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
21595         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
21596         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
21597         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
21598         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
21599         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
21600         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
21601         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
21602         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
21603         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
21604         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
21605         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
21606         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
21607         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
21608         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
21609         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
21610         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
21611         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
21612         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
21613         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
21614         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
21615         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
21616         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
21617         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
21618         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
21619         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
21620         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
21621         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
21622         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
21623         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
21624         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
21625         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
21626         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
21627         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
21628         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
21629         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
21630         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
21631         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
21632         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
21633         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
21634         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
21635         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
21636         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
21637         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
21638         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
21639         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
21640         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
21641         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
21642         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
21643         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
21644         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
21645         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
21646         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
21647         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
21648         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
21649         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
21650         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
21651         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
21652         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
21653         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
21654         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
21655         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
21656         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
21657         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
21658         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
21659         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
21660         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
21661         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
21662         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
21663         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
21664         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
21665         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
21666         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
21667         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
21668         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
21669         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
21670         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
21671         (R_AARCH64_TLSDESC_LDR): Likewise.
21672         (R_AARCH64_TLSDESC_ADD): Likewise.
21673         (R_AARCH64_TLSDESC_CALL): Likewise.
21674
21675 2013-09-30  Andreas Schwab  <schwab@suse.de>
21676
21677         [BZ #15048]
21678         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
21679         the nss database lookup.
21680         * nscd/initgrcache.c (addinitgroupsX): Likewise.
21681         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
21682
21683 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
21684
21685         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
21686
21687 2013-09-28  P. J. McDermott  <pj@pehjota.net>
21688
21689         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
21690         ${Bash-specific parameter/pattern/string} parameter expansion.
21691         * sysdeps/unix/make-syscalls.sh: Likewise.
21692
21693 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
21694
21695         * sysdeps/sh/stackguard-macros.h: New file.
21696
21697 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
21698
21699         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
21700         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
21701         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
21702         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
21703         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
21704         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
21705
21706 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21707
21708         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
21709         Fix thread ID register.
21710
21711 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
21712
21713         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
21714         [POSIX || UNIX98]: Require rather than permitting all symbols from
21715         <time.h>.
21716         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
21717         element of struct sched_param.
21718         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
21719         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
21720         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
21721         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
21722         constant.
21723
21724 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
21725
21726         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
21727         argument calculation.
21728
21729 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
21730
21731         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
21732         Expect macro.
21733         [POSIX] (pthread_attr_t): Do not require type.
21734         [POSIX] (pthread_cond_t): Likewise.
21735         [POSIX] (pthread_condattr_t): Likewise.
21736         [POSIX] (pthread_key_t): Likewise.
21737         [POSIX] (pthread_mutex_t): Likewise.
21738         [POSIX] (pthread_mutexattr_t): Likewise.
21739         [POSIX] (pthread_once_t): Likewise.
21740         [POSIX] (pthread_t): Likewise.
21741         [POSIX-based standards] (pthread_atfork): Expect function.
21742
21743 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
21744             Richard Sandiford  <richard@codesourcery.com>
21745
21746         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
21747         (swap_endianness_p): New extern variable.
21748         (set_big_endian): New inline function.
21749         (maybe_swap_uint32): Likewise.
21750         (maybe_swap_uint32_array): Likewise.
21751         (maybe_swap_uint32_obstack): Likewise.
21752         * locale/programs/locfile.c: Include <stdbool.h>.
21753         (swap_endianness_p): New variable.
21754         (add_locale_uint32): Call maybe_swap_uint32.
21755         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
21756         (write_locale_data): Call maybe_swap_uint32_array.
21757         * locale/programs/ld-collate.c (obstack_int32_grow): Call
21758         maybe_swap_uint32.
21759         (obstack_int32_grow_fast): Likewise.
21760         (output_weightwc): Call maybe_swap_uint32_obstack.
21761         (collate_output): Likewise.
21762         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
21763         (OPT_LITTLE_ENDIAN): Likewise.
21764         (options): Add --little-endian and --big-endian options.
21765         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
21766         * locale/programs/locarchive.c: Include "locfile.h".
21767         (GET): New macro.
21768         (SET): Likewise.
21769         (INC): Likewise.
21770         (create_archive): Use the new macros to access fields of
21771         structures directly mapped from or written to locale archives.
21772         (oldlocrecentcmp): Likewise.
21773         (enlarge_archive): Likewise.
21774         (insert_name): Likewise.
21775         (add_alias): Likewise.
21776         (add_locale): Likewise.
21777         (delete_locales_from_archive): Likewise.
21778         (show_archive_content): Likewise.
21779         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
21780         locale data.
21781
21782 2013-09-24  Roland McGrath  <roland@hack.frob.com>
21783
21784         * manual/freemanuals.texi: Updated from (newly) canonical copy at
21785         http://www.gnu.org/doc/freemanuals.texi.
21786         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
21787
21788 2013-09-24  Will Newton  <will.newton@linaro.org>
21789
21790         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
21791         macro.
21792
21793 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
21794
21795         * locale/hashval.h (compute_hashval): Interpret bytes of key as
21796         unsigned char.
21797
21798 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
21799
21800         * manual/threads.texi (POSIX Threads): Fix a typo.
21801
21802 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
21803
21804         [BZ #14547]
21805         * string/tst-strcoll-overflow.c: New test case.
21806         * string/Makefile (xtests): Add tst-strcoll-overflow.
21807         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
21808         cache if string sizes may cause integer overflow.
21809
21810         [BZ #14547]
21811         * string/strcoll_l.c (coll_seq): New members rule, idx,
21812         save_idx and back_us.
21813         (get_next_seq_nocache): New function.
21814         (do_compare_nocache): New function.
21815         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
21816         when malloc fails.
21817
21818 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
21819
21820         [BZ #15754]
21821         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
21822         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
21823         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
21824
21825         [BZ #15754]
21826         * elf/Makefile (tests): Add tst-ptrguard1.
21827         (tests-static): Add tst-ptrguard1-static.
21828         (tst-ptrguard1-ARGS): Define.
21829         (tst-ptrguard1-static-ARGS): Define.
21830         * elf/tst-ptrguard1.c: New file.
21831         * elf/tst-ptrguard1-static.c: New file.
21832         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
21833         * sysdeps/i386/stackguard-macros.h: Likewise.
21834         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
21835         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
21836         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
21837         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
21838         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
21839         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
21840
21841 2013-09-23  Hector Marco  <hecmargi@upv.es>
21842             Ismael Ripoll  <iripoll@disca.upv.es>
21843             Carlos O'Donell  <carlos@redhat.com>
21844
21845         [BZ #15754]
21846         * sysdeps/generic/stackguard-macros.h: Define
21847         __pointer_chk_guard_local and POINTER_CHK_GUARD.
21848         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
21849         Define __pointer_chk_guard_local.
21850         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
21851         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
21852
21853 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
21854
21855         [BZ #15859]
21856         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
21857
21858 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
21859
21860         * include/string.h (__ffs): Declare as hidden.
21861         * string/ffs.c (__ffs): Define as hidden.
21862         * sysdeps/i386/ffs.c (__ffs): Likewise.
21863         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
21864         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
21865         * sysdeps/s390/ffs.c (__ffs): Likewise.
21866         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
21867
21868 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
21869
21870         * NEWS: Mention malloc probes.
21871
21872         * malloc/arena.c (new_heap): New memory_heap_new probe.
21873         (grow_heap): New memory_heap_more probe.
21874         (shrink_heap): New memory_heap_less probe.
21875         (heap_trim): New memory_heap_free probe.
21876         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
21877         (systrim): New memory_sbrk_less probe.
21878         * manual/probes.texi: Document them.
21879
21880         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
21881         * manual/probes.texi: Document it.
21882
21883         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
21884         (__libc_realloc): Add memory_realloc_retry probe.
21885         (__libc_memalign): Add memory_memalign_retry probe.
21886         (__libc_valloc): Add memory_valloc_retry probe.
21887         (__libc_pvalloc): Add memory_pvalloc_retry probe.
21888         (__libc_calloc): Add memory_calloc_retry probe.
21889         * manual/probes.texi: Document them.
21890
21891         * malloc/arena.c (get_free_list): Add probe
21892         memory_arena_reuse_free_list.
21893         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
21894         and memory_arena_reuse.
21895         (arena_get2) [!PER_THREAD]: Likewise.
21896         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
21897         memory_arena_reuse_realloc.
21898         * manual/probes.texi: Document them.
21899
21900         * malloc/malloc.c (__libc_free): Add
21901         memory_mallopt_free_dyn_thresholds probe.
21902         (__libc_mallopt): Add multiple memory_mallopt probes.
21903         * manual/probes.texi: Document them.
21904
21905         * malloc/malloc.c: Include stap-probe.h.
21906         (__libc_mallopt): Add memory_mallopt probe.
21907         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
21908         * manual/probes.texi: New.
21909         * manual/Makefile (chapters): Add probes.
21910         * manual/threads.texi: Set next node.
21911
21912 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
21913
21914         [BZ #15963, #13985]
21915         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
21916         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
21917         Add `Chinese' to `nan' entry name.
21918
21919 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
21920
21921         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
21922         (POLYNOMIAL): Likewise.
21923         (TAYLOR_SINCOS): Likewise.
21924         (TAYLOR_SLOW): Likewise.
21925         (__sin): Use TAYLOR_SINCOS.
21926         (__cos): Likewise.
21927         (slow): Use TAYLOR_SLOW.
21928         (sloww): Likewise.
21929         (bsloww): Likewise.
21930         (csloww): Likewise.
21931
21932 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
21933
21934         * stdlib/strtod_l.c: Fix buffer overrun.
21935
21936 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
21937
21938         * benchtests/Makefile (bench): Add sincos.
21939         * benchtests/bench-sincos.c: New file.
21940
21941         * math/libm-test.inc (cos_test_data): New test inputs.
21942         (sin_test_data): Likewise.
21943
21944         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
21945         macro.
21946         (__sin): Use it.
21947         (__cos): Likewise.
21948         (slow1): Likewise.
21949         (slow2): Likewise.
21950         (sloww1): Likewise.
21951         (sloww2): Likewise.
21952         (bsloww1): Likewise.
21953         (bsloww2): Likewise.
21954         (cslow2): Likewise.
21955         (csloww1): Likewise.
21956         (csloww2): Likewise.
21957
21958         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
21959         function.
21960         (__sin): Use it.
21961         (__cos): Likewise.
21962
21963         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
21964         gotos.
21965         (__cos): Likewise.
21966
21967 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
21968
21969         * config.h.in (HAVE_MIPS_NAN2008): New macro.
21970         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
21971         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
21972         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
21973         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
21974         * elf/cache.c (print_entry): Handle the new cache flags.
21975
21976 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
21977             Aldy Hernandez  <aldyh@redhat.com>
21978
21979         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
21980         Change condition to [_SOFT_FLOAT].
21981         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
21982         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
21983         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
21984         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
21985         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
21986         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
21987         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
21988         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
21989         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
21990         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
21991         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
21992         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
21993         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
21994         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
21995         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
21996         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
21997         declaration.
21998
21999 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
22000
22001         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
22002         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
22003         (__longjmp): Use LOAD_GP to load saved GPRs.
22004         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
22005         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
22006         (__sigsetjmp): Use SAVE_GP to save GPRs.
22007
22008         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
22009         Do not append -msoft-float.
22010         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
22011
22012 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
22013
22014         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
22015
22016 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
22017
22018         [BZ #15966]
22019         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
22020         (_FPU_GETCW): Use initial "__" on variable and field names but not
22021         on macro parameter name.
22022         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
22023         parentheses around reference to macro parameter.
22024
22025 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
22026
22027         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
22028         prototype.
22029         (ctype_startup): Use uint32_t in cast and sizeof for
22030         ctype->charnames.
22031
22032 2013-09-11  Jia Liu  <proljc@gmail.com>
22033
22034         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
22035         __daddr_t_defined.
22036         [__FreeBSD__]: Likewise.
22037
22038 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
22039
22040         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
22041         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
22042         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
22043         (strchr): Remove __strchr_sse42 ifunc selection.
22044         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
22045         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
22046
22047 2013-09-11  Will Newton  <will.newton@linaro.org>
22048
22049         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
22050         parameter to RES. Remove hardcoded 1000 value.
22051         * benchtests/bench-skeleton.c (main): Pass RES parameter
22052         to TIMING_INIT and multiply result by 1000.
22053
22054 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22055
22056         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22057
22058 2013-09-11  Andreas Schwab  <schwab@suse.de>
22059
22060         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
22061         if not defined.
22062         (O_TMPFILE) [__USE_GNU]: Define.
22063         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
22064         Define.
22065
22066 2013-09-11  Will Newton  <will.newton@linaro.org>
22067
22068         [BZ #15857]
22069         * malloc/malloc.c (__libc_memalign): Check the value of bytes
22070         does not overflow.
22071
22072 2013-09-11  Will Newton  <will.newton@linaro.org>
22073
22074         [BZ #15856]
22075         * malloc/malloc.c (__libc_valloc): Check the value of bytes
22076         does not overflow.
22077
22078 2013-09-11  Will Newton  <will.newton@linaro.org>
22079
22080         [BZ #15855]
22081         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
22082         does not overflow.
22083
22084 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
22085
22086         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
22087         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
22088         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
22089         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
22090         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
22091
22092 2013-09-10  Allan McRae  <allan@archlinux.org>
22093
22094         [BZ #15748]
22095         * manual/arith.texi (Parsing of Floats): Clarify
22096         cross-reference.
22097
22098         [BZ #15849]
22099         * manual/install.texi (Running make install): Mention
22100         --enable-pt-chown.
22101         * INSTALL: Regenerated.
22102
22103 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
22104
22105         * csu/init-first.c (_init): Remove the !SHARED condition around
22106         FPU control word initialization.
22107         * elf/dl-support.c (_dl_fpu_control): New variable.
22108         (_dl_aux_init) <AT_FPUCW>: Initialize it.
22109         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
22110         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
22111         * math/test-fpucw-static.c: New file.
22112         * math/test-fpucw-ieee.c: New file.
22113         * math/test-fpucw-ieee-static.c: New file.
22114         * math/Makefile (tests): Add `test-fpucw-ieee' and
22115         `$(tests-static)'.
22116         (tests-static): New variable.
22117         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
22118         dependency to...
22119         [($(build-shared),yes)]
22120         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
22121         ... this.
22122         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
22123         New dependency.
22124
22125 2013-09-09  Allan McRae  <allan@archlinux.org>
22126
22127         [BZ #15939]
22128         * manual/string.texi (Collation Functions): Fix typo in
22129         strcoll example.
22130         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
22131
22132         [BZ #15893]
22133         * stdlib/isomac.c (get_null_defines): Fix memory leak.
22134
22135         [BZ #15892]
22136         * libio/memstream.c (open_memstream): Fix memory leak.
22137         * libio/wmemstream.c (open_wmemstream): Likewise.
22138
22139         [BZ #15895]
22140         * nscd/netgroupcache.c: Fix nesting of ifdefs.
22141
22142 2013-09-09  Will Newton  <will.newton@linaro.org>
22143
22144         * malloc/Makefile: Add tst-realloc to tests.
22145         * malloc/tst-realloc.c: New file.
22146
22147 2013-09-09  Allan McRae  <allan@archlinux.org>
22148
22149         [BZ #15844]
22150         * COPYING: Update from GNU website to fix FSF address.
22151         * COPYING.LIB: Likewise.
22152
22153 2013-09-06  David S. Miller  <davem@davemloft.net>
22154
22155         * po/zh_TW.po: Update Chinese (traditional) translation from
22156         translation project.
22157
22158 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
22159             Joseph Myers  <joseph@codesourcery.com>
22160
22161         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
22162         "localeinfo.h".
22163         (obstack_chunk_alloc): New macro.
22164         (obstack_chunk_free): Likewise.
22165         (record_offset): New function.
22166         (init_locale_data): Likewise.
22167         (align_locale_data): Likewise.
22168         (add_locale_empty): Likewise.
22169         (add_locale_raw_data): Likewise.
22170         (add_locale_raw_obstack): Likewise.
22171         (add_locale_string): Likewise.
22172         (add_locale_wstring): Likewise.
22173         (add_locale_uint32): Likewise.
22174         (add_locale_uint32_array): Likewise.
22175         (add_locale_char): Likewise.
22176         (start_locale_structure): Likewise.
22177         (end_locale_structure): Likewise.
22178         (start_locale_prelude): Likewise.
22179         (end_locale_prelude): Likewise.
22180         (write_locale_data): Take locale_file structure rather than an
22181         iovec.
22182         * locale/programs/locfile.h: Include "obstack.h".
22183         (struct locale_file): Change to store locale file contents instead
22184         of header.
22185         (init_locale_data): New prototype.
22186         (align_locale_data): Likewise.
22187         (add_locale_empty): Likewise.
22188         (add_locale_raw_data): Likewise.
22189         (add_locale_raw_obstack): Likewise.
22190         (add_locale_string): Likewise.
22191         (add_locale_wstring): Likewise.
22192         (add_locale_uint32): Likewise.
22193         (add_locale_uint32_array): Likewise.
22194         (add_locale_char): Likewise.
22195         (start_locale_structure): Likewise.
22196         (end_locale_structure): Likewise.
22197         (start_locale_prelude): Likewise.
22198         (end_locale_prelude): Likewise.
22199         (write_locale_data): Update prototype.
22200         * locale/programs/3level.h (struct TABLE): Remove result field.
22201         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
22202         Use new locale_file interface.
22203         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
22204         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
22205         * locale/programs/ld-address.c (address_output): Use new
22206         locale_file interface.
22207         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
22208         NO_ADD_LOCALE.
22209         (collate_finish): Don't call collseq_table_finalize.
22210         (collate_output): Use new locale_file interface.
22211         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
22212         in file.
22213         (NO_FINALIZE): Change to NO_ADD_LOCALE.
22214         (TABLE): Move defines earlier in file.
22215         (ELEMENT): Likewise.
22216         (DEFAULT): Likewise.
22217         (wctrans_table_add): Move macro and inline function earlier in
22218         file.
22219         (struct wctype_table): Move type earlier in file.
22220         (add_locale_wctype_table): New static prototype.
22221         (struct locale_ctype_t): Use logical types instead of struct iovec
22222         pointers for members.
22223         (ctype_output): Use new locale_file interface.
22224         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
22225         new locale_file interface.
22226         (allocate_arrays): Update for use of new locale_file interface.
22227         * locale/programs/ld-identification.c (identification_output): Use
22228         new locale_file interface.
22229         * locale/programs/ld-measurement.c (measurement_output): Likewise.
22230         * locale/programs/ld-messages.c (messages_output): Likewise.
22231         * locale/programs/ld-monetary.c (monetary_output): Likewise.
22232         * locale/programs/ld-name.c (name_output): Likewise.
22233         * locale/programs/ld-numeric.c (numeric_output): Likewise.
22234         * locale/programs/ld-paper.c (paper_output): Likewise.
22235         * locale/programs/ld-telephone.c (telephone_output): Likewise.
22236         * locale/programs/ld-time.c (time_output): Likewise.
22237
22238 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22239
22240         * benchtests/Makefile: Add memrchr benchmark.
22241         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
22242         benchmark as memrchr.
22243         * benchtests/bench-memrchr-ifunc.c: New file.
22244         * benchtests/bench-memrchr.c: New file.
22245
22246 2013-09-06   Will Newton  <will.newton@linaro.org>
22247
22248         * benchtests/Makefile (string-bench): Add memcpy.
22249
22250 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
22251             Cong Wang  <amwang@redhat.com>
22252
22253         [BZ #15850]
22254         * sysdeps/unix/sysv/linux/bits/in.h
22255         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
22256         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
22257         before __USE_KERNEL_IPV6_DEFS uses.
22258         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
22259         IPPROTO_BEETPH.
22260         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
22261         sockaddr_in6, or ipv6_mreq.
22262
22263 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22264
22265         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
22266         memory access for final bytes in some large inputs.
22267         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
22268
22269 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22270
22271         * string/test-memrchr.c: New file.
22272         * string/test-memrchr-ifunc.c: New file.
22273         * string/Makefile: Add new memrchr testcase.
22274
22275 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
22276
22277         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
22278         fanotify_init returns EPERM.
22279
22280 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
22281
22282         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
22283         errors.
22284         (top level): Treat second token from macro or constant entries for
22285         allowed headers as allowed.
22286         * include/complex.h: Condition internal declarations on
22287         [!_ISOMAC].
22288         * include/fenv.h: Condition include of <stdbool.h> and internal
22289         declarations on [!_ISOMAC].
22290
22291 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
22292
22293         [BZ #15923]
22294         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
22295
22296 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
22297
22298         * configure.in (--enable-versioning): Remove configure option.
22299         (libc_cv_asm_symver_directive): Remove configure test.
22300         (libc_cv_ld_version_script_option): Likewise.
22301         (VERSIONING): Remove variable and AC_SUBST.
22302         (DO_VERSIONING): Remove AC_DEFINE.
22303         * configure: Regenerated.
22304         * config.h.in (DO_VERSIONING): Remove macro.
22305         * Makerules [$(versioning) = yes]: Change conditionals to
22306         [$(build-shared) = yes].
22307         * config.make.in (versioning): Remove variable.
22308         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
22309         [$(build-shared) = yes].
22310         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
22311         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
22312         * elf/Makefile [$(versioning) = yes]: Change conditionals to
22313         [$(build-shared) = yes].
22314         * extra-lib.mk [$(versioning) = yes]: Likewise.
22315         * hurd/Makefile [$(versioning) = yes]: Likewise.
22316         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
22317         [SHARED].
22318         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
22319         [SHARED].
22320         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
22321         [SHARED && !NO_HIDDEN].
22322         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
22323         [SHARED].
22324         [SHARED && DO_VERSIONING]: Likewise..
22325         * libio/Makefile [$(versioning) = yes]: Change conditionals to
22326         [$(build-shared) = yes].
22327         * manual/install.texi (--disable-versioning): Remove
22328         documentation.
22329         * INSTALL: Regenerated.
22330         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
22331         to [SHARED].
22332         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
22333         [$(build-shared) = yes].
22334         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
22335         * sysdeps/i386/i686/multiarch/strstr-c.c
22336         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
22337         [SHARED && !NO_HIDDEN].
22338         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
22339         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
22340         * sysdeps/powerpc/powerpc32/dl-machine.c
22341         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
22342         * sysdeps/powerpc/powerpc32/sysdep.h
22343         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
22344         to [SHARED && PIC && !NO_HIDDEN].
22345         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
22346         conditional to [SHARED].
22347
22348 2013-09-04   Will Newton  <will.newton@linaro.org>
22349
22350         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
22351         * benchtests/bench-string.h: Include bench-timing.h instead
22352         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
22353         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
22354         call to HP_TIMING_DIFF_INIT.
22355         * benchtests/bench-memccpy.c: Use bench-timing.h macros
22356         instead of hp-timing.h macros.
22357         * benchtests/bench-memchr.c: Likewise.
22358         * benchtests/bench-memcmp.c: Likewise.
22359         * benchtests/bench-memcpy.c: Likewise.
22360         * benchtests/bench-memmem.c: Likewise.
22361         * benchtests/bench-memmove.c: Likewise.
22362         * benchtests/bench-memset.c: Likewise.
22363         * benchtests/bench-rawmemchr.c: Likewise.
22364         * benchtests/bench-strcasecmp.c: Likewise.
22365         * benchtests/bench-strcasestr.c: Likewise.
22366         * benchtests/bench-strcat.c: Likewise.
22367         * benchtests/bench-strchr.c: Likewise.
22368         * benchtests/bench-strcmp.c: Likewise.
22369         * benchtests/bench-strcpy.c: Likewise.
22370         * benchtests/bench-strcpy_chk.c: Likewise.
22371         * benchtests/bench-strlen.c: Likewise.
22372         * benchtests/bench-strncasecmp.c: Likewise.
22373         * benchtests/bench-strncat.c: Likewise.
22374         * benchtests/bench-strncmp.c: Likewise.
22375         * benchtests/bench-strncpy.c: Likewise.
22376         * benchtests/bench-strnlen.c: Likewise.
22377         * benchtests/bench-strpbrk.c: Likewise.
22378         * benchtests/bench-strrchr.c: Likewise.
22379         * benchtests/bench-strspn.c: Likewise.
22380         * benchtests/bench-strstr.c: Likewise.
22381
22382 2013-09-04  Will Newton  <will.newton@linaro.org>
22383
22384         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
22385
22386 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
22387
22388         [BZ #15427]
22389         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
22390         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
22391         * math/libm-test.inc (lgamma_test_data): Add more tests.
22392         * sysdeps/i386/fpu/libm-test-ulps: Update.
22393         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22394
22395 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
22396
22397         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
22398         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
22399         Add ifunc.
22400         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
22401         Add strcmp-sse2-unaligned
22402         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
22403
22404 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
22405
22406         * Versions.def (libc): Add GLIBC_2.19.
22407
22408 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
22409
22410         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
22411         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
22412
22413 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
22414
22415         [BZ #14155]
22416         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
22417         intermediate calculations in recurrence.
22418         (__ieee754_ynf): Likewise.
22419         * math/libm-test.inc (jn_test_data): Do not allow spurious
22420         underflow exception.  Add more tests.
22421         (yn_test_data): Add more tests.
22422         * sysdeps/i386/fpu/libm-test-ulps: Update.
22423         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22424
22425 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
22426
22427         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
22428
22429 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
22430
22431         * csu/init-first.c: Fix then/than typos.
22432         * locale/programs/ld-collate.c: Likewise.
22433         * locale/programs/linereader.h: Likewise.
22434         * manual/charset.texi: Likewise.
22435         * manual/filesys.texi: Likewise.
22436         * manual/stdio.texi: Likewise.
22437         * manual/string.texi: Likewise.
22438         * stdlib/fmtmsg.c: Likewise.
22439         * sysdeps/i386/stpncpy.S: Likewise.
22440         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
22441         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
22442         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
22443         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
22444
22445 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
22446
22447         * elf/dl-open.c: Fix typos.
22448         * iconvdata/gbbig5.c: Likewise.
22449         * iconvdata/iso-2022-jp.c: Likewise.
22450         * iconv/gconv_int.h: Likewise.
22451         * iconv/loop.c: Likewise.
22452         * nis/rpcsvc/nis.h: Likewise.
22453         * resolv/ns_name.c: Likewise.
22454         * stdio-common/vfscanf.c: Likewise.
22455         * streams/stropts.h: Likewise.
22456         * sunrpc/rpc_thread.c: Likewise.
22457         * sysdeps/i386/strpbrk.S: Likewise.
22458         * sysdeps/ieee754/k_standard.c: Likewise.
22459         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
22460         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
22461         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
22462         * sysdeps/mach/hurd/profil.c: Likewise.
22463         * sysdeps/s390/dl-procinfo.h: Likewise.
22464         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
22465         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
22466         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
22467         * sysdeps/x86_64/dl-trampoline.S: Likewise.
22468         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
22469
22470 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
22471
22472         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
22473         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
22474
22475 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
22476
22477         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
22478         aix specific files.
22479         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
22480         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
22481         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
22482         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
22483         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
22484         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
22485         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
22486         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
22487
22488 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
22489             Roland McGrath  <roland@hack.frob.com>
22490
22491         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
22492         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
22493
22494 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22495
22496         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
22497         __executable_start symbol instead of _start.
22498
22499 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
22500
22501         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
22502         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
22503         Move macros to...
22504         * sysdeps/gnu/ldsodefs.h: ... this new file.
22505
22506         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
22507         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
22508         instead of ELFOSABI_LINUX.
22509
22510         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
22511         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
22512         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
22513         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
22514         Likewise.
22515         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
22516         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
22517         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
22518         Likewise.
22519         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
22520         (ibm_extended_long_double): Add ieee_nan member.
22521         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
22522         (do_test): New function.
22523
22524         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
22525         TEST_TRUNC.
22526         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
22527         functions, renamed from truncdfsf_test, trunctfsf_test,
22528         trunctfdf_test.
22529         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
22530         functions.
22531         (do_test): Run all these.
22532
22533 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
22534
22535         * argp/argp-help.c: Fix typos.
22536         * argp/argp-parse.c: Likewise.
22537         * debug/backtracesyms.c: Likewise.
22538         * elf/elf.h: Likewise.
22539         * malloc/malloc.c: Likewise.
22540         * nis/nis_print.c: Likewise.
22541         * resolv/res_comp.c: Likewise.
22542         * stdlib/stdlib.h: Likewise.
22543         * sunrpc/clnt_tcp.c: Likewise.
22544         * sunrpc/clnt_udp.c: Likewise.
22545         * sunrpc/clnt_unix.c: Likewise.
22546         * sysdeps/unix/bsd/ptsname.c: Likewise.
22547         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
22548         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
22549         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
22550         Likewise.
22551         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
22552         Likewise.
22553         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
22554         Likewise.
22555         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
22556
22557 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
22558
22559         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
22560         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
22561
22562 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
22563
22564         [BZ #15897]
22565         * dlfcn/Makefile (tests): Add bug-dl-leaf.
22566         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
22567         ($(objpfx)bug-dl-leaf): New rule.
22568         ($(objpfx)bug-dl-leaf.so): Likewise.
22569         ($(objpfx)bug-dl-leaf.out): Likewise.
22570         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
22571         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
22572         * dlfcn/bug-dl-leaf.c: New test.
22573         * dlfcn/bug-dl-leaf-lib.c: Likewise.
22574         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
22575         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
22576         (dlclose): Likewise.
22577         (dlmopen): Likewise.
22578
22579 2013-08-27  Roland McGrath  <roland@hack.frob.com>
22580
22581         * include/netdb.h [!_ISOMAC]:
22582         Don't include <tls.h>.
22583         (h_errno, __libc_h_errno): Move declaration and macros out of
22584         [_LIBC_REENTRANT].
22585
22586         * include/resolv.h [_RESOLV_H_]:
22587         Don't include <tls.h>.
22588         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
22589         * resolv/res_libc.c: Don't include <tls.h>.
22590         (_res): Use __attribute__ ((nocommon)) in place of
22591         __attribute__ ((section (".bss"))).
22592
22593         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
22594         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
22595
22596         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
22597
22598         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
22599         only under [SIOCGIFCONF && SIOCGIFNETMASK].
22600
22601         * resolv/res_mkquery.c: Include <sys/time.h>.
22602
22603         * inet/ifreq.c: Moved to ...
22604         * sysdeps/unix/ifreq.c: ... here.
22605         * inet/ifreq.c: New file, true stub version.
22606
22607         * socket/sa_len.c: New file.
22608         * socket/Makefile (aux): Add it.
22609         * sysdeps/unix/sysv/linux/Makefile
22610         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
22611         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
22612         and #include <socket/sa_len.c>.
22613         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
22614         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
22615
22616         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
22617         * bits/socket.h: ... here.
22618
22619         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
22620         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
22621         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
22622
22623 2013-08-27  Andreas Schwab  <schwab@suse.de>
22624
22625         [BZ #15736]
22626         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
22627         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
22628         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
22629         * string/test-strcasecmp.c (test_main): Run tests in several
22630         locales.
22631         * string/test-strncasecmp.c (test_main): Likewise.
22632
22633         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
22634         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
22635         to __strcasecmp_nonascii and __strncasecmp_nonascii.
22636         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
22637         (__strncasecmp_ssse3) [PIC]: Likewise.
22638
22639 2013-08-26  Roland McGrath  <roland@hack.frob.com>
22640
22641         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
22642
22643         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
22644         instead of explicitly declaring xdecrypt.
22645         * nis/nss_nis/nis-publickey.c: Likewise.
22646
22647 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
22648
22649         [BZ #15890]
22650         * nscd/aicache.c: Include res_hconf.h.
22651         (addhstaiX): Initialize res_hconf.
22652
22653 2013-08-26  Andreas Schwab  <schwab@suse.de>
22654
22655         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
22656         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
22657
22658 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
22659
22660         * nscd/aicache.c (addhstaiX): Fix indentation.
22661
22662 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
22663
22664         * configure.ac: Quote $build_pt_chown test.
22665         * configure: Regenerated.
22666
22667 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
22668
22669         [BZ #15532]
22670         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
22671         * math/s_cexpf.c (__cexpf): Likewise.
22672         * math/s_cexpl.c (__cexpl): Likewise.
22673         * math/libm-test.inc (cexp_test_data): Correct expected return
22674         value for NaN + i0.  Add another test.
22675
22676 2013-08-22  David S. Miller  <davem@davemloft.net>
22677
22678         * po/ca.po: Update Catalan translation from translation project.
22679         * po/uk.po: Add Ukrainian translations from translation project.
22680
22681 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
22682
22683         [BZ #15797]
22684         * math/s_fdim.c (__fdim): Check for infinite arguments if result
22685         is infinite, not alongside NaN test.
22686         * math/s_fdimf.c (__fdimf): Likewise.
22687         * math/s_fdiml.c (__fdiml): Likewise.
22688         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
22689         errno is unchanged.
22690
22691 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
22692
22693         * argp/argp-help.c: Fix typos.
22694         * crypt/speeds.c: Likewise.
22695         * csu/check_fds.c: Likewise.
22696         * elf/dl-load.c: Likewise.
22697         * elf/dl-open.c: Likewise.
22698         * elf/reldep3.c: Likewise.
22699         * elf/reldep.c: Likewise.
22700         * elf/sprof.c: Likewise.
22701         * iconv/iconv_charmap.c: Likewise.
22702         * iconv/skeleton.c: Likewise.
22703         * iconv/strtab.c: Likewise.
22704         * io/lockf64.c: Likewise.
22705         * libio/libioP.h: Likewise.
22706         * resolv/gai_notify.c: Likewise.
22707         * resolv/ns_name.c: Likewise.
22708         * resolv/ns_samedomain.c: Likewise.
22709         * resolv/res_send.c: Likewise.
22710         * stdlib/random.c: Likewise.
22711         * sunrpc/rpc/xdr.h: Likewise.
22712         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
22713         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
22714         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
22715         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
22716         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
22717         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
22718         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
22719         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
22720         * sysdeps/mach/hurd/check_fds.c: Likewise.
22721         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
22722         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
22723         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
22724         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
22725         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
22726         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
22727         * sysdeps/pthread/aio_notify.c: Likewise.
22728         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
22729         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
22730         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
22731         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
22732         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
22733
22734 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
22735
22736         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
22737         version if bit_Slow_SSE4_2 is set.
22738         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
22739         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
22740
22741 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22742
22743         [BZ #15867]
22744         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
22745         trampoline stack frame information.
22746         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
22747         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
22748         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
22749         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
22750         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
22751         * sysdeps/unix/sysv/linux/powerpc/init-first.c
22752         (_libc_vdso_platform_setup): Initialize the signal trampolines.
22753         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
22754         sa_flags value.
22755         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
22756         interrupting a syscall and set with option SA_SIGINFO.
22757
22758 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
22759
22760         [BZ #15531]
22761         * math/s_cproj.c (__cproj): Only return an infinity if one part of
22762         argument is infinite.
22763         * math/s_cprojf.c (__cprojf): Likewise.
22764         * math/s_cprojl.c (__cprojl): Likewise.
22765         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
22766         * math/libm-test.inc (cproj_test_data): Add more tests.
22767
22768         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
22769
22770         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
22771         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
22772         size.  Use __ffs to determine corresponding shift.
22773
22774 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
22775             Roland McGrath  <roland@hack.frob.com>
22776
22777         * Makefile (INSTALL): Remove trailing blank lines from output of
22778         makeinfo.
22779
22780 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22781
22782         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
22783         Align 32 bit compat elf_greg to 8 bytes.
22784
22785 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
22786
22787         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
22788
22789 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
22790
22791         * string/strcoll_l.c (coll_seq): New structure.
22792         (get_next_seq_cached): New function.
22793         (get_next_seq): New function.
22794         (do_compare): New function.
22795         (STRCOLL): Use GNU style definition.  Simplify implementation
22796         by using get_next_seq, get_next_seq_cached and do_compare.
22797
22798 2013-08-16  Florian Weimer  <fweimer@redhat.com>
22799
22800         [BZ #14699]
22801         CVE-2013-4237
22802         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
22803         member.
22804         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
22805         member.
22806         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
22807         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
22808         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
22809         conditional.
22810         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
22811         GETDENTS_64BIT_ALIGNED.
22812         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
22813         * manual/filesys.texi (Reading/Closing Directory): Document
22814         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
22815         strongly.
22816         * manual/conf.texi (Limits for Files): Add portability note to
22817         NAME_MAX, PATH_MAX.
22818         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
22819
22820 2013-08-13  Andreas Schwab  <schwab@suse.de>
22821
22822         [BZ #15749]
22823         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
22824         of fabs.
22825         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
22826         LDBL_MAX_EXP >= 16384]: Add tests for it.
22827
22828 2013-08-12  David S. Miller  <davem@davemloft.net>
22829
22830         * version.h (RELEASE): Set to "development".
22831         (VERSION): Set to "2.18.90".
22832         * NEWS: Add 2.19 section.
22833
22834 2013-08-03  David S. Miller  <davem@davemloft.net>
22835
22836         * po/ko.po: Update Korean translation from translation project.
22837
22838 2013-08-01  David S. Miller  <davem@davemloft.net>
22839
22840         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
22841         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
22842         Bilka.
22843
22844 2013-07-30  David S. Miller  <davem@davemloft.net>
22845
22846         * po/fr.po: Update French translation from translation project.
22847
22848 2013-07-28  David S. Miller  <davem@davemloft.net>
22849
22850         * po/cs.po: Update Czech translation from translation project.
22851
22852         * po/sv.po: Update Swedish translation from translation project.
22853
22854 2013-07-27  David S. Miller  <davem@davemloft.net>
22855
22856         * po/eo.po: Update Esperanto translation from translation project.
22857
22858         * po/vi.po: Update Vietnamese translation from translation project.
22859
22860         * po/de.po: Update German translation from translation project.
22861
22862 2013-07-26  David S. Miller  <davem@davemloft.net>
22863
22864         * po/bg.po: Update Bulgarian translation from translation project.
22865
22866         * po/nl.po: Update Dutch translation from translation project.
22867         * po/pl.po: Update Polish translation from translation project.
22868         * po/ru.po: Update Russian translation from translation project.
22869
22870 2013-07-24  David S. Miller  <davem@davemloft.net>
22871
22872         * po/libc.pot: Update.
22873
22874 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22875
22876         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
22877         variable page size.
22878         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
22879         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
22880         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
22881
22882 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22883
22884         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
22885
22886 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
22887             Andreas Schwab  <schwab@suse.de>
22888             Roland McGrath  <roland@hack.frob.com>
22889             Joseph Myers  <joseph@codesourcery.com>
22890             Carlos O'Donell  <carlos@redhat.com>
22891
22892         [BZ #15755]
22893         * config.h.in: Define HAVE_PT_CHOWN.
22894         * config.make.in (build-pt-chown): New variable.
22895         * configure.in (--enable-pt_chown): New configure option.
22896         * configure: Regenerate.
22897         * login/Makefile: Include Makeconfig.  Build pt_chown only if
22898         build-pt-chown is enabled.
22899         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
22900         pt_chown to fix pty ownership.
22901         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
22902         CLOSE_ALL_FDS.
22903         * manual/install.texi (Configuring and compiling): Mention
22904         --enable-pt_chown. Add @findex for grantpt.
22905         * INSTALL: Regenerate.
22906
22907 2013-07-20  David S. Miller  <davem@davemloft.net>
22908
22909         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
22910         difference between 32-bit and 64-bit.
22911
22912 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
22913
22914         [BZ #15711]
22915         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
22916         Avoid system header dependency with -ffreestanding.
22917         ($(objpfx)bits/syscall%d): Likewise.
22918
22919 2013-07-13  David S. Miller  <davem@davemloft.net>
22920
22921         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
22922         underflows from atanl/atan2l due to bug 15319.
22923         (casinh_test_data): Likewise.
22924
22925 2013-07-07  David S. Miller  <davem@davemloft.net>
22926
22927         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
22928
22929 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
22930
22931         * sysdeps/i386/fpu/libm-test-ulps: Update.
22932         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22933
22934 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
22935
22936         * configure.in (--enable-lock-elision): Fix message text.
22937         * INSTALL: Regenerate.
22938         * configure: Regenerate.
22939
22940 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22941
22942         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22943
22944 2013-07-03  Andreas Jaeger  <aj@suse.de>
22945
22946         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
22947         define.
22948         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
22949         (ptrace_peeksiginfo_args): Add.
22950         (__ptrace_peeksiginfo_flags): Add.
22951         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
22952         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
22953         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
22954
22955 2013-07-03  Allan McRae  <allan@archlinux.org>
22956
22957         * sysdeps/i386/fpu/libm-test-ulps: Update.
22958
22959 2013-07-02  David S. Miller  <davem@davemloft.net>
22960
22961         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22962
22963 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
22964
22965         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22966
22967 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
22968
22969         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
22970         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22971
22972 2013-07-02  Andi Kleen <ak@linux.intel.com>
22973
22974         * config.h.in (ENABLE_LOCK_ELISION): Add.
22975         * configure.in (--enable-lock-elision): Add option.
22976         * manual/install.texi: Document --enable lock elision.
22977         * configure: Regenerate
22978         * INSTALL: Regenerate.
22979
22980 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
22981
22982         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
22983         SSE4.2 strcasecmp for libc.a.
22984         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
22985
22986 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
22987
22988         [BZ #13304]
22989         * soft-fp/op-common.h (_FP_FMA): New macro.
22990         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
22991         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
22992         (_FP_MUL_MEAT_1_imm): ... here.
22993         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
22994         (_FP_MUL_MEAT_1_wide): ... here.
22995         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
22996         (_FP_MUL_MEAT_1_hard): ... here.
22997         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
22998         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
22999         (_FP_MUL_MEAT_2_wide): ... here.
23000         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
23001         (_FP_MUL_MEAT_2_wide_3mul): ... here.
23002         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
23003         (_FP_MUL_MEAT_2_gmp): ... here.
23004         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
23005         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
23006         (_FP_MUL_MEAT_4_wide): ... here.
23007         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
23008         (_FP_MUL_MEAT_4_gmp): ... here.
23009         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
23010         (_FP_WFRACBITS_DW_S): Likewise.
23011         (_FP_WFRACXBITS_DW_S): Likewise.
23012         (_FP_HIGHBIT_DW_S): Likewise.
23013         (FP_FMA_S): Likewise.
23014         (_FP_FRAC_HIGH_DW_S): Likewise.
23015         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
23016         (_FP_WFRACBITS_DW_D): Likewise.
23017         (_FP_WFRACXBITS_DW_D): Likewise.
23018         (_FP_HIGHBIT_DW_D): Likewise.
23019         (FP_FMA_D): Likewise.
23020         (_FP_FRAC_HIGH_DW_D): Likewise.
23021         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
23022         (_FP_WFRACBITS_DW_E): Likewise.
23023         (_FP_WFRACXBITS_DW_E): Likewise.
23024         (_FP_HIGHBIT_DW_E): Likewise.
23025         (FP_FMA_E): Likewise.
23026         (_FP_FRAC_HIGH_DW_E): Likewise.
23027         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
23028         (_FP_WFRACBITS_DW_Q): Likewise.
23029         (_FP_WFRACXBITS_DW_Q): Likewise.
23030         (_FP_HIGHBIT_DW_Q): Likewise.
23031         (FP_FMA_Q): Likewise.
23032         (_FP_FRAC_HIGH_DW_Q): Likewise.
23033         * soft-fp/fmasf4.c: New file.
23034         * soft-fp/fmadf4.c: Likewise.
23035         * soft-fp/fmatf4.c: Likewise.
23036
23037 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
23038
23039         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
23040         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
23041         Silvermont.
23042         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
23043         macro.
23044         (index_Slow_SSE4_2): Likewise.
23045         (index_Prefer_PMINUB_for_stringop): Likewise.
23046         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
23047         bit_Slow_SSE4_2 is set.
23048         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
23049         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
23050
23051 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
23052
23053         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
23054         rtld_global._dl_hwcap2.
23055         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
23056         POWER8.
23057         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
23058         POWER8 feature descriptions defined in _dl_hwcap2.
23059         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
23060         string handling for POWER8 feature bits.
23061         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
23062         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
23063         _dl_powerpc_cap_flags.
23064         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
23065         * sysdeps/powerpc/rtld-global-offsets.sym
23066         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
23067         _dl_hwcap2 in the rtld_global_ro structure.
23068
23069 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
23070
23071         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
23072         hardware capabilities in support of AT_HWCAP2.
23073         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
23074         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
23075         GLRO(dl_hwcap2).
23076         (_dl_show_auxv): Add support for calling _dl_procinfo to display
23077         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
23078         explicitly the unknown a_type display mechanism is used.
23079         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
23080         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
23081         struct member.
23082         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
23083         to macro prototype for AT_HWCAP2 support.
23084         * sysdeps/i386/dl-procinfo.h: Likewise.
23085         * sysdeps/s390/dl-procinfo.h: Likewise.
23086         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
23087         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
23088         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
23089         return -1 for unknown a_type display fallback.
23090         * sysdeps/sparc/dl-procinfo.h: Likewise.
23091         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
23092         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
23093
23094 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
23095
23096         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
23097         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
23098
23099 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
23100
23101         [BZ #12492]
23102         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
23103         mprotect making __stack_prot writable.
23104
23105 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
23106             Joseph Myers  <joseph@codesourcery.com>
23107
23108         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
23109         as being properly aligned.
23110
23111 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
23112
23113         * dlfcn/modstatic5.c: New file.
23114         * dlfcn/tststatic5.c: New file.
23115         * dlfcn/Makefile (tests): Add tststatic5.
23116         (tests-static): Likewise.
23117         (modules-names): Add modstatic5.
23118         (tststatic5-ENV): New variable.
23119         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
23120
23121         [BZ #15022]
23122         * elf/dl-support.c (_dl_main_map): New variable.
23123         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
23124         (_dl_nns, _dl_load_adds): Set to 1.
23125         (_dl_initial_searchlist): Refer to _dl_main_map.
23126         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
23127         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
23128         call to _dl_get_origin.
23129         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
23130         around call_map.
23131         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
23132         * dlfcn/modstatic3.c: New file.
23133         * dlfcn/tststatic3.c: New file.
23134         * dlfcn/tststatic4.c: New file.
23135         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
23136         (tests-static): Likewise.
23137         (modules-names): Add modstatic3.
23138         (tststatic3-ENV, tststatic4-ENV): New variables.
23139         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
23140         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
23141
23142 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
23143
23144         * configure.in (CC): Require GCC version 4.4 or later.
23145         * configure: Regenerated.
23146         * manual/install.texi (Tools for Compilation): Update GCC version
23147         requirement.
23148         * INSTALL: Regenerated.
23149
23150 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
23151
23152         [BZ #15674]
23153         * string/test-memcmp.c (check2): New.
23154         (main): Call check2.
23155
23156         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
23157
23158 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
23159
23160         [BZ #15022]
23161         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
23162         over to...
23163         (dl_open_worker) [!SHARED]: ... here.
23164
23165 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
23166
23167         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
23168
23169 2013-06-25  Richard Henderson  <rth@redhat.com>
23170
23171         * locale/programs/locarchive.c: Include <libc-internal.h>
23172
23173 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
23174
23175         * manual/texinfo.tex: Update to version 2013-06-21.17, with
23176         trailing whitespace removed.
23177
23178 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
23179
23180         [BZ #10283]
23181         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
23182         * locale/programs/locarchive.c: Include libc-mmap.h.
23183         (prepare_address_space): Take two new outputs (the mmap base and len).
23184         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
23185         values.
23186         (create_archive): Declare new mmap base and len values for
23187         prepare_address_space, and store the result in ah.
23188         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
23189         (enlarge_archive): If ah->mmap_base is not NULL, use that and
23190         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
23191         Declare new mmap base and len values for
23192         prepare_address_space, and store the result in new_ah.
23193         (open_archive): Declare new mmap base and len values for
23194         prepare_address_space, and store the result in ah.
23195         (close_archive): If ah->mmap_base is not NULL, use that and
23196         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
23197         * sysdeps/generic/libc-mmap.h: New file.
23198
23199 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
23200
23201         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
23202         (ALIGN_UP): Likewise.
23203         (PTR_ALIGN_DOWN): Likewise.
23204         (PTR_ALIGN_UP): Likewise.
23205
23206 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
23207
23208         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
23209         entry mapped to PPC_PLATFORM_POWER8.
23210         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
23211         POWER8.
23212         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
23213         (_dl_string_platform): Add case for exporting platform position for
23214         POWER8.
23215         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
23216         search path to sysdeps/powerpc/powerpc32/power8 directory.
23217         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
23218         search path to sysdeps/powerpc/powerpc64/power8 directory.
23219         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
23220         power7 directories.
23221         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
23222         power7 directories.
23223
23224 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
23225
23226         * INSTALL: Regenerate.
23227
23228         * nscd/connections.c (nscd_init): Fix comment.
23229
23230 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
23231
23232         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
23233
23234         [BZ #15667]
23235         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
23236         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
23237
23238 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
23239
23240         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
23241         DL_DST_REQ_STATIC.
23242         (DL_DST_REQ_STATIC): Remove macro.
23243
23244 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
23245
23246         [BZ #7006]
23247         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
23248         with a shift of 0 bits.
23249
23250 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
23251
23252         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
23253         $(tststatic-ENV).
23254
23255 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
23256
23257         [BZ #15655]
23258         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
23259
23260 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23261
23262         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
23263         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
23264         accepts -fno-tree-loop-distribute-patterns.
23265         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
23266         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
23267         recursive call.
23268         * string/memset.c (memset): Likewise.
23269         * string/test-memmove.c (simple_memmove): Disable loop transformation
23270         to library calls.
23271         * string/test-memset.c (simple_memset): Likewise.
23272         * benchtests/bench-memmove.c (simple_memmove): Likewise.
23273         * benchtests/bench-memset.c (simple_memset): Likewise.
23274         * configure: Regenerated.
23275
23276 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
23277
23278         * math/test-misc.c (main): Ignore fesetround failure when failures
23279         of subsequent rounding tests would be ignored.
23280
23281         [BZ #15654]
23282         * math/fedisblxcpt.c (fedisableexcept): Return 0.
23283         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
23284         * math/fegetenv.c (__fegetenv): Return 0.
23285         * math/fegetexcept.c (fegetexcept): Return 0.
23286         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
23287         FE_TONEAREST.
23288         * math/feholdexcpt.c (feholdexcept): Return 0.
23289         * math/fesetenv.c (__fesetenv): Return 0.
23290         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
23291         argument FE_TONEAREST.
23292         * math/feupdateenv.c (__feupdateenv): Return 0.
23293         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
23294
23295 2013-06-18  Roland McGrath  <roland@hack.frob.com>
23296
23297         * elf/rtld-Rules (rtld-compile-command.S): New variable.
23298         (rtld-compile-command.s, rtld-compile-command.c): New variables.
23299         ($(objpfx)rtld-%.os rules): Use them.
23300
23301 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23302
23303         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
23304         fields.
23305
23306 2013-06-17  Roland McGrath  <roland@hack.frob.com>
23307
23308         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
23309         length of target pattern, then descending length of dependency pattern.
23310         * configure.in (AWK): Require gawk 3.1.2 or newer.
23311         * manual/install.texi (Tools for Compilation): Say that we do.
23312         * configure: Regenerated.
23313
23314         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
23315         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
23316         * scripts/sysd-rules.awk: ... this new script.
23317         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
23318         than a glob-style pattern.
23319
23320 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
23321
23322         * math/test-misc.c (main): Do not treat incorrectly rounded
23323         conversions as failure unless ROUNDING_TESTS passes.
23324
23325 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
23326
23327         [BZ #15631]
23328         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
23329         restore exception state around main square root computation, then
23330         check for inexactness explicitly.
23331
23332         * math/libm-test.inc (fma_test_data): Add another test.
23333
23334 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
23335
23336         * manual/threads.texi (Non-POSIX Extensions): New document
23337         node.  Document pthread_getattr_default_np and
23338         pthread_setattr_default_np.
23339
23340         * Versions.def (libpthread): Add GLIBC_2.18.
23341         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
23342         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
23343         Likewise.
23344         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
23345         Likewise.
23346         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
23347         Likewise.
23348         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
23349         Likewise.
23350         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
23351         Likewise.
23352         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
23353         Likewise.
23354         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
23355         Likewise.
23356         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
23357         Likewise.
23358         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
23359         Likewise.
23360
23361 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
23362
23363         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23364         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
23365
23366 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
23367             H.J. Lu  <hjl.tools@gmail.com>
23368
23369         [BZ #15627]
23370         * sysdeps/x86_64/rtld-memset.c: Remove file.
23371         * sysdeps/x86_64/rtld-memset.S: New file.
23372
23373 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
23374
23375         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
23376         (test_in_one_mode): Take arguments for whether the rounding mode
23377         is supported for each floating-point type.
23378         (do_test): Pass new arguments to test_in_one_mode using
23379         ROUNDING_TESTS.
23380
23381 2013-06-13  Roland McGrath  <roland@hack.frob.com>
23382
23383         * posix/tst-waitid.c (do_test): Distinguish different instances of
23384         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
23385         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
23386         before entering the kernel for waitpid.
23387
23388 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
23389
23390         * NEWS: Fix note on clock function precision.  Text by Roland
23391         McGrath.
23392
23393 2013-06-13  Roland McGrath  <roland@hack.frob.com>
23394
23395         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
23396         it into place only when and if the sanity check passes.
23397
23398 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
23399
23400         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
23401         output for whether conversion result is exact.  Take argument
23402         indicating whether type is IBM long double.
23403         (round_for_all): Change need_exact field to ibm_ld.
23404         * stdlib/tst-strtod-round.c (struct exactness): New type.
23405         (struct test): Change bool ld_ok field to struct exactness exact.
23406         (TEST): Update all definitions for change to field.
23407         (tests): Regenerate array contents.
23408         (test_in_one_mode): Take pointer to new field instead of old ld_ok
23409         field value.  Check for IBM long double here.
23410         (do_test): Update calls to test_in_one_mode.
23411
23412 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
23413
23414         [BZ #12515]
23415         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
23416         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
23417
23418 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23419
23420         [BZ #15605]
23421         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
23422         generated by the compiler on loop optimizations.
23423         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
23424         general definitions.
23425
23426 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
23427
23428         * math/bug-nextafter.c: Include <math-tests.h>.
23429         (main): Only test for exceptions if EXCEPTION_TESTS is true for
23430         the relevant type.
23431         * math/bug-nexttoward.c: Include <math-tests.h>.
23432         (main): Only test for exceptions if EXCEPTION_TESTS is true for
23433         the relevant type.
23434         * math/test-misc.c: Include <math-tests.h>.
23435         (main): Only test for exceptions if EXCEPTION_TESTS is true for
23436         the relevant type.
23437
23438 2013-06-12  Andreas Jaeger  <aj@suse.de>
23439
23440         * po/ia.po: Update Interlingua translation from translation
23441         project.
23442
23443 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
23444
23445         * include/fenv.h: Include stdbool.h.
23446         (struct rm_ctx): New structure.
23447         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
23448         Define macro.
23449         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
23450         (SET_RESTORE_ROUNDF): Likewise.
23451         (SET_RESTORE_ROUNDL): Likewise.
23452         (SET_RESTORE_ROUND_NOEX): Likewise.
23453         (SET_RESTORE_ROUND_NOEXF): Likewise.
23454         (SET_RESTORE_ROUND_NOEXL): Likewise.
23455         (SET_RESTORE_ROUND_53BIT): Likewise.
23456         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
23457         (libc_feresetround_noexf_ctx): Likewise.
23458         (libc_feresetround_noexl_ctx): Likewise.
23459         (libc_feholdsetround_53bit_ctx): Likewise.
23460         (libc_feresetround_53bit_ctx): Likewise.
23461         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
23462         (libc_feholdexcept_setround_sse_ctx): New function.
23463         (libc_fesetenv_sse_ctx): Likewise.
23464         (libc_feupdateenv_sse_ctx): Likewise.
23465         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
23466         (libc_feholdexcept_setround_387_ctx): Likewise.
23467         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
23468         (libc_feholdsetround_387_prec_ctx): Likewise.
23469         (libc_feholdsetround_387_ctx): Likewise.
23470         (libc_feholdsetround_387_53bit_ctx): Likewise.
23471         (libc_feholdsetround_sse_ctx): Likewise.
23472         (libc_feresetround_sse_ctx): Likewise.
23473         (libc_feresetround_387_ctx): Likewise.
23474         (libc_feupdateenv_387_ctx): Likewise.
23475         (libc_feholdexcept_setroundf_ctx): Define macro.
23476         (libc_fesetenvf_ctx): Likewise.
23477         (libc_feupdateenvf_ctx): Likewise.
23478         (libc_feholdsetroundf_ctx): Likewise.
23479         (libc_feresetroundf_ctx): Likewise.
23480         (libc_feholdexcept_setround_ctx): Likewise.
23481         (libc_fesetenv_ctx): Likewise.
23482         (libc_feupdateenv_ctx): Likewise.
23483         (libc_feholdsetround_ctx): Likewise.
23484         (libc_feresetround_ctx): Likewise.
23485         (libc_feholdexcept_setroundl_ctx): Likewise.
23486         (libc_feupdateenvl_ctx): Likewise.
23487         (libc_feholdsetroundl_ctx): Likewise.
23488         (libc_feresetroundl_ctx): Likewise.
23489         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
23490         (libc_feresetround_53bit_ctx): Likewise.
23491
23492 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
23493
23494         * locale/iso-639.def: Convert to UTF-8.
23495
23496 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
23497
23498         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
23499         (EXCEPTION_TESTS_double): Likewise.
23500         (EXCEPTION_TESTS_long_double): Likewise.
23501         (EXCEPTION_TESTS): Likewise.
23502         * math/libm-test.inc (test_exceptions): Only test exceptions if
23503         EXCEPTION_TESTS (FLOAT).
23504
23505 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
23506
23507         * benchtests/Makefile (string-bench): Add strcpy_chk and
23508         stpcpy_chk.
23509         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
23510         * benchtests/bench-stpcpy_chk.c: New file.
23511         * benchtests/bench-strcpy_chk-ifunc.c: New file.
23512         * benchtests/bench-strcpy_chk.c: New file.
23513         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
23514         code.
23515         (do_test): Likewise.
23516
23517 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
23518
23519         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
23520         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
23521         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
23522         with tabs where appropriate.
23523         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
23524         dl-procinfo.h.
23525         [PPC_PLATFORM_PPC440]: Likewise.
23526         [PPC_PLATFORM_PPC464]: Likewise.
23527         [PPC_PLATFORM_PPC476]: Likewise.
23528         (_dl_string_platform): Add support for detecting ppc405, ppc440,
23529         ppc464, and ppc476 platform strings merging from ports/
23530         dl-procinfo.h.
23531
23532 2013-06-11  Andreas Schwab  <schwab@suse.de>
23533
23534         [BZ #14991]
23535         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
23536         (from_ucs4_idx): Regenerate.
23537         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
23538         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
23539         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
23540         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
23541         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
23542         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
23543         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
23544         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
23545         from FROM_LOOP and TO_LOOP specific macros.
23546         (BODY): Handle combining characters.
23547         * iconvdata/BIG5HKSCS.irreversible: Update.
23548         * iconvdata/BIG5HKSCS.precomposed: New file.
23549         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
23550         characters.
23551         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
23552
23553 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
23554
23555         * include/sys/time.h: Fix indentation and add copyright header.
23556
23557         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
23558         (do_test): Likewise.
23559         * string/test-memchr.c (do_one_test): Likewise.
23560         (do_test): Likewise.
23561         * string/test-memcmp.c (do_one_test): Likewise.
23562         (do_test): Likewise.
23563         * string/test-memcpy.c (do_one_test): Likewise.
23564         (do_test): Likewise.
23565         * string/test-memmem.c (do_one_test): Likewise.
23566         (do_test): Likewise.
23567         (do_random_tests): Likewise.
23568         * string/test-memmove.c (do_one_test): Likewise.
23569         (do_test): Likewise.
23570         * string/test-memset.c (do_one_test): Likewise.
23571         (do_test): Likewise.
23572         * string/test-rawmemchr.c (do_one_test): Likewise.
23573         (do_test): Likewise.
23574         * string/test-strcasecmp.c (do_one_test): Likewise.
23575         (do_test): Likewise.
23576         * string/test-strcasestr.c (do_one_test): Likewise.
23577         (do_test): Likewise.
23578         * string/test-strcat.c (do_one_test): Likewise.
23579         (do_test): Likewise.
23580         * string/test-strchr.c (do_one_test): Likewise.
23581         (do_test): Likewise.
23582         * string/test-strcmp.c (do_one_test): Likewise.
23583         (do_test): Likewise.
23584         * string/test-strcpy.c (do_one_test): Likewise.
23585         (do_test): Likewise.
23586         * string/test-string.h: Likewise.
23587         (test_init): Likewise.
23588         * string/test-strlen.c (do_one_test): Likewise.
23589         (do_test): Likewise.
23590         * string/test-strncasecmp.c (do_one_test): Likewise.
23591         (do_test): Likewise.
23592         * string/test-strncat.c (do_one_test): Likewise.
23593         (do_test): Likewise.
23594         * string/test-strncmp.c (do_one_test): Likewise.
23595         (do_test_limit): Likewise.
23596         (do_test): Likewise.
23597         * string/test-strncpy.c (do_one_test): Likewise.
23598         (do_test): Likewise.
23599         * string/test-strnlen.c (do_one_test): Likewise.
23600         (do_test): Likewise.
23601         * string/test-strpbrk.c (do_one_test): Likewise.
23602         (do_test): Likewise.
23603         * string/test-strrchr.c (do_one_test): Likewise.
23604         (do_test): Likewise.
23605         * string/test-strspn.c (do_one_test): Likewise.
23606         (do_test): Likewise.
23607         * string/test-strstr.c (do_one_test): Likewise.
23608         (do_test): Likewise.
23609
23610         * benchtests/Makefile (string-bench): Add string benchmarks.
23611         * benchtests/bench-bcopy-ifunc.c: New file.
23612         * benchtests/bench-bcopy.c: New file.
23613         * benchtests/bench-bzero-ifunc.c: New file.
23614         * benchtests/bench-bzero.c: New file.
23615         * benchtests/bench-memccpy-ifunc.c: New file.
23616         * benchtests/bench-memccpy.c: New file.
23617         * benchtests/bench-memchr-ifunc.c: New file.
23618         * benchtests/bench-memchr.c: New file.
23619         * benchtests/bench-memcmp-ifunc.c: New file.
23620         * benchtests/bench-memcmp.c: New file.
23621         * benchtests/bench-memmem-ifunc.c: New file.
23622         * benchtests/bench-memmem.c: New file.
23623         * benchtests/bench-memmove-ifunc.c: New file.
23624         * benchtests/bench-memmove.c: New file.
23625         * benchtests/bench-mempcpy-ifunc.c: New file.
23626         * benchtests/bench-mempcpy.c: New file.
23627         * benchtests/bench-memset-ifunc.c: New file.
23628         * benchtests/bench-memset.c: New file.
23629         * benchtests/bench-rawmemchr-ifunc.c: New file.
23630         * benchtests/bench-rawmemchr.c: New file.
23631         * benchtests/bench-stpcpy-ifunc.c: New file.
23632         * benchtests/bench-stpcpy.c: New file.
23633         * benchtests/bench-stpncpy-ifunc.c: New file.
23634         * benchtests/bench-stpncpy.c: New file.
23635         * benchtests/bench-strcasecmp-ifunc.c: New file.
23636         * benchtests/bench-strcasecmp.c: New file.
23637         * benchtests/bench-strcasestr-ifunc.c: New file.
23638         * benchtests/bench-strcasestr.c: New file.
23639         * benchtests/bench-strcat-ifunc.c: New file.
23640         * benchtests/bench-strcat.c: New file.
23641         * benchtests/bench-strchr-ifunc.c: New file.
23642         * benchtests/bench-strchr.c: New file.
23643         * benchtests/bench-strchrnul-ifunc.c: New file.
23644         * benchtests/bench-strchrnul.c: New file.
23645         * benchtests/bench-strcmp-ifunc.c: New file.
23646         * benchtests/bench-strcmp.c: New file.
23647         * benchtests/bench-strcpy-ifunc.c: New file.
23648         * benchtests/bench-strcpy.c: New file.
23649         * benchtests/bench-strcspn-ifunc.c: New file.
23650         * benchtests/bench-strcspn.c: New file.
23651         * benchtests/bench-strlen-ifunc.c: New file.
23652         * benchtests/bench-strlen.c: New file.
23653         * benchtests/bench-strncasecmp-ifunc.c: New file.
23654         * benchtests/bench-strncasecmp.c: New file.
23655         * benchtests/bench-strncat-ifunc.c: New file.
23656         * benchtests/bench-strncat.c: New file.
23657         * benchtests/bench-strncmp-ifunc.c: New file.
23658         * benchtests/bench-strncmp.c: New file.
23659         * benchtests/bench-strncpy-ifunc.c: New file.
23660         * benchtests/bench-strncpy.c: New file.
23661         * benchtests/bench-strnlen-ifunc.c: New file.
23662         * benchtests/bench-strnlen.c: New file.
23663         * benchtests/bench-strpbrk-ifunc.c: New file.
23664         * benchtests/bench-strpbrk.c: New file.
23665         * benchtests/bench-strrchr-ifunc.c: New file.
23666         * benchtests/bench-strrchr.c: New file.
23667         * benchtests/bench-strspn-ifunc.c: New file.
23668         * benchtests/bench-strspn.c: New file.
23669         * benchtests/bench-strstr-ifunc.c: New file.
23670         * benchtests/bench-strstr.c: New file.
23671
23672         * benchtests/Makefile: Disable parallel execution of targets.
23673         (string-bench): Add memcpy.
23674         (benchset): New variable to store a list of benchmark sets.
23675         (bench-func): Renamed from bench.
23676         (bench-set): New target.
23677         (bench): Depend on bench-func and bench-set.
23678         * benchtests/README: Add section on benchmark sets.
23679         * benchtests/bench-memcpy-ifunc.c: New file.
23680         * benchtests/bench-memcpy.c: New file.
23681         * benchtests/bench-string.h: New file.
23682
23683 2013-06-11  Andreas Schwab  <schwab@suse.de>
23684
23685         [BZ #15577]
23686         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
23687         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
23688         values in the triple.
23689         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
23690         terminator in the group key.
23691
23692 2013-06-11  Andreas Jaeger  <aj@suse.de>
23693
23694         * po/zh_TW.po: Update Chinese (traditional) translation from
23695         translation project.
23696
23697 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
23698
23699         * include/time.h (__clock_gettime): Add libc_hidden_proto.
23700         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
23701         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
23702         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
23703         (clock_getcpuclockid): Likewise.
23704         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
23705         Add weak_alias and libc_hidden_def.
23706         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
23707         * rt/clock_gettime.c (clock_gettime): Rename to
23708         __clock_gettime.  Add weak_alias and libc_hidden_def.
23709         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
23710         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
23711         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
23712         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
23713         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
23714         Likewise.
23715         * rt/clock_settime.c (clock_settime): Rename to
23716         __clock_settime.  Add weak_alias and libc_hidden_def.
23717         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
23718
23719 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
23720
23721         * mach/err_boot.sub: Remove trailing whitespace.
23722         * mach/err_ipc.sub: Likewise.
23723         * mach/err_mach.sub: Likewise.
23724
23725         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
23726         (ROUNDING_TESTS_double): Likewise.
23727         (ROUNDING_TESTS_long_double): Likewise.
23728         (ROUNDING_TESTS): Likewise.
23729         * math/libm-test.inc: Include <math-tests.h>.
23730         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
23731         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
23732         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
23733         (IF_ROUND_INIT_FE_UPWARD): Likewise.
23734
23735 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
23736
23737         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
23738         of assigning.
23739
23740 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
23741
23742         * sysdeps/gnu/errlist.awk: Do not generate space at end of
23743         otherwise empty TRANS lines.
23744         * sysdeps/gnu/errlist.c: Regenerated.
23745
23746         * catgets/gencat.c (error_print): Use (void) in function
23747         definition.
23748         * crypt/crypt_util.c (__init_des): Likewise.
23749         * crypt/speeds.c (Stop): Likewise.
23750         (main): Likewise.
23751         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
23752         * inet/ruserpass.c (token): Likewise.
23753         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
23754         * intl/localealias.c (extend_alias_table): Likewise.
23755         * intl/plural-exp.c (init_germanic_plural): Likewise.
23756         * libio/fcloseall.c (__fcloseall): Likewise.
23757         * libio/genops.c (_IO_flush_all): Likewise.
23758         (_IO_flush_all_linebuffered): Likewise.
23759         (_IO_cleanup): Likewise.
23760         (_IO_iter_begin): Likewise.
23761         (_IO_iter_end): Likewise.
23762         (_IO_list_lock): Likewise.
23763         (_IO_list_unlock): Likewise.
23764         (_IO_list_resetlock): Likewise.
23765         * libio/getchar.c (getchar): Likewise.
23766         * libio/getchar_u.c (getchar_unlocked): Likewise.
23767         * libio/getwchar.c (getwchar): Likewise.
23768         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
23769         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
23770         * login/getpt.c (__getpt): Likewise.
23771         * login/tst-utmp.c (main): Likewise.
23772         * malloc/hooks.c (__malloc_check_init): Likewise.
23773         * malloc/malloc.c (__malloc_stats): Likewise.
23774         * malloc/mtrace.c (tr_break): Likewise.
23775         (mtrace): Likewise.
23776         (muntrace): Likewise.
23777         * misc/fstab.c (endfsent): Likewise.
23778         * misc/getclktck.c (__getclktck): Likewise.
23779         * misc/getdtsz.c (__getdtablesize): Likewise.
23780         * misc/gethostid.c (gethostid): Likewise.
23781         * misc/getpagesize.c (__getpagesize): Likewise.
23782         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
23783         (__get_nprocs): Likewise.
23784         (__get_phys_pages): Likewise.
23785         (__get_avphys_pages): Likewise.
23786         * misc/getttyent.c (getttyent): Likewise.
23787         (setttyent): Likewise.
23788         (endttyent): Likewise.
23789         * misc/getusershell.c (getusershell): Likewise.
23790         (endusershell): Likewise.
23791         (setusershell): Likewise.
23792         (initshells): Likewise.
23793         * misc/hsearch.c (__hdestroy): Likewise.
23794         * misc/sync.c (sync): Likewise.
23795         * misc/syslog.c (closelog_internal): Likewise.
23796         (closelog): Likewise.
23797         * misc/ttyslot.c (ttyslot): Likewise.
23798         * misc/vhangup.c (vhangup): Likewise.
23799         * posix/fork.c (__fork): Likewise.
23800         * posix/getegid.c (__getegid): Likewise.
23801         * posix/geteuid.c (__geteuid): Likewise.
23802         * posix/getgid.c (__getgid): Likewise.
23803         * posix/getpid.c (__getpid): Likewise.
23804         * posix/getppid.c (__getppid): Likewise.
23805         * posix/getuid.c (__getuid): Likewise.
23806         * posix/pause.c (pause): Likewise.
23807         * posix/setpgrp.c (setpgrp): Likewise.
23808         * posix/setsid.c (__setsid): Likewise.
23809         * posix/test-vfork.c (noop): Likewise.
23810         * resolv/gethnamaddr.c (_endhtent): Likewise.
23811         (_gethtent): Likewise.
23812         (ht_endhostent): Likewise.
23813         (gethostent): Likewise.
23814         (dns_service): Likewise.
23815         * stdlib/drand48.c (drand48): Likewise.
23816         * stdlib/lrand48.c (lrand48): Likewise.
23817         * stdlib/mrand48.c (mrand48): Likewise.
23818         * stdlib/rand.c (rand): Likewise.
23819         * stdlib/random.c (__random): Likewise.
23820         * stdlib/setenv.c (clearenv): Likewise.
23821         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
23822         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
23823         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
23824         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
23825         (__get_nprocs): Likewise.
23826         (__get_phys_pages): Likewise.
23827         (__get_avphys_pages): Likewise.
23828         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
23829         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
23830         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
23831         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
23832         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
23833         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
23834         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
23835         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
23836         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
23837         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
23838         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
23839         * sysdeps/mach/hurd/sync.c (sync): Likewise.
23840         * sysdeps/posix/clock.c (clock): Likewise.
23841         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
23842         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
23843         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
23844         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
23845         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
23846         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
23847         (__get_nprocs_conf): Likewise.
23848         (__get_phys_pages): Likewise.
23849         (__get_avphys_pages): Likewise.
23850         * time/clock.c (clock): Likewise.
23851         * time/tzset.c (__tzname_max): Likewise.
23852
23853 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
23854
23855         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
23856         (__bswap_32): Do not use "register".
23857         * crypt/crypt.c (_ufc_doit_r): Likewise.
23858         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
23859         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
23860         * gmon/gmon.c (__monstartup): Likewise.
23861         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
23862         * hurd/hurdmalloc.c (more_memory): Likewise.
23863         (malloc): Likewise.
23864         (free): Likewise.
23865         (realloc): Likewise.
23866         (malloc_fork_prepare): Likewise.
23867         (malloc_fork_parent): Likewise.
23868         (malloc_fork_child): Likewise.
23869         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
23870         (_svcauth_des): Likewise.
23871         * inet/inet_lnaof.c (inet_lnaof): Likewise.
23872         * inet/inet_net.c (inet_network): Likewise.
23873         * inet/inet_netof.c (inet_netof): Likewise.
23874         * inet/rcmd.c (__validuser2_sa): Likewise.
23875         * io/fts.c (fts_open): Likewise.
23876         (fts_load): Likewise.
23877         (fts_close): Likewise.
23878         (fts_read): Likewise.
23879         (fts_children): Likewise.
23880         (fts_build): Likewise.
23881         (fts_stat): Likewise.
23882         (fts_sort): Likewise.
23883         (fts_alloc): Likewise.
23884         (fts_lfree): Likewise.
23885         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
23886         (_IO_file_xsgetn): Likewise.
23887         (_IO_file_xsgetn_mmap): Likewise.
23888         * libio/iofopncook.c (_IO_cookie_read): Likewise.
23889         (_IO_cookie_write): Likewise.
23890         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
23891         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
23892         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
23893         * malloc/obstack.c (_obstack_begin): Likewise.
23894         (_obstack_begin_1): Likewise.
23895         (_obstack_newchunk): Likewise.
23896         (_obstack_allocated_p): Likewise.
23897         (obstack_free): Likewise.
23898         (_obstack_memory_used): Likewise.
23899         * misc/getttyent.c (getttynam): Likewise.
23900         (getttyent): Likewise.
23901         (skip): Likewise.
23902         (value): Likewise.
23903         * misc/getusershell.c (initshells): Likewise.
23904         * misc/syslog.c (__vsyslog_chk): Likewise.
23905         * misc/ttyslot.c (ttyslot): Likewise.
23906         * nis/nis_hash.c (__nis_hash): Likewise.
23907         * posix/fnmatch_loop.c (FCT): Likewise.
23908         * posix/getconf.c (print_all): Likewise.
23909         (main): Likewise.
23910         * posix/getopt.c (exchange): Likewise.
23911         * posix/glob.c (globfree): Likewise.
23912         (prefix_array): Likewise.
23913         (__glob_pattern_type): Likewise.
23914         * resolv/arpa/nameser.h (NS_GET16): Likewise.
23915         (NS_GET32): Likewise.
23916         (NS_PUT16): Likewise.
23917         (NS_PUT32): Likewise.
23918         * resolv/gethnamaddr.c (getanswer): Likewise.
23919         (gethostbyname2): Likewise.
23920         (gethostbyaddr): Likewise.
23921         (_gethtent): Likewise.
23922         (_gethtbyname2): Likewise.
23923         (_gethtbyaddr): Likewise.
23924         * resolv/ns_print.c (dst_s_get_int16): Likewise.
23925         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
23926         * resolv/res_init.c (__res_vinit): Likewise.
23927         (net_mask): Likewise.
23928         * resolv/res_mkquery.c (outchar): Likewise.
23929         (PRINT): Likewise.
23930         * stdio-common/printf_fp.c (outchar): Likewise.
23931         (PRINT): Likewise.
23932         * stdio-common/printf_fphex.c (outchar): Likewise.
23933         (PRINT): Likewise.
23934         * stdio-common/printf_size.c (outchar): Likewise.
23935         (PRINT): Likewise.
23936         * stdio-common/test_rdwr.c (main): Likewise.
23937         * stdio-common/tfformat.c (matches): Likewise.
23938         * stdio-common/vfprintf.c (outchar): Likewise.
23939         (printf_unknown): Likewise.
23940         (buffered_vfprintf): Likewise.
23941         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
23942         * stdio-common/xbug.c (AppendToBuffer): Likewise.
23943         (ReadFile): Likewise.
23944         * stdlib/qsort.c (SWAP): Likewise.
23945         (_quicksort): Likewise.
23946         * stdlib/setenv.c (__add_to_environ): Likewise.
23947         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
23948         * stdlib/strtol_l.c (__strtol_l): Likewise.
23949         * stdlib/tst-strtod.c (main): Likewise.
23950         * stdlib/tst-strtol.c (main): Likewise.
23951         * stdlib/tst-strtoll.c (main): Likewise.
23952         * string/bits/string2.h (__strcmp_cc): Likewise.
23953         (__strcmp_cg): Likewise.
23954         (__strcspn_c1): Likewise.
23955         (__strcspn_c2): Likewise.
23956         (__strcspn_c3): Likewise.
23957         (__strspn_c1): Likewise.
23958         (__strspn_c2): Likewise.
23959         (__strspn_c3): Likewise.
23960         (__strsep_1c): Likewise.
23961         (__strsep_2c): Likewise.
23962         (__strsep_3c): Likewise.
23963         * string/memccpy.c (__memccpy): Likewise.
23964         * string/stpcpy.c (__stpcpy): Likewise.
23965         * string/strcmp.c (strcmp): Likewise.
23966         * string/strrchr.c (strrchr): Likewise.
23967         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
23968         Likewise.
23969         * sysdeps/mach/hurd/getcwd.c
23970         (_hurd_canonicalize_directory_name_internal): Likewise.
23971         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
23972         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
23973         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
23974         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
23975         Likewise, in both definitions.
23976         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
23977         definitions.
23978         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
23979         64] (__bswap_64): Likewise.
23980         * time/test_time.c (main): Likewise.
23981         * time/tzfile.c (__tzfile_read): Likewise.
23982         (__tzfile_compute): Likewise.
23983         * time/tzset.c (__tzset_parse_tz): Likewise.
23984         (tzset_internal): Likewise.
23985         (compute_change): Likewise.
23986         * wcsmbs/wcscat.c (__wcscat): Likewise.
23987         * wcsmbs/wcschr.c (wcschr): Likewise.
23988         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
23989         * wcsmbs/wcscspn.c (wcscspn): Likewise.
23990         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
23991         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
23992         * wcsmbs/wcsspn.c (wcsspn): Likewise.
23993         * wcsmbs/wcsstr.c (wcsstr): Likewise.
23994         * wcsmbs/wmemchr.c (wmemchr): Likewise.
23995         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
23996         * wcsmbs/wmemset.c (wmemset): Likewise.
23997
23998 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
23999
24000         * scripts/config.guess: Update to version 2013-05-16.
24001         * scripts/config.sub: Update to version 2013-04-24.
24002         * scripts/install-sh: Update to version 2011-11-20.07.
24003         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
24004         * scripts/move-if-change: Update to version 2012-01-06 07:23.
24005
24006 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
24007
24008         * debug/fgetws_u_chk.c: Fix leading whitespaces.
24009         * elf/sln.c: Likewise.
24010         * hurd/hurd/ioctl.h: Likewise.
24011         * hurd/hurdmalloc.c: Likewise.
24012         * hurd/xattr.c: Likewise.
24013         * include/shlib-compat.h: Likewise.
24014         * inet/ruserpass.c: Likewise.
24015         * libio/iofgets_u.c: Likewise.
24016         * libio/iofgetws_u.c: Likewise.
24017         * locale/programs/ld-identification.c: Likewise.
24018         * locale/programs/ld-time.c: Likewise.
24019         * mach/msg-destroy.c: Likewise.
24020         * nss/nss_files/files-netgrp.c: Likewise.
24021         * resolv/res_data.c: Likewise.
24022         * soft-fp/op-1.h: Likewise.
24023         * soft-fp/op-2.h: Likewise.
24024         * soft-fp/op-4.h: Likewise.
24025         * soft-fp/op-common.h: Likewise.
24026         * stdio-common/printf_fphex.c: Likewise.
24027         * stdlib/strtod_l.c: Likewise.
24028         * sunrpc/rpc/clnt.h: Likewise.
24029         * sysdeps/generic/framestate.c: Likewise.
24030         * sysdeps/i386/bsd-_setjmp.S: Likewise.
24031         * sysdeps/i386/bsd-setjmp.S: Likewise.
24032         * sysdeps/i386/__longjmp.S: Likewise.
24033         * sysdeps/i386/setjmp.S: Likewise.
24034         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
24035         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
24036         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
24037         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
24038         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
24039         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
24040         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
24041         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
24042         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
24043         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
24044         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
24045         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
24046         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
24047         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
24048         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
24049         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
24050         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
24051         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
24052         * sysdeps/ieee754/support.c: Likewise.
24053         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
24054         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
24055         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
24056         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
24057         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
24058         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
24059         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
24060         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
24061         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
24062         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
24063         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
24064         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
24065         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
24066         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
24067         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
24068         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
24069         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
24070         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
24071
24072 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
24073
24074         * posix/transbug.c: Remove executable mode.
24075
24076 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
24077
24078         * crypt/speeds.c: Remove trailing whitespace.
24079         * dlfcn/default.c: Likewise.
24080         * elf/ifuncdep2.c: Likewise.
24081         * elf/ifuncmain1.c: Likewise.
24082         * elf/ifuncmain1vis.c: Likewise.
24083         * elf/testobj.h: Likewise.
24084         * elf/tst-stackguard1.c: Likewise.
24085         * gmon/sys/gmon.h: Likewise.
24086         * hurd/hurdmsg.c: Likewise.
24087         * hurd/new-fd.c: Likewise.
24088         * hurd/ports-get.c: Likewise.
24089         * iconvdata/ibm1008_420.c: Likewise.
24090         * inet/tst-getni1.c: Likewise.
24091         * inet/tst-getni2.c: Likewise.
24092         * libio/ioungetc.c: Likewise.
24093         * libio/wfiledoalloc.c: Likewise.
24094         * manual/libm-err-tab.pl: Likewise.
24095         * math/w_dremf.c: Likewise.
24096         * misc/ftruncate.c: Likewise.
24097         * posix/bug-glob2.c: Likewise.
24098         * posix/tst-pcre.c: Likewise.
24099         * posix/wait4.c: Likewise.
24100         * resolv/README: Likewise.
24101         * resolv/res_debug.h: Likewise.
24102         * resolv/tst-inet_ntop.c: Likewise.
24103         * setjmp/bug269-setjmp.c: Likewise.
24104         * soft-fp/extended.h: Likewise.
24105         * soft-fp/op-1.h: Likewise.
24106         * soft-fp/op-2.h: Likewise.
24107         * soft-fp/op-4.h: Likewise.
24108         * soft-fp/op-8.h: Likewise.
24109         * soft-fp/testit.c: Likewise.
24110         * stdio-common/bug16.c: Likewise.
24111         * stdlib/random.c: Likewise.
24112         * sunrpc/rpcsvc/rquota.x: Likewise.
24113         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
24114         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
24115         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
24116         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
24117         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
24118         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
24119         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
24120         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
24121         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
24122         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
24123         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
24124         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
24125         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
24126         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
24127         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
24128         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
24129         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
24130         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
24131         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
24132         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
24133         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
24134         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
24135         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
24136         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
24137         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
24138         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
24139         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
24140         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
24141         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
24142         * sysdeps/ieee754/s_lib_version.c: Likewise.
24143         * sysdeps/mach/hurd/check_fds.c: Likewise.
24144         * sysdeps/mach/hurd/getsockname.c: Likewise.
24145         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
24146         * sysdeps/mach/hurd/recvfrom.c: Likewise.
24147         * sysdeps/powerpc/bits/link.h: Likewise.
24148         * sysdeps/powerpc/dl-procinfo.c: Likewise.
24149         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
24150         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
24151         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
24152         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
24153         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
24154         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
24155         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
24156         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
24157         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
24158         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
24159         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
24160         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
24161         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
24162         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
24163         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
24164         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
24165         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
24166         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
24167         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
24168         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
24169         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
24170         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
24171         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
24172         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
24173         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
24174         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
24175         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
24176         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
24177         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
24178         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
24179         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
24180         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
24181         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
24182         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
24183         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
24184         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
24185         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
24186         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
24187         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
24188         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
24189         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
24190         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
24191         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
24192         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
24193         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
24194         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
24195         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
24196         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
24197         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
24198         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
24199         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
24200         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
24201         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
24202         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
24203         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
24204         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
24205         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
24206         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
24207         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
24208         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
24209         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
24210         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
24211         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
24212         * sysdeps/powerpc/sysdep.h: Likewise.
24213         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
24214         * sysdeps/s390/s390-64/sub_n.S: Likewise.
24215         * sysdeps/sh/dl-trampoline.S: Likewise.
24216         * sysdeps/sh/memset.S: Likewise.
24217         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
24218         * sysdeps/sh/strlen.S: Likewise.
24219         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
24220         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
24221         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
24222         * sysdeps/sparc/sparc32/rem.S: Likewise.
24223         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
24224         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
24225         * sysdeps/sparc/sparc32/strchr.S: Likewise.
24226         * sysdeps/sparc/sparc32/udiv.S: Likewise.
24227         * sysdeps/sparc/sparc32/urem.S: Likewise.
24228         * sysdeps/sparc/sparc64/add_n.S: Likewise.
24229         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
24230         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
24231         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
24232         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
24233         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
24234         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
24235         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
24236         * sysdeps/unix/bsd/times.c: Likewise.
24237         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
24238         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
24239         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
24240         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
24241         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
24242         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
24243         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
24244         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
24245         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
24246         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
24247         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
24248         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
24249         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
24250         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
24251         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
24252         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
24253         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
24254         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
24255         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
24256         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
24257         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
24258         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
24259         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
24260         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
24261         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
24262         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
24263         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
24264         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
24265         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
24266         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
24267         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
24268         * sysdeps/x86_64/strcspn.S: Likewise.
24269
24270 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
24271
24272         * locale/C-translit.h: Revert #include <stdint.h> because this is a
24273         generated file.  Regenerate properly from gen-translit.pl.
24274         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
24275         locale/C-translit.h.
24276
24277 2013-06-05  Andreas Schwab  <schwab@suse.de>
24278
24279         [BZ #15100]
24280         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
24281         week as 6 instead of -1.
24282         * time/tst-strptime.c (day_tests): Add test case.
24283
24284 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
24285
24286         * sysdeps/generic/math_private.h
24287         (libc_feholdexcept_setround_53bit): Replace with
24288         libc_feholdsetround_53bit.
24289         (libc_feupdateenv_53bit): Replace with
24290         libc_feresetround_53bit.
24291         (SET_RESTORE_ROUND_53BIT): Adjust.
24292
24293 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
24294
24295         * string/test-strchrnul.c: Add copyright header.
24296
24297         * posix/tst-getaddrinfo4.c: Increase test timeout.
24298
24299 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
24300
24301         [BZ #15536]
24302         * math/libm-test.inc (MAX_EXP): Remove
24303         (MIN_EXP): Define.
24304         (ulp): Use MIN_EXP - MANT_DIG.
24305         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
24306
24307 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
24308
24309         * po/be.po: Revert last change.
24310         * po/zh_CN.po: Likewise.
24311         * po/header.pot: Likewise.
24312
24313 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
24314
24315         * Makefile ($(common-objpfx)linkobj/libc.so): Define
24316         link-libc-deps to empty as target-specific variable.
24317         * Makerules (link-libc-args): New variable.
24318         (libc-for-link): Likewise.
24319         (link-libc-deps): Likewise.
24320         (lib%.so): Depend on $(link-libc-deps).  Link with
24321         $(link-libc-args).
24322         (build-module): Link with $(link-libc-args).
24323         (build-module-asneeded): Likewise.
24324         (build-module-helper-objlist): Filter out $(link-libc-deps) from
24325         list of objects.
24326         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
24327         target-specific variable.
24328         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
24329         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
24330         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
24331         libc.
24332         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
24333         libc and ld.so.
24334         ($(objpfx)libpcprofile.so): Likewise.
24335         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
24336         libc_nonshared.a.
24337         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
24338         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
24339         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
24340         $(link-libc-deps).
24341         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
24342         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
24343         * login/Makefile ($(objpfx)libutil.so): Likewise.
24344         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
24345         * math/Makefile ($(objpfx)libm.so): Likewise.
24346         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
24347         $(objpfx)libnsl.so): Define libc-for-link as target-specific
24348         variable instead of depending directly on libc.
24349         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
24350         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
24351         $(link-libc-deps).
24352         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
24353         libc.
24354         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
24355         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
24356         ($(objpfx)libanl.so): Likewise.
24357         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
24358         ld.so.
24359         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
24360         $(link-libc-deps).
24361         * sysdeps/i386/fpu/Makefile: Remove file.
24362         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
24363         ($(objpfx)libm.so): Remove dependency on ld.so.
24364
24365 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
24366
24367         [BZ # 15553]
24368         * nis/yp_xdr.c (XDRMAXNAME): Define.
24369         (XDRMAXRECORD): Define.
24370         (xdr_domainname): Use XDRMAXNAME.
24371         (xdr_mapname): Likewise.
24372         (xdr_peername): Likewise.
24373         (xdr_keydat): Use XDRMAXRECORD.
24374         (xdr_valdat): Likewise.
24375
24376 2013-05-30  Jeff Law  <law@redhat.com>
24377
24378         [BZ #14256]
24379         * manual/errno.texi (ESTALE): Update to account for more than
24380         just NFS file systems.
24381         * sysdeps/gnu/errlist.c: Regenerated.
24382
24383 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
24384
24385         [BZ #15465]
24386         * elf/Makefile (tests): Add tst-null-argv.
24387         (modules-names):  Add tst-null-argv-lib.
24388         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
24389         (tst-null-argv-ENV): Set environment for tst-null-argv.
24390         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
24391         (RTLD_PROGNAME): New macro.
24392         * elf/tst-null-argv.c: New test case.
24393         * elf/tst-null-argv-lib.c: Library for test case.
24394         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
24395         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
24396         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
24397         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
24398         * elf/dl-init.c (call_init): Likewise.
24399         (_dl_init): Likewise.
24400         * elf/dl-load.c (print_search_path): Likewise.
24401         (_dl_map_object): Likewise.
24402         * elf/dl-lookup.c (do_lookup_x): Likewise.
24403         (add_dependency): Likewise.
24404         (_dl_lookup_symbol_x): Likewise.
24405         (_dl_debug_bindings): Likewise.
24406         * elf/dl-open.c (_dl_show_scope): Likewise.
24407         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
24408         * elf/dl-version.c (match_symbol): Likewise.
24409         (_dl_check_map_versions): Likewise.
24410         * elf/rtld.c (dl_main): Likewise.
24411         (print_unresolved): Use RTLD_PROGNAME.
24412         (print_missing_version): Likewise.
24413         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
24414         (elf_machine_rela): Likewise.
24415         * sysdeps/powerpc/powerpc32/dl-machine.c
24416         (__process_machine_rela): Likewise.
24417         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
24418         Likewise.
24419         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
24420         Likewise.
24421         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
24422         Likewise.
24423         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
24424         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
24425         Likewise.
24426         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
24427         Likewise.
24428         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
24429
24430 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
24431
24432         * po/be.po: Add descriptive title.
24433         * po/zh_CN.po: Likewise.
24434         * po/header.pot: Likewise.
24435
24436 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
24437
24438         * locale/programs/locarchive.c (create_archive): Inlucde fname in
24439         error message.
24440         (enlarge_archive): Likewise.
24441
24442 2013-05-28  Ben North  <ben@redfrontdoor.org>
24443
24444         * manual/arith.texi (frexp): It is the magnitude of the return
24445         value which lies in [0.5, 1), not the return value itself.
24446
24447 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24448
24449         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24450
24451 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
24452
24453         * stdio-common/bug26.c (main): Correct fscanf template.
24454
24455         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
24456         declare _dl_skip_args.
24457
24458         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
24459         Don't declare.
24460
24461         * manual/platform.texi: Add missing @end deftypefun.
24462
24463 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
24464
24465         [BZ #15529]
24466         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
24467         bit of mantissa of 2^16382.
24468         * math/libm-test.inc (hypot_test_data): Add more tests.
24469
24470         * math/libm-test.inc: Add drem and pow10 to list of tested
24471         functions.
24472         (pow10_test): New function.
24473         (drem_test): Likewise.
24474         (drem_test_tonearest): Likewise.
24475         (drem_test_towardzero): Likewise.
24476         (drem_test_downward): Likewise.
24477         (drem_test_upward): Likewise.
24478         (main): Call the new functions.
24479
24480         * math/libm-test.inc (finite_test_data): Remove.
24481         (finite_test): Run tests from isfinite_test_data.
24482         (gamma_test_data): Remove.
24483         (gamma_test): Run tests from lgamma_test_data.
24484         * sysdeps/i386/fpu/libm-test-ulps: Update.
24485         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24486
24487 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24488
24489         * manual/platform.texi: Add PowerPC PPR function set documentation.
24490         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
24491         implementation.
24492
24493 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
24494
24495         * math/libm-test.inc (MAX_EXP): Define.
24496         (ULPDIFF): Define.
24497         (ulp): New function.
24498         (check_float_internal): Use ULPDIFF.
24499         (cpow_test): Disable failing test.
24500         (check_ulp): Test ulp() implemetnation.
24501         (main): Call check_ulp before starting tests.
24502
24503 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
24504
24505         * math/gen-libm-test.pl (generate_testfile): Do not handle
24506         START_DATA and END_DATA.
24507         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
24508         END_DATA.
24509         (acos_tonearest_test_data): Likewise.
24510         (acos_towardzero_test_data): Likewise.
24511         (acos_downward_test_data): Likewise.
24512         (acos_upward_test_data): Likewise.
24513         (acosh_test_data): Likewise.
24514         (asin_test_data): Likewise.
24515         (asin_tonearest_test_data): Likewise.
24516         (asin_towardzero_test_data): Likewise.
24517         (asin_downward_test_data): Likewise.
24518         (asin_upward_test_data): Likewise.
24519         (asinh_test_data): Likewise.
24520         (atan_test_data): Likewise.
24521         (atanh_test_data): Likewise.
24522         (atan2_test_data): Likewise.
24523         (cabs_test_data): Likewise.
24524         (cacos_test_data): Likewise.
24525         (cacosh_test_data): Likewise.
24526         (carg_test_data): Likewise.
24527         (casin_test_data): Likewise.
24528         (casinh_test_data): Likewise.
24529         (catan_test_data): Likewise.
24530         (catanh_test_data): Likewise.
24531         (cbrt_test_data): Likewise.
24532         (ccos_test_data): Likewise.
24533         (ccosh_test_data): Likewise.
24534         (ceil_test_data): Likewise.
24535         (cexp_test_data): Likewise.
24536         (cimag_test_data): Likewise.
24537         (clog_test_data): Likewise.
24538         (clog10_test_data): Likewise.
24539         (conj_test_data): Likewise.
24540         (copysign_test_data): Likewise.
24541         (cos_test_data): Likewise.
24542         (cos_tonearest_test_data): Likewise.
24543         (cos_towardzero_test_data): Likewise.
24544         (cos_downward_test_data): Likewise.
24545         (cos_upward_test_data): Likewise.
24546         (cosh_test_data): Likewise.
24547         (cosh_tonearest_test_data): Likewise.
24548         (cosh_towardzero_test_data): Likewise.
24549         (cosh_downward_test_data): Likewise.
24550         (cosh_upward_test_data): Likewise.
24551         (cpow_test_data): Likewise.
24552         (cproj_test_data): Likewise.
24553         (creal_test_data): Likewise.
24554         (csin_test_data): Likewise.
24555         (csinh_test_data): Likewise.
24556         (csqrt_test_data): Likewise.
24557         (ctan_test_data): Likewise.
24558         (ctan_tonearest_test_data): Likewise.
24559         (ctan_towardzero_test_data): Likewise.
24560         (ctan_downward_test_data): Likewise.
24561         (ctan_upward_test_data): Likewise.
24562         (ctanh_test_data): Likewise.
24563         (ctanh_tonearest_test_data): Likewise.
24564         (ctanh_towardzero_test_data): Likewise.
24565         (ctanh_downward_test_data): Likewise.
24566         (ctanh_upward_test_data): Likewise.
24567         (erf_test_data): Likewise.
24568         (erfc_test_data): Likewise.
24569         (exp_test_data): Likewise.
24570         (exp_tonearest_test_data): Likewise.
24571         (exp_towardzero_test_data): Likewise.
24572         (exp_downward_test_data): Likewise.
24573         (exp_upward_test_data): Likewise.
24574         (exp10_test_data): Likewise.
24575         (exp2_test_data): Likewise.
24576         (expm1_test_data): Likewise.
24577         (fabs_test_data): Likewise.
24578         (fdim_test_data): Likewise.
24579         (finite_test_data): Likewise.
24580         (floor_test_data): Likewise.
24581         (fma_test_data): Likewise.
24582         (fma_towardzero_test_data): Likewise.
24583         (fma_downward_test_data): Likewise.
24584         (fma_upward_test_data): Likewise.
24585         (fmax_test_data): Likewise.
24586         (fmin_test_data): Likewise.
24587         (fmod_test_data): Likewise.
24588         (fpclassify_test_data): Likewise.
24589         (frexp_test_data): Likewise.
24590         (gamma_test_data): Likewise.
24591         (hypot_test_data): Likewise.
24592         (ilogb_test_data): Likewise.
24593         (isfinite_test_data): Likewise.
24594         (isgreater_test_data): Likewise.
24595         (isgreaterequal_test_data): Likewise.
24596         (isinf_test_data): Likewise.
24597         (isless_test_data): Likewise.
24598         (islessequal_test_data): Likewise.
24599         (islessgreater_test_data): Likewise.
24600         (isnan_test_data): Likewise.
24601         (isnormal_test_data): Likewise.
24602         (issignaling_test_data): Likewise.
24603         (isunordered_test_data): Likewise.
24604         (j0_test_data): Likewise.
24605         (j1_test_data): Likewise.
24606         (jn_test_data): Likewise.
24607         (ldexp_test_data): Likewise.
24608         (lgamma_test_data): Likewise.
24609         (lrint_test_data): Likewise.
24610         (lrint_tonearest_test_data): Likewise.
24611         (lrint_towardzero_test_data): Likewise.
24612         (lrint_downward_test_data): Likewise.
24613         (lrint_upward_test_data): Likewise.
24614         (llrint_test_data): Likewise.
24615         (llrint_tonearest_test_data): Likewise.
24616         (llrint_towardzero_test_data): Likewise.
24617         (llrint_downward_test_data): Likewise.
24618         (llrint_upward_test_data): Likewise.
24619         (log_test_data): Likewise.
24620         (log10_test_data): Likewise.
24621         (log1p_test_data): Likewise.
24622         (log2_test_data): Likewise.
24623         (logb_test_data): Likewise.
24624         (logb_downward_test_data): Likewise.
24625         (lround_test_data): Likewise.
24626         (llround_test_data): Likewise.
24627         (modf_test_data): Likewise.
24628         (nearbyint_test_data): Likewise.
24629         (nextafter_test_data): Likewise.
24630         (nexttoward_test_data): Likewise.
24631         (pow_test_data): Likewise.
24632         (pow_tonearest_test_data): Likewise.
24633         (pow_towardzero_test_data): Likewise.
24634         (pow_downward_test_data): Likewise.
24635         (pow_upward_test_data): Likewise.
24636         (remainder_test_data): Likewise.
24637         (remainder_tonearest_test_data): Likewise.
24638         (remainder_towardzero_test_data): Likewise.
24639         (remainder_downward_test_data): Likewise.
24640         (remainder_upward_test_data): Likewise.
24641         (remquo_test_data): Likewise.
24642         (rint_test_data): Likewise.
24643         (rint_tonearest_test_data): Likewise.
24644         (rint_towardzero_test_data): Likewise.
24645         (rint_downward_test_data): Likewise.
24646         (rint_upward_test_data): Likewise.
24647         (round_test_data): Likewise.
24648         (scalb_test_data): Likewise.
24649         (scalbn_test_data): Likewise.
24650         (scalbln_test_data): Likewise.
24651         (signbit_test_data): Likewise.
24652         (sin_test_data): Likewise.
24653         (sin_tonearest_test_data): Likewise.
24654         (sin_towardzero_test_data): Likewise.
24655         (sin_downward_test_data): Likewise.
24656         (sin_upward_test_data): Likewise.
24657         (sincos_test_data): Likewise.
24658         (sinh_test_data): Likewise.
24659         (sinh_tonearest_test_data): Likewise.
24660         (sinh_towardzero_test_data): Likewise.
24661         (sinh_downward_test_data): Likewise.
24662         (sinh_upward_test_data): Likewise.
24663         (sqrt_test_data): Likewise.
24664         (tan_test_data): Likewise.
24665         (tan_tonearest_test_data): Likewise.
24666         (tan_towardzero_test_data): Likewise.
24667         (tan_downward_test_data): Likewise.
24668         (tan_upward_test_data): Likewise.
24669         (tanh_test_data): Likewise.
24670         (tgamma_test_data): Likewise.
24671         (trunc_test_data): Likewise.
24672         (y0_test_data): Likewise.
24673         (y1_test_data): Likewise.
24674         (yn_test_data): Likewise.
24675         (significand_test_data): Likewise.
24676
24677         * math/gen-libm-test.pl (@functions): Remove variable.
24678         (generate_testfile): Don't handle START and END lines.
24679         * math/libm-test.inc (START): New macro.
24680         (END): Likewise.
24681         (END_COMPLEX): Likewise.
24682         (acos_test): Use END macro without arguments.
24683         (acos_test_tonearest): Likewise.
24684         (acos_test_towardzero): Likewise.
24685         (acos_test_downward): Likewise.
24686         (acos_test_upward): Likewise.
24687         (acosh_test): Likewise.
24688         (asin_test): Likewise.
24689         (asin_test_tonearest): Likewise.
24690         (asin_test_towardzero): Likewise.
24691         (asin_test_downward): Likewise.
24692         (asin_test_upward): Likewise.
24693         (asinh_test): Likewise.
24694         (atan_test): Likewise.
24695         (atanh_test): Likewise.
24696         (atan2_test): Likewise.
24697         (cabs_test): Likewise.
24698         (cacos_test): Use END_COMPLEX macro without arguments.
24699         (cacosh_test): Likewise.
24700         (carg_test): Use END macro without arguments.
24701         (casin_test): Use END_COMPLEX macro without arguments.
24702         (casinh_test): Likewise.
24703         (catan_test): Likewise.
24704         (catanh_test): Likewise.
24705         (cbrt_test): Use END macro without arguments.
24706         (ccos_test): Use END_COMPLEX macro without arguments.
24707         (ccosh_test): Likewise.
24708         (ceil_test): Use END macro without arguments.
24709         (cexp_test): Use END_COMPLEX macro without arguments.
24710         (cimag_test): Use END macro without arguments.
24711         (clog_test): Use END_COMPLEX macro without arguments.
24712         (clog10_test): Likewise.
24713         (conj_test): Likewise.
24714         (copysign_test): Use END macro without arguments.
24715         (cos_test): Likewise.
24716         (cos_test_tonearest): Likewise.
24717         (cos_test_towardzero): Likewise.
24718         (cos_test_downward): Likewise.
24719         (cos_test_upward): Likewise.
24720         (cosh_test): Likewise.
24721         (cosh_test_tonearest): Likewise.
24722         (cosh_test_towardzero): Likewise.
24723         (cosh_test_downward): Likewise.
24724         (cosh_test_upward): Likewise.
24725         (cpow_test): Use END_COMPLEX macro without arguments.
24726         (cproj_test): Likewise.
24727         (creal_test): Use END macro without arguments.
24728         (csin_test): Use END_COMPLEX macro without arguments.
24729         (csinh_test): Likewise.
24730         (csqrt_test): Likewise.
24731         (ctan_test): Likewise.
24732         (ctan_test_tonearest): Likewise.
24733         (ctan_test_towardzero): Likewise.
24734         (ctan_test_downward): Likewise.
24735         (ctan_test_upward): Likewise.
24736         (ctanh_test): Likewise.
24737         (ctanh_test_tonearest): Likewise.
24738         (ctanh_test_towardzero): Likewise.
24739         (ctanh_test_downward): Likewise.
24740         (ctanh_test_upward): Likewise.
24741         (erf_test): Use END macro without arguments.
24742         (erfc_test): Likewise.
24743         (exp_test): Likewise.
24744         (exp_test_tonearest): Likewise.
24745         (exp_test_towardzero): Likewise.
24746         (exp_test_downward): Likewise.
24747         (exp_test_upward): Likewise.
24748         (exp10_test): Likewise.
24749         (exp2_test): Likewise.
24750         (expm1_test): Likewise.
24751         (fabs_test): Likewise.
24752         (fdim_test): Likewise.
24753         (finite_test): Likewise.
24754         (floor_test): Likewise.
24755         (fma_test): Likewise.
24756         (fma_test_towardzero): Likewise.
24757         (fma_test_downward): Likewise.
24758         (fma_test_upward): Likewise.
24759         (fmax_test): Likewise.
24760         (fmin_test): Likewise.
24761         (fmod_test): Likewise.
24762         (fpclassify_test): Likewise.
24763         (frexp_test): Likewise.
24764         (gamma_test): Likewise.
24765         (hypot_test): Likewise.
24766         (ilogb_test): Likewise.
24767         (isfinite_test): Likewise.
24768         (isgreater_test): Likewise.
24769         (isgreaterequal_test): Likewise.
24770         (isinf_test): Likewise.
24771         (isless_test): Likewise.
24772         (islessequal_test): Likewise.
24773         (islessgreater_test): Likewise.
24774         (isnan_test): Likewise.
24775         (isnormal_test): Likewise.
24776         (issignaling_test): Likewise.
24777         (isunordered_test): Likewise.
24778         (j0_test): Likewise.
24779         (j1_test): Likewise.
24780         (jn_test): Likewise.
24781         (ldexp_test): Likewise.
24782         (lgamma_test): Likewise.
24783         (lrint_test): Likewise.
24784         (lrint_test_tonearest): Likewise.
24785         (lrint_test_towardzero): Likewise.
24786         (lrint_test_downward): Likewise.
24787         (lrint_test_upward): Likewise.
24788         (llrint_test): Likewise.
24789         (llrint_test_tonearest): Likewise.
24790         (llrint_test_towardzero): Likewise.
24791         (llrint_test_downward): Likewise.
24792         (llrint_test_upward): Likewise.
24793         (log_test): Likewise.
24794         (log10_test): Likewise.
24795         (log1p_test): Likewise.
24796         (log2_test): Likewise.
24797         (logb_test): Likewise.
24798         (logb_test_downward): Likewise.
24799         (lround_test): Likewise.
24800         (llround_test): Likewise.
24801         (modf_test): Likewise.
24802         (nearbyint_test): Likewise.
24803         (nextafter_test): Likewise.
24804         (nexttoward_test): Likewise.
24805         (pow_test): Likewise.
24806         (pow_test_tonearest): Likewise.
24807         (pow_test_towardzero): Likewise.
24808         (pow_test_downward): Likewise.
24809         (pow_test_upward): Likewise.
24810         (remainder_test): Likewise.
24811         (remainder_test_tonearest): Likewise.
24812         (remainder_test_towardzero): Likewise.
24813         (remainder_test_downward): Likewise.
24814         (remainder_test_upward): Likewise.
24815         (remquo_test): Likewise.
24816         (rint_test): Likewise.
24817         (rint_test_tonearest): Likewise.
24818         (rint_test_towardzero): Likewise.
24819         (rint_test_downward): Likewise.
24820         (rint_test_upward): Likewise.
24821         (round_test): Likewise.
24822         (scalb_test): Likewise.
24823         (scalbn_test): Likewise.
24824         (scalbln_test): Likewise.
24825         (signbit_test): Likewise.
24826         (sin_test): Likewise.
24827         (sin_test_tonearest): Likewise.
24828         (sin_test_towardzero): Likewise.
24829         (sin_test_downward): Likewise.
24830         (sin_test_upward): Likewise.
24831         (sincos_test): Likewise.
24832         (sinh_test): Likewise.
24833         (sinh_test_tonearest): Likewise.
24834         (sinh_test_towardzero): Likewise.
24835         (sinh_test_downward): Likewise.
24836         (sinh_test_upward): Likewise.
24837         (sqrt_test): Likewise.
24838         (tan_test): Likewise.
24839         (tan_test_tonearest): Likewise.
24840         (tan_test_towardzero): Likewise.
24841         (tan_test_downward): Likewise.
24842         (tan_test_upward): Likewise.
24843         (tanh_test): Likewise.
24844         (tgamma_test): Likewise.
24845         (trunc_test): Likewise.
24846         (y0_test): Likewise.
24847         (y1_test): Likewise.
24848         (yn_test): Likewise.
24849         (significand_test): Likewise.
24850
24851 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
24852
24853         [BZ #15381]
24854         * libio/genops.c (_IO_no_init): Initialize wide struct info.
24855
24856 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
24857
24858         [BZ #14894]
24859         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
24860         __ppc_mdoio and __ppc_mdoom.
24861         * manual/platform.texi: Document new functions __ppc_yield,
24862         __ppc_mdoio and __ppc_mdoom.
24863
24864 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
24865
24866         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
24867         (main): Mention "tls" pseudo-hwcap is legacy.
24868         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
24869
24870 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
24871
24872         * math/gen-libm-test.pl (parse_args): Output only string of
24873         arguments as text for test name, not full call or descriptions of
24874         tests for extra outputs.
24875         (generate_testfile): Do not pass function name to parse_args.
24876         Generate this_func variable from START.
24877         * math/libm-test.inc (struct test_f_f_data): Rename test_name
24878         field to arg_str.
24879         (struct test_ff_f_data): Likewise.
24880         (test_ff_f_data_nexttoward): Likewise.
24881         (struct test_fi_f_data): Likewise.
24882         (struct test_fl_f_data): Likewise.
24883         (struct test_if_f_data): Likewise.
24884         (struct test_fff_f_data): Likewise.
24885         (struct test_c_f_data): Likewise.
24886         (struct test_f_f1_data): Likewise.  Remove field extra_name.
24887         (struct test_fF_f1_data): Likewise.
24888         (struct test_ffI_f1_data): Likewise.
24889         (struct test_c_c_data): Rename test_name field to arg_str.
24890         (struct test_cc_c_data): Likewise.
24891         (struct test_f_i_data): Likewise.
24892         (struct test_ff_i_data): Likewise.
24893         (struct test_f_l_data): Likewise.
24894         (struct test_f_L_data): Likewise.
24895         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
24896         and extra2_name.
24897         (COMMON_TEST_SETUP): New macro.
24898         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
24899         (COMMON_TEST_CLEANUP): Likewise.
24900         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
24901         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
24902         macros.
24903         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
24904         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
24905         macros.
24906         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
24907         (RUN_TEST_fff_f): Take argument string.  Call new setup and
24908         cleanup macros.
24909         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
24910         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
24911         macros.
24912         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
24913         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
24914         macros.
24915         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
24916         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
24917         cleanup macros.
24918         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
24919         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
24920         cleanup macros.
24921         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
24922         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
24923         cleanup macros.
24924         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
24925         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
24926         macros.
24927         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
24928         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
24929         macros.
24930         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
24931         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
24932         macros.
24933         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
24934         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
24935         cleanup macros.
24936         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
24937         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
24938         cleanup macros.
24939         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
24940         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
24941         macros.
24942         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
24943         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
24944         cleanup macros.
24945         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
24946         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
24947         macros.
24948         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
24949         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
24950         macros.
24951         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
24952         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
24953         cleanup macros.
24954         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
24955
24956 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
24957
24958         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
24959         to _sifields.sigfault.
24960         (si_addr_lsb): Define new macro.
24961         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
24962         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
24963         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
24964
24965 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
24966
24967         [BZ #15441]
24968         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
24969         returns -1.
24970         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
24971         null return -1.
24972         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
24973         loading the domain.
24974
24975 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
24976
24977         * math/gen-libm-test.pl (parse_args): Do not include expected
24978         result in test name.
24979         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
24980         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
24981         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
24982         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
24983         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
24984         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24985
24986 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
24987
24988         * benchtests/Makefile: Sort function entries.
24989
24990         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
24991         tanh, asinh, acosh, atanh.
24992         * benchtests/acos-inputs: New file.
24993         * benchtests/acosh-inputs: New file.
24994         * benchtests/asin-inputs: New file.
24995         * benchtests/asinh-inputs: New file.
24996         * benchtests/atanh-inputs: New file.
24997         * benchtests/cosh-inputs: New file.
24998         * benchtests/log-inputs: New file.
24999         * benchtests/sinh-inputs: New file.
25000         * benchtests/tanh-inputs: New file.
25001
25002 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
25003
25004         [BZ #15339]
25005         * posix/tst-getaddrinfo4.c: New test.
25006         * posix/Makefile (tests): Add it.
25007
25008 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
25009
25010         [BZ #15339]
25011         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
25012         when no services were used.
25013         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
25014         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
25015
25016 2013-05-21  Andreas Schwab  <schwab@suse.de>
25017
25018         [BZ #15014]
25019         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
25020         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
25021         successful.
25022         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
25023         redundant variable declarations and reallocation of buffer when
25024         parsing as IPv6 address.  Always set NSS status when called from
25025         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
25026         buffer too small.  Correct computation of needed size.
25027         * nss/Makefile (tests): Add test-digits-dots.
25028         * nss/test-digits-dots.c: New test.
25029
25030 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
25031
25032         * benchtests/Makefile: Remove instructions for adding
25033         benchmark tests.
25034         * benchtests/README: New file to explain how to execute and
25035         enhance the benchmark tests.
25036
25037 2013-05-21  Andreas Schwab  <schwab@suse.de>
25038
25039         [BZ #15493]
25040         * setjmp/Makefile (tests): Add tst-sigsetjmp.
25041         * setjmp/tst-sigsetjmp.c: New test.
25042
25043 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
25044
25045         * sysdeps/x86_64/memset.S (memset): New implementation.
25046         (__bzero): Likewise.
25047         (__memset_tail): New function.
25048
25049 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
25050
25051         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
25052         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
25053         __memcpy_sse2_unaligned ifunc selection.
25054         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
25055         Add memcpy-sse2-unaligned.S.
25056         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
25057         Add: __memcpy_sse2_unaligned.
25058
25059 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
25060
25061         [BZ #15490]
25062         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
25063         math_force_eval before restoring floating-point envrionment.
25064         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
25065         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
25066         Likewise.
25067         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
25068         <math_private.h>.
25069         (__nearbyintl): Use math_force_eval before restoring
25070         floating-point environment.
25071         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
25072
25073         * math/gen-libm-test.pl (special_functions): Remove.
25074         (parse_args): Don't handle TEST_extra.  Handle functions with no
25075         return value.
25076         * math/libm-test.inc (struct test_sincos_data): Replace with
25077         struct test_fFF_11_data.
25078         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
25079         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
25080         (sincos_test_data): Change element type to struct
25081         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
25082         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
25083         RUN_TEST_LOOP_sincos.
25084         * math/README.libm-test: Don't mention special handling of
25085         individual functions.
25086         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
25087         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
25088         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
25089         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
25090         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
25091         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25092
25093         * math/gen-libm-test.pl (get_variable): Remove function.
25094         (parse_args): Don't show pointer parameters to call in test
25095         names.  Use "extra output N" in test names for extra outputs
25096         rather than naming variables.
25097
25098 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
25099
25100         [BZ #15488]
25101         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
25102         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
25103         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
25104         double tests.
25105         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
25106         disable.
25107         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
25108         check_long_double.
25109
25110         * math/gen-libm-test.pl (@tests): Remove variable.
25111         ($count): Likewise.
25112         (new_test): Remove function.
25113         (show_exceptions): New function.
25114         (special_functions): Use show_exceptions instead of new_test.
25115         (parse_args): Likewise.
25116         (generate_testfile): Pass only function name in generated call to
25117         print_max_error or print_complex_max_error.
25118         (get_ulps): Do not handle complex tests specially.
25119         (output_test): Rename to ...
25120         (get_all_ulps_for_test): ... this.  Return a string rather than
25121         printing to a file.  Require ulps to be present.
25122         (output_ulps): Generate arrays rather than #defines.
25123         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
25124         (struct ulp_data): New type.
25125         (BUILD_COMPLEX_ULP): Remove macro.
25126         (compare_ulp_data): New function.
25127         (find_ulps): Likewise.
25128         (find_test_ulps): Likewise.
25129         (find_function_ulps): Likewise.
25130         (find_complex_function_ulps): Likewise.
25131         (print_max_error): Determine allowed ulps using
25132         find_function_ulps.
25133         (print_complex_max_error): Determine allowed ulps using
25134         find_complex_function_ulps.
25135         (check_float_internal): Determine max ulps using find_test_ulps.
25136         (check_float): Do not take max_ulp parameter.  Update call to
25137         check_float_internal.
25138         (check_complex): Likewise.
25139         (check_int): Do not take max_ulp parameter.
25140         (check_long): Likewise.
25141         (check_bool): Likewise.
25142         (check_longlong): Likewise.
25143         (struct test_f_f_data): Remove max_ulp field.
25144         (struct test_ff_f_data): Likewise.
25145         (struct test_ff_f_data_nexttoward): Likewise.
25146         (struct test_fi_f_data): Likewise.
25147         (struct test_fl_f_data): Likewise.
25148         (struct test_if_f_data): Likewise.
25149         (struct test_fff_f_data): Likewise.
25150         (struct test_c_f_data): Likewise.
25151         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
25152         (struct test_fF_f1_data): Likewise.
25153         (struct test_ffI_f1_data): Likewise.
25154         (struct test_c_c_data): Remove max_ulp field.
25155         (struct test_cc_c_data): Likewise.
25156         (struct test_f_i_data): Likewise.
25157         (struct test_ff_i_data): Likewise.
25158         (struct test_f_l_data): Likewise.
25159         (struct test_f_L_data): Likewise.
25160         (struct test_sincos_data): Likewise.
25161         (RUN_TEST_f_f): Do not handle ulps.
25162         (RUN_TEST_LOOP_f_f): Likewise.
25163         (RUN_TEST_2_f): Likewise.
25164         (RUN_TEST_LOOP_2_f): Likewise.
25165         (RUN_TEST_fff_f): Likewise.
25166         (RUN_TEST_LOOP_fff_f): Likewise.
25167         (RUN_TEST_c_f): Likewise.
25168         (RUN_TEST_LOOP_c_f): Likewise.
25169         (RUN_TEST_f_f1): Likewise.
25170         (RUN_TEST_LOOP_f_f1): Likewise.
25171         (RUN_TEST_fF_f1): Likewise.
25172         (RUN_TEST_LOOP_fF_f1): Likewise.
25173         (RUN_TEST_fI_f1): Likewise.
25174         (RUN_TEST_LOOP_fI_f1): Likewise.
25175         (RUN_TEST_ffI_f1): Likewise.
25176         (RUN_TEST_LOOP_ffI_f1): Likewise.
25177         (RUN_TEST_c_c): Likewise.
25178         (RUN_TEST_LOOP_c_c): Likewise.
25179         (RUN_TEST_cc_c): Likewise.
25180         (RUN_TEST_LOOP_cc_c): Likewise.
25181         (RUN_TEST_f_i): Likewise.
25182         (RUN_TEST_LOOP_f_i): Likewise.
25183         (RUN_TEST_f_i_tg): Likewise.
25184         (RUN_TEST_LOOP_f_i_tg): Likewise.
25185         (RUN_TEST_ff_i_tg): Likewise.
25186         (RUN_TEST_LOOP_ff_i_tg): Likewise.
25187         (RUN_TEST_f_b): Likewise.
25188         (RUN_TEST_LOOP_f_b): Likewise.
25189         (RUN_TEST_f_b_tg): Likewise.
25190         (RUN_TEST_LOOP_f_b_tg): Likewise.
25191         (RUN_TEST_f_l): Likewise.
25192         (RUN_TEST_LOOP_f_l): Likewise.
25193         (RUN_TEST_f_L): Likewise.
25194         (RUN_TEST_LOOP_f_L): Likewise.
25195         (RUN_TEST_sincos): Likewise.
25196         (RUN_TEST_LOOP_sincos): Likewise.
25197
25198 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
25199
25200         [BZ #15480]
25201         [BZ #15485]
25202         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
25203         main case of finite arguments, set rounding mode to FE_TONEAREST
25204         and discard exceptions.
25205         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
25206         exceptions.
25207         (remainder_tonearest_test_data): New variable.
25208         (remainder_test_tonearest): New function.
25209         (remainder_towardzero_test_data): New variable.
25210         (remainder_test_towardzero): New function.
25211         (remainder_downward_test_data): New variable.
25212         (remainder_test_downward): New function.
25213         (remainder_upward_test_data): New variable.
25214         (remainder_test_upward): New function.
25215         (main): Call the new test functions.
25216
25217         * math/libm-test.inc (struct test_f_f1_data): Remove field
25218         extra_init.
25219         (struct test_fF_f1_data): Likewise.
25220         (struct test_ffI_f1_data): Likewise.
25221         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
25222         based on value of EXTRA_EXPECTED.
25223         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
25224         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
25225         EXTRA_VAR based on value of EXTRA_EXPECTED.
25226         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
25227         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
25228         EXTRA_VAR based on value of EXTRA_EXPECTED.
25229         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
25230         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
25231         EXTRA_VAR based on value of EXTRA_EXPECTED.
25232         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
25233         * math/gen-libm-test.pl (parse_args): Don't output initializers
25234         for extra output values.
25235
25236         * math/libm-test.inc (check_int): Expect result to be exactly
25237         equal to expected value and do not handle ulps.
25238         (check_long): Likewise.
25239         (check_longlong): Likewise.
25240
25241         * math/libm-test.inc (ceil_test_data): Test for "inexact"
25242         exceptions.
25243         (cimag_test_data): Likewise.
25244         (conj_test_data): Likewise.
25245         (copysign_test_data): Likewise.
25246         (cproj_test_data): Likewise.
25247         (creal_test_data): Likewise.
25248         (fabs_test_data): Likewise.
25249         (fdim_test_data): Likewise.
25250         (finite_test_data): Likewise.
25251         (floor_test_data): Likewise.
25252         (fmax_test_data): Likewise.
25253         (fmin_test_data): Likewise.
25254         (fmod_test_data): Likewise.
25255         (fpclassify_test_data): Likewise.
25256         (frexp_test_data): Likewise.
25257         (ilogb_test_data): Likewise.
25258         (isfinite_test_data): Likewise.
25259         (isgreater_test_data): Likewise.
25260         (isgreaterequal_test_data): Likewise.
25261         (isinf_test_data): Likewise.
25262         (isless_test_data): Likewise.
25263         (islessequal_test_data): Likewise.
25264         (islessgreater_test_data): Likewise.
25265         (isnan_test_data): Likewise.
25266         (isnormal_test_data): Likewise.
25267         (issignaling_test_data): Likewise.
25268         (isunordered_test_data): Likewise.
25269         (ldexp_test_data): Likewise.
25270         (lrint_test_data): Likewise.
25271         (lrint_test_data) [TEST_FLOAT]: Disable one test.
25272         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
25273         (lrint_tonearest_test_data): Test for "inexact" exceptions.
25274         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
25275         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
25276         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
25277         test input.
25278         (lrint_towardzero_test_data): Test for "inexact" exceptions.
25279         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
25280         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
25281         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
25282         that test input.
25283         (lrint_downward_test_data): Test for "inexact" exceptions.
25284         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
25285         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
25286         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
25287         test input.
25288         (lrint_upward_test_data): Test for "inexact" exceptions.
25289         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
25290         test input.
25291         (llrint_test_data): Test for "inexact" exceptions.
25292         (llrint_test_data) [TEST_FLOAT]: Disable one test.
25293         (llrint_tonearest_test_data): Test for "inexact" exceptions.
25294         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
25295         (llrint_towardzero_test_data): Test for "inexact" exceptions.
25296         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
25297         (llrint_downward_test_data): Test for "inexact" exceptions.
25298         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
25299         (llrint_upward_test_data): Test for "inexact" exceptions.
25300         (logb_test_data): Likewise.
25301         (logb_downward_test_data): Likewise.
25302         (nextafter_test_data): Likewise.
25303         (nexttoward_test_data): Likewise.
25304         (remainder_test_data): Likewise.
25305         (remquo_test_data): Likewise.
25306         (scalbn_test_data): Likewise.
25307         (scalbln_test_data): Likewise.
25308         (signbit_test_data): Likewise.
25309         (sqrt_test_data): Likewise.
25310         (significand_test_data): Likewise.
25311
25312 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
25313
25314         [BZ #15424]
25315         * benchtests/bench-modf.c (struct args): Mark arg0 as
25316         volatile.
25317         * scripts/bench.pl: Mark members of struct args as volatile.
25318
25319 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25320
25321         [BZ # 15497]
25322         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
25323         negative infinity on POWER6 or lower.
25324         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
25325
25326 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
25327
25328         [BZ #15442]
25329         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
25330         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
25331         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
25332         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
25333         (_FP_SETQNAN): New macro.
25334         (_FP_SETQNAN_SEMIRAW): Likewise.
25335         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
25336         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
25337         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
25338         (FP_EXTEND): Use _FP_FRAC_SNANP.
25339         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
25340         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
25341         into account.
25342         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
25343         New macro.
25344         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
25345         Likewise.
25346
25347 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
25348
25349         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
25350         with DIVIDE_BY_ZERO_EXCEPTION.
25351         (gamma_test_data): Likewise.
25352         (lgamma_test_data): Likewise.
25353         (log_test_data): Likewise.
25354         (log10_test_data): Likewise.
25355         (log2_test_data): Likewise.
25356         (tgamma_test_data): Likewise.
25357
25358         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
25359         (acos_test_tonearest): Likewise.
25360         (acos_test_towardzero): Likewise.
25361         (acos_test_downward): Likewise.
25362         (acos_test_upward): Likewise.
25363         (acosh_test): Likewise.
25364         (asin_test): Likewise.
25365         (asin_test_tonearest): Likewise.
25366         (asin_test_towardzero): Likewise.
25367         (asin_test_downward): Likewise.
25368         (asin_test_upward): Likewise.
25369         (asinh_test): Likewise.
25370         (atan_test): Likewise.
25371         (atanh_test): Likewise.
25372         (atan2_test): Likewise.
25373         (cabs_test): Likewise.
25374         (cacos_test): Likewise.
25375         (cacosh_test): Likewise.
25376         (casin_test): Likewise.
25377         (casinh_test): Likewise.
25378         (catan_test): Likewise.
25379         (catanh_test): Likewise.
25380         (cbrt_test): Likewise.
25381         (ccos_test): Likewise.
25382         (ccosh_test): Likewise.
25383         (cexp_test): Likewise.
25384         (clog_test): Likewise.
25385         (clog10_test): Likewise.
25386         (cos_test): Likewise.
25387         (cos_test_tonearest): Likewise.
25388         (cos_test_towardzero): Likewise.
25389         (cos_test_downward): Likewise.
25390         (cos_test_upward): Likewise.
25391         (cosh_test): Likewise.
25392         (cosh_test_tonearest): Likewise.
25393         (cosh_test_towardzero): Likewise.
25394         (cosh_test_downward): Likewise.
25395         (cosh_test_upward): Likewise.
25396         (cpow_test): Likewise.
25397         (csin_test): Likewise.
25398         (csinh_test): Likewise.
25399         (csqrt_test): Likewise.
25400         (ctan_test): Likewise.
25401         (ctan_test_tonearest): Likewise.
25402         (ctan_test_towardzero): Likewise.
25403         (ctan_test_downward): Likewise.
25404         (ctan_test_upward): Likewise.
25405         (ctanh_test): Likewise.
25406         (ctanh_test_tonearest): Likewise.
25407         (ctanh_test_towardzero): Likewise.
25408         (ctanh_test_downward): Likewise.
25409         (ctanh_test_upward): Likewise.
25410         (erf_test): Likewise.
25411         (erfc_test): Likewise.
25412         (exp_test): Likewise.
25413         (exp_test_tonearest): Likewise.
25414         (exp_test_towardzero): Likewise.
25415         (exp_test_downward): Likewise.
25416         (exp_test_upward): Likewise.
25417         (exp10_test): Likewise.
25418         (exp2_test): Likewise.
25419         (expm1_test): Likewise.
25420         (fmod_test): Likewise.
25421         (gamma_test): Likewise.
25422         (hypot_test): Likewise.
25423         (j0_test): Likewise.
25424         (j1_test): Likewise.
25425         (jn_test): Likewise.
25426         (lgamma_test): Likewise.
25427         (log_test): Likewise.
25428         (log10_test): Likewise.
25429         (log1p_test): Likewise.
25430         (log2_test): Likewise.
25431         (logb_test_downward): Likewise.
25432         (pow_test): Likewise.
25433         (pow_test_tonearest): Likewise.
25434         (pow_test_towardzero): Likewise.
25435         (pow_test_downward): Likewise.
25436         (pow_test_upward): Likewise.
25437         (remainder_test): Likewise.
25438         (remquo_test): Likewise.
25439         (sin_test): Likewise.
25440         (sin_test_tonearest): Likewise.
25441         (sin_test_towardzero): Likewise.
25442         (sin_test_downward): Likewise.
25443         (sin_test_upward): Likewise.
25444         (sincos_test): Likewise.
25445         (sinh_test): Likewise.
25446         (sinh_test_tonearest): Likewise.
25447         (sinh_test_towardzero): Likewise.
25448         (sinh_test_downward): Likewise.
25449         (sinh_test_upward): Likewise.
25450         (sqrt_test): Likewise.
25451         (tan_test): Likewise.
25452         (tan_test_tonearest): Likewise.
25453         (tan_test_towardzero): Likewise.
25454         (tan_test_downward): Likewise.
25455         (tan_test_upward): Likewise.
25456         (tanh_test): Likewise.
25457         (tgamma_test): Likewise.
25458         (y0_test): Likewise.
25459         (y1_test): Likewise.
25460         (yn_test): Likewise.
25461
25462         * math/gen-libm-test.pl (adjust_arg): Remove function.
25463         (special_function): Remove argument $in_func.  Only handle
25464         generating output for tables of tests, not inside functions.
25465         (parse_args): Likewise.
25466         (generate_testfile): Remove variable $in_func.  Update call to
25467         parse_args.
25468         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
25469         (MINUS_ZERO_INIT): Rename macro to minus_zero.
25470         (PLUS_INFTY_INIT): Rename macro to plus_infty.
25471         (MINUS_INFTY_INIT): Rename macro to minus_infty.
25472         (QNAN_VALUE_INIT): Rename macro to qnan_value.
25473         (MAX_VALUE_INIT): Rename macro to max_value.
25474         (MIN_VALUE_INIT): Rename macro to min_value.
25475         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
25476         (plus_zero): Remove variable.
25477         (minus_zero): Likewise.
25478         (plus_infty): Likewise.
25479         (minus_infty): Likewise.
25480         (qnan_value): Likewise.
25481         (max_value): Likewise.
25482         (min_value): Likewise.
25483         (min_subnorm_value): Likewise.
25484
25485 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
25486
25487         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
25488         uint64_t or uint32_t usage.
25489         * crypt/sha256-block.c: Likewise.
25490         * crypt/sha256-crypt.c: Likewise.
25491         * crypt/sha256.c: Likewise.
25492         * crypt/sha512-block.c: Likewise.
25493         * crypt/sha512-crypt.c: Likewise.
25494         * crypt/sha512.c: Likewise.
25495         * debug/backtrace-tst.c: Likewise.
25496         * debug/pcprofiledump.c: Likewise.
25497         * elf/cache.c: Likewise.
25498         * elf/dl-cache.c: Likewise.
25499         * elf/dl-misc.c: Likewise.
25500         * elf/dl-profile.c: Likewise.
25501         * elf/dl-support.c: Likewise.
25502         * elf/ldconfig.c: Likewise.
25503         * elf/sprof.c: Likewise.
25504         * iconv/dummy-repertoire.c: Likewise.
25505         * iconv/iconv_charmap.c: Likewise.
25506         * iconv/skeleton.c: Likewise.
25507         * iconvdata/8bit-generic.c: Likewise.
25508         * iconvdata/cp737.h: Likewise.
25509         * iconvdata/cp775.h: Likewise.
25510         * iconvdata/ibm1008.h: Likewise.
25511         * iconvdata/ibm1025.h: Likewise.
25512         * iconvdata/ibm1046.h: Likewise.
25513         * iconvdata/ibm1097.h: Likewise.
25514         * iconvdata/ibm1112.h: Likewise.
25515         * iconvdata/ibm1122.h: Likewise.
25516         * iconvdata/ibm1123.h: Likewise.
25517         * iconvdata/ibm1124.h: Likewise.
25518         * iconvdata/ibm1129.h: Likewise.
25519         * iconvdata/ibm1130.h: Likewise.
25520         * iconvdata/ibm1132.h: Likewise.
25521         * iconvdata/ibm1133.h: Likewise.
25522         * iconvdata/ibm1137.h: Likewise.
25523         * iconvdata/ibm1140.h: Likewise.
25524         * iconvdata/ibm1141.h: Likewise.
25525         * iconvdata/ibm1142.h: Likewise.
25526         * iconvdata/ibm1143.h: Likewise.
25527         * iconvdata/ibm1144.h: Likewise.
25528         * iconvdata/ibm1145.h: Likewise.
25529         * iconvdata/ibm1146.h: Likewise.
25530         * iconvdata/ibm1147.h: Likewise.
25531         * iconvdata/ibm1148.h: Likewise.
25532         * iconvdata/ibm1149.h: Likewise.
25533         * iconvdata/ibm1153.h: Likewise.
25534         * iconvdata/ibm1154.h: Likewise.
25535         * iconvdata/ibm1155.h: Likewise.
25536         * iconvdata/ibm1156.h: Likewise.
25537         * iconvdata/ibm1157.h: Likewise.
25538         * iconvdata/ibm1158.h: Likewise.
25539         * iconvdata/ibm1160.h: Likewise.
25540         * iconvdata/ibm1161.h: Likewise.
25541         * iconvdata/ibm1162.h: Likewise.
25542         * iconvdata/ibm1163.h: Likewise.
25543         * iconvdata/ibm1164.h: Likewise.
25544         * iconvdata/ibm1166.h: Likewise.
25545         * iconvdata/ibm1167.h: Likewise.
25546         * iconvdata/ibm12712.h: Likewise.
25547         * iconvdata/ibm1390.h: Likewise.
25548         * iconvdata/ibm1399.h: Likewise.
25549         * iconvdata/ibm16804.h: Likewise.
25550         * iconvdata/ibm4517.h: Likewise.
25551         * iconvdata/ibm4899.h: Likewise.
25552         * iconvdata/ibm4909.h: Likewise.
25553         * iconvdata/ibm4971.h: Likewise.
25554         * iconvdata/ibm5347.h: Likewise.
25555         * iconvdata/ibm803.h: Likewise.
25556         * iconvdata/ibm856.h: Likewise.
25557         * iconvdata/ibm901.h: Likewise.
25558         * iconvdata/ibm902.h: Likewise.
25559         * iconvdata/ibm9030.h: Likewise.
25560         * iconvdata/ibm9066.h: Likewise.
25561         * iconvdata/ibm921.h: Likewise.
25562         * iconvdata/ibm922.h: Likewise.
25563         * iconvdata/ibm9448.h: Likewise.
25564         * iconvdata/isiri-3342.h: Likewise.
25565         * iconvdata/jis0201.h: Likewise.
25566         * include/link.h: Likewise.
25567         * include/netdb.h: Likewise.
25568         * inet/check_native.c: Likewise.
25569         * inet/check_pf.c: Likewise.
25570         * inet/getipv4sourcefilter.c: Likewise.
25571         * inet/getnameinfo.c: Likewise.
25572         * inet/getsourcefilter.c: Likewise.
25573         * inet/htonl.c: Likewise.
25574         * inet/setipv4sourcefilter.c: Likewise.
25575         * inet/setsourcefilter.c: Likewise.
25576         * inet/test-inet6_opt.c: Likewise.
25577         * inet/tst-network.c: Likewise.
25578         * locale/C-collate.c: Likewise.
25579         * locale/C-ctype.c: Likewise.
25580         * locale/C-time.c: Likewise.
25581         * locale/C-translit.h: Likewise.
25582         * locale/loadarchive.c: Likewise.
25583         * locale/programs/3level.h: Likewise.
25584         * locale/programs/charmap.c: Likewise.
25585         * locale/programs/charmap.h: Likewise.
25586         * locale/programs/ld-address.c: Likewise.
25587         * locale/programs/ld-collate.c: Likewise.
25588         * locale/programs/ld-ctype.c: Likewise.
25589         * locale/programs/ld-identification.c: Likewise.
25590         * locale/programs/ld-measurement.c: Likewise.
25591         * locale/programs/ld-messages.c: Likewise.
25592         * locale/programs/ld-monetary.c: Likewise.
25593         * locale/programs/ld-name.c: Likewise.
25594         * locale/programs/ld-numeric.c: Likewise.
25595         * locale/programs/ld-paper.c: Likewise.
25596         * locale/programs/ld-telephone.c: Likewise.
25597         * locale/programs/ld-time.c: Likewise.
25598         * locale/programs/linereader.c: Likewise.
25599         * locale/programs/locale.c: Likewise.
25600         * locale/programs/locarchive.c: Likewise.
25601         * locale/programs/locfile.h: Likewise.
25602         * locale/programs/repertoire.c: Likewise.
25603         * locale/programs/simple-hash.c: Likewise.
25604         * locale/programs/simple-hash.h: Likewise.
25605         * malloc/memusage.c: Likewise.
25606         * malloc/memusagestat.c: Likewise.
25607         * nis/nis_defaults.c: Likewise.
25608         * nis/nis_hash.c: Likewise.
25609         * nis/nis_print.c: Likewise.
25610         * nis/nis_xdr.c: Likewise.
25611         * nscd/connections.c: Likewise.
25612         * nscd/hstcache.c: Likewise.
25613         * nscd/nscd_gethst_r.c: Likewise.
25614         * nscd/nscd_getserv_r.c: Likewise.
25615         * nscd/nscd_helper.c: Likewise.
25616         * nscd/servicescache.c: Likewise.
25617         * nss/makedb.c: Likewise.
25618         * nss/nss_db/db-XXX.c: Likewise.
25619         * nss/nss_db/db-initgroups.c: Likewise.
25620         * nss/nss_db/db-netgrp.c: Likewise.
25621         * nss/nss_files/files-network.c: Likewise.
25622         * nss/nss_files/files-parse.c: Likewise.
25623         * posix/bug-regex5.c: Likewise.
25624         * posix/fnmatch_loop.c: Likewise.
25625         * posix/regcomp.c: Likewise.
25626         * posix/regexec.c: Likewise.
25627         * posix/tst-rfc3484-2.c: Likewise.
25628         * posix/tst-rfc3484-3.c: Likewise.
25629         * posix/tst-rfc3484.c: Likewise.
25630         * resolv/nss_dns/dns-canon.c: Likewise.
25631         * resolv/nss_dns/dns-network.c: Likewise.
25632         * resolv/res_init.c: Likewise.
25633         * resolv/res_mkquery.c: Likewise.
25634         * resolv/tst-aton.c: Likewise.
25635         * stdlib/cxa_atexit.c: Likewise.
25636         * stdlib/cxa_finalize.c: Likewise.
25637         * stdlib/gen-fpioconst.c: Likewise.
25638         * stdlib/strtol_l.c: Likewise.
25639         * string/tst-endian.c: Likewise.
25640         * sunrpc/auth_des.c: Likewise.
25641         * sunrpc/clnt_udp.c: Likewise.
25642         * sunrpc/rtime.c: Likewise.
25643         * sunrpc/svcauth_des.c: Likewise.
25644         * sunrpc/xdr.c: Likewise.
25645         * sunrpc/xdr_intXX_t.c: Likewise.
25646         * sunrpc/xdr_rec.c: Likewise.
25647         * sysdeps/generic/ldconfig.h: Likewise.
25648         * sysdeps/generic/ldsodefs.h: Likewise.
25649         * sysdeps/generic/memusage.h: Likewise.
25650         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
25651         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
25652         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
25653         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
25654         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
25655         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
25656         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
25657         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
25658         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
25659         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
25660         * sysdeps/posix/getaddrinfo.c: Likewise.
25661         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
25662         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
25663         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
25664         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
25665         * sysdeps/powerpc/test-gettimebase.c: Likewise.
25666         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
25667         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
25668         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
25669         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
25670         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
25671         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
25672         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
25673         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
25674         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
25675         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
25676         * sysdeps/x86_64/dl-tls.h: Likewise.
25677         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
25678         * time/alt_digit.c: Likewise.
25679         * time/era.c: Likewise.
25680         * wcsmbs/tst-c16c32-1.c: Likewise.
25681
25682 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
25683
25684         * math/libm-test.inc (struct test_sincos_data): New type.
25685         (RUN_TEST_LOOP_sincos): New macro.
25686         (sincos_test_data): New variable.
25687         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
25688
25689 2013-05-16  Richard Henderson  <rth@redhat.com>
25690
25691         * math/atest-exp2.c (LIMB64): New macro.
25692         (CONSTSZ): New macro.
25693         (mp_exp1, mp_exp_m1, mp_log2): New variables.
25694         (hexdig): Move ...
25695         (print_mpn_fp): ... to function scope.
25696         (read_mpn_hex): Remove.
25697         (get_log2): Remove.
25698         (exp2_mpn): Use mp_log2.
25699         (main): Use mp_exp1.
25700
25701 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
25702
25703         * math/libm-test.inc: Remove comment about not testing "inexact"
25704         exceptions.
25705         (INEXACT_EXCEPTION): New macro.
25706         (NO_INEXACT_EXCEPTION): Likewise.
25707         (INVALID_EXCEPTION_OK): Update value.
25708         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
25709         (OVERFLOW_EXCEPTION_OK): Likewise.
25710         (UNDERFLOW_EXCEPTION_OK): Likewise.
25711         (IGNORE_ZERO_INF_SIGN): Likewise.
25712         (ERRNO_UNCHANGED): Likewise.
25713         (ERRNO_EDOM): Likewise.
25714         (ERRNO_ERANGE): Likewise.
25715         (test_exceptions): Handle testing "inexact" exceptions.
25716         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
25717         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
25718         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
25719         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
25720         INEXACT_EXCEPTION.
25721         (rint_towardzero_test_data): Likewise.
25722         (rint_downward_test_data): Likewise.
25723         (rint_upward_test_data): Likewise.
25724
25725         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
25726         with OVERFLOW_EXCEPTION.
25727         (exp10_test_data): Likewise.
25728         (exp2_test_data): Likewise.
25729         (expm1_test_data): Likewise.
25730         (lgamma_test_data): Likewise.
25731         (pow_test_data): Likewise.
25732         (tgamma_test_data): Likewise.
25733         (yn_test_data): Remove duplicate test of overflow.
25734
25735         * math/libm-test.inc (struct test_cc_c_data): New type.
25736         (RUN_TEST_LOOP_cc_c): New macro.
25737         (cpow_test_data): New variable.
25738         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
25739
25740         * math/libm-test.inc (struct test_f_L_data): New type.
25741         (RUN_TEST_LOOP_f_L): New macro.
25742         (llrint_test_data): New variable.
25743         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
25744         (llrint_tonearest_test_data): New variable.
25745         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
25746         (llrint_towardzero_test_data): New variable.
25747         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
25748         (llrint_downward_test_data): New variable.
25749         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
25750         (llrint_upward_test_data): New variable.
25751         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
25752         (llround_test_data): New variable.
25753         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
25754
25755 2013-05-13  Peter Collingbourne  <pcc@google.com>
25756
25757         * math/atest-exp2.c (get_log2): Remove const attribute.
25758
25759 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
25760
25761         * math/libm-test.inc (struct test_f_l_data): New type.
25762         (RUN_TEST_LOOP_f_l): New macro.
25763         (lrint_test_data): New variable.
25764         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
25765         (lrint_tonearest_test_data): New variable.
25766         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
25767         (lrint_towardzero_test_data): New variable.
25768         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
25769         (lrint_downward_test_data): New variable.
25770         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
25771         (lrint_upward_test_data): New variable.
25772         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
25773         (lround_test_data): New variable.
25774         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
25775
25776 2013-05-15  Peter Collingbourne  <pcc@google.com>
25777
25778         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
25779         (EXTRACT_WORDS64) Use where appropriate.
25780         (INSERT_WORDS64) Likewise.
25781
25782         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
25783         constraints with x constraints.
25784         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
25785
25786         * malloc/obstack.c (_obstack_compat): Add initializer.
25787
25788 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
25789
25790         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
25791         si_trapno and add si_addr_lsb to _sifields.sigfault.
25792         (si_trapno): Remove macro.
25793         (si_addr_lsb): Define new macro.
25794         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
25795
25796 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
25797
25798         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
25799         instead of TEST_f_l.
25800         (llrint_test_tonearest): Likewise.
25801         (llrint_test_towardzero): Likewise.
25802         (llrint_test_downward): Likewise.
25803         (llrint_test_upward): Likewise.
25804         (llround_test): Likewise.
25805
25806         * math/libm-test.inc (struct test_f_i_data): Add comment.
25807         (RUN_TEST_LOOP_f_b): New macro.
25808         (RUN_TEST_LOOP_f_b_tg): Likewise.
25809         (finite_test_data): New variable.
25810         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
25811         (isfinite_test_data): New variable.
25812         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
25813         (isinf_test_data): New variable.
25814         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
25815         (isnan_test_data): New variable.
25816         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
25817         (isnormal_test_data): New variable.
25818         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
25819         (issignaling_test_data): New variable.
25820         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
25821         (signbit_test_data): New variable.
25822         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
25823
25824         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
25825         with INVALID_EXCEPTION.
25826         (acosh_test_data): Likewise.
25827         (asin_test_data): Likewise.
25828         (atanh_test_data): Likewise.
25829         (fmod_test_data): Likewise.
25830         (log_test_data): Likewise.
25831         (log10_test_data): Likewise.
25832         (log2_test_data): Likewise.
25833         (pow_test_data): Likewise.
25834         (sqrt_test_data): Likewise.
25835         (y0_test_data): Likewise.
25836         (y1_test_data): Likewise.
25837         (yn_test_data): Likewise.
25838
25839         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
25840         function contents.
25841
25842         * math/libm-test.inc (struct test_ff_i_data): New type.
25843         (RUN_TEST_LOOP_ff_i_tg): New macro.
25844         (isgreater_test_data): New variable.
25845         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
25846         (isgreaterequal_test_data): New variable.
25847         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
25848         (isless_test_data): New variable.
25849         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
25850         (islessequal_test_data): New variable.
25851         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
25852         (islessgreater_test_data): New variable.
25853         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
25854         (isunordered_test_data): New variable.
25855         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
25856
25857 2013-05-14  David S. Miller  <davem@davemloft.net>
25858
25859         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25860
25861 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
25862
25863         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
25864
25865         * math/libm-test.inc (struct test_fF_f1_data): Change type of
25866         extra_test to int.
25867         (struct test_f_i_data): Change type of max_ulp to int.
25868
25869         * math/libm-test.inc (test_ffI_f1_data): New type.
25870         (RUN_TEST_LOOP_ffI_f1): New macro.
25871         (remquo_test_data): New variable.
25872         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
25873
25874         * setjmp/tst-setjmp-fp.c: New file.
25875         * setjmp/Makefile (tests): Add tst-setjmp-fp.
25876         (link-libm): New variable.
25877         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
25878
25879         * math/libm-test.inc (struct test_f_i_data): New type.
25880         (RUN_TEST_LOOP_f_i): New macro.
25881         (RUN_TEST_LOOP_f_i_tg): Likewise.
25882         (fpclassify_test_data): New variable.
25883         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
25884         (ilogb_test_data): New variable.
25885         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
25886
25887         * math/libm-test.inc (scalbln_test): Correct function name in END
25888         call.
25889
25890         * math/libm-test.inc (struct test_f_f1_data): Add comment.
25891         (RUN_TEST_LOOP_fI_f1): New macro.
25892         (frexp_test_data): New variable.
25893         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
25894
25895         * math/libm-test.inc (struct test_fF_f1_data): New type.
25896         (RUN_TEST_LOOP_fF_f1): New macro.
25897         (modf_test_data): New variable.
25898         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
25899
25900         * math/libm-test.inc (struct test_f_f1_data): New type.
25901         (RUN_TEST_LOOP_f_f1): New macro.
25902         (gamma_test_data): New variable.
25903         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
25904         (lgamma_test_data): New variable.
25905         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
25906
25907 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
25908
25909         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
25910         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
25911         (main): Comment "tls" pseudo-hwcap.
25912
25913 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
25914
25915         * math/libm-test.inc (struct test_fl_f_data): New type.
25916         (RUN_TEST_LOOP_fl_f): New variable.
25917         (scalbln_test_data): New variable.
25918         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
25919
25920         * math/libm-test.inc (struct test_fi_f_data): New type.
25921         (RUN_TEST_LOOP_fi_f): New macro.
25922         (ldexp_test_data): New variable.
25923         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
25924         (scalbn_test_data): New variable.
25925         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
25926
25927         * math/libm-test.inc (struct test_c_f_data): New type.
25928         (RUN_TEST_LOOP_c_f): New macro.
25929         (cabs_test_data): New variable.
25930         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
25931         (carg_test_data): New variable.
25932         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
25933         (cimag_test_data): New variable.
25934         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
25935         (creal_test_data): New variable.
25936         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
25937
25938         * math/libm-test.inc (struct test_if_f_data): New type.
25939         (RUN_TEST_LOOP_if_f): New macro.
25940         (jn_test_data): New variable.
25941         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
25942         (yn_test_data): New variable.
25943         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
25944
25945         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
25946
25947 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25948
25949         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
25950         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
25951
25952 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
25953
25954         * benchtests/Makefile (CPPFLAGS-nonlib): Add
25955         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
25956         (bench-deps): Add bench-timing.h.
25957         * benchtests-bench-skeleton.c: Include bench-timing.h.
25958         (main): Use TIMING_* macros instead of clock_gettime.
25959         * benchtests/bench-timing.h: New file.
25960
25961         [BZ #14582]
25962         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
25963         Renamed from _LIB_VERSION.
25964         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
25965
25966 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
25967
25968         * math/libm-test.inc (struct test_fff_f_data): New type.
25969         (RUN_TEST_LOOP_fff_f): New macro.
25970         (fma_test_data): New variable.
25971         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
25972         (fma_towardzero_test_data): New variable.
25973         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
25974         (fma_downward_test_data): New variable.
25975         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
25976         (fma_upward_test_data): New variable.
25977         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
25978
25979         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
25980         (struct test_c_c_data): New type.
25981         (RUN_TEST_LOOP_c_c): New macro.
25982         (cacos_test_data): New variable.
25983         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
25984         (cacosh_test_data): New variable.
25985         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
25986         (casin_test_data): New variable.
25987         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
25988         (casinh_test_data): New variable.
25989         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
25990         (catan_test_data): New variable.
25991         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
25992         (catanh_test_data): New variable.
25993         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
25994         (ccos_test_data): New variable.
25995         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
25996         (ccosh_test_data): New variable.
25997         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
25998         (cexp_test_data): New variable.
25999         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
26000         (clog_test_data): New variable.
26001         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
26002         (clog10_test_data): New variable.
26003         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
26004         (conj_test_data): New variable.
26005         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
26006         (cproj_test_data): New variable.
26007         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
26008         (csin_test_data): New variable.
26009         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
26010         (csinh_test_data): New variable.
26011         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
26012         (csqrt_test_data): New variable.
26013         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
26014         (ctan_test_data): New variable.
26015         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
26016         (ctan_tonearest_test_data): New variable.
26017         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
26018         (ctan_towardzero_test_data): New variable.
26019         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
26020         (ctan_downward_test_data): New variable.
26021         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
26022         (ctan_upward_test_data): New variable.
26023         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
26024         (ctanh_test_data): New variable.
26025         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
26026         (ctanh_tonearest_test_data): New variable.
26027         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
26028         (ctanh_towardzero_test_data): New variable.
26029         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
26030         (ctanh_downward_test_data): New variable.
26031         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
26032         (ctanh_upward_test_data): New variable.
26033         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
26034         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
26035         of BUILD_COMPLEX.
26036
26037         * math/libm-test.inc (struct test_ff_f_data): New type.
26038         (struct test_ff_f_data_nexttoward): Likewise.
26039         (RUN_TEST_LOOP_2_f): New macro.
26040         (RUN_TEST_LOOP_ff_f): Likewise.
26041         (atan2_test_data): New variable.
26042         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
26043         (copysign_test_data): New variable.
26044         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
26045         (fdim_test_data): New variable.
26046         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
26047         (fmax_test_data): New variable.
26048         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
26049         (fmin_test_data): New variable.
26050         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
26051         (fmod_test_data): New variable.
26052         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
26053         (hypot_test_data): New variable.
26054         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
26055         (nextafter_test_data): New variable.
26056         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
26057         (nexttoward_test_data): New variable.
26058         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
26059         (pow_test_data): New variable.
26060         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
26061         (pow_tonearest_test_data): New variable.
26062         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
26063         (pow_towardzero_test_data): New variable.
26064         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
26065         (pow_downward_test_data): New variable.
26066         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
26067         (pow_upward_test_data): New variable.
26068         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
26069         (remainder_test_data): New variable.
26070         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
26071         (scalb_test_data): New variable.
26072         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
26073         * sysdeps/i386/fpu/libm-test-ulps: Update.
26074
26075 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
26076
26077         * math/libm-test.inc (fma_test): Use max_value instead of local
26078         variable fltmax.
26079         (nextafter_test): Likewise.
26080
26081         * math/libm-test.inc (acos_towardzero_test_data): New variable.
26082         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26083         (acos_downward_test_data): New variable.
26084         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26085         (acos_upward_test_data): New variable.
26086         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26087         (acosh_test_data): New variable.
26088         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
26089         (asin_test_data): New variable.
26090         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
26091         (asin_tonearest_test_data): New variable.
26092         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26093         (asin_towardzero_test_data): New variable.
26094         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26095         (asin_downward_test_data): New variable.
26096         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26097         (asin_upward_test_data): New variable.
26098         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26099         (asinh_test_data): New variable.
26100         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
26101         (atan_test_data): New variable.
26102         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
26103         (atanh_test_data): New variable.
26104         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
26105         (cbrt_test_data): New variable.
26106         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
26107         (ceil_test_data): New variable.
26108         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
26109         (cos_test_data): New variable.
26110         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
26111         (cos_tonearest_test_data): New variable.
26112         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26113         (cos_towardzero_test_data): New variable.
26114         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26115         (cos_downward_test_data): New variable.
26116         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26117         (cos_upward_test_data): New variable.
26118         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26119         (cosh_test_data): New variable.
26120         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
26121         (cosh_tonearest_test_data): New variable.
26122         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26123         (cosh_towardzero_test_data): New variable.
26124         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26125         (cosh_downward_test_data): New variable.
26126         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26127         (cosh_upward_test_data): New variable.
26128         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26129         (erf_test_data): New variable.
26130         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
26131         (erfc_test_data): New variable.
26132         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
26133         (exp_test_data): New variable.
26134         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
26135         (exp_tonearest_test_data): New variable.
26136         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26137         (exp_towardzero_test_data): New variable.
26138         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26139         (exp_downward_test_data): New variable.
26140         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26141         (exp_upward_test_data): New variable.
26142         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26143         (exp10_test_data): New variable.
26144         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
26145         (exp2_test_data): New variable.
26146         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
26147         (expm1_test_data): New variable.
26148         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
26149         (fabs_test_data): New variable.
26150         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
26151         (floor_test_data): New variable.
26152         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
26153         (j0_test_data): New variable.
26154         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
26155         (j1_test_data): New variable.
26156         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
26157         (log_test_data): New variable.
26158         (log_test): Run tests with RUN_TEST_LOOP_f_f.
26159         (log10_test_data): New variable.
26160         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
26161         (log1p_test_data): New variable.
26162         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
26163         (log2_test_data): New variable.
26164         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
26165         (logb_test_data): New variable.
26166         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
26167         (logb_downward_test_data): New variable.
26168         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26169         (nearbyint_test_data): New variable.
26170         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
26171         (rint_test_data): New variable.
26172         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
26173         (rint_tonearest_test_data): New variable.
26174         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26175         (rint_towardzero_test_data): New variable.
26176         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26177         (rint_downward_test_data): New variable.
26178         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26179         (rint_upward_test_data): New variable.
26180         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26181         (round_test_data): New variable.
26182         (round_test): Run tests with RUN_TEST_LOOP_f_f.
26183         (sin_test_data): New variable.
26184         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
26185         (sin_tonearest_test_data): New variable.
26186         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26187         (sin_towardzero_test_data): New variable.
26188         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26189         (sin_downward_test_data): New variable.
26190         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26191         (sin_upward_test_data): New variable.
26192         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26193         (sinh_test_data): New variable.
26194         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
26195         (sinh_tonearest_test_data): New variable.
26196         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26197         (sinh_towardzero_test_data): New variable.
26198         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26199         (sinh_downward_test_data): New variable.
26200         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26201         (sinh_upward_test_data): New variable.
26202         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26203         (sqrt_test_data): New variable.
26204         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
26205         (tan_test_data): New variable.
26206         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
26207         (tan_tonearest_test_data): New variable.
26208         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26209         (tan_towardzero_test_data): New variable.
26210         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26211         (tan_downward_test_data): New variable.
26212         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26213         (tan_upward_test_data): New variable.
26214         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26215         (tanh_test_data): New variable.
26216         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
26217         (tgamma_test_data): New variable.
26218         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
26219         (trunc_test_data): New variable.
26220         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
26221         (y0_test_data): New variable.
26222         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
26223         (y1_test_data): New variable.
26224         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
26225         (significand_test_data): New variable.
26226         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
26227
26228 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
26229
26230         [BZ #12387]
26231         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
26232
26233 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
26234
26235         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
26236
26237 2013-05-10  Andreas Jaeger  <aj@suse.de>
26238
26239         [BZ #15448]
26240         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
26241         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
26242
26243 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
26244
26245         * math/gen-libm-test.pl (adjust_arg): New function.
26246         (special_functions): Handle generating output in both functions
26247         and arrays.
26248         (parse_args): Likewise.
26249         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
26250         $in_func argument to parse_args.
26251         * math/libm-test.inc (struct test_f_f_data): New type.
26252         (IF_ROUND_INIT_): New macro.
26253         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
26254         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
26255         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
26256         (IF_ROUND_INIT_FE_UPWARD): Likewise.
26257         (ROUND_RESTORE_): Likewise.
26258         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
26259         (ROUND_RESTORE_FE_TONEAREST): Likewise.
26260         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
26261         (ROUND_RESTORE_FE_UPWARD): Likewise.
26262         (RUN_TEST_LOOP_f_f): New macro.
26263         (acos_test_data): New variable.
26264         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
26265         (acos_tonearest_test_data): New variable.
26266         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26267
26268 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
26269
26270         * benchtests/bench-skeleton.c (startup): Fix coding style.
26271
26272 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
26273
26274         [BZ #6809]
26275         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
26276         negative infinity argument.
26277         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
26278         negative infinity argument.
26279         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
26280         negative infinity argument.
26281         * math/libm-test.inc (tgamma_test): Expect errno to be set for
26282         domain errors.
26283
26284 2013-05-10  Florian Weimer  <fweimer@redhat.com>
26285
26286         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
26287         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
26288         * iconv/iconv_prog.c (main): Likewise.
26289         * locale/programs/charmap-dir.c (charmap_readdir)
26290         (fopen_uncompressed): Likewise.
26291         * locale/programs/locfile.c (siblings_uncached)
26292         (write_locale_data): Use lstat64 instead of lstat.
26293         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
26294         stat.
26295
26296 2013-05-10  Andreas Jaeger  <aj@suse.de>
26297
26298         [BZ #15395]
26299         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
26300         localization.
26301         Include <locale.h>.
26302
26303 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
26304
26305         * elf/dl-close.c (_dl_close_worker): Add comments.
26306
26307 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
26308
26309         [BZ #15359]
26310         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
26311         high part of pi/2.
26312         (__ieee754_rem_pio2l): Update comments.
26313
26314         [BZ #15429]
26315         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
26316         high part of pi/2.
26317         (__ieee754_rem_pio2l): Update comments.
26318
26319         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
26320         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
26321
26322         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
26323         M_PI_4l.
26324
26325         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
26326         (M_PI_34_LOG10El): Likewise.
26327         (M_PI2_LOG10El): Likewise.
26328         (M_PI4_LOG10El): Likewise.
26329         (M_PI_LOG10El): Likewise.
26330
26331 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26332
26333         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26334
26335 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
26336
26337         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
26338         (MINUS_ZERO_INIT): Likewise.
26339         (PLUS_INFTY_INIT): Likewise.
26340         (MINUS_INFTY_INIT): Likewise.
26341         (QNAN_VALUE_INIT): Likewise.
26342         (MAX_VALUE_INIT): Likewise.
26343         (MIN_VALUE_INIT): Likewise.
26344         (MIN_SUBNORM_VALUE_INIT): Likewise.
26345         (plus_zero): Initialize with PLUS_ZERO_INIT.
26346         (minus_zero): Initialize with MINUS_ZERO_INIT.
26347         (plus_infty): Initialize with PLUS_INFTY_INIT.
26348         (minus_infty): Initialize with MINUS_INFTY_INIT.
26349         (qnan_value): Initialize with QNAN_VALUE_INIT.
26350         (max_value): Initialize with MAX_VALUE_INIT.
26351         (min_value): Initialize with MIN_VALUE_INIT.
26352         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
26353
26354         * math/libm-test.inc (RUN_TEST_if_f): New macro.
26355         (jn_test): Use TEST_if_f instead of TEST_ff_f.
26356         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
26357         (yn_test): Use TEST_if_f instead of TEST_ff_f.
26358
26359         * math/libm-test.inc (RUN_TEST_f_f): New macro.
26360         (RUN_TEST_2_f): Likewise.
26361         (RUN_TEST_ff_f): Likewise.
26362         (RUN_TEST_fi_f): Likewise.
26363         (RUN_TEST_fl_f): Likewise.
26364         (RUN_TEST_fff_f): Likewise.
26365         (RUN_TEST_c_f): Likewise.
26366         (RUN_TEST_f_f1): Likewise.
26367         (RUN_TEST_fF_f1): Likewise.
26368         (RUN_TEST_fI_f1): Likewise.
26369         (RUN_TEST_ffI_f1): Likewise.
26370         (RUN_TEST_c_c): Likewise.
26371         (RUN_TEST_cc_c): Likewise.
26372         (RUN_TEST_f_i): Likewise.
26373         (RUN_TEST_f_i_tg): Likewise.
26374         (RUN_TEST_ff_i_tg): Likewise.
26375         (RUN_TEST_f_b): Likewise.
26376         (RUN_TEST_f_b_tg): Likewise.
26377         (RUN_TEST_f_l): Likewise.
26378         (RUN_TEST_f_L): Likewise.
26379         (RUN_TEST_sincos): Likewise.
26380         * math/gen-libm-test.pl (new_test): Take new argument to indicate
26381         whether to show exceptions.  Do not include ");\n" in return
26382         value.
26383         (special_functions): Output call to RUN_TEST_sincos instead of
26384         check_float calls.  Update calls to new_test.
26385         (parse_args): Output call to single RUN_TEST_* macro instead of
26386         check_* calls and other assignments.  Update calls to new_test.
26387
26388         [BZ #2546]
26389         [BZ #2560]
26390         [BZ #5159]
26391         [BZ #15426]
26392         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
26393         input to result for tgamma overflow.
26394         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
26395         (gamma_coeff): New variable.
26396         (NCOEFF): New macro.
26397         (gamma_positive): New function.
26398         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
26399         underflow here.  Use gamma_positive instead of exp (lgamma) for
26400         other arguments.
26401         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
26402         (gamma_coeff): New variable.
26403         (NCOEFF): New macro.
26404         (gammaf_positive): New function.
26405         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
26406         underflow here.  Use gamma_positive instead of exp (lgamma) for
26407         other arguments.
26408         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
26409         (gamma_coeff): New variable.
26410         (NCOEFF): New macro.
26411         (gammal_positive): New function.
26412         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
26413         underflow here.  Use gamma_positive instead of exp (lgamma) for
26414         other arguments.
26415         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
26416         (gamma_coeff): New variable.
26417         (NCOEFF): New macro.
26418         (gammal_positive): New function.
26419         (__ieee754_gammal_r): Handle positive infinity, overflow and
26420         underflow here.  Handle NaN the same as positive infinity.  Remove
26421         check x < 0xffffffff for negative integers.  Use gamma_positive
26422         instead of exp (lgamma) for other arguments.
26423         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
26424         (gamma_coeff): New variable.
26425         (NCOEFF): New macro.
26426         (gammal_positive): New function.
26427         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
26428         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
26429         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
26430         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
26431         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
26432         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
26433         * sysdeps/generic/math_private.h (__gamma_productf): New
26434         prototype.
26435         (__gamma_product): Likewise.
26436         (__gamma_productl): Likewise.
26437         * math/Makefile (libm-calls): Add gamma_product.
26438         * math/libm-test.inc (tgamma_test): Add more tests.
26439         * sysdeps/i386/fpu/libm-test-ulps: Update.
26440         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26441
26442 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
26443
26444         * benchtests/bench-skeleton.c (main): Preheat CPU.
26445
26446 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
26447
26448         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
26449
26450 2013-05-07  Roland McGrath  <roland@hack.frob.com>
26451
26452         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
26453         and _dl_skip_args_internal.
26454
26455 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
26456
26457         * manual/message.texi (Message Translation): Talk about users.
26458         Message to key mapping impacts design.
26459
26460 2013-05-06  Roland McGrath  <roland@hack.frob.com>
26461
26462         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
26463
26464         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
26465
26466         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
26467         * sysdeps/wordsize-64/glob64.c: ... here.
26468
26469         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
26470         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
26471         New macros.
26472
26473         * debug/getlogin_r_chk.c: Moved to ...
26474         * login/getlogin_r_chk.c: ... here.
26475         * debug/Makefile (routines): Move getlogin_r_chk to ...
26476         * login/Makefile (routines): ... here.
26477         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
26478         * login/Versions (libc: GLIBC_2.4): ... here.
26479
26480         * io/poll.c (__poll): Renamed from poll.
26481         Add libc_hidden_def.
26482         (poll): Define as weak alias.
26483
26484         * debug/ptsname_r_chk.c: Moved to ...
26485         * login/ptsname_r_chk.c: ... here.
26486         * debug/Makefile (routines): Move ptsname_r_chk to ...
26487         * login/Makefile (routines): ... here.
26488         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
26489         * login/Versions (libc: GLIBC_2.4): ... here.
26490
26491         * posix/getlogin.c: Moved to ...
26492         * login/getlogin.c: ... here.
26493         * posix/getlogin_r.c: Moved to ...
26494         * login/getlogin_r.c: ... here.
26495         * posix/getlogin_r.c: Moved to ...
26496         * login/getlogin_r.c: ... here.
26497         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
26498         * login/Makefile (routines): ... here.
26499         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
26500         * login/Versions (libc: GLIBC_2.0): ... here.
26501
26502         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
26503         (setrlimit): Define as weak alias.
26504
26505         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
26506         Call __ names for open, ftruncate, and close.
26507         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
26508         (truncate): Define as weak alias.
26509
26510 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
26511
26512         * math/gen-libm-test.pl (parse_args): Initialize x before each
26513         test of frexp, modf and remquo.
26514
26515         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
26516         test signgam value.
26517
26518 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26519
26520         [BZ #15418]
26521         [BZ #15419]
26522         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
26523         internal tests.
26524         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
26525
26526 2013-05-06  Roland McGrath  <roland@hack.frob.com>
26527
26528         * elf/dl-writev.h: New file.
26529         * elf/dl-misc.c: Include it.
26530         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
26531         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
26532
26533 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
26534
26535         * math/libm-test.inc (noXFails): Remove variable.
26536         (noXPasses): Likewise.
26537         (BUILD_COMPLEX_INT): Remove macro.
26538         (print_screen): Remove xfail argument.
26539         (print_screen_max_error): Likewise.
26540         (update_stats): Likewise.
26541         (print_max_error): Likewise.  Update calls to other affected
26542         functions.
26543         (print_complex_max_error): Likewise.
26544         (test_single_exception): Update calls to print_screen.
26545         (test_single_errno): Likewise.
26546         (check_float_internal): Remove xfail argument.  Update calls to
26547         other affected functions.
26548         (check_float): Likewise.
26549         (check_complex): Likewise.
26550         (check_int): Likewise.
26551         (check_long): Likewise.
26552         (check_bool): Likewise.
26553         (check_longlong): Likewise.
26554         (main): Don't print noXFails and noXPasses.
26555         * math/gen-libm-test.pl (top level): Don't mention expected
26556         failure handling in comment.
26557         (new_test): Don't handle expected failures.
26558         (parse_args): Don't mention expected failure handling in comment.
26559         (generate_testfile): Don't handle expected failures.
26560         (parse_ulps): Likewise.
26561         (print_ulps_file): Likewise.
26562         (get_failure): Remove function.
26563         (output_test): Don't handle expected failures.
26564         * make/README.libm-test: Don't mention expected failure handling.
26565
26566         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
26567         (minus_zero): Likewise.
26568         (plus_infty): Likewise.
26569         (minus_infty): Likewise.
26570         (qnan_value): Likewise.
26571         (max_value): Likewise.
26572         (min_value): Likewise.
26573         (min_subnorm_value): Likewise.
26574         (initialize): Do not initialize those variables dynamically.
26575
26576 2013-05-03  Roland McGrath  <roland@hack.frob.com>
26577
26578         * io/open.c (__open_2): Moved to ...
26579         * io/open_2.c: ... this new file.
26580         * io/open64.c (__open64_2): Moved to ...
26581         * io/open64_2.c: ... this new file.
26582         * io/openat.c (__openat_2): Moved to ...
26583         * io/openat_2.c: ... this new file.
26584         * io/openat64.c (__openat64_2): Moved to ...
26585         * io/openat64_2.c: ... this new file.
26586         * io/Makefile (routines): Add them.
26587         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
26588         * sysdeps/unix/sysv/linux/open_2.c: File removed.
26589         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
26590         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
26591         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
26592         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
26593         (__openat64): Add hidden_ver.
26594         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
26595         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
26596
26597         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
26598         Separately conditionalize setting of GLRO(dl_sysinfo) so
26599         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
26600         as well, but the actual setting is only under [NEED_DL_SYSINFO].
26601
26602 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26603
26604         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
26605         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
26606         definition.
26607         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
26608         * sysdeps/unix/sysv/linux/powerpc/init-first.c
26609         (_libc_vdso_platform_setup): Add __vdso_time initialization.
26610         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
26611         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
26612
26613 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
26614
26615         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
26616         test signgam value.
26617
26618         * math/libm-test.inc (hypot_test): Do not use
26619         IGNORE_ZERO_INF_SIGN.
26620
26621 2013-05-03  Andreas Jaeger  <aj@suse.de>
26622
26623         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
26624         Linux 3.9.
26625         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
26626         (PF_MAX): Adjust for VSOCK change.
26627
26628 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26629
26630         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26631
26632 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
26633
26634         [BZ #15264]
26635         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
26636         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
26637         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
26638
26639 2013-05-02  David S. Miller  <davem@davemloft.net>
26640
26641         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26642
26643 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
26644
26645         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
26646
26647 2013-05-01  Roland McGrath  <roland@hack.frob.com>
26648
26649         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
26650
26651 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
26652
26653         [BZ #14952]
26654         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
26655         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
26656         Use __attribute__ ((__gnu_inline__)).
26657         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
26658         Don't use __attribute__ ((__gnu_inline__)).
26659
26660 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
26661
26662         [BZ #15423]
26663         * math/s_catan.c (__catan): Handle small real or imaginary part of
26664         input specially to avoid spurious underflow.
26665         * math/s_catanf.c (__catanf): Likewise.
26666         * math/s_catanh.c (__catanh): Likewise.
26667         * math/s_catanhf.c (__catanhf): Likewise.
26668         * math/s_catanhl.c (__catanhl): Likewise.
26669         * math/s_catanl.c (__catanl): Likewise.
26670         * math/libm-test.inc (catan_test): Add more tests.
26671         (catanh_test): Likewise.
26672         * sysdeps/i386/fpu/libm-test-ulps: Update.
26673         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26674
26675 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26676
26677         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26678
26679 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
26680
26681         [BZ #15416]
26682         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
26683         accurately for denominator in atan2.
26684         * math/s_catanf.c (__catanf): Likewise.
26685         * math/s_catanh.c (__catanh): Likewise.
26686         * math/s_catanhf.c (__catanhf): Likewise.
26687         * math/s_catanhl.c (__catanhl): Likewise.
26688         * math/s_catanl.c (__catanl): Likewise.
26689         * math/libm-test.inc (catan_test): Add more tests.
26690         (catanh_test): Likewise.
26691         * sysdeps/i386/fpu/libm-test-ulps: Update.
26692         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26693
26694 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
26695
26696         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
26697
26698         * benchtests/Makefile (bench): Remove slow benchmarks.
26699         * benchtests/atan-inputs: Add slow benchmark inputs.
26700         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
26701         (BENCH_FUNC): Accept variant offset.
26702         (VARIANT): Define.
26703         * benchtests/bench-skeleton.c (main): Run benchmark for each
26704         variant.
26705         * benchtests/cos-inputs: Add slow benchmark inputs.
26706         * benchtests/exp-inputs: Likewise.
26707         * benchtests/pow-inputs: Likewise.
26708         * benchtests/sin-inputs: Likewise.
26709         * benchtests/slowatan-inputs: Remove.
26710         * benchtests/slowatan.c: Remove.
26711         * benchtests/slowcos-inputs: Remove.
26712         * benchtests/slowcos.c: Remove.
26713         * benchtests/slowexp-inputs: Remove.
26714         * benchtests/slowexp.c: Remove.
26715         * benchtests/slowpow-inputs: Remove.
26716         * benchtests/slowpow.c: Remove.
26717         * benchtests/slowsin-inputs: Remove.
26718         * benchtests/slowsin.c: Remove.
26719         * benchtests/slowtan-inputs: Remove.
26720         * benchtests/slowtan.c: Remove.
26721         * benchtests/tan-inputs: Add slow benchmark inputs.
26722         * scripts/bench.pl: Parse comments and directives.
26723
26724         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
26725         in CPPFLAGS.
26726         ($(objpfx)bench-%.c): Remove *-ITER.
26727         * benchtests/bench-modf.c: Remove definition of ITER.
26728         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
26729         (main): Loop for DURATION seconds instead of fixed number of
26730         iterations.
26731         * scripts/bench.pl: Don't expect iterations in parameters.
26732
26733 2013-04-29  Roland McGrath  <roland@hack.frob.com>
26734
26735         * io/fchdir.c (__fchdir): Renamed from fchdir.
26736         (fchdir): Define as weak alias.
26737
26738 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
26739
26740         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
26741         (ERRNO_EDOM): Likewise.
26742         (ERRNO_ERANGE): Likewise.
26743         (noErrnoTests): New variable.
26744         (init_max_error): Set errno to 0.
26745         (test_single_errno): New function.
26746         (test_errno): Likewise.
26747         (check_float_internal): Call test_errno.  Set errno to 0.
26748         (check_complex): Refer to errno tests in comment.
26749         (check_int): Call test_errno.  Set errno to 0.
26750         (check_long): Likewise.
26751         (check_bool): Likewise.
26752         (check_longlong): Likewise.
26753         (cos_test): Use ERRNO_* flags for errno tests instead of
26754         check_int.
26755         (expm1_test): Likewise.
26756         (fmod_test): Likewise.
26757         (ilogb_test): Likewise.
26758         (lgamma_test): Likewise.
26759         (pow_test): Likewise.
26760         (remainder_test): Likewise.
26761         (sin_test): Likewise.
26762         (tan_test): Likewise.
26763         (yn_test): Likewise.
26764         (initialize): Set errno to 0.
26765         (main): Print number of errno tests.
26766         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
26767
26768 2013-04-29  Andreas Jaeger  <aj@suse.de>
26769
26770         [BZ #15084]
26771         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
26772         and RES_USEVC.
26773
26774         [BZ #15085]
26775         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
26776         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
26777         unimplemented.
26778
26779         [BZ #15380]
26780         * stdlib/random.c (__initstate): Return NULL if
26781         __initstate fails.
26782
26783         [BZ #15086]
26784         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
26785         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
26786         RES_SNGLKUPREOP.
26787
26788 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26789
26790         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26791
26792 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
26793
26794         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
26795         of individual tests.
26796         (casin_test): Likewise.
26797         (casinh_test): Likewise.
26798
26799 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
26800
26801         [BZ #15409]
26802         * math/s_catan.c (__catan): Handle arguments with large real or
26803         imaginary part separately without squaring.
26804         * math/s_catanf.c (__catanf): Likewise.
26805         * math/s_catanh.c (__catanh): Likewise.
26806         * math/s_catanhf.c (__catanhf): Likewise.
26807         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
26808         and redefine.
26809         (__catanhl): Handle arguments with large real or imaginary part
26810         separately without squaring.
26811         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
26812         and redefine.
26813         (__catanl): Handle arguments with large real or imaginary part
26814         separately without squaring.
26815         * math/libm-test.inc (catan_test): Add more tests.
26816         (catanh_test): Likewise.
26817         * sysdeps/i386/fpu/libm-test-ulps: Update.
26818         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26819
26820 2013-04-27  Andreas Jaeger  <aj@suse.de>
26821
26822         [BZ #15007]
26823         * stdlib/stdlib.h: Update guards for qecvt.
26824         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
26825         <stdlib.h>.
26826
26827 2013-04-27  Allan McRae  <allan@archlinux.org>
26828
26829         * sysdeps/i386/fpu/libm-test-ulps: Update.
26830
26831 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
26832
26833         [BZ #15406]
26834         * math/s_catan.c: Include <float.h>.
26835         (__catan): Ensure underflow exception occurs for underflowed
26836         result.
26837         * math/s_catanf.c: Include <float.h>.
26838         (__catanf): Ensure underflow exception occurs for underflowed
26839         result.
26840         * math/s_catanh.c: Include <float.h>.
26841         (__catanh): Ensure underflow exception occurs for underflowed
26842         result.
26843         * math/s_catanhf.c: Include <float.h>.
26844         (__catanhf): Ensure underflow exception occurs for underflowed
26845         result.
26846         * math/s_catanhl.c: Include <float.h>.
26847         (__catanhl): Ensure underflow exception occurs for underflowed
26848         result.
26849         * math/s_catanl.c: Include <float.h>.
26850         (__catanl): Ensure underflow exception occurs for underflowed
26851         result.
26852         * math/libm-test.inc (catan_test): Add more tests.
26853         (catanh_test): Likewise.
26854
26855         [BZ #15405]
26856         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
26857         underflowed result.
26858         * math/s_ccoshf.c (__ccoshf): Likewise.
26859         * math/s_ccoshl.c (__ccoshl): Likewise.
26860         * math/s_csin.c (__csin): Likewise.
26861         * math/s_csinf.c (__csinf): Likewise.
26862         * math/s_csinh.c (__csinh): Likewise.
26863         * math/s_csinhf.c (__csinhf): Likewise.
26864         * math/s_csinhl.c (__csinhl): Likewise.
26865         * math/s_csinl.c (__csinl): Likewise.
26866         * math/libm-test.inc (ccos_test): Add more tests.
26867         (ccosh_test): Likewise.
26868         (csin_test): Likewise.
26869         (csinh_test): Likewise.
26870
26871 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26872
26873         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
26874         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
26875         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
26876         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
26877         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
26878         powerpc/power5+/fpu folders.
26879         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
26880
26881
26882 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
26883
26884         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26885
26886 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
26887
26888         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
26889         additions to variable.
26890         [$(config-machine) = x86_64] (modules-names): Likewise.
26891         ($(objpfx)tst-audit3): Remove dependency.
26892         ($(objpfx)tst-audit3.out): Likewise.
26893         ($(objpfx)tst-audit4): Likewise.
26894         ($(objpfx)tst-audit4.out): Likewise.
26895         ($(objpfx)tst-audit5): Likewise.
26896         ($(objpfx)tst-audit5.out): Likewise.
26897         ($(objpfx)tst-audit6): Likewise.
26898         ($(objpfx)tst-audit6.out): Likewise.
26899         ($(objpfx)tst-audit7): Likewise.
26900         ($(objpfx)tst-audit7.out): Likewise.
26901         (tst-audit3-ENV): Remove variable.
26902         (tst-audit4-ENV): Likewise.
26903         (tst-audit5-ENV): Likewise.
26904         (tst-audit6-ENV): Likewise.
26905         (tst-audit7-ENV): Likewise.
26906         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
26907         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
26908         addition to variable.
26909         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
26910         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
26911         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
26912         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
26913         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
26914         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
26915         tst-audit3, tst-audit4 and tst-audit5.
26916         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
26917         tst-audit6 and tst-audit7.
26918         [$(subdir) = elf] (modules-names): Add audit modules for those
26919         tests.
26920         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
26921         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
26922         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
26923         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
26924         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
26925         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
26926         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
26927         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
26928         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
26929         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
26930         [$(subdir) = elf] (tst-audit3-ENV): New variable.
26931         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
26932         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
26933         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
26934         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
26935         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
26936         Likewise.
26937         [$(subdir) = elf && $(config-cflags-avx) = yes]
26938         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
26939         [$(subdir) = elf && $(config-cflags-avx) = yes]
26940         (CFLAGS-tst-auditmod4a.c): Likewise.
26941         [$(subdir) = elf && $(config-cflags-avx) = yes]
26942         (CFLAGS-tst-auditmod4b.c): Likewise.
26943         [$(subdir) = elf && $(config-cflags-avx) = yes]
26944         (CFLAGS-tst-auditmod6b.c): Likewise.
26945         [$(subdir) = elf && $(config-cflags-avx) = yes]
26946         (CFLAGS-tst-auditmod6c.c): Likewise.
26947         [$(subdir) = elf && $(config-cflags-avx) = yes]
26948         (CFLAGS-tst-auditmod7b.c): Likewise.
26949         * elf/tst-audit3.c: Move to ...
26950         * sysdeps/x86_64/tst-audit3.c: ... here.
26951         * elf/tst-audit4.c: Move to ...
26952         * sysdeps/x86_64/tst-audit4.c: ... here.
26953         * elf/tst-audit5.c: Move to ...
26954         * sysdeps/x86_64/tst-audit5.c: ... here.
26955         * elf/tst-audit6.c: Move to ...
26956         * sysdeps/x86_64/tst-audit6.c: ... here.
26957         * elf/tst-audit7.c: Move to ...
26958         * sysdeps/x86_64/tst-audit7.c: ... here.
26959         * elf/tst-auditmod3a.c: Move to ...
26960         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
26961         * elf/tst-auditmod3b.c: Move to ...
26962         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
26963         * elf/tst-auditmod4a.c: Move to ...
26964         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
26965         * elf/tst-auditmod4b.c: Move to ...
26966         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
26967         * elf/tst-auditmod5a.c: Move to ...
26968         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
26969         * elf/tst-auditmod5b.c: Move to ...
26970         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
26971         * elf/tst-auditmod6a.c: Move to ...
26972         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
26973         * elf/tst-auditmod6b.c: Move to ...
26974         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
26975         * elf/tst-auditmod6c.c: Move to ...
26976         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
26977         * elf/tst-auditmod7a.c: Move to ...
26978         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
26979         * elf/tst-auditmod7b.c: Move to ...
26980         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
26981
26982 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
26983
26984         [BZ #15366]
26985         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
26986         define unconditionally.
26987         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
26988         define unconditionally.
26989         (INT8_C, INT16_C, etc.): Likewise.
26990
26991 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
26992
26993         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
26994         __ehdr_start with hidden visibility.
26995
26996         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
26997
26998 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
26999
27000         * math/libm-test.inc (cos_test): Use accurate hex constants.
27001         (sincost_test): Likewise.
27002
27003 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
27004
27005         * math/libm-test.inc (catan_test): Add more tests.
27006         (catanh_test): Likewise.
27007
27008         * math/s_catanf.c (__catanf): Use suffixed floating-point
27009         constants.
27010         * math/s_catanhf.c (__catanhf): Likewise.
27011         * math/s_catanhl.c (__catanhl): Likewise.
27012         * math/s_catanl.c (__catanl): Likewise.
27013
27014         [BZ #15394]
27015         * math/s_catan.c (__catan): Calculate imaginary part of result
27016         with log1p not log unless computing log of number close to 0.
27017         * math/s_catanf.c (__catanf): Likewise.
27018         * math/s_catanl.c (__catanl): Likewise.
27019         * math/s_catanh.c (__catanh): Calculate real part of result with
27020         log1p not log unless computing log of number close to 0.
27021         * math/s_catanhf.c (__catanhf): Likewise.
27022         * math/s_catanhl.c (__catanhl): Likewise.
27023         * math/libm-test.inc (catan_test): Add more tests.
27024         (catanh_test): Likewise.
27025         * sysdeps/i386/fpu/libm-test-ulps: Update.
27026         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27027
27028 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
27029
27030         * benchtests/Makefile: Mention files in which fast and slow
27031         paths of math functions are implemented.
27032
27033 2013-04-23  Roland McGrath  <roland@hack.frob.com>
27034
27035         * sysdeps/posix/timespec_get.c: New file.
27036
27037 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27038
27039         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
27040         POWER.
27041         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
27042         for POWER.
27043         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
27044         powerpc/power5/fpu folders.
27045         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
27046         * benchtests/Makefile: Add modf testcase.
27047         * benchtests/bench-modf.c: New file: Benchmark test for mo
27048
27049 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
27050
27051         [BZ #14888]
27052         * time/Makefile (tests): Add tst-strptime-whitespace.
27053         * time/strptime_l.c (get_number): Use ISSPACE.
27054         (__strptime_internal): Likewise.
27055         * time/tst-strptime-whitespace.c: New test case.
27056
27057 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
27058
27059         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
27060         member.
27061         (_nss_files_init): Set it here.
27062
27063 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
27064
27065         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
27066         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
27067         unsigned.
27068
27069 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
27070
27071         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
27072
27073 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
27074
27075         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
27076         size just once.
27077
27078 2013-04-21  David S. Miller  <davem@davemloft.net>
27079
27080         * po/ru.po: Update Russion translation from translation project.
27081
27082 2013-04-17  Adam Conrad  <adconrad@0c3.net>
27083
27084         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
27085         and setfsgid.
27086
27087 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
27088
27089         * configure.in: Remove i386 configure warning. Remove i386 case.
27090         * configure: Regenerate.
27091         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
27092         Add example to error message.
27093         * sysdeps/i386/configure: Regenerate.
27094
27095 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
27096
27097         * benchtests/Makefile (bench): Add cos, tan, slowcos and
27098         slowtan.
27099         * benchtests/cos-inputs: New file.
27100         * benchtests/slowcos-inputs: New file.
27101         * benchtests/slowcos.c: New file.
27102         * benchtests/slowtan-inputs: New file.
27103         * benchtests/slowtan.c: New file.
27104         * benchtests/tan-inputs: New file.
27105
27106 2013-04-16  Roland McGrath  <roland@hack.frob.com>
27107
27108         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
27109         considered kosher.
27110
27111 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
27112
27113         * benchtests/Makefile: Include cppflags-iterator.mk to add
27114         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
27115
27116         * Makefile.in (bench-clean): New target.
27117         * benchtests/Makefile (bench-clean): Likewise.
27118
27119 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
27120
27121         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
27122
27123 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
27124
27125         * stdio-common/tstdiomisc.c: Fix coding-style violation.
27126
27127 2013-04-15  Andreas Schwab  <schwab@suse.de>
27128
27129         * nscd/grpcache.c (cache_addgr): Properly check for short write.
27130         * nscd/initgrcache.c (addinitgroupsX): Likewise.
27131         * nscd/pwdcache.c (cache_addpw): Likewise.
27132         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
27133         more than recsize.
27134
27135 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
27136
27137         * benchtests/Makefile (bench): Write all output to
27138         bench-out.tmp together.
27139
27140 2013-04-15  Andreas Schwab  <schwab@suse.de>
27141
27142         * nscd/nscd.c (main): Don't fork again after closing files.
27143
27144 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
27145
27146         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
27147
27148         * benchtests/Rules (bench-deps): Collect dependencies into a
27149         single variable.  Add Makefile to dependencies.
27150         ($(objpfx)bench-%.c): Depend on bench-deps.
27151
27152 2013-04-12  Roland McGrath  <roland@hack.frob.com>
27153             Xavier Roche  <roche+kml2@exalead.com>
27154
27155         [BZ #15361]
27156         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
27157         just that it's a file descriptor.
27158         * manual/llio.texi (Synchronizing AIO Operations): Update description
27159         for EBADF error from aio_fsync.
27160
27161 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
27162
27163         * Rules (bench): Move target definition...
27164         * benchtests/Makefile: ... here.
27165
27166 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
27167
27168         * math/libm-test.inc (cos_test): Fix PI/2 test.
27169         (sincos_test): Likewise.
27170         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
27171         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
27172
27173 2013-04-11  Andreas Schwab  <schwab@suse.de>
27174
27175         [BZ #13988]
27176         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
27177         accept exponent character only when digits were seen.
27178         * stdio-common/Makefile (tests): Add bug26.
27179         * stdio-common/bug26.c: New file.
27180
27181         [BZ #14293]
27182         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
27183         non-freeable.
27184
27185 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
27186
27187         * Makeconfig (rtld-prefix): Define built linker prefix.
27188         * Rules (run-bench): Use it.
27189         * math/Makefile (run-regen-ulps): Likewise.
27190
27191         * Rules (bench): Remove eval.
27192
27193 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
27194             Roland McGrath  <roland@hack.frob.com>
27195             Ondrej Bilka  <neleai@seznam.cz>
27196
27197         [BZ #15346]
27198         * time/getdate.c: Include ctype.h and alloca.h.
27199         (__getdate_r): Trim leading and trailing spaces of input.
27200         * time/tst-getdate.c (tests): Add tests with leading and
27201         trailing spaces.
27202
27203 2013-04-08  Roland McGrath  <roland@hack.frob.com>
27204
27205         [BZ #14280]
27206         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
27207         when computing value.
27208
27209 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
27210
27211         * math/README.libm-test (How can I generate "libm-test-ulps"?):
27212         Use testrun.sh to run libm tests.
27213
27214         [BZ #15309]
27215         * elf/dl-open.c (dl_open_worker): memset all of seen array.
27216
27217 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
27218
27219         [BZ #15264]
27220         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
27221
27222 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
27223
27224         * Makefile.in (regen-ulps): New target.
27225         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
27226         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
27227         [ifneq (no,$(PERL)] (regen-ulps): New target.
27228         [ifeq (no,$(PERL)] (regen-ulps): New target.
27229         * math/libm-test.inc (ulps_file_name): Define.
27230         (output_dir): New variable.
27231         (options): Add "output-dir" option.
27232         (parse_opt): Handle 'o' case.
27233         (main): If output_dir is non-NULL use it as a prefix
27234         otherwise use "".
27235         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
27236
27237 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
27238
27239         [BZ #10060, #10062]
27240         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
27241         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
27242         fail configure if __sync_val_compare_and_swap is not inlined.
27243         * sysdeps/i386/configure: Regenerate.
27244         * configure.in: Build for i686 when configured for i386.
27245         * configure: Regenerate.
27246         * README: Remove i386 reference.
27247
27248 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
27249
27250         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
27251         * sysdeps/s390/s390-64/sysdep.h: Likewise.
27252
27253 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
27254
27255         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
27256         (lmsnanval): New variables.
27257         (F): Add conversion tests.
27258         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
27259         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
27260
27261         * stdio-common/tstdiomisc.c (F): Properly collect individual
27262         tests' results.
27263
27264         [BZ #14686, #15336]
27265         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
27266         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
27267         Instead, use input NaN values or generate a qNaN by arithmetic
27268         operation.  Also fix bugs to comply with the standard.
27269         * math/libm-test.inc (remainder_test): Add more tests.
27270
27271         [BZ #15335, #15342]
27272         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
27273         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
27274         input NaN values or generate a qNaN by arithmetic operation.
27275
27276         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
27277         unreachable code.
27278
27279         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
27280         definitions.
27281
27282 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
27283
27284         [BZ #14478]
27285         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
27286         underflowed result.
27287         * math/s_cexpf.c (__cexpf): Likewise.
27288         * math/s_cexpl.c (__cexpl): Likewise.
27289         * math/libm-test.inc (cexp_test): Add more tests.
27290
27291 2013-04-03  Andreas Schwab  <schwab@suse.de>
27292
27293         [BZ #15330]
27294         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
27295         order arrays from heap if bigger than alloca cutoff.
27296
27297 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
27298
27299         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
27300         (SNAN_TESTS_double): Refer to GCC PR56831.
27301         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
27302         GCC PR56828.
27303
27304 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
27305
27306         * Rules (bench): Move bench.out after the run is complete.
27307
27308         * Rules (bench): Echo currently running benchmark.
27309
27310         * benchtests/Makefile (bench): Add atan and slowatan.
27311         * benchtests/atan-inputs: New file.
27312         * benchtests/slowatan-inputs: New file.
27313         * benchtests/slowatan.c: New file.
27314
27315         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
27316         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
27317         its value.
27318
27319         [BZ #15305]
27320         * sysdeps/unix/sysv/linux/kernel-features.h
27321         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
27322         __ASSUME_XFS_RESTRICTED_CHOWN.
27323         * sysdeps/unix/sysv/linux/pathconf.c
27324         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
27325         Save and restore errno.
27326
27327 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
27328
27329         [BZ #15327]
27330         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
27331         arguments using __kernel_casinh.
27332         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
27333         arguments using __kernel_casinhf.
27334         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
27335         arguments using __kernel_casinhl.
27336         * math/libm-test.inc (cacosh_test): Add more tests.
27337         * sysdeps/i386/fpu/libm-test-ulps: Update.
27338         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27339
27340 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
27341
27342         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
27343         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
27344
27345         * bench/Makefile (bench): Add sin and slowsin.
27346         * benchtests/sin-inputs: New file.
27347         * benchtests/slowsin-inputs: New file.
27348         * benchtests/slowsin.c: New file.
27349
27350         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
27351         (bench): Add slowexp and slowpow.
27352         (exp-ITER): Increase iterations.
27353         (pow-ITER): Likewise.
27354         * benchtests/exp-inputs: Change input.
27355         * benchtests/pow-inputs: Likewise.
27356         * benchtests/slowexp-inputs: New file.
27357         * benchtests/slowexp.c: New file.
27358         * benchtests/slowpow-inputs: New file.
27359         * benchtests/slowpow.c: New file.
27360
27361 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27362
27363         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
27364         instructions.
27365         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
27366         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
27367         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
27368         * benchtests/Makefile: Add rint benchtest.
27369         * benchtests/rint-inputs: Input for rint benchtest.
27370
27371 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
27372
27373         * Versions.def (libm): Add GLIBC_2.18.
27374         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
27375         hidden libm prototypes.
27376         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
27377         * math/Makefile (libm-calls): Add s_issignaling.
27378         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
27379         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
27380         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
27381         declaration.
27382         * math/math.h [__USE_GNU] (issignaling): New macro.
27383         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
27384         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
27385         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
27386         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
27387         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
27388         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
27389         * manual/arith.texi (issignaling): New section.
27390         * manual/libm-err-tab.pl (@all_functions): Update comment.
27391         * math/gen-libm-test.pl (parse_args): Apply special handling for
27392         issignaling.
27393         * math/libm-test.inc (print_float, issignaling_test): New
27394         functions.
27395         (check_float_internal): Add issignaling checks.
27396         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
27397         default definition.
27398         * sysdeps/powerpc/math-tests.h: New file.
27399         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
27400         tests.
27401         * math/test-snan.c (TEST_FUNC): Likewise.
27402
27403 2013-03-30  David S. Miller  <davem@davemloft.net>
27404
27405         * po/de.po: Update from translation team.
27406
27407 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
27408
27409         [BZ #10357]
27410         * math/k_casinh.c (__kernel_casinh): Handle arguments with
27411         imaginary part less than 1.0 and real part less than 0.5
27412         specially.
27413         * math/k_casinhf.c (__kernel_casinhf): Likewise.
27414         * math/k_casinhl.c (__kernel_casinhl): Likewise.
27415         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
27416         (cacos_test): Add more tests.
27417         (casin_test): Likewise.
27418         (casinh_test): Likewise.
27419         * sysdeps/i386/fpu/libm-test-ulps: Update.
27420         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27421
27422 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
27423
27424         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
27425         ONE with its value.
27426
27427         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
27428         (__pow_mp): Replace ONE and MONE with their values.
27429         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
27430         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
27431         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
27432         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
27433         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
27434         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
27435
27436         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
27437
27438         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
27439         (__pow_mp): Replace ZERO and MZERO with their values.
27440         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
27441         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
27442         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
27443         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
27444         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
27445         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
27446         (__sqr): Likewise.
27447
27448         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
27449
27450         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
27451
27452 2013-03-28  Roland McGrath  <roland@hack.frob.com>
27453
27454         * include/stdlib.h [!SHARED] (__call_tls_dtors):
27455         Declare with __attribute__ ((weak)).
27456         * stdlib/exit.c (__libc_atexit) [!SHARED]:
27457         Call __call_tls_dtors only if it's not NULL.
27458
27459 2013-03-28  Roland McGrath  <roland@hack.frob.com>
27460
27461         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
27462         didn't do it already, then set _dl_phdr and _dl_phnum based on the
27463         magic __ehdr_start linker symbol if it's defined.
27464         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
27465         them up here if it was already done.
27466
27467         * elf/dl-support.c (_dl_phdr): Make pointer to const.
27468         (_dl_aux_init): Use const in cast when setting it.
27469         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
27470         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
27471         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
27472
27473         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
27474         Declare them here.
27475         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
27476         * csu/libc-tls.c: Nor here.
27477         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
27478
27479         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
27480         (__libc_message): Never call vsyslog.
27481
27482 2013-03-28  Alan Modra  <amodra@gmail.com>
27483
27484         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
27485         Define as empty.
27486         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
27487         Likewise.
27488
27489 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27490
27491         [BZ #15214]
27492         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
27493         underflow.
27494         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27495
27496 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
27497
27498         [BZ #15304]
27499         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
27500         Don't add gid passed as argument.
27501
27502         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
27503
27504 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
27505
27506         [BZ #15307]
27507         * math/k_casinh.c (__kernel_casinh): Handle arguments with
27508         imaginary part between 1.0 and 1.5 and real part less than 0.5
27509         specially.
27510         * math/k_casinhf.c (__kernel_casinhf): Likewise.
27511         * math/k_casinhl.c (__kernel_casinhl): Likewise.
27512         * math/libm-test.inc (cacos_test): Add more tests.
27513         (casin_test): Likewise.
27514         (casinh_test): Likewise.
27515         * sysdeps/i386/fpu/libm-test-ulps: Update.
27516         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27517
27518 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
27519
27520         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
27521         constants.
27522         (norm): Likewise.
27523         (denorm): Likewise.
27524         (__dbl_mp): Likewise.
27525         (add_magnitudes): Likewise.
27526         (sub_magnitudes): Likewise.
27527         (__add): Likewise.
27528         (__sub): Likewise.
27529         (__mul): Likewise.
27530         (__sqr): Likewise.
27531         (__inv): Likewise.
27532         (__dvd): Likewise.
27533
27534         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
27535         commented code.
27536         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
27537         (__dubcos): Likewise.
27538         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
27539         (__ieee754_acos): Likewise.
27540         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
27541         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
27542         (__exp1): Likewise.
27543         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
27544         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
27545         (log1): Likewise.
27546         (my_log2): Likewise.
27547         (checkint): Likewise.
27548         * sysdeps/ieee754/dbl-64/e_remainder.c
27549         (__ieee754_remainder): Likewise.
27550         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
27551         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
27552         (bsloww): Likewise.
27553         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
27554
27555         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
27556         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
27557         MANTISSA_STORE_T to store computations on mantissa.  Use
27558         macros for rounding and division.
27559         (denorm): Likewise.
27560         (__dbl_mp): Likewise.
27561         (add_magnitudes): Likewise.
27562         (sub_magnitudes): Likewise.
27563         (__mul): Likewise.
27564         (__sqr): Likewise.
27565         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
27566         powers of two in terms of TWOPOW macro.
27567         (mp_no): Make type of mantissa as MANTISSA_T.
27568         [!RADIXI]: Define RADIXI.
27569         [!TWO52]: Define TWO52.
27570         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
27571
27572 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27573
27574         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
27575         llroundl symbol when building for PPC32.
27576
27577 2013-03-24  Mark H Weaver  <mhw@netris.org>
27578
27579         * manual/arith.texi (Normalization Functions): Fix prototypes for
27580         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
27581
27582 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27583
27584         [BZ #13889]
27585         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
27586         high value to check if expl overflow.
27587         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
27588         to check for underflow and overflow.
27589         * math/libm-test.inc: Add exp test.
27590
27591 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
27592
27593         [BZ #11120]
27594         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
27595         with NOT_IN_libc.
27596
27597 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27598
27599         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
27600         symbol.
27601
27602 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
27603
27604         * math/gen-libm-test.pl (parse_args, special_functions): Properly
27605         wrap blocks consisting of several statements.
27606
27607         * sysdeps/generic/math-tests.h: New file.
27608         * sysdeps/i386/fpu/math-tests.h: Likewise.
27609         * math/test-snan.c: Include it.
27610         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
27611
27612 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
27613
27614         [BZ #15285]
27615         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
27616         (__ieee754_j0l): Do not improve calculations using cos of twice
27617         input for inputs above LDBL_MAX / 2.0L.
27618         (__ieee754_y0l): Likewise.
27619         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
27620         (__ieee754_j1l): Do not improve calculations using cos of twice
27621         input for inputs above LDBL_MAX / 2.0L.
27622         (__ieee754_y1l): Likewise.
27623         * math/libm-test.inc (j0_test): Add another test.
27624         (j1_test): Likewise.
27625         (y0_test): Likewise.
27626         (y1_test): Likewise.
27627         * sysdeps/i386/fpu/libm-test-ulps: Update.
27628
27629 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
27630
27631         * Rules ($(objpfx)bench-%.c): Include code from a C source
27632         file.
27633
27634 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
27635
27636         [BZ #15287]
27637         * math/k_casinh.c (__kernel_casinh): Handle arguments with
27638         imaginary part 1.0 and real part less than 0.5 specially.
27639         * math/k_casinhf.c (__kernel_casinhf): Likewise.
27640         * math/k_casinhl.c (__kernel_casinhl): Likewise.
27641         * math/libm-test.inc (cacos_test): Add more tests.
27642         (casin_test): Likewise.
27643         (casinh_test): Likewise.
27644         * sysdeps/i386/fpu/libm-test-ulps: Update.
27645         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27646
27647 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
27648
27649         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
27650         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
27651
27652 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
27653
27654         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
27655         * config.make.in (config-cflags-sse4): Remove variable.
27656         (config-cflags-avx): Likewise.
27657         (config-cflags-sse2avx): Likewise.
27658         (config-cflags-novzeroupper): Likewise.
27659         (config-asflags-i686): Likewise.
27660         (have-mfma4): Likewise.
27661         (have-as-vis3): Likewise.
27662         (MIG): Likewise.
27663         * configure.in (MIG): Do not AC_SUBST.
27664         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
27665         (libc_cv_cc_sse4): Do not AC_SUBST.
27666         (libc_cv_cc_avx): Likewise.
27667         (libc_cv_cc_sse2avx): Likewise.
27668         (libc_cv_cc_novzeroupper): Likewise.
27669         (libc_cv_cc_fma4): Likewise.
27670         (libc_cv_as_i686): Likewise.
27671         (libc_cv_sparc_as_vis3): Likewise.
27672         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
27673         LIBC_CONFIG_VAR.
27674         (config-asflags-i686): Likewise.
27675         (config-cflags-avx): Likewise.
27676         (config-cflags-sse2avx): Likewise.
27677         (have-mfma4): Likewise.
27678         (config-cflags-novzeroupper): Likewise.
27679         * sysdeps/mach/configure.in (MIG): Likewise.
27680         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
27681         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
27682         LIBC_CONFIG_VAR.
27683         (config-cflags-avx): Likewise.
27684         (config-cflags-sse2avx): Likewise.
27685         (have-mfma4): Likewise.
27686         (config-cflags-novzeroupper): Likewise.
27687         * configure: Regenerated.
27688         * sysdeps/i386/configure: Likewise.
27689         * sysdeps/mach/configure: Likewise.
27690         * sysdeps/sparc/configure: Likewise.
27691         * sysdeps/x86_64/configure: Likewise.
27692
27693 2013-03-20  Roland McGrath  <roland@hack.frob.com>
27694
27695         [BZ #14812]
27696         * locale/programs/localedef.c (options): Put N_ translation marker
27697         on argument names, not just descriptions.
27698
27699 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
27700
27701         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
27702
27703 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
27704
27705         [BZ #14176]
27706         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
27707
27708 2013-03-19  Roland McGrath  <roland@hack.frob.com>
27709
27710         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
27711         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
27712         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
27713         [!BEFORE_ABORT] (before_abort): New function.
27714         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
27715         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
27716         (writev_for_fatal): New function.
27717         (WRITEV_FOR_FATAL): New macro; call that.
27718         (backtrace_and_maps): New function.
27719         (BEFORE_ABORT): New macro; call that.
27720         (struct str_list): Type removed.
27721         (__libc_message, __libc_fatal): Functions removed.
27722         Include <sysdeps/posix/libc_fatal.c> instead.
27723
27724 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
27725
27726         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
27727         constants.
27728         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
27729         double constants.
27730
27731 2013-03-19  Andreas Schwab  <schwab@suse.de>
27732
27733         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
27734         * sysdeps/gnu/configure: Regenerate.
27735
27736         * configure.in: Substitute libc_cv_rtlddir.
27737         * configure: Regenerate.
27738         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
27739         * Makeconfig (rtlddir, inst_rtlddir): New variables.
27740         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
27741         * elf/Makefile (install-others, CFLAGS-interp.c)
27742         (ldso_install, common-ldd-rewrite): Likewise.
27743         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
27744         $(inst_slibdir)/$(rtld-installed-name).
27745         * scripts/rellns-sh: Add -p option.
27746         * Makerules (make-shlib-link): Use rellns-sh to get relative name
27747         for source.
27748
27749 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
27750
27751         * manual/nptl.texi: Renamed to ...
27752         * manual/threads.texi: ... this.
27753         * manual/Makefile (chapters): Update.
27754
27755 2013-03-18  Roland McGrath  <roland@hack.frob.com>
27756
27757         [BZ #14812]
27758         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
27759         on argument names, not just descriptions.
27760         * malloc/memusagestat.c (options): Likewise.
27761         * nss/getent.c (options): Likewise.
27762
27763 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
27764
27765         [BZ #14812]
27766         * iconv/iconv_prog.c (options): Put N_ translation marker
27767         on argument names, not just descriptions.
27768         * iconv/iconvconfig.c (options): Likewise.
27769
27770 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
27771
27772         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
27773         implementation which is faster on all x86_64 architectures.
27774         Tested on AMD, Intel Nehalem, SNB, IVB.
27775         * sysdeps/x86_64/strnlen.S: Likewise.
27776
27777         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
27778         Remove all multiarch strlen and strnlen versions.
27779         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
27780         Remove strlen and strnlen related parts.
27781
27782         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
27783         Inline strlen part.
27784         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
27785
27786         * sysdeps/x86_64/multiarch/strlen.S: Remove.
27787         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
27788         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
27789         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
27790         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
27791         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
27792
27793 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
27794
27795         * manual/memory.texi (Malloc Tunable Parameters):
27796         Sort parameters alphabetically. Add comments for missing entries.
27797
27798 2013-03-17  David S. Miller  <davem@davemloft.net>
27799
27800         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27801
27802 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
27803
27804         [BZ #15283]
27805         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
27806         for arguments at most half maximum finite value.
27807         * math/libm-test.inc (j0_test): Add more tests.
27808         (j1_test): Likewise.
27809         (y0_test): Likewise.
27810         (y1_test): Likewise.
27811         * sysdeps/i386/fpu/libm-test-ulps: Update.
27812         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27813
27814         [BZ #14155]
27815         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
27816         1 / x and functions P and Q for arguments above 0x1p256L.
27817         (__ieee754_y0l): Likewise.
27818         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
27819         (__ieee754_y1l): Likewise.
27820         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
27821         (j1_test): Likewise.
27822         (y0_test): Likewise.
27823         (y1_test): Likewise.
27824
27825 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
27826
27827         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
27828         variable.
27829
27830 2013-03-15  Roland McGrath  <roland@hack.frob.com>
27831
27832         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
27833         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
27834         zero since it's initialized to EXEC_PAGESIZE.
27835
27836         * sysdeps/unix/sysv/linux/ldsodefs.h
27837         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
27838         * sysdeps/generic/ldsodefs.h: ... here.
27839
27840 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
27841
27842         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
27843
27844         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
27845         math/test-snan.c.
27846         * math/test-snan.c: Renamed from
27847         sysdeps/powerpc/fpu/test-powerpc-snan.c.
27848         * math/Makefile (tests): Add test-snan.
27849         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
27850         test-powerpc-snan.
27851
27852         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
27853         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
27854         functions.
27855         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
27856         __builtin_nan family of functions.
27857         * math/libm-test.inc (initialize): Initialize qnan_value with
27858         __builtin_nan family of functions.
27859         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
27860         Remove variables.
27861         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
27862         Remove functions.
27863         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
27864         storage class.  Initialize qNaN_var and sNaN_var with
27865         __builtin_nan and __builtin_nans families of functions,
27866         respectively.
27867
27868         * math/libm-test.inc (acosh_test): Also test with qNaN input.
27869         (sqrt_test): Remove duplicate test with qNaN input.
27870         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
27871         (round_test, signbit_test, significand_test): Note missing +/-Inf
27872         as well as qNaN tests.
27873
27874         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
27875         qNaN_var.  Fix a few strings, too.
27876         * math/libm-test.inc (nan_value): Rename to qnan_value.
27877         * math/gen-libm-test.pl (%beautify): Adjust to that.
27878         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
27879         * math/test-misc.c (main): Likewise.
27880         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
27881         to __qnan_bytes, and __qnan_union, respectively.
27882         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
27883         Likewise.
27884         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
27885         and lqnanval, respectively.
27886         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
27887         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
27888         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
27889         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
27890
27891         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
27892         * math/test-misc.c (main) [__x86_64__]: Enable test for long
27893         doubles.
27894
27895         * math/test-misc.c (main): Fix copy'n'pastos.
27896         * misc/tst-efgcvt.c (special): Likewise.
27897
27898         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
27899         Remove declarations.
27900
27901 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
27902
27903         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
27904         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
27905         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
27906         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
27907
27908 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27909
27910         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
27911         macro to return vdso values correctly in IFUNC implementations.
27912         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
27913         Optimization by using IFUNC.
27914
27915 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
27916             Richard Henderson  <rth@redhat.com>
27917             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
27918
27919         * Makefile.in (bench): New target.
27920         * NEWS: Mention the benchmark framework.
27921         * Rules (bench): Likewise.
27922         (binaries-bench): Generate binaries for functions to
27923         benchmark.
27924         * benchtests/Makefile: New makefile for benchmark tests.
27925         * benchtests/bench-skeleton.c: New skeleton file for benchmark
27926         programs.
27927         * benchtests/exp-inputs: New input file for EXP function.
27928         * benchtests/pow-inputs: New input file for POW function.
27929         * scripts/bench.pl: New script to generate source files for
27930         benchmark programs.
27931
27932 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
27933
27934         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
27935         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
27936         computations on mantissa.  Use macros for rounding and
27937         division.
27938         (denorm): Likewise.
27939         (__dbl_mp): Likewise.
27940         (add_magnitudes): Likewise.
27941         (sub_magnitudes): Likewise.
27942         (__mul): Likewise.
27943         (__sqr): Likewise.
27944         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
27945         powers of two in terms of TWOPOW macro.
27946         (mp_no): Make type of mantissa as MANTISSA_T.
27947         [!RADIXI]: Define RADIXI.
27948         [!TWO52]: Define TWO52.
27949         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
27950
27951         * manual/nptl.texi (cindex): Modify threads to pthreads.
27952
27953 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
27954
27955         * sysdeps/x86_64/preconfigure: Regenerated.
27956
27957 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
27958
27959         [BZ #14155]
27960         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
27961         0x1p28 and above.
27962         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
27963         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
27964         0x1p28 and above.
27965         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
27966         * math/libm-test.inc (j0_test): Do not allow one spurious
27967         underflow exception.
27968         (y1_test): Likewise.
27969
27970 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
27971
27972         * manual/Makefile (chapters): Add nptl.
27973         * manual/debug.texi (Debugging Support): Add link to Threads
27974         chapter.
27975         * manual/nptl.texi: New file.
27976
27977         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
27978
27979 2013-03-14  Petr Baudis  <pasky@ucw.cz>
27980
27981         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
27982         for non-NULL pointer before the memory validity test. Pointed
27983         out by Holger Brunck <holger.brunck@keymile.com>.
27984
27985 2013-03-13  Andreas Schwab  <schwab@suse.de>
27986
27987         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
27988         instead of .os.
27989
27990 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
27991
27992         * timezone/zic.c: Update from tzcode 2013b.
27993
27994 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
27995
27996         * manual/install.texi (Configuring and compiling):
27997         Mention i686 and i586.
27998         * INSTALL: Regenerate.
27999
28000 2013-03-12  Roland McGrath  <roland@hack.frob.com>
28001
28002         * sysdeps/init_array/elf-init.c: New file.
28003         * csu/elf-init.c
28004         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
28005         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
28006
28007         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
28008         __gmon_start__ as global, but as static with a .preinit_array pointer.
28009         * sysdeps/init_array/gmon-start.c: New file.  Use that.
28010         * sysdeps/init_array/crti.S: New file, empty except for comments.
28011         * sysdeps/init_array/crtn.S: Likewise.
28012
28013 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
28014
28015         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
28016         definining bcopy.
28017         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28018         Remove Prefer_SSE_for_memop.
28019         * sysdeps/x86_64/multiarch/init-arch.h: Remove
28020         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
28021         HAS_PREFER_SSE_FOR_MEMOP.
28022         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
28023         memset-x86-64.
28024         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
28025         Remove bzero, memset ifunc support.
28026         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
28027         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
28028         * sysdeps/x86_64/multiarch/memset.S: Likewise.
28029         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
28030
28031 2013-03-11  Andreas Schwab  <schwab@suse.de>
28032
28033         [BZ #15234]
28034         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
28035         by SHLIB_COMPAT.
28036         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
28037         (GLIBC_2.16): Remove pthread_atfork.
28038
28039 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
28040
28041         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
28042         (ptestcases.h): Likewise.
28043
28044 2013-03-08  Roland McGrath  <roland@hack.frob.com>
28045
28046         * Makeconfig ($(common-objpfx)config.status): Depend on
28047         sysdeps/*/preconfigure{,.in} too.
28048
28049 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
28050
28051         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
28052         (__free_hook): Use void * instead of __malloc_ptr_t.
28053         (__malloc_hook): Likewise.
28054         (__realloc_hook): Likewise.
28055         (__memalign_hook): Likewise.
28056         (__after_morecore_hook): Likewise.
28057         * malloc/arena.c (save_malloc_hook): Likewise.
28058         (save_free_hook): Likewise.
28059         * malloc/hooks.c (malloc_hook_ini): Likewise.
28060         (realloc_hook_ini): Likewise.
28061         (memalign_hook_ini): Likewise.
28062         * malloc/malloc.c (malloc_hook_ini): Likewise.
28063         (realloc_hook_ini): Likewise.
28064         (memalign_hook_ini): Likewise.
28065         (__free_hook): Likewise.
28066         (__malloc_hook): Likewise.
28067         (__realloc_hook): Likewise.
28068         (__memalign_hook): Likewise.
28069         (__libc_malloc): Likewise.
28070         (__libc_free): Likewise.
28071         (__libc_realloc): Likewise.
28072         (__libc_memalign): Likewise.
28073         (__libc_valloc): Likewise.
28074         (__libc_pvalloc): Likewise.
28075         (__libc_calloc): Likewise.
28076         (__posix_memalign): Likewise.
28077         * malloc/morecore.c (__sbrk): Likewise.
28078         (__default_morecore): Likewise.
28079
28080         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
28081
28082         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
28083         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
28084         __malloc_ptrdiff_t.
28085
28086         * malloc/malloc.h (__malloc_size_t): Remove macro.
28087         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
28088         __malloc_size_t.
28089         (old_memalign_hook): Likewise.
28090         (old_realloc_hook): Likewise.
28091         (struct hdr): Likewise.
28092         (flood): Likewise.
28093         (mallochook): Likewise.
28094         (memalignhook): Likewise.
28095         (reallochook): Likewise.
28096         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
28097         (tr_old_realloc_hook): Likewise.
28098         (tr_old_memalign_hook): Likewise.
28099         (tr_mallochook): Likewise.
28100         (tr_reallochook): Likewise.
28101         (tr_memalignhook): Likewise.
28102
28103 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28104
28105         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
28106         default_ldbl_pack and using as default implementation.
28107         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
28108         implementation.
28109         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
28110         redundant definition.
28111         (ldbl_insert_mantissa): Likewise.
28112         (ldbl_canonicalize): Likewise.
28113         (ldbl_nearbyint): Likewise.
28114         (ldbl_pack): Rename to ldbl_pack_ppc.
28115         (ldbl_unpack): Rename to ldbl_unpack_ppc.
28116         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
28117         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
28118
28119 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
28120
28121         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
28122         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
28123         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
28124         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
28125         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
28126         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
28127         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
28128         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
28129
28130 2013-03-07  Andreas Jaeger  <aj@suse.de>
28131
28132         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28133         bits/mman-linux.h.
28134
28135 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
28136
28137         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
28138         Include mpa.h and declare __MPEXP.
28139         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
28140         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
28141         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
28142         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
28143         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
28144         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
28145         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
28146
28147         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
28148         (__slowpow): Use long double EXPL and LOGL functions to
28149         compute POW.
28150         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
28151         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
28152         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
28153         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
28154         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
28155         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
28156
28157         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
28158         intermediate variable to calculate exponent.
28159         (__sqr): Likewise.
28160         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
28161         Likewise.
28162         (__sqr): Likewise.
28163
28164         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
28165         [!NO__SQR]: Define __sqr.
28166         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
28167         and NO__SQR.  Remove all code except __mul and __sqr.  Include
28168         sysdeps/ieee754/dbl-64/mpa.c.
28169         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
28170
28171         [BZ #12723]
28172         * posix/Makefile (tests): Add tst-pathconf.
28173         * posix/tst-pathconf.c: New test case.
28174         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
28175         _PC_PIPE_BUF.
28176         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
28177
28178 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
28179
28180         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
28181
28182 2013-03-06  Andreas Jaeger  <aj@suse.de>
28183
28184         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
28185         definition via __MAP_ANONYMOUS.
28186
28187         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
28188         it's not part of Linux headers.
28189
28190         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
28191         (MAP_HUGE_MASK): Define.
28192
28193         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
28194         Define.
28195         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
28196         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
28197         Define.
28198         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
28199         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
28200         Define.
28201         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
28202         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
28203         Define.
28204         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
28205
28206         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
28207         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
28208         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
28209         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
28210         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
28211         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
28212
28213         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
28214         Handle f2fs.
28215
28216         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
28217         Handle f2fs and efivarfs.
28218
28219         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
28220         f2fs.
28221
28222         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
28223         (EFIVARFS_MAGIC): Add.
28224         (F2FS_LINK_MAX): Add.
28225
28226 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
28227
28228         * stdio-common/vfprintf.c: Replace __builtin_expect with
28229         __glibc_unlikely.
28230
28231 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
28232
28233         [BZ #13550]
28234         * sysdeps/generic/bp-sym.h: Remove file.
28235         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
28236         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
28237         <bp-sym.h> and <bp-asm.h>.
28238         (__longjmp): Don't use BP_SYM.
28239         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
28240         and <bp-asm.h>.
28241         (memcpy): Don't use BP_SYM.
28242         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
28243         <bp-sym.h> and <bp-asm.h>.
28244         (memcpy): Don't use BP_SYM.
28245         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
28246         <bp-asm.h>.
28247         (memcpy): Don't use BP_SYM.
28248         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
28249         <bp-asm.h>.
28250         (memset): Don't use BP_SYM.
28251         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
28252         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
28253         (__bzero): Don't use BP_SYM.
28254         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
28255         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
28256         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
28257         <bp-sym.h> and <bp-asm.h>.
28258         (memcmp): Don't use BP_SYM.  Remove comment about bounded
28259         pointers.
28260         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
28261         <bp-sym.h> and <bp-asm.h>.
28262         (memcpy): Don't use BP_SYM.
28263         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
28264         <bp-sym.h> and <bp-asm.h>.
28265         (memset): Don't use BP_SYM.
28266         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
28267         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
28268         (__bzero): Don't use BP_SYM.
28269         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
28270         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
28271         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
28272         <bp-sym.h> and <bp-asm.h>.
28273         (strncmp): Don't use BP_SYM.  Remove comment about bounded
28274         pointers.
28275         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
28276         <bp-sym.h> and <bp-asm.h>.
28277         (memcpy): Don't use BP_SYM.
28278         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
28279         <bp-sym.h> and <bp-asm.h>.
28280         (memset): Don't use BP_SYM.
28281         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
28282         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
28283         (__bzero): Don't use BP_SYM.
28284         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
28285         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
28286         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
28287         <bp-sym.h> and <bp-asm.h>.
28288         (__memchr): Don't use BP_SYM.
28289         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
28290         <bp-sym.h> and <bp-asm.h>.
28291         (memcmp): Don't use BP_SYM.  Remove comment about bounded
28292         pointers.
28293         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
28294         <bp-sym.h> and <bp-asm.h>.
28295         (memcpy): Don't use BP_SYM.
28296         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
28297         <bp-sym.h> and <bp-asm.h>.
28298         (__mempcpy): Don't use BP_SYM.
28299         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
28300         <bp-sym.h> and <bp-asm.h>.
28301         (__memrchr): Don't use BP_SYM.
28302         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
28303         <bp-sym.h> and <bp-asm.h>.
28304         (memset): Don't use BP_SYM.
28305         (__bzero): Likewise.
28306         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
28307         <bp-sym.h> and <bp-asm.h>.
28308         (__rawmemchr): Don't use BP_SYM.
28309         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
28310         <bp-sym.h> and <bp-asm.h>.
28311         (__STRCMP): Don't use BP_SYM.
28312         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
28313         <bp-sym.h> and <bp-asm.h>.
28314         (strchr): Don't use BP_SYM.
28315         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
28316         <bp-sym.h> and <bp-asm.h>.
28317         (__strchrnul): Don't use BP_SYM.
28318         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
28319         <bp-sym.h> and <bp-asm.h>.
28320         (strlen): Don't use BP_SYM.
28321         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
28322         <bp-sym.h> and <bp-asm.h>.
28323         (strncmp): Don't use BP_SYM.  Remove comment about bounded
28324         pointers.
28325         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
28326         <bp-sym.h> and <bp-asm.h>.
28327         (__strnlen): Don't use BP_SYM.
28328         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
28329         <bp-sym.h> and <bp-asm.h>.
28330         (__GI__setjmp): Don't use BP_SYM.
28331         (_setjmp): Likewise.
28332         (__sigsetjmp): Likewise.
28333         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
28334         (L(start_addresses)): Don't use BP_SYM.
28335         (_start): Likewise.
28336         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
28337         <bp-asm.h>.
28338         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
28339         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
28340         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
28341         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
28342         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
28343         <bp-asm.h>.
28344         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
28345         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
28346         about bounded pointers.
28347         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
28348         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
28349         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
28350         <bp-asm.h>.
28351         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
28352         about bounded pointers.  Remove GKM FIXME comments.
28353         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
28354         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
28355         <bp-asm.h>.
28356         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
28357         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
28358         Remove GKM FIXME comments.
28359         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
28360         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
28361         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
28362         <bp-asm.h>.
28363         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
28364         about bounded pointers.  Remove GKM FIXME comment.
28365         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
28366         and <bp-asm.h>.
28367         (strncmp): Don't use BP_SYM.  Remove comment about bounded
28368         pointers.
28369         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
28370         <bp-sym.h> and <bp-asm.h>.
28371         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
28372         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
28373         <bp-sym.h> and <bp-asm.h>.
28374         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
28375         comment.
28376
28377 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
28378
28379         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
28380         call free(NULL).
28381
28382 2013-03-05  David S. Miller  <davem@davemloft.net>
28383
28384         * po/es.po: Update from translation team.
28385
28386 2013-03-05  Andreas Jaeger  <aj@suse.de>
28387
28388         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
28389         <bits/mman-linux.h>.
28390         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
28391         is fine.
28392         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
28393         <bits/mman-linux.h> to end of file.
28394         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
28395         is fine.
28396         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
28397         <bits/mman-linux.h> to end of file.
28398         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
28399         is fine.
28400         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
28401         <bits/mman-linux.h> to end of file.
28402
28403         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
28404         (MCL_CURRENT, MCL_FUTURE): Define here.
28405
28406 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28407
28408         [BZ #15232]
28409         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
28410         attribute_hidden.
28411         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
28412
28413 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28414
28415         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
28416         fourth parameter needed for rt_sigprocmask syscall.
28417         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
28418         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
28419         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
28420         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
28421         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
28422         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
28423
28424 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
28425
28426         [BZ #13550]
28427         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
28428         comment about bounded pointers.
28429         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
28430         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
28431
28432 2013-03-04  Andreas Jaeger  <aj@suse.de>
28433
28434         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
28435         common definitions.
28436
28437         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
28438         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
28439         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
28440         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
28441         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
28442         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
28443
28444 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28445
28446         [BZ #15055]
28447         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
28448         __ieee754_sqrl instead of __sqrl.
28449
28450 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
28451
28452         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
28453         * sysdeps/powerpc/fpu_control.h: ... here.
28454         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
28455         * sysdeps/powerpc/bits/fenvinline.h: ... here.
28456         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
28457         * sysdeps/powerpc/bits/mathinline.h: ... here.
28458
28459 2013-03-01  Roland McGrath  <roland@hack.frob.com>
28460
28461         * elf/dl-hwcaps.c (_dl_important_hwcaps):
28462         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
28463         to just [NEED_DL_SYSINFO_DSO].
28464         * elf/dl-support.c: Likewise.
28465         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
28466         * elf/rtld.c (dl_main): Likewise.
28467         * elf/setup-vdso.h (setup_vdso): Likewise.
28468         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
28469         * sysdeps/unix/sysv/linux/dl-sysdep.c
28470         (_dl_discover_osversion): Likewise.
28471
28472 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
28473
28474         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
28475         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
28476
28477 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
28478
28479         * NEWS: Mention libm performance improvements and non-x86 PI
28480         futex support.
28481
28482         * csu/libc-start.c (__pthread_initialize_minimal): Change
28483         function arguments.
28484         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
28485
28486 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
28487
28488         [BZ #13550]
28489         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
28490         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
28491         <bp-sym.h> and <bp-asm.h>.
28492         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
28493         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
28494         and <bp-asm.h>.
28495         (memcpy): Don't use BP_SYM.
28496         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
28497         <bp-asm.h>.
28498         (__mpn_add_n): Don't use BP_SYM.
28499         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
28500         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
28501         and <bp-asm.h>.
28502         (__mpn_addmul_1): Don't use BP_SYM.
28503         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
28504         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
28505         <bp-sym.h>.
28506         (_setjmp): Don't use BP_SYM.
28507         (__novmx_setjmp): Likewise.
28508         (__GI__setjmp): Likewise.
28509         (__vmx_setjmp): Likewise.
28510         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
28511         <bp-sym.h>.
28512         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
28513         (__bzero): Don't use BP_SYM.
28514         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
28515         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
28516         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
28517         <bp-sym.h> and <bp-asm.h>.
28518         (memcpy): Don't use BP_SYM.
28519         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
28520         <bp-sym.h> and <bp-asm.h>.
28521         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
28522         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
28523         <bp-sym.h> and <bp-asm.h>.
28524         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
28525         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
28526         <bp-asm.h>.
28527         (__mpn_lshift): Don't use BP_SYM.
28528         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
28529         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
28530         <bp-asm.h>.
28531         (memset): Don't use BP_SYM.
28532         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
28533         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
28534         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
28535         <bp-asm.h>.
28536         (__mpn_mul_1): Don't use BP_SYM.
28537         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
28538         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
28539         <bp-sym.h> and <bp-asm.h>.
28540         (memcmp): Don't use BP_SYM.
28541         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
28542         <bp-sym.h> and <bp-asm.h>.
28543         (memcpy): Don't use BP_SYM.
28544         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
28545         <bp-sym.h> and <bp-asm.h>.
28546         (memset): Don't use BP_SYM.
28547         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
28548         <bp-sym.h> and <bp-asm.h>.
28549         (strncmp): Don't use BP_SYM.
28550         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
28551         <bp-sym.h> and <bp-asm.h>.
28552         (memcpy): Don't use BP_SYM.
28553         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
28554         <bp-sym.h> and <bp-asm.h>.
28555         (memset): Don't use BP_SYM.
28556         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
28557         <bp-sym.h> and <bp-asm.h>.
28558         (__memchr): Don't use BP_SYM.
28559         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
28560         <bp-sym.h> and <bp-asm.h>.
28561         (memcmp): Don't use BP_SYM.
28562         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
28563         <bp-sym.h> and <bp-asm.h>.
28564         (memcpy): Don't use BP_SYM.
28565         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
28566         <bp-sym.h> and <bp-asm.h>.
28567         (__mempcpy): Don't use BP_SYM.
28568         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
28569         <bp-sym.h> and <bp-asm.h>.
28570         (__memrchr): Don't use BP_SYM.
28571         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
28572         <bp-sym.h> and <bp-asm.h>.
28573         (memset): Don't use BP_SYM.
28574         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
28575         <bp-sym.h> and <bp-asm.h>.
28576         (__rawmemchr): Don't use BP_SYM.
28577         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
28578         <bp-sym.h> and <bp-asm.h>.
28579         (__STRCMP): Don't use BP_SYM.
28580         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
28581         <bp-sym.h> and <bp-asm.h>.
28582         (strchr): Don't use BP_SYM.
28583         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
28584         <bp-sym.h> and <bp-asm.h>.
28585         (__strchrnul): Don't use BP_SYM.
28586         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
28587         <bp-sym.h> and <bp-asm.h>.
28588         (strlen): Don't use BP_SYM.
28589         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
28590         <bp-sym.h> and <bp-asm.h>.
28591         (strncmp): Don't use BP_SYM.
28592         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
28593         <bp-sym.h> and <bp-asm.h>.
28594         (__strnlen): Don't use BP_SYM.
28595         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
28596         <bp-asm.h>.
28597         (__mpn_rshift): Don't use BP_SYM.
28598         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
28599         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
28600         <bp-sym.h> and <bp-asm.h>.
28601         (__sigsetjmp): Don't use BP_SYM.
28602         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
28603         (L(start_addresses)): Don't use BP_SYM.
28604         (_start): Likewise.
28605         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
28606         <bp-asm.h>.
28607         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
28608         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
28609         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
28610         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
28611         <bp-asm.h>.
28612         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
28613         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
28614         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
28615         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
28616         <bp-asm.h>.
28617         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
28618         comments.
28619         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
28620         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
28621         <bp-asm.h>.
28622         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
28623         FIXME comments.
28624         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
28625         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
28626         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
28627         <bp-asm.h>.
28628         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
28629         comment.
28630         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
28631         and <bp-asm.h>.
28632         (strncmp): Don't use BP_SYM,
28633         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
28634         <bp-asm.h>.
28635         (__mpn_sub_n): Don't use BP_SYM.
28636         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
28637         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
28638         and <bp-asm.h>.
28639         (__mpn_submul_1): Don't use BP_SYM.
28640         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
28641         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
28642         <bp-sym.h> and <bp-asm.h>.
28643         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
28644         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
28645         <bp-sym.h> and <bp-asm.h>.
28646         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
28647         comment.
28648
28649 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
28650
28651         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
28652         Use ZK to minimize writes to Z.
28653         (sub_magnitudes): Simplify code a bit.
28654         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
28655         Use ZK to minimize writes to Z.
28656         (sub_magnitudes): Simplify code a bit.
28657
28658 2013-02-27  Roland McGrath  <roland@hack.frob.com>
28659
28660         * csu/gmon-start.c: Add special exception to license text.
28661
28662 2013-02-27  Richard Henderson  <rth@redhat.com>
28663
28664         * scripts/config.guess: Update from config.git.
28665         * scripts/config.sub: Likewise.
28666
28667 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
28668
28669         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
28670
28671         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
28672
28673         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
28674
28675         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
28676
28677         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
28678
28679 2013-02-26  Roland McGrath  <roland@hack.frob.com>
28680
28681         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
28682         [$(build-shared = yes].
28683
28684 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
28685
28686         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
28687         (__mul): Reduce iterations for calculating mantissa.
28688
28689         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
28690         MPTWO.
28691         (__mpranred): Likewise.
28692
28693         [BZ #15160]
28694         * malloc/memusagestat.c (main): Draw graphs for heap and stack
28695         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
28696
28697 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
28698
28699         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
28700         Define __attribute__.
28701
28702 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
28703
28704         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
28705         unused.
28706         * posix/regex_internal.h (__attribute): Remove.
28707         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
28708         (re_string_context_at): Likewise.
28709         (bitset_not): Use __attribute__ and mark function as possibly
28710         unused.
28711         (bitset_merge): Likewise.
28712         (bitset_mask): Likewise.
28713         (re_string_char_size_at): Likewise.
28714         (re_string_wchar_at): Likewise.
28715         (re_string_elem_size_at): Likewise.
28716
28717 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
28718
28719         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
28720         code.
28721         (cc32): Likewise.
28722
28723         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
28724         (__acr): Likewise.
28725         (__cpy): Likewise.
28726         (norm): Likewise.
28727         (denorm): Likewise.
28728         (__dbl_mp): Likewise.
28729         (add_magnitudes): Likewise.
28730         (sub_magnitudes): Likewise.
28731         (__mul): Likewise.
28732         (__inv): Likewise.
28733
28734         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
28735         style.
28736
28737         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
28738         style.
28739
28740         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
28741         code.
28742
28743         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
28744         up changes with default code.
28745         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
28746         Likewise.
28747
28748 2013-02-24  Allan McRae  <allan@archlinux.org>
28749
28750         * manual/socket.texi (The Internet Namespace): Order menu items
28751         to match that in the file.
28752
28753         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
28754         node listing of the info page menu.
28755
28756 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
28757
28758         [BZ #13550]
28759         * sysdeps/i386/bp-asm.h: Remove file.
28760         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
28761         (PARMS): Do not use macros from bp-asm.h.
28762         (S1): Likewise.
28763         (S2): Likewise.
28764         (SIZE): Likewise.
28765         (__mpn_add_n): Do not use BP_SYM
28766         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
28767         "bp-asm.h".
28768         (PARMS): Do not use macros from bp-asm.h.
28769         (S1): Likewise.
28770         (SIZE): Likewise.
28771         (__mpn_addmul_1): Do not use BP_SYM
28772         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
28773         "bp-asm.h".
28774         (PARMS): Do not use macros from bp-asm.h.
28775         (SIGMSK): Likewise.
28776         (_setjmp): Likewise.  Do not use BP_SYM.
28777         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
28778         "bp-asm.h".
28779         (PARMS): Do not use macros from bp-asm.h.
28780         (SIGMSK): Likewise.
28781         (setjmp): Likewise.  Do not use BP_SYM.
28782         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
28783         "bp-asm.h".
28784         (PARMS): Do not use macros from bp-asm.h.
28785         (__frexp): Do not use BP_SYM.
28786         (frexp): Likewise.
28787         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
28788         "bp-asm.h".
28789         (PARMS): Do not use macros from bp-asm.h.
28790         (__frexpf): Do not use BP_SYM.
28791         (frexpf): Likewise.
28792         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
28793         "bp-asm.h".
28794         (PARMS): Do not use macros from bp-asm.h.
28795         (__frexpl): Do not use BP_SYM.
28796         (frexpl): Likewise.
28797         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
28798         "bp-asm.h".
28799         (PARMS): Do not use macros from bp-asm.h.
28800         (__remquo): Do not use BP_SYM.
28801         (remquo): Likewise.
28802         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
28803         "bp-asm.h".
28804         (PARMS): Do not use macros from bp-asm.h.
28805         (__remquof): Do not use BP_SYM.
28806         (remquof): Likewise.
28807         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
28808         "bp-asm.h".
28809         (PARMS): Do not use macros from bp-asm.h.
28810         (__remquol): Do not use BP_SYM.
28811         (remquol): Likewise.
28812         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
28813         "bp-asm.h".
28814         (PARMS): Do not use macros from bp-asm.h.
28815         (DEST): Likewise.
28816         (SRC): Likewise.
28817         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
28818         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
28819         "bp-asm.h".
28820         (PARMS): Do not use macros from bp-asm.h.
28821         (strlen): Do not use BP_SYM.
28822         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
28823         "bp-asm.h".
28824         (PARMS): Do not use macros from bp-asm.h.
28825         (S1): Likewise.
28826         (S2): Likewise.
28827         (SIZE): Likewise.
28828         (__mpn_add_n): Do not use BP_SYM.
28829         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
28830         "bp-asm.h".
28831         (PARMS): Do not use macros from bp-asm.h.
28832         (S1): Likewise.
28833         (SIZE): Likewise.
28834         (__mpn_addmul_1): Do not use BP_SYM.
28835         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
28836         weak_alias.
28837         (bzero): Likewise.
28838         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
28839         "bp-asm.h".
28840         (PARMS): Do not use macros from bp-asm.h.
28841         (S): Likewise.
28842         (SIZE): Likewise.
28843         (__mpn_lshift): Do not use BP_SYM.
28844         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
28845         "bp-asm.h".
28846         (PARMS): Do not use macros from bp-asm.h.
28847         (DEST): Likewise.
28848         (SRC): Likewise.
28849         (LEN): Likewise.
28850         (memcpy): Likewise.  Do not use BP_SYM.
28851         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
28852         libc_hidden_def and weak_alias.
28853         (mempcpy): Do not use BP_SYM in weak_alias.
28854         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
28855         "bp-asm.h".
28856         (PARMS): Do not use macros from bp-asm.h.
28857         (DEST): Likewise.
28858         (LEN): Likewise.
28859         [!BZERO_P] (CHR): Likewise.
28860         (memset): Likewise.  Do not use BP_SYM.
28861         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
28862         "bp-asm.h".
28863         (PARMS): Do not use macros from bp-asm.h.
28864         (S1): Likewise.
28865         (SIZE): Likewise.
28866         (__mpn_mul_1): Do not use BP_SYM.
28867         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
28868         "bp-asm.h".
28869         (PARMS): Do not use macros from bp-asm.h.
28870         (S): Likewise.
28871         (SIZE): Likewise.
28872         (__mpn_rshift): Do not use BP_SYM.
28873         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
28874         "bp-asm.h".
28875         (PARMS): Do not use macros from bp-asm.h.
28876         (STR): Likewise.
28877         (CHR): Likewise.
28878         (strchr): Likewise.  Do not use BP_SYM.
28879         (index): Do not use BP_SYM in weak_alias.
28880         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
28881         "bp-asm.h".
28882         (PARMS): Do not use macros from bp-asm.h.
28883         (DEST): Likewise.
28884         (SRC): Likewise.
28885         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
28886         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
28887         "bp-asm.h".
28888         (PARMS): Do not use macros from bp-asm.h.
28889         (strlen): Do not use BP_SYM.
28890         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
28891         "bp-asm.h".
28892         (PARMS): Do not use macros from bp-asm.h.
28893         (S1): Likewise.
28894         (S2): Likewise.
28895         (SIZE): Likewise.
28896         (__mpn_sub_n): Do not use BP_SYM.
28897         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
28898         "bp-asm.h".
28899         (PARMS): Do not use macros from bp-asm.h.
28900         (S1): Likewise.
28901         (SIZE): Likewise.
28902         (__mpn_submul_1): Do not use BP_SYM.
28903         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
28904         "bp-asm.h".
28905         (PARMS): Do not use macros from bp-asm.h.
28906         (S1): Likewise.
28907         (S2): Likewise.
28908         (SIZE): Likewise.
28909         (__mpn_add_n): Do not use BP_SYM.
28910         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
28911         weak_alias.
28912         (bzero): Likewise.
28913         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
28914         "bp-asm.h".
28915         (PARMS): Do not use macros from bp-asm.h.
28916         (BLK2): Likewise.
28917         (LEN): Likewise.
28918         (memcmp): Do not use BP_SYM.
28919         (bcmp): Do not use BP_SYM in weak_alias.
28920         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
28921         "bp-asm.h".
28922         (PARMS): Do not use macros from bp-asm.h.
28923         (DEST): Likewise.
28924         (SRC): Likewise.
28925         (LEN): Likewise.
28926         (memcpy): Likewise.  Do not use BP_SYM.
28927         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
28928         "bp-asm.h".
28929         (PARMS): Do not use macros from bp-asm.h.
28930         (DEST): Likewise.
28931         (SRC): Likewise.
28932         (LEN): Likewise.
28933         (memmove): Likewise.  Do not use BP_SYM.
28934         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
28935         "bp-asm.h".
28936         (PARMS): Do not use macros from bp-asm.h.
28937         (DEST): Likewise.
28938         (SRC): Likewise.
28939         (LEN): Likewise.
28940         (__mempcpy): Likewise.  Do not use BP_SYM.
28941         (mempcpy): Do not use BP_SYM in weak_alias.
28942         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
28943         "bp-asm.h".
28944         (PARMS): Do not use macros from bp-asm.h.
28945         (DEST): Likewise.
28946         (LEN): Likewise.
28947         [!BZERO_P] (CHR): Likewise.
28948         (memset): Likewise.  Do not use BP_SYM.
28949         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
28950         "bp-asm.h".
28951         (PARMS): Do not use macros from bp-asm.h.
28952         (STR2): Likewise.
28953         (strcmp): Do not use BP_SYM.
28954         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
28955         "bp-asm.h".
28956         (PARMS): Do not use macros from bp-asm.h.
28957         (STR): Likewise.
28958         (DELIM): Likewise.
28959         [USE_AS_STRTOK_R] (SAVE): Likewise.
28960         (FUNCTION): Likewise.  Do not use BP_SYM.
28961         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
28962         aliases.
28963         (strtok_r): Likewise.
28964         (__GI___strtok_r): Likewise.
28965         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
28966         (PARMS): Do not use macros from bp-asm.h.
28967         (S): Likewise.
28968         (SIZE): Likewise.
28969         (__mpn_lshift): Do not use BP_SYM.
28970         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
28971         (PARMS): Do not use macros from bp-asm.h.
28972         (STR): Likewise.
28973         (CHR): Likewise.
28974         (__memchr): Do not use BP_SYM.
28975         (memchr): Do not use BP_SYM in weak_alias.
28976         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
28977         (PARMS): Do not use macros from bp-asm.h.
28978         (BLK2): Likewise.
28979         (LEN): Likewise.
28980         (memcmp): Do not use BP_SYM.
28981         (bcmp): Do not use BP_SYM in weak_alias.
28982         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
28983         (PARMS): Do not use macros from bp-asm.h.
28984         (S1): Likewise.
28985         (SIZE): Likewise.
28986         (__mpn_mul_1): Do not use BP_SYM.
28987         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
28988         "bp-asm.h".
28989         (PARMS): Do not use macros from bp-asm.h.
28990         (STR): Likewise.
28991         (CHR): Likewise.
28992         (__rawmemchr): Do not use BP_SYM.
28993         (rawmemchr): Do not use BP_SYM in weak_alias.
28994         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
28995         (PARMS): Do not use macros from bp-asm.h.
28996         (S): Likewise.
28997         (SIZE): Likewise.
28998         (__mpn_rshift): Do not use BP_SYM.
28999         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
29000         (PARMS): Do not use macros from bp-asm.h.
29001         (SIGMSK): Likewise.
29002         (__sigsetjmp): Likewise.  Do not use BP_SYM.
29003         * sysdeps/i386/start.S: Do not include "bp-sym.h".
29004         (_start): Do not use BP_SYM.
29005         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
29006         (PARMS): Do not use macros from bp-asm.h.
29007         (DEST): Likewise.
29008         (SRC): Likewise.
29009         (__stpcpy): Likewise.  Do not use BP_SYM.
29010         (stpcpy): Do not use BP_SYM in weak_alias.
29011         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
29012         "bp-asm.h".
29013         (PARMS): Do not use macros from bp-asm.h.
29014         (DEST): Likewise.
29015         (SRC): Likewise.
29016         (LEN): Likewise.
29017         (__stpncpy): Likewise.  Do not use BP_SYM.
29018         (stpncpy): Do not use BP_SYM in weak_alias.
29019         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
29020         (PARMS): Do not use macros from bp-asm.h.
29021         (STR): Likewise.
29022         (CHR): Likewise.
29023         (strchr): Likewise.  Do not use BP_SYM.
29024         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
29025         "bp-asm.h".
29026         (PARMS): Do not use macros from bp-asm.h.
29027         (STR): Likewise.
29028         (CHR): Likewise.
29029         (__strchrnul): Likewise.  Do not use BP_SYM.
29030         (strchrnul): Do not use BP_SYM in weak_alias.
29031         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
29032         "bp-asm.h".
29033         (PARMS): Do not use macros from bp-asm.h.
29034         (STOP): Likewise.
29035         (strcspn): Do not use BP_SYM.
29036         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
29037         "bp-asm.h".
29038         (PARMS): Do not use macros from bp-asm.h.
29039         (STR): Likewise.
29040         (STOP): Likewise.
29041         (strpbrk): Likewise.  Do not use BP_SYM.
29042         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
29043         "bp-asm.h".
29044         (PARMS): Do not use macros from bp-asm.h.
29045         (STR): Likewise.
29046         (CHR): Likewise.
29047         (strrchr): Likewise.  Do not use BP_SYM.
29048         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
29049         (PARMS): Do not use macros from bp-asm.h.
29050         (SKIP): Likewise.
29051         (strspn): Do not use BP_SYM.
29052         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
29053         (PARMS): Do not use macros from bp-asm.h.
29054         (STR): Likewise.
29055         (DELIM): Likewise.
29056         (SAVE): Likewise.
29057         (FUNCTION): Likewise.  Do not use BP_SYM.
29058         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
29059         aliases.
29060         (strtok_r): Likewise.
29061         (__GI___strtok_r): Likewise.
29062         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
29063         (PARMS): Do not use macros from bp-asm.h.
29064         (S1): Likewise.
29065         (S2): Likewise.
29066         (SIZE): Likewise.
29067         (__mpn_sub_n): Do not use BP_SYM.
29068         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
29069         "bp-asm.h".
29070         (PARMS): Do not use macros from bp-asm.h.
29071         (S1): Likewise.
29072         (SIZE): Likewise.
29073         (__mpn_submul_1): Do not use BP_SYM.
29074         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
29075         <bp-sym.h>.
29076         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
29077         and <bp-asm.h>.
29078         (PARMS): Do not use macros from bp-asm.h.
29079         (FLAGS): Likewise.
29080         (PTID): Likewise.
29081         (TLS): Likewise.
29082         (CTID): Likewise.
29083         (__clone): Do not use BP_SYM.
29084         (clone): Do not use BP_SYM in weak_alias.
29085         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
29086         and <bp-asm.h>.
29087         (PARMS): Do not use macros from bp-asm.h.
29088         (LEN): Likewise.
29089         (__mmap64): Do not use BP_SYM.
29090         (mmap64): Do not use BP_SYM in weak_alias.
29091         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
29092         <bp-sym.h> and <bp-asm.h>.
29093         (PARMS): Do not use macros from bp-asm.h.
29094         (__posix_fadvise64_l64): Do not use BP_SYM.
29095         * sysdeps/unix/sysv/linux/i386/semtimedop.S
29096         (PARMS): Do not use macros from bp-asm.h.
29097         (NSOPS): Likewise.
29098         (semtimedop): Do not use BP_SYM.
29099         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
29100         and <bp-asm.h>.
29101
29102 2013-02-21  Allan McRae  <allan@archlinux.org>
29103
29104         * manual/message.texi (Charset conversion in gettext):
29105         Move @end statement to beginning of line.
29106
29107 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
29108
29109         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
29110         static.
29111         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
29112         Likewise.
29113
29114         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
29115         (denorm): Likewise.
29116         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
29117         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
29118
29119 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29120
29121         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
29122         tail-call to the resolved function if pltexit isn't needed.
29123
29124 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
29125
29126         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
29127         or Y being zero as being unlikely.
29128         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
29129         Likewise.
29130
29131 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
29132
29133         * manual/nss.texi (System Databases and Name Service Switch):
29134         Remove frobnicate @pxref.
29135
29136 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
29137
29138         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
29139         __attribute__ ((unused)) to __attribute__ ((__unused__)).
29140
29141 2013-02-20  Petr Machata  <pmachata@redhat.com>
29142
29143         * elf/elf.h (R_ARM_TARGET1): New macro.
29144         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
29145         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
29146         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
29147         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
29148         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
29149         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
29150         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
29151         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
29152         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
29153         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
29154         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
29155         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
29156         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
29157         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
29158         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
29159         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
29160         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
29161         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
29162         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
29163         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
29164         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
29165         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
29166         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
29167         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
29168         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
29169         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
29170         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
29171         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
29172         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
29173         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
29174         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
29175         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
29176         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
29177         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
29178         (R_ARM_THM_GOT_BREL12): Likewise.
29179         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
29180         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
29181         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
29182         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
29183         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
29184         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
29185         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
29186         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
29187         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
29188
29189 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
29190
29191         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
29192         __attribute_used__ to __attribute__ ((unused)).
29193
29194 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
29195
29196         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
29197         powerpc mpa.c.
29198         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
29199         comment formatting.
29200         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
29201
29202 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
29203
29204         [BZ #13550]
29205         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
29206         Remove macro.
29207         (ENTER): Remove both macro definitions.
29208         (LEAVE): Likewise.
29209         (CHECK_BOUNDS_LOW): Likewise.
29210         (CHECK_BOUNDS_HIGH): Likewise.
29211         (CHECK_BOUNDS_BOTH): Likewise.
29212         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
29213         (RETURN_BOUNDED_POINTER): Likewise.
29214         (RETURN_NULL_BOUNDED_POINTER): Likewise.
29215         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
29216         (POP_ERRNO_LOCATION_RETURN): Likewise.
29217         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
29218         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
29219         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
29220         macros.
29221         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29222         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
29223         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
29224         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
29225         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
29226         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
29227         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
29228         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
29229         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
29230         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
29231         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
29232         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
29233         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
29234         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
29235         removed macros.
29236         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29237         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
29238         macros.
29239         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
29240         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
29241         * sysdeps/i386/i586/memset.S (memset): Likewise.
29242         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
29243         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29244         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
29245         macros.
29246         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
29247         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
29248         Change uses of L(2) to L(out).
29249         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
29250         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
29251         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
29252         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
29253         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
29254         removed macros.
29255         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29256         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
29257         macros.
29258         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
29259         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
29260         (RETURN): Do not use macro LEAVE.
29261         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
29262         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
29263         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
29264         * sysdeps/i386/i686/memset.S (memset): Likewise.
29265         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
29266         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
29267         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
29268         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
29269         Likewise.
29270         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
29271         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
29272         L(1_2) and L(1_3) into L(1).
29273         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
29274         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
29275         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
29276         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
29277         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
29278         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
29279         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
29280         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29281         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
29282         macros.
29283         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
29284         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
29285         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
29286         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
29287         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
29288         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
29289         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
29290         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
29291         * sysdeps/i386/strcspn.S (strcspn): Likewise.
29292         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
29293         * sysdeps/i386/strrchr.S (strrchr): Likewise.
29294         * sysdeps/i386/strspn.S (strspn): Likewise.
29295         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
29296         conditional code.
29297         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
29298         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
29299         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
29300         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
29301         L(1_3) into L(1_1).
29302         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
29303         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
29304         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
29305         macros.
29306         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29307
29308 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
29309
29310         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
29311         macro.
29312
29313 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
29314
29315         * math/atest-exp.c (exp_mpn): Remove ROUND.
29316         * math/atest-exp2.c (exp_mpn): Likewise.
29317         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
29318
29319         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
29320         * stdlib/tst-tls-atexit-lib.c: Likewise.
29321         * stdlib/tst-tls-atexit.c: Likewise.
29322
29323 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
29324
29325         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
29326         and __attribute_alloc_size__.
29327
29328 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
29329
29330         * include/programs/xmalloc.h: Change __attribute_alloc_size to
29331         __attribute_alloc_size__.
29332         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
29333         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
29334
29335 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
29336
29337         * include/programs/xmalloc.h: New file.
29338         * catgets/gencat.c: Include it.
29339         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
29340         * elf/pldd.c: Likewise.
29341         * iconv/iconv_charmap.c: Likewise.
29342         * iconv/iconvconfig.c: Likewise.
29343         * iconv/strtab.c: Likewise.
29344         * locale/programs/locale.c: Likewise.
29345         * locale/programs/localedef.h: Likewise.
29346         * locale/programs/simple-hash.c: Likewise.
29347         * nscd/nscd.h: Likewise.
29348         * nss/makedb.c: Likewise.
29349         * sysdeps/generic/ldconfig.h: Likewise.
29350
29351 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
29352
29353         * Versions.def: Add GLIBC_2.18.
29354         * include/link.h (struct link_map): New member l_tls_dtor_count.
29355         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
29356         (__call_tls_dtors): Likewise.
29357         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
29358         __cxa_thread_atexit_impl.
29359         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29360         Likewise.
29361         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
29362         Likewise.
29363         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
29364         Likewise.
29365         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
29366         Likewise.
29367         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
29368         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
29369         Likewise.
29370         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
29371         Likewise.
29372         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
29373         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
29374         Likewise.
29375         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
29376         (tests): Add test case tst-tls-atexit.
29377         (modules-names): Add shared library for tst-tls-atexit.
29378         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
29379         (GLIBC_PRIVATE): Add __call_tls_dtors.
29380         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
29381         for libstdc++.
29382         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
29383         * stdlib/tst-tls-atexit.c: New test case.
29384         * stdlib/tst-tls-atexit-lib.c: New test case.
29385
29386         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
29387
29388         * elf/Versions (ld): Add _dl_find_dso_for_object.
29389         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
29390         * elf/dl-open.c (_dl_find_dso_for_object): New function.
29391         (dl_open_worker): Use _dl_find_dso_for_object.
29392         * elf/dl-sym.c (do_sym): Likewise.
29393         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
29394
29395 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29396
29397         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
29398         Syntactic changes only.
29399         (_dl_runtime_profile): Do a tail-call to the resolved function.
29400
29401 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
29402
29403         [BZ #13550]
29404         * sysdeps/x86_64/bp-asm.h: Remove file.
29405         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
29406         <bp-sym.h> and <bp-asm.h>.
29407         (__clone): Do not use BP_SYM.
29408         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
29409         <bp-sym.h> and <bp-asm.h>.
29410         * sysdeps/unix/x86_64/sysdep.S: Likewise.
29411         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
29412         "bp-asm.h".
29413         (_setjmp): Do not use BP_SYM.
29414         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
29415         "bp-asm.h".
29416         (setjmp): Do not use BP_SYM.
29417         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
29418         libc_hidden_def.
29419         (mempcpy): Do not use BP_SYM in weak_alias.
29420         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
29421         "bp-asm.h".
29422         (strchr): Do not use BP_SYM.
29423         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
29424         "bp-asm.h".
29425         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
29426         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
29427         (_start): Do not use BP_SYM.
29428         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
29429         "bp-asm.h".
29430         (strcat): Do not use BP_SYM.
29431         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
29432         "bp-asm.h".
29433         (STRCMP): Do not use BP_SYM.
29434         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
29435         "bp-asm.h".
29436         (STRCPY): Do not use BP_SYM.
29437         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
29438         "bp-asm.h".
29439         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
29440         "bp-asm.h".
29441         (FUNCTION): Do not use BP_SYM.
29442         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
29443         weak_alias.
29444         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
29445
29446 2013-02-17  Andreas Jaeger  <aj@suse.de>
29447
29448         * time/Versions: Sort entries.
29449         * string/Versions: Likewise.
29450         * resolv/Versions: Likewise.
29451         * posix/Versions: Likewise.
29452         * iconv/Versions: Likewise.
29453         * elf/Versions: Likewise.
29454         * wcsmbs/Versions: Likewise.
29455
29456 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
29457
29458         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
29459         loop termination condition.
29460
29461         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
29462         variable to calculate EZ.
29463         (__sqr): Likewise.
29464
29465         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
29466         the lower precision input.
29467
29468 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
29469
29470         [BZ #13550]
29471         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
29472         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
29473         (run-via-rtld-prefix): Do not handle %-bp tests.
29474         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
29475         (all-object-suffixes): Remove .ob.
29476         (bppfx): Remove variable.
29477         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
29478         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
29479         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
29480         [$(build-bounded) = yes] (libtype.ob): Likewise.
29481         * Makerules (elide-routines.ob): Remove variable.
29482         (do-tests-clean): Do not handle *-bp.out.
29483         (common-mostlyclean): Do not handle *-bp and *-bp.out.
29484         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
29485         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
29486         (tests): Do not include $(tests-bp.out).
29487         (xtests): Do not include $(xtests-bp.out).
29488         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
29489         [$(build-bounded) = yes] ($(addprefix
29490         $(objpfx),$(binaries-bounded))): Remove rule.
29491         ($(objpfx)%-bp.out): Remove rule.
29492         * config.make.in (build-bounded): Remove variable.
29493         * crypt/Makefile [$(build-bounded) = yes]
29494         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
29495         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
29496         append to variable.
29497         [$(build-bounded) = yes] (install-lib): Likewise.
29498         [$(build-bounded) = yes] (generated): Likewise.
29499         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
29500         Remove rule.
29501         * intl/Makefile [$(build-bounded) = yes]
29502         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
29503         * math/Makefile [$(build-bounded) = yes]
29504         ($(tests:%=$(objpfx)%-bp): Likewise.
29505         * misc/Makefile [$(build-bounded) = yes]
29506         ($(objpfx)tst-tsearch-bp): Likewise.
29507         * nptl/Makeconfig (bounded-thread-library): Remove variable.
29508         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
29509         Remove dependency.
29510         * string/Makefile (o-objects.ob): Remove variable.
29511         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
29512         (CFLAGS-.ob): Remove variable.
29513         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
29514         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
29515         both definitions of variable.
29516         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
29517         (ASFLAGS-.ob): Remove variable.
29518
29519 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
29520
29521         [BZ #13550]
29522         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
29523         Remove __BOUNDED_POINTERS__ from condition.
29524         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
29525         * string/bits/string2.h [!__NO_STRING_INLINES &&
29526         !__BOUNDED_POINTERS__]: Likewise.
29527         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
29528         Likewise.
29529         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
29530         Remove conditional code.
29531         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
29532         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
29533         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
29534         condition.
29535
29536         [BZ #13550]
29537         * csu/libc-start.c: Do not include <bp-sym.h>.
29538         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
29539         * elf/dl-open.c: Do not include <bp-sym.h>.
29540         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
29541         * math/fegetenv.c: Do not include <bp-sym.h>.
29542         (fegetenv): Do not use BP_SYM in versioned symbols.
29543         * nptl/sysdeps/pthread/bits/libc-lockP.h
29544         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
29545         <bp-sym.h>.
29546         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29547         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
29548         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29549         (__pthread_mutex_destroy): Likewise.
29550         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29551         (__pthread_mutex_lock): Likewise.
29552         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29553         (__pthread_mutex_trylock): Likewise.
29554         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29555         (__pthread_mutex_unlock): Likewise.
29556         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29557         (__pthread_mutexattr_init): Likewise.
29558         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29559         (__pthread_mutexattr_destroy): Likewise.
29560         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29561         (__pthread_mutexattr_settype): Likewise.
29562         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29563         (__pthread_rwlock_init): Likewise.
29564         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29565         (__pthread_rwlock_destroy): Likewise.
29566         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29567         (__pthread_rwlock_rdlock): Likewise.
29568         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29569         (__pthread_rwlock_tryrdlock): Likewise.
29570         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29571         (__pthread_rwlock_wrlock): Likewise.
29572         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29573         (__pthread_rwlock_trywrlock): Likewise.
29574         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29575         (__pthread_rwlock_unlock): Likewise.
29576         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29577         (__pthread_key_create): Likewise.
29578         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29579         (__pthread_setspecific): Likewise.
29580         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29581         (__pthread_getspecific): Likewise.
29582         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
29583         Likewise.
29584         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29585         (_pthread_cleanup_push_defer): Likewise.
29586         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29587         (_pthread_cleanup_pop_restore): Likewise.
29588         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29589         (pthread_setcancelstate): Likewise.
29590         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
29591         <bp-sym.h>.
29592         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
29593         (memchr): Do not use BP_SYM in weak_alias.
29594         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
29595         (fegetenv): Do not use BP_SYM in versioned symbols.
29596         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
29597         (fesetenv): Do not use BP_SYM in versioned symbols.
29598         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
29599         (feupdateenv): Do not use BP_SYM in versioned symbols.
29600         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
29601         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
29602         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
29603         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
29604         (open64): Do not use BP_SYM in weak_alias.
29605         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
29606         (fegetenv): Do not use BP_SYM in versioned symbols.
29607         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
29608         (fesetenv): Do not use BP_SYM in versioned symbols.
29609         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
29610         (feupdateenv): Do not use BP_SYM in versioned symbols.
29611         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
29612         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
29613         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
29614         (feraiseexcept): Do not use BP_SYM in versioned symbols.
29615         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
29616         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
29617         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
29618         <bp-sym.h>.
29619         (__libc_start_main): Do not use BP_SYM.
29620
29621 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
29622
29623         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
29624         redundant return line.
29625         (norm): Likewise.
29626         (denorm): Likewise.
29627         (dbl_mp): Likewise.
29628         (sub_magnitudes): Likewise.
29629         (__add): Likewise.
29630         (__sub): Likewise.
29631         (__mul): Likewise.
29632         (__inv): Likewise.
29633         (__dvd): Likewise.
29634         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
29635         (norm): Likewise.
29636         (denorm): Likewise.
29637         (dbl_mp): Likewise.
29638         (sub_magnitudes): Likewise.
29639         (__add): Likewise.
29640         (__sub): Likewise.
29641         (__mul): Likewise.
29642         (__inv): Likewise.
29643         (__dvd): Likewise.
29644
29645         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
29646         instead of __mul.
29647         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
29648         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
29649         (cc32): Likewise.
29650
29651         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
29652         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
29653         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
29654         of __mul for squares.
29655         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
29656         function
29657         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
29658         Likewise.
29659         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
29660         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
29661
29662 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
29663
29664         [BZ #13550]
29665         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
29666         code.
29667         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
29668         prototype or function definition.  Rename ubp_* variables and
29669         parameters.  Remove argv definitions conditional on
29670         [__BOUNDED_POINTERS__].
29671         * debug/backtrace.c (__backtrace): Do not use __unbounded.
29672         * elf/dl-runtime.c (_dl_fixup): Likewise.
29673         * include/set-hooks.h (RUN_HOOK): Likewise.
29674         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
29675         definition.
29676         * string/strcpy.c (strcpy): Do not use __unbounded.
29677         * sysdeps/generic/frame.h (struct layout): Likewise.
29678         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
29679         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
29680         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
29681         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
29682         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
29683         (__backtrace): Likewise.
29684         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
29685         use __ptrvalue.
29686         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
29687         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
29688         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
29689         Likewise.
29690         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
29691         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
29692         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
29693         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
29694         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
29695         Do not use __unbounded.
29696         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
29697         Rename __unboundedrlimits parameter to rlimits in prototype.
29698         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
29699         Do not use __unbounded.
29700         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
29701         not use __ptrvalue.
29702         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
29703         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
29704         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
29705         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
29706         __ptrvalue or __unbounded.
29707         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
29708         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
29709         use __unbounded.
29710         (__new_msgctl): Do not use __ptrvalue.
29711         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
29712         __unbounded.
29713         (__libc_msgrcv): Do not use __ptrvalue.
29714         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
29715         startup_info): Do not use __unbounded.
29716         (__libc_start_main): Likewise.  Rename ubp_* variables and
29717         parameters.  Remove argv definitions conditional on
29718         [__BOUNDED_POINTERS__].
29719         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
29720         __ptrvalue.
29721         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
29722         use __unbounded.
29723         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
29724         or __ptrvalue.
29725         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
29726         use __unbounded.
29727         (__new_shmctl): Do not use __ptrvalue.
29728         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
29729         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
29730         Likewise.
29731         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
29732         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
29733         (__libc_sigaction): Likewise.
29734         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
29735         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
29736         Likewise.
29737         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
29738
29739 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
29740
29741         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
29742
29743         * string/mempcpy.c: Implement by calling memcpy.
29744
29745 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
29746
29747         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
29748
29749         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
29750         evaluation.
29751
29752         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
29753         values in the mantissa.
29754
29755         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
29756         minimize writes to Z.
29757         (sub_magnitudes): Simplify code a bit.
29758
29759 2013-02-12  Roland McGrath  <roland@hack.frob.com>
29760
29761         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
29762         from the message.  The linker prefixes all warnings with that already.
29763
29764 2013-02-12  Andreas Schwab  <schwab@suse.de>
29765
29766         [BZ #15078]
29767         * posix/regexec.c (extend_buffers): Add parameter min_len.
29768         (check_matching): Pass minimum needed length.
29769         (clean_state_log_if_needed): Likewise.
29770         (get_subexp): Likewise.
29771         * posix/Makefile (tests): Add bug-regex34.
29772         (bug-regex34-ENV): Define.
29773         * posix/bug-regex34.c: New file.
29774
29775         [BZ #11561]
29776         * posix/regcomp.c (parse_bracket_exp): When looking up collating
29777         elements compare against the byte sequence of it, not its name.
29778         * posix/Makefile (tests): Add bug-regex35.
29779         (bug-regex35-ENV): Define.
29780         * posix/bug-regex35.c: New file.
29781
29782 2013-02-11  Tom de Vries  <tom@codesourcery.com>
29783
29784         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
29785         comment.
29786         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
29787         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
29788         (CHECK_EOL): Add undef.
29789
29790 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
29791
29792         * bits/stdlib-bsearch.h: New file.
29793         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
29794         * stdlib/stdlib.h: Likewise.
29795
29796 2013-02-11  Roland McGrath  <roland@hack.frob.com>
29797
29798         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
29799         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
29800         declaration.
29801         * manual/search.texi (Array Search Function): Add missing const in
29802         lfind prototype.
29803         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
29804         declaration to use rlim_t.
29805         (Basic Scheduling Functions): Remove erroneous const from
29806         sched_getparam prototype.  Remove erroneous * from
29807         sched_get_priority_max and sched_get_priority_min prototypes.
29808         (Resource Usage): Fix summary @comment on vtimes to refer to
29809         sys/vtimes.h rather than vtimes.h.
29810         Add missing *s in vtimes prototype.
29811         (Limits on Resources): Fix ulimit prototype to return long int.
29812         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
29813         prototypes to use long int rather than double.
29814         (BSD Random): Fix initstate and setstate to use char *, not void *.
29815         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
29816         prototype to make second argument 'struct aiocb64 *const[]'.
29817         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
29818         (Status of AIO Operations): Remove erroneous const in aio_return and
29819         aio_return64 prototypes.
29820         (Synchronizing I/O): Fix sync prototype to return void.
29821         * manual/startup.texi (Suboptions): Remove an erroneous const in
29822         getsubopt prototype.
29823         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
29824         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
29825         use size_t rather than int.
29826         (Scanning All Users): Likewise for getpwent_r.
29827         (Setting Groups): Add missing const to setgroups prototype.
29828         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
29829         * manual/socket.texi (Host Names): Fix gethostbyaddr and
29830         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
29831         'const void *' rather than 'const char *'.
29832         (Host Address Functions): Likewise for inet_ntop.
29833         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
29834         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
29835         ssize_t for return value.
29836         (Sending Data): Likewise for send, sendto, sendmsg.
29837         (Socket Option Functions): Add a missing const in setsockopt prototype.
29838         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
29839         use wchar_t for the argument.
29840         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
29841         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
29842         take no arguments.
29843         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
29844         double/float/long double for second argument.
29845         Fix return types of significand, significandf, significandl.
29846         * manual/filesys.texi (Setting Permissions): Use mode_t for second
29847         argument in fchmod prototype.
29848         (File Owner): Use uid_t and gid_t in fchown prototype.
29849         (File Times): Add const to utimes, futimes, and lutimes prototypes.
29850         (Making Special Files): Use mode_t and dev_t in mknod prototype.
29851         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
29852         use 'const struct dirent **' as argument types to CMP function pointer
29853         argument.
29854         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
29855         (File Times): Fix summary magic @comment for struct utimbuf and utime
29856         to refer to utime.h, not time.h.
29857         * manual/string.texi (Argz Functions): Add missing const in
29858         argz_extract and argz_next prototypes.
29859         (Finding Tokens in a String): Likewise for basename.
29860         (String/Array Comparison): Fix typo in wcscasecmp prototype.
29861         (Copying and Concatenation): Fix typo in wmemmove prototype.
29862         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
29863         (Signal Stack): Remove erroneous const in sigstack prototype.
29864         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
29865         prototype.
29866         (Simple Calendar Time): Likewise for stime.
29867         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
29868         prototype.
29869         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
29870         say sys/sysctl.h instead.
29871         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
29872         and vsyslog prototypes.
29873
29874 2013-02-11  Tom de Vries  <tom@codesourcery.com>
29875
29876         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
29877         Remove.
29878
29879 2013-02-11  Roland McGrath  <roland@hack.frob.com>
29880
29881         * misc/sys/mman.h: Fix typo in mremap comment.
29882
29883 2013-02-08  Roland McGrath  <roland@hack.frob.com>
29884
29885         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
29886         the '\0' terminator.
29887
29888 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
29889
29890         [BZ #13550]
29891         * debug/segfault.c: Don't include <bp-checks.h>.
29892         * sysdeps/generic/bp-checks.h: Remove file.
29893         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
29894         (__GETDENTS): Don't use CHECK_N.
29895         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
29896         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
29897         (__getgroups): Don't use CHECK_N.
29898         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
29899         (setgroups): Don't use CHECK_N.
29900         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
29901         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
29902         (__libc_msgrcv): Don't use CHECK_N.
29903         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
29904         (__libc_msgsnd): Don't use CHECK_N.
29905         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
29906         <bp-checks.h>.
29907         (__libc_pread): Don't use CHECK_N.
29908         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
29909         include <bp-checks.h>.
29910         (__libc_pread64): Don't use CHECK_N.
29911         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
29912         include <bp-checks.h>.
29913         (__libc_pwrite): Don't use CHECK_N.
29914         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
29915         include <bp-checks.h>.
29916         (__libc_pwrite64): Don't use CHECK_N.
29917         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
29918         <bp-checks.h>.
29919         (__libc_pread): Don't use CHECK_N.
29920         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
29921         include <bp-checks.h>.
29922         (__libc_pread64): Don't use CHECK_N.
29923         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
29924         include <bp-checks.h>.
29925         (__libc_pwrite): Don't use CHECK_N.
29926         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
29927         include <bp-checks.h>.
29928         (__libc_pwrite64): Don't use CHECK_N.
29929         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
29930         (do_pread): Don't use CHECK_N.
29931         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
29932         (do_pread64): Don't use CHECK_N.
29933         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
29934         (do_pwrite): Don't use CHECK_N.
29935         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
29936         (do_pwrite64): Don't use CHECK_N.
29937         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
29938         (__libc_readv): Don't use CHECK_N.
29939         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
29940         (semop): Don't use CHECK_N.
29941         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
29942         <bp-checks.h>.
29943         (semtimedop): Don't use CHECK_N.
29944         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
29945         (__libc_pread): Don't use CHECK_N.
29946         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
29947         <bp-checks.h>.
29948         (__libc_pread64): Don't use CHECK_N.
29949         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
29950         <bp-checks.h>.
29951         (__libc_pwrite): Don't use CHECK_N.
29952         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
29953         <bp-checks.h>.
29954         (__libc_pwrite64): Don't use CHECK_N.
29955         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
29956         <bp-checks.h>.
29957         (__libc_msgrcv): Don't use CHECK_N.
29958         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
29959         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
29960         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
29961         (__libc_writev): Don't use CHECK_N.
29962
29963 2013-02-08  Roland McGrath  <roland@hack.frob.com>
29964
29965         * string/strcpy.c: Removed unused variable.
29966
29967         * Makeconfig (+sysdep-includes): Define with := rather than =.
29968         Use an existing include/ subdir of each sysdeps dir before it.
29969
29970 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
29971
29972         * nscd/connection.c (register_traced_file): Comment function.
29973         [HAVE_INOTIFY] (union __inev): Define.
29974         [HAVE_INOTIFY] (inotify_check_files): New function.
29975         [HAVE_INOTIFY] (clear_db_cache): Likewise.
29976         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
29977         clear_db_cache.
29978         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
29979
29980 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
29981
29982         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
29983         loaded if not already and that a failure is permanent.
29984
29985 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
29986
29987         [BZ #15006]
29988         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
29989         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
29990
29991 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
29992
29993         [BZ #13550]
29994         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
29995         (CHECK_1_NULL_OK): Likewise.
29996         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
29997         (__fxstat): Do not use CHECK_1.
29998         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
29999         <bp-checks.h>.
30000         (___fxstat64): Do not use CHECK_1.
30001         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
30002         <bp-checks.h>.
30003         (__fxstatat): Do not use CHECK_1.
30004         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
30005         <bp-checks.h>.
30006         (__fxstatat64): Do not use CHECK_1.
30007         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
30008         <bp-checks.h>.
30009         (__fxstat): Do not use CHECK_1.
30010         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
30011         <bp-checks.h>.
30012         (__fxstatat): Do not use CHECK_1.
30013         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
30014         <bp-checks.h>.
30015         (__getresgid): Do not use CHECK_1.
30016         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
30017         <bp-checks.h>.
30018         (__getresuid): Do not use CHECK_1.
30019         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
30020         <bp-checks.h>.
30021         (__lxstat): Do not use CHECK_1.
30022         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
30023         <bp-checks.h>.
30024         (__old_msgctl): Do not use CHECK_1.
30025         (__new_msgctl): Likewise.
30026         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
30027         <bp-checks.h>.
30028         (__new_setrlimit): Do not use CHECK_1.
30029         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
30030         <bp-checks.h>.
30031         (__old_shmctl): Do not use CHECK_1.
30032         (__new_shmctl): Likewise.
30033         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
30034         <bp-checks.h>.
30035         (__xstat): Do not use CHECK_1.
30036         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
30037         (__lxstat): Do not use CHECK_1.
30038         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
30039         <bp-checks.h>.
30040         (___lxstat64): Do not use CHECK_1.
30041         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
30042         (__old_msgctl): Do not use CHECK_1.
30043         (__new_msgctl): Likewise.
30044         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
30045         <bp-checks.h>.
30046         (__gettimeofday): Do not use CHECK_1.
30047         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
30048         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
30049         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
30050         <bp-checks.h>.
30051         (__gettimeofday): Do not use CHECK_1.
30052         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
30053         (__old_shmctl): Do not use CHECK_1_NULL_OK.
30054         (__new_shmctl): Do not use CHECK_1.
30055         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
30056         <bp-checks.h>.
30057         (do_sigtimedwait): Do not use CHECK_1.
30058         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
30059         <bp-checks.h>.
30060         (do_sigwaitinfo): Do not use CHECK_1.
30061         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
30062         <bp-checks.h>.
30063         (msgctl): Do not use CHECK_1.
30064         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
30065         <bp-checks.h>.
30066         (shmctl): Do not use CHECK_1.
30067         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
30068         (ustat): Do not use CHECK_1.
30069         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
30070         <bp-checks.h>.
30071         (__fxstat): Do not use CHECK_1.
30072         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
30073         <bp-checks.h>.
30074         (__fxstatat): Do not use CHECK_1.
30075         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
30076         <bp-checks.h>.
30077         (__lxstat): Do not use CHECK_1.
30078         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
30079         <bp-checks.h>.
30080         (__xstat): Do not use CHECK_1.
30081         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
30082         (__xstat): Do not use CHECK_1.
30083         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
30084         (___xstat64): Do not use CHECK_1.
30085
30086         [BZ #13550]
30087         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
30088         definitions.
30089         (CHECK_BOUNDS_HIGH): Likewise.
30090         * string/strcpy.c: Do not include <bp-checks.h>.
30091         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
30092
30093 2013-02-07  Roland McGrath  <roland@hack.frob.com>
30094
30095         * nscd/nscd-client.h (__nscd_drop_map_ref):
30096         Add __attribute__ ((unused)).
30097         * nis/nss-nisplus.h (niserr2nss): Likewise.
30098
30099         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
30100         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
30101
30102         * csu/libc-tls.c (init_static_tls, init_slotinfo):
30103         Remove inline keyword.
30104         * include/rounding-mode.h (round_away): Likewise.
30105         * libio/wfileops.c (adjust_wide_data): Likewise.
30106         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
30107         (__m128i_strloadu_tolower): Likewise.
30108         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
30109         (__m128i_strloadu_tolower): Likewise.
30110         * time/mktime.c (ydhms_diff): Likewise.
30111         * locale/elem-hash.h (elem_hash): Likewise.
30112         * locale/setlocale.c (setdata): Likewise.
30113         * posix/regex_internal.h (re_string_char_size_at): Likewise.
30114         (re_string_wchar_at): Likewise.
30115         (bitset_not, bitset_merge, bitset_mask): Likewise.
30116         [!(__GNUC__ > 3)] (inline): Remove macro.
30117         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
30118         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
30119         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
30120         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
30121         * string/memcmp.c (memcmp_bytes): Likewise.
30122         * locale/programs/locarchive.c (compute_hashval): Likewise.
30123         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
30124         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
30125         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
30126         * nss/getent.c (print_rpc, print_protocols): Likewise.
30127         (print_passwd, print_group, print_aliases): Likewise.
30128         * nis/nss-nisplus.h (niserr2nss): Likewise.
30129         * nscd/connections.c (restart_p): Likewise.
30130         Change return type to bool.
30131
30132 2013-02-05  Roland McGrath  <roland@hack.frob.com>
30133
30134         * Makeconfig (all-Depend-files): Add existing
30135         $(sorted-subdirs:=/Depend) files.
30136         (all-subdirs): Remove nss.
30137         * sysdeps/unix/inet/Subdirs: Add it here instead.
30138         * hesiod/Depend: New file.
30139
30140         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
30141         instead of calling alloca.
30142
30143         * io/lseek.c (__lseek): Rename to __libc_lseek.
30144         Define __lseek as an alias.
30145
30146         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
30147
30148 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
30149
30150         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
30151         else clause and remove check for non-standard endianness.
30152
30153 2013-02-04  David S. Miller  <davem@davemloft.net>
30154
30155         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30156
30157 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
30158
30159         [BZ #13550]
30160         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
30161         (__ubp_memchr): Remove prototype.
30162         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
30163         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
30164         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
30165         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
30166         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
30167         Remove alias.
30168         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
30169         (__ubp_memchr): Likewise.
30170         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
30171         (__ubp_memchr): Likewise.
30172         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
30173         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
30174         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
30175         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
30176         CHECK_STRING.
30177         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
30178         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
30179         (__getcwd): Do not use CHECK_STRING.
30180         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
30181         <bp-checks.h>.
30182         (__real_chown): Do not use CHECK_STRING.
30183         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
30184         <bp-checks.h>.
30185         (fchownat): Do not use CHECK_STRING.
30186         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
30187         CHECK_STRING.
30188         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
30189         <bp-checks.h>.
30190         (__lchown): Do not use CHECK_STRING.
30191         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
30192         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
30193         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
30194         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
30195         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
30196         include <bp-checks.h>.
30197         (truncate64): Do not use CHECK_STRING.
30198         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
30199         <bp-checks.h>.
30200         (__real_chown): Do not use CHECK_STRING.
30201         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
30202         <bp-checks.h>.
30203         (__lchown): Do not use CHECK_STRING.
30204         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
30205         <bp-checks.h>.
30206         (__chown): Do not use CHECK_STRING.
30207         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
30208         <bp-checks.h>.
30209         (truncate64): Do not use CHECK_STRING.
30210         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
30211         Likewise.
30212         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
30213         (__xmknod): Do not use CHECK_STRING.
30214         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
30215         <bp-checks.h>.
30216         (__xmknodat): Do not use CHECK_STRING.
30217         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
30218         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
30219
30220 2013-02-04  Andreas Schwab  <schwab@suse.de>
30221
30222         [BZ #14142]
30223         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
30224         * include/netdb.h: Likewise for h_errno.
30225         * elf/tst-stackguard1.c: Include <tls.h>.
30226
30227 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
30228
30229         * elf/link.h (struct link_map): Extend the l_addr comment.
30230         * include/link.h (struct link_map): Likewise.
30231
30232 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
30233
30234         [BZ #13550]
30235         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
30236         (BOUNDED_1): Remove macro.
30237         * debug/backtrace.c: Don't include <bp-checks.h>.
30238         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
30239         (__backtrace): Likewise.
30240         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
30241         <bp-checks.h>.
30242         (__backtrace): Don't use BOUNDED_1.
30243         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
30244         <bp-checks.h>.
30245         (__backtrace): Don't use BOUNDED_1.
30246         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
30247         (__backtrace): Don't use BOUNDED_1.
30248         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
30249         (shmat): Don't use BOUNDED_N.
30250
30251 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
30252
30253         [BZ #13550]
30254         * sysdeps/generic/bp-start.h: Remove file.
30255         * csu/libc-start.c: Don't include <bp-start.h>.
30256         (LIBC_START_MAIN): Set up __environ directly instead of using
30257         INIT_ARGV_and_ENVIRON.
30258         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
30259         <bp-start.h>.
30260
30261         [BZ #13550]
30262         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
30263         definitions.
30264         (CHECK_FCNTL): Likewise.
30265         (CHECK_N_PAGES): Likewise.
30266
30267         [BZ #13550]
30268         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
30269         definitions.
30270         (CHECK_SIGSET_NULL_OK): Likewise.
30271         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
30272         <bp-checks.h>.
30273         (sigpending): Don't use CHECK_SIGSET.
30274         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
30275         <bp-checks.h>.
30276         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
30277         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
30278         <bp-checks.h>.
30279         (do_sigsuspend): Don't use CHECK_SIGSET.
30280         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
30281         use CHECK_SIGSET.
30282         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
30283         (do_sigwait): Don't use CHECK_SIGSET.
30284         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
30285         use CHECK_SIGSET.
30286         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
30287         include <bp-checks.h>.
30288         (sigpending): Don't use CHECK_SIGSET.
30289         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
30290         include <bp-checks.h>.
30291         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
30292         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
30293         <bp-checks.h>.
30294         (sigpending): Don't use CHECK_SIGSET.
30295         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
30296         <bp-checks.h>.
30297         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
30298
30299         [BZ #13550]
30300         * sysdeps/generic/bp-semctl.h: Remove file.
30301         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
30302         <bp-checks.h> and <bp-semctl.h>.
30303         (__old_semctl): Don't use CHECK_SEMCTL.
30304         (__new_semctl): Likewise.
30305         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
30306         and <bp-semctl.h>.
30307         (__old_semctl): Don't use CHECK_SEMCTL.
30308         (__new_semctl): Likewise.
30309         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
30310         <bp-checks.h> and <bp-semctl.h>.
30311         (__old_semctl): Don't use CHECK_SEMCTL.
30312         (__new_semctl): Likewise.
30313         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
30314         <bp-checks.h> and <bp-semctl.h>.
30315         (semctl): Don't use CHECK_SEMCTL.
30316
30317         [BZ #13550]
30318         * Makerules (elide-bp-thunks): Remove variable.
30319         (elide-routines.oS): Don't use $(elide-bp-thunks).
30320         (elide-routines.os): Likewise.
30321         (elide-routines.o): Likewise.
30322         (elide-routines.op): Likewise.
30323         (elide-routines.og): Likewise.
30324         (objects): Don't use $(bp-thunks).
30325         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
30326         include.
30327         (common-generated): Do not add s-proto-bp.d.
30328         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
30329         (int): Likewise.
30330         (typ): Likewise.
30331         Do not generate makefile rules for bounded-pointer thunks.
30332         * sysdeps/generic/bp-thunks.h: Remove file.
30333         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
30334         * sysdeps/unix/s-proto-bp.S: Likewise.
30335
30336         [BZ #15062]
30337         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
30338         parts of result separately when argument is not close to line from
30339         -i to i and one part of argument is small.
30340         * math/k_casinhf.c (__kernel_casinhf): Likewise.
30341         * math/k_casinhl.c (__kernel_casinhl): Likewise.
30342         * math/libm-test.inc (cacos_test): Add more tests.
30343         (casin_test): Likewise.
30344         (casinh_test): Likewise.
30345         * sysdeps/i386/fpu/libm-test-ulps: Update.
30346         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30347
30348 2013-01-31  David S. Miller  <davem@davemloft.net>
30349
30350         * po/de.po: Update from translation team.
30351
30352 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
30353
30354         * time/tzfile.c: Include stdint.h for SIZE_MAX.
30355
30356 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
30357
30358         * configure.in (_AC_PROG_CC_C89): New definition.
30359         * configure: Regenerate.
30360
30361         * configure.in (AC_PROG_CPP): New definition.
30362         * configure: Regenerate.
30363
30364 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
30365
30366         * debug/tst-backtrace.h: New file.
30367         * debug/tst-backtrace2.c: Include tst-backtrace.h.
30368         (ret): Remove variable.
30369         (x): Likewise.
30370         (FAIL): Remove macro.
30371         (NO_INLINE): Likewise.
30372         (fn1): Use match function instead of strstr.
30373         * debug/tst-backtrace3.c: Include tst-backtrace.h.
30374         (ret): Remove variable.
30375         (x): Likewise.
30376         (FAIL): Remove macro.
30377         (NO_INLINE): Likewise.
30378         (fn): Use match function instead of strstr.
30379         * debug/tst-backtrace4.c: Include tst-backtrace.h.
30380         (ret): Remove variable.
30381         (x): Likewise.
30382         (FAIL): Remove macro.
30383         (NO_INLINE): Likewise.
30384         (handle_signal): Use match function instead of strstr.
30385         * debug/tst-backtrace5.c: Include tst-backtrace.h.
30386         (ret): Remove variable.
30387         (x): Likewise.
30388         (FAIL): Remove macro.
30389         (NO_INLINE): Likewise.
30390         (handle_signal): Use match function instead of strstr.
30391
30392 2013-01-23  Roland McGrath  <roland@hack.frob.com>
30393
30394         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
30395
30396 2013-01-23  David S. Miller  <davem@davemloft.net>
30397
30398         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
30399         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
30400         argument of CAS if possible.
30401         * sysdeps/sparc/sparc64/bits/atomic.h
30402         (__arch_compare_and_exchange_val_32_acq): Likewise.
30403         (__arch_compare_and_exchange_val_64_acq): Likewise.
30404
30405 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
30406
30407         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
30408         * sysdeps/posix/ulimit.c: ... this.
30409         Include <limits.h>.
30410         * sysdeps/unix/bsd/ulimit.c: Remove file.
30411
30412 2013-01-23  Adam Conrad  <adconrad@0c3.net>
30413
30414         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
30415         (LDFLAGS-tst-array5): Likewise.
30416
30417 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
30418
30419         [BZ #15036]
30420         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
30421         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
30422         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
30423         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
30424
30425 2013-01-21  David S. Miller  <davem@davemloft.net>
30426
30427         * sysdeps/sparc/backtrace.c: New file.
30428         * sysdeps/sparc/sparc32/backtrace.h: New file.
30429         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
30430         * sysdeps/sparc/sparc64/backtrace.h: New file.
30431         * sysdeps/sparc/sparc64/backtrace.c: Delete.
30432         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
30433         -funwind-tables.
30434
30435 2013-01-21  Andreas Schwab  <schwab@suse.de>
30436
30437         [BZ #15020]
30438         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
30439         closed its stdout.
30440
30441 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
30442
30443         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
30444         "mpa2.h".
30445         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
30446
30447 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
30448             Mark Mitchell  <mark@codesourcery.com>
30449             Tom de Vries  <tom@codesourcery.com>
30450             Paul Pluzhnikov  <ppluzhnikov@google.com>
30451
30452         * debug/tst-backtrace2.c: New file.
30453         * debug/tst-backtrace3.c: Likewise.
30454         * debug/tst-backtrace4.c: Likewise.
30455         * debug/tst-backtrace5.c: Likewise.
30456         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
30457         (CFLAGS-tst-backtrace3.c): Likewise.
30458         (CFLAGS-tst-backtrace4.c): Likewise.
30459         (CFLAGS-tst-backtrace5.c): Likewise.
30460         (LDFLAGS-tst-backtrace2): Likewise.
30461         (LDFLAGS-tst-backtrace3): Likewise.
30462         (LDFLAGS-tst-backtrace4): Likewise.
30463         (LDFLAGS-tst-backtrace5): Likewise.
30464         (tests): Add new tests tst-backtrace2, tst-backtrace3,
30465         tst-backtrace4 and tst-backtrace5.
30466
30467 2013-01-18  Anton Blanchard  <anton@samba.org>
30468             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
30469
30470         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
30471         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
30472         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
30473         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
30474         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
30475         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
30476         "+r" and remove output regs list as redundant.  Add explicit inline
30477         asm to specify register of return val to work around compiler codegen
30478         bug.  Remove (int) cast on return value.  Add return type parameter to
30479         use in macro so that this macro does not truncate return value for
30480         64-bit values.
30481         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
30482         pass to INTERNAL_VSYSCALL_NCS.
30483         (INLINE_VSYSCALL): Add 'long int' as return type to
30484         INTERNAL_VSYSCALL_NCS macro invocation.
30485         (INTERNAL_VSYSCALL): Add 'long int' as return type to
30486         INTERNAL_VSYSCALL_NCS macro invocation.
30487         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
30488
30489 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
30490
30491         [BZ #14496]
30492         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
30493         Fix application of SIMD FP exception mask.
30494
30495         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
30496         mp_no from a power of two.
30497         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
30498         __mpexp_twomm1.  Use __pow_mp.
30499
30500         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
30501         multiplication.
30502
30503 2013-01-17  David S. Miller  <davem@davemloft.net>
30504
30505         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30506
30507 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
30508
30509         [BZ #15023]
30510         * include/complex.h: Condition contents on [!_COMPLEX_H].
30511         (__kernel_casinhf): New prototype.
30512         (__kernel_casinh): Likewise.
30513         (__kernel_casinhl): Likewise.
30514         * math/Makefile (libm_calls): Add k_casinh.
30515         * math/k_casinh.c: New file.
30516         * math/k_casinhf.c: Likewise.
30517         * math/k_casinhl.c: Likewise.
30518         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
30519         finite nonzero arguments.
30520         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
30521         finite nonzero arguments.
30522         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
30523         finite nonzero arguments.
30524         * math/s_casinh.c: Do not include <float.h>.
30525         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
30526         * math/s_casinhf.c: Do not include <float.h>.
30527         (__casinhf): Move code for finite nonzero arguments to
30528         k_casinhf.c.
30529         * math/s_casinhl.c: Do not include <float.h>.
30530         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
30531         redefine.
30532         (__casinhl): Move code for finite nonzero arguments to
30533         k_casinhl.c.
30534         * math/libm-test.inc (cacos_test): Add more tests.
30535         * sysdeps/i386/fpu/libm-test-ulps: Update.
30536         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30537
30538 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
30539
30540         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
30541         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
30542         [!HAVE_MREMAP]: Remove [defined linux] case.
30543         * malloc/arena.c: Do not include <malloc-sysdep.h>.
30544
30545 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
30546
30547         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
30548
30549 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
30550
30551         * elf/elf.h (R_386_SIZE32): New relocation.
30552         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
30553         R_386_SIZE32.
30554         (elf_machine_rela): Likewise.
30555         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
30556         R_X86_64_SIZE64 and R_X86_64_SIZE32.
30557
30558 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
30559
30560         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
30561         (FP_FAST_FMA): Do not define.
30562         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
30563         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
30564         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
30565         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
30566         !_SOFT_FLOAT]: Likewise.
30567         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
30568         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
30569         value.
30570         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
30571         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
30572         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
30573         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
30574         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
30575         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
30576         file.
30577
30578 2013-01-16  Andreas Schwab  <schwab@suse.de>
30579
30580         [BZ #14327]
30581         * include/stdlib.h (__mktemp): Add declaration.
30582         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
30583         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
30584
30585 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
30586
30587         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
30588         definitions.
30589         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
30590         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
30591         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
30592         definitions here.
30593         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
30594         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
30595         definitions.
30596         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
30597         and ONE.
30598         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
30599         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
30600         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
30601         definitions.
30602         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
30603         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
30604         definitions.
30605         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
30606
30607         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
30608
30609 2013-01-15  David S. Miller  <davem@davemloft.net>
30610
30611         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
30612         trunc{,f} to libm-sysdep_routes.
30613         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
30614         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
30615         file.
30616         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
30617         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
30618         file.
30619         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
30620         file.
30621         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
30622         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
30623         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
30624         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
30625         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
30626         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
30627         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
30628         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
30629
30630         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
30631         nearbyint{,f} to libm-sysdep_routes.
30632         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
30633         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
30634         New file.
30635         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
30636         file.
30637         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
30638         New file.
30639         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
30640         file.
30641         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
30642         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
30643         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
30644         file.
30645         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
30646         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
30647         file.
30648         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
30649         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
30650         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
30651
30652         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
30653         libc_feholdexcept and libc_fesetenv.
30654
30655 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
30656
30657         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
30658
30659 2013-01-14  David S. Miller  <davem@davemloft.net>
30660
30661         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
30662         (SPARC_ASM_VIS2_IFUNC): Likewise.
30663         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
30664         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
30665         use of 'siam' instruction.
30666         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
30667         Likewise.
30668         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
30669         Likewise.
30670         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
30671         Likewise.
30672         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
30673         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
30674         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
30675         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
30676         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
30677         file.
30678         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
30679         file.
30680         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
30681         file.
30682         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
30683         file.
30684         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
30685         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
30686         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
30687         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
30688         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
30689         new VIS2 routines.
30690         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
30691         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
30692         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
30693         Likewise.
30694         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
30695         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
30696         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
30697         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
30698         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
30699         routines to libm-sysdep_routines.
30700         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
30701
30702         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
30703         fdim/fdimf to libm-sysdep_routines.
30704         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
30705         file.
30706         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
30707         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
30708         file.
30709         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
30710         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
30711         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
30712         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
30713         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
30714         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
30715         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
30716
30717 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
30718
30719         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
30720         to optimize copies.
30721
30722         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
30723         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
30724         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
30725
30726         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
30727         local variable MPTWO.
30728         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
30729         Likewise.
30730
30731 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
30732
30733         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
30734         GLOB_NOESCAPE.
30735
30736 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
30737
30738         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
30739
30740 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
30741
30742         * manual/pattern.texi (glob_t): Document gl_flags.
30743         (glob64_t): Likewise.
30744
30745 2013-01-11  David S. Miller  <davem@davemloft.net>
30746
30747         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
30748         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
30749         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
30750         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
30751         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
30752         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
30753         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
30754         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
30755         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
30756         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
30757         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
30758         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
30759         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
30760
30761         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
30762         sparc V9 rather than using V8 code.
30763         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
30764         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
30765
30766         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
30767         Move to...
30768         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
30769         Here.
30770
30771 2013-01-11  Roland McGrath  <roland@hack.frob.com>
30772
30773         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
30774         not in the main loop.
30775         * configure: Regenerated.
30776
30777 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
30778
30779         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
30780         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
30781         to just #else.
30782         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
30783         [!__GLIBC_HAVE_LONG_LONG] case.
30784         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
30785         condition to just #else.
30786         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
30787         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
30788         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
30789         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
30790         unconditional.
30791         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
30792         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
30793         #elif condition to just #else.
30794         * sysdeps/unix/sysv/linux/sys/sysmacros.h
30795         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
30796         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
30797         #elif condition to just #else.
30798
30799 2013-01-11  Steve Ellcey  <sellcey@mips.com>
30800
30801         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
30802         (EF_MIPS_ARCH_64): Fix value.
30803         (EF_MIPS_ARCH_32R2): New.
30804         (EF_MIPS_ARCH_64R2): New.
30805
30806 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
30807
30808         * Makeconfig (+link-pie-before-libc): New.
30809         (+link-pie-after-libc): Likewise.
30810         (+link-pie-tests): Likewise.
30811         (+link-pie): Rewritten.
30812         (link-before-libc): Remove $(config-LDFLAGS).
30813         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
30814         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
30815         (config-LDFLAGS): Renamed to ...
30816         (rtld-LDFLAGS): This.
30817         (rtld-tests-LDFLAGS): New macro.
30818         (link-libc-rpath-link): Likewise.
30819         (link-libc-tests-rpath-link): Likewise.
30820         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
30821         (link-libc): Prepand $(link-libc-rpath-link).
30822         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
30823         (test-program-prefix): New macro.
30824         (test-via-rtld-prefix): Likewise.
30825         (test-program-cmd): Likewise.
30826         (host-test-program-cmd): Likewise.
30827         * Makefile ($(common-objpfx)testrun.sh): Replace
30828         $(run-program-prefix) with $(test-program-prefix).
30829         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
30830         $(rtld-LDFLAGS).
30831         ($(common-objpfx)shlib.lds): Likewise.
30832         (build-module-helper): Likewise.
30833         ($(common-objpfx)format.lds): Likewise.
30834         * Rules (binaries-pie-tests): New.
30835         (binaries-pie-notests): Likewise.
30836         (binaries-pie): Rewritten.
30837         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
30838         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
30839         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
30840         (make-test-out): Replace $(host-built-program-cmd) with
30841         $(host-test-program-cmd).
30842         * config.make.in (build-hardcoded-path-in-tests): New variable.
30843         * configure.in (--enable-hardcoded-path-in-tests): New configure
30844         option.
30845         (hardcoded_path_in_tests): New AC_SUBST.
30846         * configure: Regenerated.
30847         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
30848         $(built-program-cmd) with $(test-program-cmd).
30849         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
30850         (test_program_cmd): This.
30851         * elf/Makefile ($(objpfx)order.out): Run test with
30852         $(test-program-prefix).
30853         ($(objpfx)order2.out): Likewise.
30854         ($(objpfx)tst-initorder.out): Likewise.
30855         ($(objpfx)tst-initorder2.out): Likewise.
30856         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
30857         $(test-program-cmd).
30858         ($(objpfx)tst-array1-static.out): Likewise.
30859         ($(objpfx)tst-array2.out): Likewise.
30860         ($(objpfx)tst-array3.out): Likewise.
30861         ($(objpfx)tst-array4.out): Likewise.
30862         ($(objpfx)tst-array5.out): Likewise.
30863         ($(objpfx)tst-array5-static.out): Likewise.
30864         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
30865         $(test-program-cmd).
30866         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
30867         $(run-program-prefix) with $(test-program-prefix).
30868         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
30869         (test_program_prefix): This.
30870         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
30871         $(run-program-prefix) with $(test-program-prefix).
30872         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
30873         (test_program_prefix): This.
30874         * iconvdata/tst-tables.sh: Likewise.
30875         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
30876         $(run-program-prefix) with $(test-program-prefix).
30877         ($(objpfx)tst-translit.out): Likewise.
30878         ($(objpfx)tst-gettext2.out): Likewise.
30879         ($(objpfx)tst-gettext4.out): Likewise.
30880         ($(objpfx)tst-gettext6.out): Likewise.
30881         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
30882         (test_program_prefix): This.
30883         * intl/tst-gettext2.sh: Likewise.
30884         * intl/tst-gettext4.sh  Likewise.
30885         * intl/tst-gettext6.sh: Likewise.
30886         * intl/tst-translit.sh: Likewise.
30887         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
30888         with $(test-program-cmd).
30889         * libio/Makefile ($(objpfx)test-freopen.out): Replace
30890         $(run-program-prefix) with $(test-program-prefix).
30891         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
30892         (test_program_prefix): This.
30893         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
30894         $(run-program-prefix) with $(test-program-prefix).
30895         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
30896         (test_program_prefix): This.
30897         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
30898         * posix/Makefile ($(objpfx)globtest.out): Replace
30899         $(run-via-rtld-prefix) and $(test-wrapper) with
30900         $(test-program-prefix) and $(test-via-rtld-prefix).
30901         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
30902         $(test-program-prefix).
30903         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
30904         $(host-test-program-cmd).
30905         (tst-spawn-ARGS): Likewise.
30906         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
30907         $(test-program-prefix).
30908         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
30909         (test_via_rtld_prefix): This.
30910         (test_wrapper): Renamed to ...
30911         (test_program_prefix): This.
30912         (run_program_prefix): Replaced by test_program_prefix.
30913         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
30914         (test_program_prefix): This.
30915         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
30916         with $(host-test-program-cmd).
30917         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
30918         $(run-program-prefix) with $(test-program-prefix).
30919         ($(objpfx)tst-printf.out): Likewise.
30920         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
30921         $(test-program-cmd).
30922         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
30923         (test_program_prefix): This.
30924         * stdio-common/tst-unbputc.sh: Likewise.
30925         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
30926         $(run-program-prefix) with $(test-program-prefix).
30927         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
30928         (test_program_prefix): This.
30929         * string/Makefile ($(objpfx)tst-svc.out):  Replace
30930         $(built-program-cmd) with $(test-program-cmd).
30931
30932 2013-01-11  Andreas Jaeger  <aj@suse.de>
30933
30934         [BZ #15003]
30935         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
30936         value. Sync with Linux 3.7.
30937
30938 2013-01-10  David S. Miller  <davem@davemloft.net>
30939
30940         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
30941         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
30942         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
30943
30944 2013-01-10  Roland McGrath  <roland@hack.frob.com>
30945
30946         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
30947         never set.
30948         * configure: Regenerated.
30949
30950 2013-01-10  David S. Miller  <davem@davemloft.net>
30951
30952         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
30953         sparc V9 rather than using V8 code.
30954         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
30955         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
30956
30957 2013-01-10  Roland McGrath  <roland@hack.frob.com>
30958
30959         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
30960         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
30961         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
30962         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
30963         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
30964         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
30965         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
30966         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
30967         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
30968         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
30969         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
30970         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
30971         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
30972         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
30973         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
30974         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
30975         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
30976         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
30977         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
30978         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
30979         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
30980         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
30981         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
30982         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
30983         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
30984         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
30985         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
30986
30987 2013-01-10  David S. Miller  <davem@davemloft.net>
30988
30989         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30990
30991 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
30992
30993         * posix/Makefile (tests-static): New variable.
30994         (tests): Add $(tests-static).
30995         (tst-exec-static-ARGS): New variable.
30996         (tst-spawn-static-ARGS): Likewise.
30997         * posix/tst-exec-static.c: New file.
30998         * posix/tst-spawn-static.c: Likewise.
30999         * posix/tst-exec.c: Support run directly.
31000         * posix/tst-spawn.c: Likewise.
31001
31002 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
31003
31004         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
31005         long.
31006         * math/bits/mathcalls.h (llrint): Likewise.
31007         (llround): Likewise.
31008         * stdlib/stdlib.h (struct drand48_data): Likewise.
31009         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
31010         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
31011         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
31012         Likewise.
31013         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
31014         Likewise.
31015         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
31016         (elf_greg_t): Likewise.
31017         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
31018         (__jmp_buf): Likewise.
31019         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
31020         definitions.
31021         (llrint): Likewise, for all definitions.
31022         (llrintl): Likewise.
31023
31024         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
31025         Remove [__GNUC__] condition.
31026         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
31027         condition to just [__USE_ISOC99].
31028         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
31029
31030 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
31031
31032         [BZ #14200]
31033         * sysdeps/unix/sysv/linux/x86/bits/environments.h
31034         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
31035         defined.
31036         (_POSIX_V6_ILP32_OFF32): Likewise.
31037         (_XBS5_ILP32_OFF32): Likewise.
31038         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
31039         (__ILP32_OFFBIG_LDFLAGS): Likewise.
31040
31041 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
31042
31043         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
31044
31045         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
31046         doubles __mpexp_twomm1.  Adjust usage.
31047         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
31048         Remove.
31049
31050 2013-01-10  Andreas Schwab  <schwab@suse.de>
31051
31052         [BZ #14964]
31053         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
31054         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
31055
31056 2013-01-09  David S. Miller  <davem@davemloft.net>
31057
31058         [BZ #15003]
31059         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
31060         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
31061         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
31062         (TCP_FASTOPEN): Define.
31063         (tcp_repair_opt): New structure.
31064         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
31065         enum values.
31066         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
31067         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
31068         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
31069         (tcp_cookie_transactions): New structure.
31070
31071 2013-01-09  Anton Blanchard  <anton@samba.org>
31072
31073         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
31074         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
31075         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
31076         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
31077
31078 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
31079
31080         * include/features.h (__USE_ANSI): Remove.
31081
31082 2013-01-09  Roland McGrath  <roland@hack.frob.com>
31083
31084         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
31085
31086         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
31087
31088 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
31089
31090         * sysdeps/s390/fpu/libm-test-ulps: Update.
31091
31092         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31093
31094         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
31095         (__acr): Likewise.
31096         (__cpy): Likewise.
31097         (norm): Likewise.
31098         (denorm): Likewise.
31099         (__mp_dbl): Likewise.
31100         (__dbl_mp): Likewise.
31101         (add_magnitudes): Likewise.
31102         (sub_magnitudes): Likewise.
31103         (__add): Likewise.
31104         (__sub): Likewise.
31105         (__mul): Likewise.
31106         (__inv): Likewise.
31107         (__dvd): Likewise.
31108         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
31109         (__acr): Likewise.
31110         (__cpy): Likewise.
31111         (norm): Likewise.
31112         (denorm): Likewise.
31113         (__mp_dbl): Likewise.
31114         (__dbl_mp): Likewise.
31115         (add_magnitudes): Likewise.
31116         (sub_magnitudes): Likewise.
31117         (__add): Likewise.
31118         (__sub): Likewise.
31119         (__mul): Likewise.
31120         (__inv): Likewise.
31121         (__dvd): Likewise.
31122         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
31123         (__acr): Likewise.
31124         (__cpy): Likewise.
31125         (norm): Likewise.
31126         (denorm): Likewise.
31127         (__mp_dbl): Likewise.
31128         (__dbl_mp): Likewise.
31129         (add_magnitudes): Likewise.
31130         (sub_magnitudes): Likewise.
31131         (__add): Likewise.
31132         (__sub): Likewise.
31133         (__mul): Likewise.
31134         (__inv): Likewise.
31135         (__dvd): Likewise.
31136
31137 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
31138
31139         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
31140         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
31141         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
31142         2 && __USE_EXTERN_INLINES]: Likewise.
31143
31144 2013-01-08  Andreas Jaeger  <aj@suse.de>
31145
31146         [BZ# 14985]
31147         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
31148         Remove.
31149         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
31150         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
31151
31152 2013-01-07  Anton Blanchard  <anton@samba.org>
31153
31154         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
31155         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
31156         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
31157         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
31158         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
31159         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
31160         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
31161         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
31162         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
31163         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
31164         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
31165         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
31166         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
31167         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
31168         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
31169         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
31170         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
31171         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
31172         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
31173         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
31174         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
31175         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
31176         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
31177         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
31178         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
31179         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
31180         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
31181         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
31182         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
31183         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
31184         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
31185         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
31186         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
31187         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
31188         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
31189         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
31190         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
31191         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
31192         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
31193         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
31194         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
31195         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
31196         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
31197
31198 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
31199
31200         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
31201         (__MALLOC_PMT): Likewise.
31202         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
31203         [__GNUC__], only on [_LIBC].
31204         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
31205         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
31206         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
31207         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
31208         forward declaration.
31209         (realloc_hook_ini): Likewise.
31210         (memalign_hook_ini): Likewise.
31211         (__libc_memalign): Do not use __MALLOC_PMT in variable
31212         declaration.
31213         (__libc_valloc): Likewise.
31214         (__libc_pvalloc): Likewise.
31215         (__libc_calloc): Likewise.
31216         (__posix_memalign): Likewise.
31217
31218         [BZ #14996]
31219         * math/s_casinh.c: Include <float.h>.
31220         (__casinh): Do not do computation with squaring and square root
31221         for large arguments.
31222         * math/s_casinhf.c: Include <float.h>.
31223         (__casinhf): Do not do computation with squaring and square root
31224         for large arguments.
31225         * math/s_casinhl.c: Include <float.h>.
31226         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
31227         (__casinhl): Do not do computation with squaring and square root
31228         for large arguments.
31229         * math/libm-test.inc (casin_test): Add more tests.
31230         (casinh_test): Likewise.
31231         * sysdeps/i386/fpu/libm-test-ulps: Update.
31232         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31233
31234 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
31235
31236         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
31237         (__x86_64_raw_data_cache_size): Likewise.
31238         (__x86_64_data_cache_size_half): Likewise.
31239         (__x86_64_raw_data_cache_size_half): Likewise.
31240         (__x86_64_shared_cache_size): Likewise.
31241         (__x86_64_raw_shared_cache_size): Likewise.
31242         (__x86_64_shared_cache_size_half): Likewise.
31243         (__x86_64_raw_shared_cache_size_half): Likewise.
31244         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
31245         to ...
31246         (__x86_data_cache_size): This.
31247         (__x86_64_raw_data_cache_size): Renamed to ...
31248         (__x86_raw_data_cache_size): This.
31249         (__x86_64_data_cache_size_half): Renamed to ...
31250         (__x86_data_cache_size_half): This.
31251         (__x86_64_raw_data_cache_size_half): Renamed to ...
31252         (__x86_raw_data_cache_size_half): This.
31253         (__x86_64_shared_cache_size): Renamed to ...
31254         (__x86_shared_cache_size): This.
31255         (__x86_64_raw_shared_cache_size): Renamed to ...
31256         (__x86_raw_shared_cache_size): This.
31257         (__x86_64_shared_cache_size_half): Renamed to ...
31258         (__x86_shared_cache_size_half): This.
31259         (__x86_64_raw_shared_cache_size_half): Renamed to ...
31260         (__x86_raw_shared_cache_size_half): This.
31261         * sysdeps/x86_64/memcpy.S: Updated.
31262         * sysdeps/x86_64/memset.S: Likewise.
31263         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
31264         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
31265         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
31266
31267 2013-01-04  David S. Miller  <davem@davemloft.net>
31268
31269         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31270
31271 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
31272
31273         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
31274         1 to avoid redefinition warning.
31275         (__USE_GNU): Don't define.
31276         (init_signaling_nan): Protoize.
31277
31278         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31279
31280 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
31281
31282         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
31283         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
31284         (__cpymn): Likewise.
31285         (norm): Remove commented code.
31286         (denorm): Likewise.
31287         (__mp_dbl): Likewise.
31288         (__inv): Likewise.
31289         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
31290         (__cpymn): Likewise.
31291         (norm): Remove commented code.
31292         (denorm): Likewise.
31293         (__mp_dbl): Likewise.
31294         (__inv): Likewise.
31295
31296         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
31297         mp_no value for 1.0 and 2.0.
31298         (norm): Use RADIXI instead of radixi.d.
31299         (denorm): Likewise.
31300         (__mul): Use 0.0 instead of zero.d.
31301         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
31302         mp_no value for 1.0 and 2.0.
31303         (norm): Use RADIXI instead of radixi.d.
31304         (denorm): Likewise.
31305         (__mul): Use 0.0 instead of zero.d.
31306
31307 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
31308
31309         [BZ #14994]
31310         * math/s_casinh.c (__casinh): Reduce finite argument to first
31311         quadrant then set signs of results at the end.
31312         * math/s_casinhf.c (__casinhf): Likewise.
31313         * math/s_casinhl.c (__casinhl): Likewise.
31314         * math/libm-test.inc (casin_test): Add more tests.
31315         (casinh_test): Likewise.
31316         * sysdeps/i386/fpu/libm-test-ulps: Update.
31317         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31318
31319 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
31320
31321         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
31322
31323         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
31324
31325         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
31326         declarations.
31327         (denorm): Likewise.
31328         (__mp_dbl): Likewise.
31329         (__inv): Likewise.
31330
31331         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
31332         and adjust the header comment.
31333
31334         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
31335         variable name from declaration.
31336
31337 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
31338
31339         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31340         Initialize COMMON_CPUID_INDEX_7 element.
31341         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
31342         (CPUID_RTM): Likewise.
31343         (HAS_RTM): Likewise.
31344         (COMMON_CPUID_INDEX_7): New enum.
31345
31346 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
31347
31348         [BZ #14981]
31349         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
31350         size is zero, record memory as freed.
31351
31352 2013-01-03  Andreas Jaeger  <aj@suse.de>
31353
31354         * po/ia.po: Add new Interlingua translation.
31355
31356 2012-01-03  Allan McRae  <allan@archlinux.org>
31357
31358         * locale/programs/localedef.c: Fix description of '--posix' flag.
31359
31360 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
31361
31362         * NEWS: Update dates in second copyright notice.
31363         * README: Update copyright dates in example.
31364         * manual/libc.texinfo: Update copyright dates.
31365         * scripts/test-installation.pl: Update copyright date in --version
31366         output.
31367
31368         * hurd/ctty-input.c: Fix copyright notice formatting.
31369         * hurd/ctty-output.c: Likewise.
31370         * hurd/dtable.c: Likewise.
31371         * hurd/hurd-raise.c: Likewise.
31372         * hurd/hurdprio.c: Likewise.
31373         * hurd/msgportdemux.c: Likewise.
31374         * misc/sys/file.h: Likewise.
31375         * misc/sys/ioctl.h: Likewise.
31376         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
31377         * sysdeps/mach/hurd/chdir.c: Likewise.
31378         * sysdeps/mach/hurd/fchdir.c: Likewise.
31379         * sysdeps/mach/hurd/rename.c: Likewise.
31380         * sysdeps/mach/hurd/rmdir.c: Likewise.
31381         * sysdeps/mach/hurd/seekdir.c: Likewise.
31382         * sysdeps/mach/hurd/setsid.c: Likewise.
31383         * sysdeps/posix/wait3.c: Likewise.
31384
31385         * All files with FSF copyright notices: Update copyright dates
31386         using scripts/update-copyrights.
31387         * intl/plural.c: Regenerated.
31388         * locale/programs/charmap-kw.h: Likewise.
31389         * locale/programs/locfile-kw.h: Likewise.
31390
31391 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
31392
31393         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
31394         four values.
31395
31396         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
31397         calculation loop and add branch prediction.
31398
31399         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
31400         check access beyond bounds of m1np.
31401
31402         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
31403         MPTWO.
31404         (__inv): Remove local variable MPTWO to use the global
31405         constant.
31406         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
31407         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
31408         variable MPTWO.
31409         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
31410         MP3HALFS static const.
31411
31412 2013-01-01  David S. Miller  <davem@davemloft.net>
31413
31414         * po/ca.po: Update from translation team.
31415
31416 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
31417
31418         * scripts/update-copyrights: New file.
31419         * Makeconfig: Reformat copyright notice.
31420         * ctype/ctype.h: Likewise.
31421         * debug/swprintf_chk.c: Likewise.
31422         * elf/dl-cache.c: Likewise.
31423         * elf/dl-debug.c: Likewise.
31424         * elf/dl-object.c: Likewise.
31425         * grp/initgroups.c: Likewise.
31426         * hurd/Makefile: Likewise.
31427         * hurd/hurd/signal.h: Likewise.
31428         * hurd/hurdfault.c: Likewise.
31429         * hurd/hurdioctl.c: Likewise.
31430         * hurd/hurdlookup.c: Likewise.
31431         * hurd/intr-msg.c: Likewise.
31432         * iconv/gconv_open.c: Likewise.
31433         * libio/swprintf.c: Likewise.
31434         * locale/lc-ctype.c: Likewise.
31435         * locale/nl_langinfo.c: Likewise.
31436         * mach/Machrules: Likewise.
31437         * mach/Makefile: Likewise.
31438         * malloc/obstack.h: Likewise.
31439         * manual/Makefile: Likewise.
31440         * manual/tsort.awk: Likewise.
31441         * misc/bits/stab.def: Likewise.
31442         * nis/nis_print_group_entry.c: Likewise.
31443         * nis/nis_table.c: Likewise.
31444         * nis/nss_compat/compat-pwd.c: Likewise.
31445         * nis/nss_compat/compat-spwd.c: Likewise.
31446         * po/Makefile: Likewise.
31447         * posix/fnmatch.c: Likewise.
31448         * posix/regex.h: Likewise.
31449         * resolv/Makefile: Likewise.
31450         * resolv/nss_dns/dns-network.c: Likewise.
31451         * resolv/res_hconf.c: Likewise.
31452         * scripts/gen-sorted.awk: Likewise.
31453         * soft-fp/soft-fp.h: Likewise.
31454         * stdio-common/printf.h: Likewise.
31455         * stdlib/monetary.h: Likewise.
31456         * stdlib/random.c: Likewise.
31457         * stdlib/random_r.c: Likewise.
31458         * sysdeps/generic/Makefile: Likewise.
31459         * sysdeps/gnu/Makefile: Likewise.
31460         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
31461         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
31462         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
31463         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
31464         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
31465         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
31466         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
31467         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
31468         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
31469         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
31470         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
31471         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
31472         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
31473         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
31474         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
31475         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
31476         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
31477         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
31478         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
31479         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
31480         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
31481         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
31482         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
31483         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
31484         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
31485         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
31486         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
31487         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
31488         * sysdeps/mach/hurd/errnos.awk: Likewise.
31489         * sysdeps/mach/hurd/fork.c: Likewise.
31490         * sysdeps/mach/hurd/getcwd.c: Likewise.
31491         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
31492         * sysdeps/mach/hurd/mmap.c: Likewise.
31493         * sysdeps/mach/hurd/utimes.c: Likewise.
31494         * sysdeps/mach/hurd/xmknod.c: Likewise.
31495         * sysdeps/posix/profil.c: Likewise.
31496         * sysdeps/posix/readdir_r.c: Likewise.
31497         * sysdeps/powerpc/bits/mathdef.h: Likewise.
31498         * sysdeps/powerpc/bits/setjmp.h: Likewise.
31499         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
31500         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
31501         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
31502         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
31503         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
31504         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
31505         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
31506         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
31507         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
31508         * sysdeps/pthread/lio_listio.c: Likewise.
31509         * sysdeps/sparc/dl-procinfo.h: Likewise.
31510         * sysdeps/unix/i386/sysdep.S: Likewise.
31511         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
31512         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
31513         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
31514         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
31515         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
31516         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
31517         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
31518         * sysdeps/unix/sysv/linux/speed.c: Likewise.
31519         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
31520         * sysdeps/wordsize-32/divdi3.c: Likewise.
31521         * time/sys/time.h: Likewise.
31522         * wcsmbs/Makefile: Likewise.
31523
31524 2013-01-01  David S. Miller  <davem@davemloft.net>
31525
31526         * po/fr.po: Update from translation team.
31527
31528         * catgets/gencat.c: Update copyright year.
31529         * csu/version.c: Likewise.
31530         * debug/catchsegv.sh: Likewise.
31531         * debug/pcprofiledump.c: Likewise.
31532         * debug/xtrace.sh: Likewise.
31533         * elf/ldconfig.c: Likewise.
31534         * elf/ldd.bash.in: Likewise.
31535         * elf/pldd.c: Likewise.
31536         * elf/sotruss.ksh: Likewise.
31537         * elf/sprof.c: Likewise.
31538         * iconv/iconv_prog.c: Likewise.
31539         * iconv/iconvconfig.c: Likewise.
31540         * locale/programs/locale.c: Likewise.
31541         * locale/programs/localedef.c: Likewise.
31542         * login/programs/pt_chown.c: Likewise.
31543         * malloc/memusage.sh: Likewise.
31544         * malloc/memusagestat.c: Likewise.
31545         * malloc/mtrace.pl: Likewise.
31546         * nscd/nscd.c: Likewise.
31547         * nss/getent.c: Likewise.
31548         * nss/makedb.c: Likewise.
31549         * posix/getconf.c: Likewise.
31550
31551 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
31552
31553         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
31554         numbers.
31555
31556 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
31557
31558         * math/bits/mathcalls.h (modf): Use __nonnull.
31559
31560 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
31561
31562         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
31563         (split): Use macro CN instead of the bare value.
31564         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
31565         could be used.
31566         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
31567         instead of the bare value.
31568         (power1): Likewise.
31569
31570 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
31571
31572         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
31573         __ATAN_TWOM.
31574         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
31575
31576         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
31577         their values.
31578         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
31579         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
31580         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
31581         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
31582
31583 2012-12-28  Andreas Jaeger  <aj@suse.de>
31584
31585         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
31586         values are from Linux 3.7.
31587
31588         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
31589         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
31590
31591 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
31592
31593         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
31594         TRUE case.
31595
31596         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
31597         (norm): Likewise.
31598         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
31599         variables with preprocessor constants.
31600         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
31601         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
31602         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
31603
31604 2012-12-27  Bruno Haible  <bruno@clisp.org>
31605
31606         [BZ #14317]
31607         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
31608         only if needed.
31609
31610 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
31611
31612         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
31613         and use variable directly.
31614         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
31615
31616         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
31617         MPONE.
31618         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
31619         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
31620         variable MPONE.
31621         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
31622         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
31623         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
31624         include directive.  Remove local variable MPONE.
31625         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
31626         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
31627         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
31628
31629 2012-12-25  David S. Miller  <davem@davemloft.net>
31630
31631         * version.h (RELEASE): Set to "development".
31632         (VERSION): Set to "2.17.90".
31633         * NEWS: Add 2.18 section.
31634
31635 2012-12-21  David S. Miller  <davem@davemloft.net>
31636
31637         * po/hr.po: Update from translation team.
31638
31639 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31640
31641         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
31642
31643 2012-12-19  Steve Ellcey  <sellcey@mips.com>
31644
31645         * NEWS:  Mention new memcpy for MIPS.
31646
31647 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
31648
31649         * manual/contrib.texi (Contributors): Spelling correction.
31650
31651 2012-12-15  David S. Miller  <davem@davemloft.net>
31652
31653         * po/ru.po: Update from translation team.
31654
31655 2012-12-13  David S. Miller  <davem@davemloft.net>
31656
31657         * NEWS: Mention IFUNC testsuite enhancements.
31658
31659         * po/pl.po: Update from translation team.
31660         * po/bg.po: Likewise.
31661
31662         * manual/contrib.texi (Contributors): Update entries for Hongjiu
31663         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
31664
31665 2012-12-11  David S. Miller  <davem@davemloft.net>
31666
31667         * po/sv.po: Update from translation team.
31668
31669         * po/vi.po: Update from translation team.
31670
31671         * po/cs.po: Update from translation team.
31672
31673         * po/de.po: Update from translation team.
31674         * po/eo.po: Likewise.
31675         * po/nl.po: Likewise.
31676
31677 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
31678
31679         [BZ #14246]
31680         * manual/argp.texi (Argp Helper Functions): Move node to follow
31681         Argp Parsing State.
31682
31683         [BZ #14872]
31684         * manual/conf.texi (Limits on File System Capacity): Mention if
31685         terminating null is included in the max size.
31686
31687 2012-12-10  Andreas Jaeger  <aj@suse.de>
31688
31689         * po/cs.po: Update from translation team.
31690
31691 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
31692
31693         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
31694         void pointer and cast to uintptr_t.
31695         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
31696         path.
31697         * sysdeps/s390/s390-64/memcpy.S: Likewise.
31698         * sysdeps/s390/s390-64/memset.S: Likewise.
31699
31700 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
31701
31702         [BZ #14833]
31703         * menual/message.texi (Message Translation): Fix typos.
31704         (Helper programs for gettext): Likewise.
31705
31706 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
31707
31708         [BZ #14898]
31709         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
31710         Change to -1.
31711
31712 2012-12-07  David S. Miller  <davem@davemloft.net>
31713
31714         * po/libc.pot: Update.
31715
31716 2012-12-07  Richard Henderson  <rth@redhat.com>
31717
31718         [BZ #10114]
31719         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
31720         normal/normal case to before the switch.
31721         (_FP_DIV): Likewise.
31722
31723 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
31724             Mike Frysinger  <vapier@gentoo.org>
31725
31726         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
31727         check for __NR_fadvise64_64.
31728
31729 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
31730
31731         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
31732         0, not just to plain "0" as a statement.
31733         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
31734         with cw.
31735
31736 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
31737
31738         * NEWS: Use sourceware.org in Bugzilla URL.
31739
31740 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
31741
31742         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
31743         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
31744
31745         * stdio-common/tst-put-error.c (do_test): Add newline to the
31746         padded test to ensure flush.
31747
31748 2012-12-05  Jeff Law  <law@redhat.com>
31749
31750         * sunrpc/etc.rpc (fedfs_admin): Add entry.
31751
31752 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
31753
31754         * README: Don't refer to ports add-on as distributed separately.
31755         Mention AArch64 in list of systems supported in the ports add-on.
31756
31757         * LICENSES: Add more non-FSF copyright and license notices.
31758
31759         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
31760         ((unused)).
31761
31762         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
31763
31764         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
31765         10000 as width of padded output.
31766
31767 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
31768
31769         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
31770
31771         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
31772         variable LX with __attribute__ ((unused)).
31773         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
31774         Likewise.
31775         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
31776         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
31777         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
31778         with __attribute__ ((unused)).
31779
31780 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
31781
31782         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
31783
31784 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
31785
31786         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
31787         (CFLAGS-nldbl-acos.c): New variable.
31788         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
31789         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
31790         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
31791         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
31792         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
31793         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
31794         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
31795         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
31796         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
31797         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
31798         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
31799         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
31800         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
31801         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
31802         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
31803         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
31804         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
31805         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
31806         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
31807         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
31808         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
31809         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
31810         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
31811         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
31812         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
31813         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
31814         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
31815         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
31816         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
31817         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
31818         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
31819         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
31820         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
31821         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
31822         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
31823         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
31824         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
31825         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
31826         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
31827         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
31828         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
31829         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
31830         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
31831         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
31832         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
31833         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
31834         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
31835         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
31836         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
31837         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
31838         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
31839         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
31840         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
31841         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
31842         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
31843         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
31844         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
31845         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
31846         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
31847         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
31848         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
31849         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
31850         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
31851         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
31852         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
31853         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
31854         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
31855         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
31856         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
31857         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
31858         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
31859         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
31860         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
31861         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
31862         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
31863         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
31864         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
31865         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
31866         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
31867         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
31868         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
31869         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
31870         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
31871         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
31872         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
31873         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
31874         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
31875         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
31876         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
31877         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
31878         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
31879         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
31880         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
31881         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
31882         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
31883         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
31884         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
31885
31886         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
31887         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
31888
31889         [BZ #14914]
31890         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
31891         whole low double instead of just low 47 bits when splitting values
31892         into two parts.
31893
31894 2012-12-03  Allan McRae  <allan@archlinux.org>
31895
31896         * manual/stdio.texi (Predefined Printf Handlers): Remove
31897         @hsep and @vsep usage.
31898
31899 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
31900
31901         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
31902         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
31903
31904 2012-12-03  Jeff Law  <law@redhat.com>
31905
31906         * time/sys/time.h (settimeofday): Do not mark TV argument
31907         as __nonnull.
31908
31909 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
31910
31911         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
31912         when currently writing and seek to current position when not.
31913         * libio/Makefile (tests): Remove bug-fclose1.
31914         * libio/bug-fclose1.c: Delete.
31915
31916 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
31917
31918         * manual/arith.texi (feenableexcept): Fix typo.
31919         (fedisableexcept): Likewise.
31920
31921 2012-11-30  Roland McGrath  <roland@hack.frob.com>
31922
31923         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
31924         second, differently-typed declaration, rather than a cast.
31925
31926 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
31927
31928         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
31929         * include/rpc/svc.h: ... here.
31930
31931 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
31932
31933         [BZ #13013]
31934         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
31935         depending n and resplen2 to catch cases where answer
31936         equals answerp2.
31937
31938 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
31939
31940         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
31941         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
31942
31943 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
31944
31945         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
31946
31947 2012-11-29  Roland McGrath  <roland@hack.frob.com>
31948
31949         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
31950
31951 2012-11-28  Jeff Law  <law@redhat.com>
31952
31953         [BZ #13761]
31954         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
31955         dataset_temporary.  Track alloca usage into alloca_used.
31956         If dataset is large allocate and release it via malloc/free.
31957
31958 2012-06-04  Florian Weimer  <fweimer@redhat.com>
31959
31960         [BZ #14197]
31961         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
31962
31963 2012-11-28  David S. Miller  <davem@davemloft.net>
31964
31965         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31966
31967 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
31968
31969         [BZ #14803]
31970         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
31971         of pi/2 rounded to nearest to 64 bits.
31972         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
31973         nearest to 64 bits.
31974         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
31975         bits.
31976
31977 2012-11-28  Jeff Law <law@redhat.com>
31978             Martin Osvald <mosvald@redhat.com>
31979
31980         [BZ #14889]
31981         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
31982         * sunrpc/svc.c: Include time.h.
31983         (__svc_accept_failed): New function.
31984         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
31985         any reason other than EINTR, call __svc_accept_failed.
31986         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
31987         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
31988
31989 2012-11-28  Andreas Schwab  <schwab@suse.de>
31990
31991         * scripts/abilist.awk: Also handle indirect functions in .opd
31992         section.
31993
31994 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
31995
31996         [BZ #13881]
31997         * sysdeps/x86/fpu/powl_helper.c: New file.
31998         * sysdeps/x86/fpu/Makefile: Likewise.
31999         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
32000         (p3): New object.
32001         (__ieee754_powl): Use __powl_helper for finite arguments except
32002         integer exponents below 8.
32003         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
32004         (p3): New object.
32005         (__ieee754_powl): Use __powl_helper for finite arguments except
32006         integer exponents below 8.
32007         * math/libm-test.inc (pow_test): Add more tests and enable some
32008         previously disabled tests.
32009         * sysdeps/i386/fpu/libm-test-ulps: Update.
32010         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32011
32012 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
32013             Carlos O'Donell  <carlos_odonell@mentor.com>
32014
32015         * nss/makedb.c (is_prime): Assert that input is odd and greater
32016         than 4.  Note that fact in a comment too.
32017         (next_prime): Add 4 to input.
32018
32019 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
32020
32021         [BZ #11741]
32022         * libio/Makefile (tests): Add test case tst-fwrite-error.
32023         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
32024         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
32025         * libio/tst-fwrite-error.c: New test case.
32026
32027 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
32028
32029         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
32030         before casting to void *.
32031         * include/libc-internal.h (__pointer_type): New macro.
32032         (__integer_if_pointer_type_sub): Likewise.
32033         (__integer_if_pointer_type): Likewise.
32034         (cast_to_integer): Likewise.
32035         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
32036         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
32037         before casting to atomic64_t.
32038         (atomic_exchange_acq): Likewise.
32039         (__arch_exchange_and_add_body): Likewise.
32040         (__arch_add_body): Likewise.
32041         (atomic_add_negative): Likewise.
32042         (atomic_add_zero): Likewise.
32043
32044 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
32045
32046         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
32047         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
32048         (add_fdes): Likewise.
32049         (linear_search_fdes): Likewise.
32050         (binary_search_unencoded_fdes): Likewise.
32051
32052 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
32053
32054         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
32055
32056 2012-11-24  Adam Conrad  <adconrad@0c3.net>
32057
32058         * configure.in: Autodetect C++ header directories.
32059         * configure: Regenerated.
32060
32061 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
32062
32063         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
32064
32065 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
32066
32067         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32068
32069 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
32070
32071         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
32072         LDBL_MANT_DIG == 106]: Disable some tests.
32073         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
32074         Likewise.
32075         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
32076         Likewise.
32077
32078         [BZ #14871]
32079         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
32080         input for small inputs.  Return +/- pi/2 for large inputs.
32081         * math/libm-test.inc (atan_test): Add more tests.
32082
32083         * sysdeps/generic/unwind-dw2-fde-glibc.c
32084         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
32085         __attribute__ ((unused)).
32086
32087         [BZ #14645]
32088         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
32089         x * y if x and y are nonzero and z is zero.
32090
32091         [BZ #14811]
32092         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
32093         nonzero exponents with absolute value below 0x1p-117 to +/-
32094         0x1p-117.
32095
32096         [BZ #14869]
32097         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
32098         up arguments below 2**-450, not just those below 2**-500.
32099         * math/libm-test.inc (hypot_test): Add another test.
32100
32101         [BZ #14868]
32102         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
32103         Return a+b for ratio over 2**120, not 2**60.
32104         * math/libm-test.inc (hypot_test): Add another test.
32105
32106         * math/libm-test.inc (clog_test): Use
32107         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
32108         (clog10_test): Likewise.
32109
32110         [BZ #6778]
32111         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
32112
32113 2012-11-22  Andreas Schwab  <schwab@suse.de>
32114
32115         * sysdeps/i386/fpu/libm-test-ulps: Update.
32116
32117 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
32118
32119         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
32120         printf output with newline.
32121
32122 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
32123
32124         [BZ #14865]
32125         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
32126         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
32127         -z nodlopen, -z initfirst and -z execstack support.
32128         * configure: Regenerated.
32129
32130         * elf/elf.h (DF_1_NODIRECT): New macro.
32131         (DF_1_IGNMULDEF): Likewise.
32132         (DF_1_NOKSYMS): Likewise.
32133         (DF_1_NOHDR): Likewise.
32134         (DF_1_EDITED): Likewise.
32135         (DF_1_NORELOC): Likewise.
32136         (DF_1_SYMINTPOSE): Likewise.
32137         (DF_1_GLOBAUDIT): Likewise.
32138         (DF_1_SINGLETON): Likewise.
32139         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
32140         DT_1_SUPPORTED_MASK bits.
32141         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
32142
32143 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
32144
32145         * sysdeps/unix/make-syscalls.sh: Document prefixes.
32146
32147 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
32148
32149         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
32150         macro.
32151
32152         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
32153         (sendmmsg): Move declarations...
32154         * socket/sys/socket.h: ... here.
32155         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
32156         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
32157         include it from...
32158         * socket/recvmmsg.c: ... this new file.
32159         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
32160         (sendmmsg): Rename to __sendmmsg, create weak alias and make
32161         definition of __sendmmsg hidden.
32162         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
32163         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
32164         Move ENOSYS stub into and include it from...
32165         * socket/sendmmsg.c: ... this new file.
32166         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
32167         (sysdep_routines): Move recvmmsg and sendmmsg...
32168         * socket/Makefile (routines): ... here.
32169         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
32170         (GLIBC_PRIVATE): Add __sendmmsg.
32171         * include/sys/socket.h (__sendmmsg): Add declarations.
32172         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
32173         sendmmsg.
32174
32175 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
32176
32177         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
32178         variable I1 with __attribute__ ((unused)).
32179         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
32180
32181 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
32182
32183         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
32184         DUMMY variables with __attribute__ ((unused)).
32185
32186         * bits/byteswap.h: Include <bits/types.h>.
32187         (__bswap_64): Use __uint64_t instead of unsigned long long int.
32188
32189 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
32190
32191         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
32192         string_t.  Do not manually set errno.
32193         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
32194         length with __strnlen.  Make sure to both set errno and return it on
32195         failure.
32196
32197 2012-11-19  David S. Miller  <davem@davemloft.net>
32198
32199         With help from Joseph Myers.
32200         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
32201         very large arguments properly.
32202         * math/libm-test.inc (atan_test): New tests.
32203         (atan2_test): New tests.
32204         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32205         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32206
32207 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
32208
32209         [BZ #14856]
32210         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
32211         Define to 3.
32212
32213         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
32214         [POSIX] (EADDRNOTAVAIL): Likewise.
32215         [POSIX] (EAFNOSUPPORT): Likewise.
32216         [POSIX] (EALREADY): Likewise.
32217         [POSIX] (ECONNABORTED): Likewise.
32218         [POSIX] (ECONNREFUSED): Likewise.
32219         [POSIX] (ECONNRESET): Likewise.
32220         [POSIX] (EDESTADDRREQ): Likewise.
32221         [POSIX] (EDQUOT): Likewise.
32222         [POSIX] (EHOSTUNREACH): Likewise.
32223         [POSIX] (EIDRM): Likewise.
32224         [POSIX] (EISCONN): Likewise.
32225         [POSIX] (ELOOP): Likewise.
32226         [POSIX] (EMULTIHOP): Likewise.
32227         [POSIX] (ENETDOWN): Likewise.
32228         [POSIX] (ENETUNREACH): Likewise.
32229         [POSIX] (ENOBUFS): Likewise.
32230         [POSIX] (ENODATA): Likewise.
32231         [POSIX] (ENOLINK): Likewise.
32232         [POSIX] (ENOMSG): Likewise.
32233         [POSIX] (ENOPROTOOPT): Likewise.
32234         [POSIX] (ENOSR): Likewise.
32235         [POSIX] (ENOSTR): Likewise.
32236         [POSIX] (ENOTCONN): Likewise.
32237         [POSIX] (ENOTSOCK): Likewise.
32238         [POSIX] (EOPNOTSUPP): Likewise.
32239         [POSIX] (EOVERFLOW): Likewise.
32240         [POSIX] (EPROTO): Likewise.
32241         [POSIX] (EPROTONOSUPPORT): Likewise.
32242         [POSIX] (EPROTOTYPE): Likewise.
32243         [POSIX] (ESTALE): Likewise.
32244         [POSIX] (ETIME): Likewise.
32245         [POSIX] (ETXTBSY): Likewise.
32246         [POSIX] (EWOULDBLOCK): Likewise.
32247         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
32248         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
32249         [POSIX] (SEEK_CUR): Likewise.
32250         [POSIX] (SEEK_END): Likewise.
32251         [POSIX || UNIX98] (mode_t): Do not require.
32252         [POSIX] (off_t): Likewise.
32253         [POSIX] (pid_t): Likewise.
32254         [POSIX] (sys/stat.h): Do not allow header.
32255         [POSIX] (unistd.h): Likewise.
32256         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
32257         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
32258         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
32259         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
32260         require.
32261         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
32262         sigevent): Specify elements.
32263         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
32264         entry.
32265         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
32266         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
32267
32268         * conform/data/cpio.h-data [POSIX]: Disable whole file.
32269         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
32270         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
32271         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
32272         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
32273         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
32274         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
32275         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
32276         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
32277         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
32278         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
32279         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
32280         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
32281         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
32282         Likewise.
32283         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
32284         Likewise.
32285         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
32286         Likewise.
32287         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
32288         Likewise.
32289         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
32290         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
32291         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
32292         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
32293         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
32294         Specify lower bound on value.
32295         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
32296         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
32297         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
32298         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
32299         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
32300         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
32301         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
32302         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
32303         value.
32304         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
32305         as optional.
32306         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
32307         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
32308         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
32309         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
32310         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
32311         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
32312         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
32313         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
32314         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
32315         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
32316         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
32317         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
32318         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
32319         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
32320         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
32321         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
32322         entry.
32323         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
32324         optional.
32325         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
32326         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
32327         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
32328         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
32329         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
32330         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
32331         Likewise.
32332         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
32333         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
32334         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
32335         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
32336         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
32337         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
32338         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
32339         as optional.
32340         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
32341         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
32342         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
32343         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
32344         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
32345         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
32346         specify as optional.
32347         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
32348         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
32349         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
32350         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
32351         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
32352         [XPG3] (NL_LANGMAX): Likewise.
32353         [POSIX || XPG3] (NL_MSGMAX): Likewise.
32354         [POSIX || XPG3] (NL_NMAX): Likewise.
32355         [POSIX || XPG3] (NL_SETMAX): Likewise.
32356         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
32357         [XPG3] (NZERO): Likewise.
32358         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
32359         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
32360         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
32361         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
32362         (REG_ERANGE): Expect.
32363         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
32364         optional-constant.
32365         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
32366         Use (void) in prototype.
32367         [POSIX] (*_t): Allow.
32368         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
32369         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
32370         (WRDE_BADVAL): Expect.
32371
32372         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
32373         expect.
32374         [XPG3 || XPG4] (O_RSYNC): Likewise.
32375         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
32376         Likewise.
32377         [XPG3 || XPG4] (pthread_sigmask): Likewise.
32378         [XPG3 || XPG4] (sigqueue): Likewise.
32379         [XPG3 || XPG4] (sigtimedwait): Likewise.
32380         [XPG3 || XPG4] (sigwaitinfo): Likewise.
32381         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
32382         [XPG3 || XPG4] (vsnprintf): Likewise.
32383         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
32384         Likewise.
32385         [XPG3 || XPG4] (blksize_t): Likewise.
32386         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
32387         Likewise.
32388         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
32389         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
32390         [XPG3 || XPG4] (struct itimerspec): Likewise.
32391         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
32392         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
32393         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
32394         [XPG3 || XPG4] (clockid_t): Likewise.
32395         [XPG3 || XPG4] (timer_t): Likewise.
32396         [XPG3 || XPG4] (clock_getres): Likewise.
32397         [XPG3 || XPG4] (clock_gettime): Likewise.
32398         [XPG3 || XPG4] (clock_settime): Likewise.
32399         [XPG3 || XPG4] (nanosleep): Likewise.
32400         [XPG3 || XPG4] (timer_create): Likewise.
32401         [XPG3 || XPG4] (timer_delete): Likewise.
32402         [XPG3 || XPG4] (timer_gettime): Likewise.
32403         [XPG3 || XPG4] (timer_getoverrun): Likewise.
32404         [XPG3 || XPG4] (timer_settime): Likewise.
32405         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
32406         [XPG3 || XPG4] (getlogin_r): Likewise.
32407         [XPG3 || XPG4] (pread): Likewise.
32408         [XPG3 || XPG4] (pthread_atfork): Likewise.
32409         [XPG3 || XPG4] (pwrite): Likewise.
32410
32411         [BZ #14835]
32412         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
32413         <bits/siginfo.h>.
32414
32415 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
32416
32417         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
32418         finalizing MALLSTREAM.
32419
32420         * sysdeps/mach/hurd/syncfs.c: New file.
32421
32422 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
32423
32424         [BZ #14719]
32425         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
32426         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
32427         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
32428         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
32429         (_nss_dns_gethostbyname4_r): Likewise.
32430         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
32431         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
32432
32433 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
32434
32435         [BZ #13763]
32436         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
32437
32438 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
32439
32440         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
32441         * elf/cache.c (print_entry): Print ",AArch64" for
32442         FLAG_AARCH64_LIB64
32443
32444         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
32445         * elf/cache.c (print_entry): Print ",hard-float" for
32446         FLAG_ARM_LIBHF.
32447
32448 2012-11-18  David S. Miller  <davem@davemloft.net>
32449
32450         With help from Joseph Myers.
32451         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
32452         cutoff to 2**-13.
32453         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
32454         cutoff to 2**-25.
32455         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
32456         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
32457         small.
32458         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
32459         * math/libm-test.inc (y0_test): New tests.
32460         (y1_test): New tests.
32461         * sysdeps/i386/fpu/libm-test-ulps: Update.
32462         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32463         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32464
32465 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
32466
32467         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
32468         64-bit targets.
32469         * configure: Regenerated.
32470
32471 2012-11-17  David S. Miller  <davem@davemloft.net>
32472
32473         [BZ #14811]
32474         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
32475         nonzero exponents with absolute value below 0x1p-128 to +/-
32476         0x1p-128.
32477
32478 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
32479
32480         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
32481
32482         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
32483
32484         * posix/getconf-speclist.c: New file.
32485         * posix/posix-envs.def: Likewise.
32486         * posix/confstr.c (START_ENV_GROUP): New macro.
32487         (END_ENV_GROUP): Likewise.
32488         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
32489         (KNOWN_PRESENT_ENV_STRING): Likewise.
32490         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
32491         (UNKNOWN_ENVIRONMENT): Likewise.
32492         (confstr): Include posix-envs.def instead of handling
32493         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
32494         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
32495         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
32496         (END_ENV_GROUP): Likewise.
32497         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
32498         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
32499         (UNKNOWN_ENVIRONMENT): Likewise.
32500         (__sysconf): Include posix-envs.def instead of handling associated
32501         cases directly here.
32502         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
32503         preprocessing getconf-speclist.c rather than running getconf or
32504         generating empty file.
32505
32506 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
32507
32508         * scripts/check-local-headers.sh: Ignore 'mach' headers.
32509
32510 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
32511
32512         [BZ #14672]
32513         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
32514
32515 2012-11-16  David S. Miller  <davem@davemloft.net>
32516
32517         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
32518         smaller than LDBL_EPSILON/2.0L, just return xm1.
32519
32520 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
32521
32522         * elf/tst-array1.c (init): Set constructor priority to 1000.
32523         (fini): Set destructor priority to 1000.
32524         * elf/tst-array2dep.c: Likewise.
32525
32526 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
32527
32528         [BZ #11741]
32529         * libio/fileops.c (_IO_new_file_write): Correctly return error.
32530         (_IO_new_file_xsputn): Also return EOF if none of the input
32531         data was written when overflow failed.
32532         * libio/iopadn.c (_IO_padn): Likewise.
32533         * libio/iowpadn.c (_IO_wpadn): Likewise.
32534         * stdio-common/tst-put-error.c: Add copyright notice.
32535         (do_test): Add case for printing padded string.
32536         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
32537         _IO_padn returned error.
32538         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
32539         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
32540         return EOF.
32541
32542 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
32543
32544         * libio/libioP.h: Add comment note that the references to C++
32545         bits are now obsolete.
32546
32547 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
32548
32549         * math/libm-test.inc (check_complex): Use asprintf.
32550
32551 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
32552
32553         * debug/pcprofiledump.c (print_version): Update copyright year.
32554         * malloc/memusagestat.c (print_version): Likewise.
32555
32556 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
32557
32558         [BZ #14831]
32559         * elf/Makefile (tests): Add tst-audit8.
32560         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
32561         ($(objpfx)tst-audit8.out): New target.
32562         (tst-audit8-ENV): New variable.
32563         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
32564         audit if l_reloc_result is NULL.
32565         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
32566         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
32567         * elf/tst-audit8.c: New file.
32568
32569 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
32570
32571         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
32572         * misc/Makefile (CFLAGS-select.c): Define.
32573         * posix/Makefile (CFLAGS-pause.c): Define.
32574
32575 2012-11-13  David S. Miller  <davem@davemloft.net>
32576
32577         * crypt/Makefile: Move test targets after toplevel Rules
32578         inclusion.  Grab any necessary sysdep routines when linking.
32579         * crypt/md5.c (md5_process_block): Remove define, we will always
32580         name it __md5_process_block.
32581         (md5_finish_ctx): Update md5_process_block call.
32582         (md5_stream): Likewise.
32583         (md5_process_bytes): Likewise.
32584         (md5_process_block): Rename to __md5_process_block and move to ...
32585         * crypt/md5-block.c: ... here.
32586         * crypt/sha256.c (sha256_process_block): Move to ...
32587         * crypt/sha256-block.c: ... here.
32588         * crypt/sha512.c (sha512_process_block): Move to ...
32589         * crypt/sha512-block.c: ... here.
32590         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
32591         path.
32592         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
32593         * sysdeps/sparc/sparc64/multiarch/Makefile
32594         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
32595         crypt subdir.
32596         (localedef-aux): Add md5 crypto assembler when in locale subdir.
32597         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
32598         multiarch changes.
32599         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
32600         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
32601         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
32602         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
32603         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
32604         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
32605         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
32606         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
32607         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
32608         file.
32609         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
32610         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
32611         file.
32612         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
32613
32614 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
32615
32616         * timezone/tzselect.ksh: Update from tzcode git revision
32617         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
32618         * timezone/zdump.c: Likewise.
32619         * timezone/zic.c: Likewise.
32620         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
32621         in TZVERSION setting, not $(PKGVERSION).
32622         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
32623         REPORT_BUGS_TO settings.
32624
32625         [BZ #14838]
32626         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
32627         macro.
32628
32629 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
32630
32631         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
32632         detection to immediately after _FP_ROUND().
32633         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
32634         bits are 0.
32635
32636 2012-11-11  David S. Miller  <davem@davemloft.net>
32637
32638         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
32639         inttypes.h
32640         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
32641         __close rather than their public counterparts.
32642
32643 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
32644
32645         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
32646         file.
32647         [UNIX98] (sem_timedwait): Do not expect.
32648         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
32649         [XPG4 || UNIX98] (sockatmark): Do not expect.
32650         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
32651         (clock_getcpuclockid): Do not expect.
32652         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
32653         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
32654         Do not expect.
32655         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
32656         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
32657         [UNIX98] (vwscanf): Likewise.
32658         [UNIX98] (vswscanf): Likewise.
32659
32660 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
32661
32662         * timezone/version.h: Remove file.
32663         * timezone/README: Do not refer to version.h.
32664         * timezone/Makefile ($(objpfx)zic.o): New dependency on
32665         $(objpfx)version.h.
32666         ($(objpfx)zdump.o): Likewise.
32667         ($(objpfx)version.h): New target.
32668
32669         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
32670         2012i.
32671         * timezone/README: Don't mention modification to tzselect.ksh.
32672         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
32673         work on unmodified tzselect.ksh.  Substitute version numbers in
32674         tzselect.ksh.
32675
32676         * Makefile (format-me): Remove.
32677         (INSTALL): Adjust indentation.  Use commands directly instead of
32678         using $(format-me).
32679
32680         * aclocal.m4 (ACX_PKGVERSION): New macro.
32681         (ACX_BUGURL): Likewise.
32682         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
32683         (PKGVERSION): New AC_DEFINE_UNQUOTED.
32684         (REPORT_BUGS_TO): Likewise.
32685         * configure: Regenerated.
32686         * config.h.in (PKGVERSION): New macro.
32687         (REPORT_BUGS_TO): Likewise.
32688         * config.make.in (PKGVERSION): New variable.
32689         (PKGVERSION_TEXI): Likewise.
32690         (REPORT_BUGS_TO): Likewise.
32691         (REPORT_BUGS_TEXI): Likewise.
32692         * Makefile (format-me): Use -I$(common-objpfx)manual.
32693         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
32694         ($(common-objpfx)manual/%): New target.
32695         (manual/%): Remove target.
32696         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
32697         (print_version): Use PKGVERSION.
32698         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
32699         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
32700         and REPORT_BUGS_TO.
32701         ($(objpfx)xtrace): Likewise.
32702         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
32703         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
32704         (print_version): Use PKGVERSION.
32705         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
32706         (do_version): Use PKGVERSION.
32707         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
32708         REPORT_BUGS_TO.
32709         (common-ldd-rewrite): Likewise.
32710         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
32711         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
32712         (print_version): Use PKGVERSION.
32713         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
32714         * elf/pldd.c (argp_program_bug_address): Remove variable.
32715         (more_help): New function.
32716         (argp): Use more_help.
32717         (print_version): Use PKGVERSION.
32718         * elf/sln.c (main): Use PKGVERSION.
32719         (usage): Use REPORT_BUGS_TO.
32720         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
32721         (top level): Use PKGVERSION.
32722         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
32723         (print_version): Use PKGVERSION.
32724         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
32725         (print_version): Use PKGVERSION.
32726         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
32727         (print_version): Use PKGVERSION.
32728         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
32729         (print_version): Use PKGVERSION.
32730         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
32731         (print_version): Use PKGVERSION.
32732         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
32733         (print_version): Use PKGVERSION.
32734         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
32735         and BUGURL.
32736         ($(objpfx)memusage): Likewise.
32737         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
32738         (do_version): Use PKGVERSION.
32739         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
32740         (print_version): Use PKGVERSION.
32741         * malloc/mtrace.pl ($PACKAGE): Remove variable.
32742         ($PKGVERSION): New variable.
32743         ($REPORT_BUGS_TO): Likewise.
32744         (usage): Use $REPORT_BUGS_TO.
32745         (top level): Use $PKGVERSION.
32746         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
32747         ($(objpfx)pkgvers.texi): New rule.
32748         ($(objpfx)stamp-pkgvers): Likewise.
32749         * manual/install.texi: Include pkgvers.texi.
32750         (--with-pkgversion): Document new configure option.
32751         (--with-bugurl): Likewise.
32752         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
32753         than necessarily for this particular distribution.  Use
32754         REPORT_BUGS_TO for where to report bugs.
32755         * INSTALL: Regenerated.
32756         * manual/libc.texinfo: Include pkgvers.texi.
32757         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
32758         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
32759         (print_version): Use PKGVERSION.
32760         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
32761         (print_version): Use PKGVERSION.
32762         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
32763         (print_version): Use PKGVERSION.
32764         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
32765         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
32766         macro.
32767         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
32768         (print_version): Use PKGVERSION.
32769         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
32770         (print_version): Use PKGVERSION.
32771         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
32772         and PKGVERSION.
32773
32774         * timezone/checktab.awk: Update from tzcode 2012i.
32775         * timezone/ialloc.c: Likewise.
32776         * timezone/private.h: Likewise.
32777         * timezone/scheck.c: Likewise.
32778         * timezone/tzfile.h: Likewise.
32779         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
32780         (TZVERSION): Hardcode tzcode version number.
32781         * timezone/zdump.c: Update from tzcode 2012i.
32782         * timezone/zic.c: Likewise.
32783         * timezone/version.h: New file.
32784         * timezone/README: Describe version.h.  Update upstream location.
32785
32786         [BZ #14824]
32787         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
32788         (mktemp): Enable declaration.
32789         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
32790         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
32791         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
32792         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
32793         Likewise.
32794         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
32795         Likewise.
32796         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
32797         Likewise.
32798         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
32799         Likewise.
32800         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
32801         Likewise.
32802         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
32803         Likewise.
32804
32805         [BZ #14821]
32806         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
32807         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
32808         for copies of such integer values.
32809         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
32810         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
32811
32812 2012-11-09  Andreas Jaeger  <aj@suse.de>
32813
32814         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
32815         definitions and declarations that are provided by
32816         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
32817
32818 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32819
32820         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
32821         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
32822         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
32823         definition.
32824
32825 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
32826
32827         * elf/elf.h: Update comment before AArch64 relocations.
32828
32829 2012-11-07  David S. Miller  <davem@davemloft.net>
32830
32831         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
32832         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
32833         (__start_context): Declare.
32834         (__makecontext_ret): Delete.
32835         (__makecontext): Hook up __start_context instead of
32836         __makecontext_ret.
32837         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
32838         (sysdep_routines): Add __start_context when in stdlib.
32839
32840 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
32841
32842         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
32843         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
32844         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
32845         hardcoded "nm".
32846         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
32847         (READELF): New variable.  Use it instead of hardcoded "readelf".
32848
32849 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
32850
32851         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
32852         * sysdeps/x86/Makefile: Here.
32853         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
32854         * sysdeps/x86/tst-xmmymm.sh: This.
32855
32856 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
32857
32858         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
32859         expectations.
32860         [UNIX98] (pthread_barrier_t): Do not expect.
32861         [UNIX98] (pthread_barrierattr_t): Likewise.
32862         [UNIX98] (pthread_spinlock_t): Likewise.
32863         [UNIX98] (pthread_barrier_destroy): Likewise.
32864         [UNIX98] (pthread_barrier_init): Likewise.
32865         [UNIX98] (pthread_barrier_wait): Likewise.
32866         [UNIX98] (pthread_barrierattr_destroy): Likewise.
32867         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
32868         [UNIX98] (pthread_barrierattr_init): Likewise.
32869         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
32870         [UNIX98] (pthread_getcpuclockid): Likewise.
32871         [UNIX98] (pthread_mutex_timedlock): Likewise.
32872         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
32873         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
32874         [UNIX98] (pthread_sigmask): Likewise.
32875         [UNIX98] (pthread_spin_destroy): Likewise.
32876         [UNIX98] (pthread_spin_init): Likewise.
32877         [UNIX98] (pthread_spin_lock): Likewise.
32878         [UNIX98] (pthread_spin_trylock): Likewise.
32879         [UNIX98] (pthread_spin_unlock): Likewise.
32880         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
32881         Do not expect.
32882         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
32883         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
32884         [XPG3 || XPG4] (pthread_cond_t): Likewise.
32885         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
32886         [XPG3 || XPG4] (pthread_key_t): Likewise.
32887         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
32888         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
32889         [XPG3 || XPG4] (pthread_once_t): Likewise.
32890         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
32891         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
32892         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
32893         [XPG3 || XPG4] (pthread_t): Likewise.
32894
32895         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
32896         not expect.
32897         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
32898
32899         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
32900         Change function return type to int.
32901
32902         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
32903         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
32904         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
32905         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
32906         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
32907         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
32908         [!POSIX] (posix_madvise): Likewise.
32909         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
32910         && !UNIX98].
32911         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
32912         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
32913         (mode_t): Likewise.
32914         (posix_mem_offset): Likewise.
32915         (posix_typed_mem_get_info): Likewise.
32916         (posix_typed_mem_open): Likewise.
32917
32918         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
32919         Change condition to [XOPEN2K8].
32920
32921         * conform/conformtest.pl: Preprocess allow-header data with -x c
32922         instead of from stdin.
32923         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
32924         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
32925         [C99-based standards] (cerfc): Likewise.
32926         [C99-based standards] (cexp2): Likewise.
32927         [C99-based standards] (cexpm1): Likewise.
32928         [C99-based standards] (clog10): Likewise.
32929         [C99-based standards] (clog1p): Likewise.
32930         [C99-based standards] (clog2): Likewise.
32931         [C99-based standards] (clgamma): Likewise.
32932         [C99-based standards] (ctgamma): Likewise.
32933         [C99-based standards] (cerff): Likewise.
32934         [C99-based standards] (cerfcf): Likewise.
32935         [C99-based standards] (cexp2f): Likewise.
32936         [C99-based standards] (cexpm1f): Likewise.
32937         [C99-based standards] (clog10f): Likewise.
32938         [C99-based standards] (clog1pf): Likewise.
32939         [C99-based standards] (clog2f): Likewise.
32940         [C99-based standards] (clgammaf): Likewise.
32941         [C99-based standards] (ctgammaf): Likewise.
32942         [C99-based standards] (cerfl): Likewise.
32943         [C99-based standards] (cerfcl): Likewise.
32944         [C99-based standards] (cexp2l): Likewise.
32945         [C99-based standards] (cexpm1l): Likewise.
32946         [C99-based standards] (clog10l): Likewise.
32947         [C99-based standards] (clog1pl): Likewise.
32948         [C99-based standards] (clog2l): Likewise.
32949         [C99-based standards] (clgammal): Likewise.
32950         [C99-based standards] (ctgammal): Likewise.
32951         * conform/data/inttypes.h-data [C99-based standards]: Include
32952         stdint.h-data.  Remove all expectations for stdint.h contents.
32953         [C99-based standards] (PRI*): Do not allow.
32954         [C99-based standards] (SCN*): Likewise.
32955         [C99-based standards] (*_t): Likewise.
32956         [C99-based-standards] (PRId8): Expect macro.
32957         [C99-based-standards] (PRIi8): Likewise.
32958         [C99-based-standards] (PRIo8): Likewise.
32959         [C99-based-standards] (PRIu8): Likewise.
32960         [C99-based-standards] (PRIx8): Likewise.
32961         [C99-based-standards] (PRIX8): Likewise.
32962         [C99-based-standards] (SCNd8): Likewise.
32963         [C99-based-standards] (SCNi8): Likewise.
32964         [C99-based-standards] (SCNo8): Likewise.
32965         [C99-based-standards] (SCNu8): Likewise.
32966         [C99-based-standards] (SCNx8): Likewise.
32967         [C99-based-standards] (PRIdLEAST8): Likewise.
32968         [C99-based-standards] (PRIiLEAST8): Likewise.
32969         [C99-based-standards] (PRIoLEAST8): Likewise.
32970         [C99-based-standards] (PRIuLEAST8): Likewise.
32971         [C99-based-standards] (PRIxLEAST8): Likewise.
32972         [C99-based-standards] (PRIXLEAST8): Likewise.
32973         [C99-based-standards] (SCNdLEAST8): Likewise.
32974         [C99-based-standards] (SCNiLEAST8): Likewise.
32975         [C99-based-standards] (SCNoLEAST8): Likewise.
32976         [C99-based-standards] (SCNuLEAST8): Likewise.
32977         [C99-based-standards] (SCNxLEAST8): Likewise.
32978         [C99-based-standards] (PRIdFAST8): Likewise.
32979         [C99-based-standards] (PRIiFAST8): Likewise.
32980         [C99-based-standards] (PRIoFAST8): Likewise.
32981         [C99-based-standards] (PRIuFAST8): Likewise.
32982         [C99-based-standards] (PRIxFAST8): Likewise.
32983         [C99-based-standards] (PRIXFAST8): Likewise.
32984         [C99-based-standards] (SCNdFAST8): Likewise.
32985         [C99-based-standards] (SCNiFAST8): Likewise.
32986         [C99-based-standards] (SCNoFAST8): Likewise.
32987         [C99-based-standards] (SCNuFAST8): Likewise.
32988         [C99-based-standards] (SCNxFAST8): Likewise.
32989         [C99-based-standards] (PRId16): Likewise.
32990         [C99-based-standards] (PRIi16): Likewise.
32991         [C99-based-standards] (PRIo16): Likewise.
32992         [C99-based-standards] (PRIu16): Likewise.
32993         [C99-based-standards] (PRIx16): Likewise.
32994         [C99-based-standards] (PRIX16): Likewise.
32995         [C99-based-standards] (SCNd16): Likewise.
32996         [C99-based-standards] (SCNi16): Likewise.
32997         [C99-based-standards] (SCNo16): Likewise.
32998         [C99-based-standards] (SCNu16): Likewise.
32999         [C99-based-standards] (SCNx16): Likewise.
33000         [C99-based-standards] (PRIdLEAST16): Likewise.
33001         [C99-based-standards] (PRIiLEAST16): Likewise.
33002         [C99-based-standards] (PRIoLEAST16): Likewise.
33003         [C99-based-standards] (PRIuLEAST16): Likewise.
33004         [C99-based-standards] (PRIxLEAST16): Likewise.
33005         [C99-based-standards] (PRIXLEAST16): Likewise.
33006         [C99-based-standards] (SCNdLEAST16): Likewise.
33007         [C99-based-standards] (SCNiLEAST16): Likewise.
33008         [C99-based-standards] (SCNoLEAST16): Likewise.
33009         [C99-based-standards] (SCNuLEAST16): Likewise.
33010         [C99-based-standards] (SCNxLEAST16): Likewise.
33011         [C99-based-standards] (PRIdFAST16): Likewise.
33012         [C99-based-standards] (PRIiFAST16): Likewise.
33013         [C99-based-standards] (PRIoFAST16): Likewise.
33014         [C99-based-standards] (PRIuFAST16): Likewise.
33015         [C99-based-standards] (PRIxFAST16): Likewise.
33016         [C99-based-standards] (PRIXFAST16): Likewise.
33017         [C99-based-standards] (SCNdFAST16): Likewise.
33018         [C99-based-standards] (SCNiFAST16): Likewise.
33019         [C99-based-standards] (SCNoFAST16): Likewise.
33020         [C99-based-standards] (SCNuFAST16): Likewise.
33021         [C99-based-standards] (SCNxFAST16): Likewise.
33022         [C99-based-standards] (PRId32): Likewise.
33023         [C99-based-standards] (PRIi32): Likewise.
33024         [C99-based-standards] (PRIo32): Likewise.
33025         [C99-based-standards] (PRIu32): Likewise.
33026         [C99-based-standards] (PRIx32): Likewise.
33027         [C99-based-standards] (PRIX32): Likewise.
33028         [C99-based-standards] (SCNd32): Likewise.
33029         [C99-based-standards] (SCNi32): Likewise.
33030         [C99-based-standards] (SCNo32): Likewise.
33031         [C99-based-standards] (SCNu32): Likewise.
33032         [C99-based-standards] (SCNx32): Likewise.
33033         [C99-based-standards] (PRIdLEAST32): Likewise.
33034         [C99-based-standards] (PRIiLEAST32): Likewise.
33035         [C99-based-standards] (PRIoLEAST32): Likewise.
33036         [C99-based-standards] (PRIuLEAST32): Likewise.
33037         [C99-based-standards] (PRIxLEAST32): Likewise.
33038         [C99-based-standards] (PRIXLEAST32): Likewise.
33039         [C99-based-standards] (SCNdLEAST32): Likewise.
33040         [C99-based-standards] (SCNiLEAST32): Likewise.
33041         [C99-based-standards] (SCNoLEAST32): Likewise.
33042         [C99-based-standards] (SCNuLEAST32): Likewise.
33043         [C99-based-standards] (SCNxLEAST32): Likewise.
33044         [C99-based-standards] (PRIdFAST32): Likewise.
33045         [C99-based-standards] (PRIiFAST32): Likewise.
33046         [C99-based-standards] (PRIoFAST32): Likewise.
33047         [C99-based-standards] (PRIuFAST32): Likewise.
33048         [C99-based-standards] (PRIxFAST32): Likewise.
33049         [C99-based-standards] (PRIXFAST32): Likewise.
33050         [C99-based-standards] (SCNdFAST32): Likewise.
33051         [C99-based-standards] (SCNiFAST32): Likewise.
33052         [C99-based-standards] (SCNoFAST32): Likewise.
33053         [C99-based-standards] (SCNuFAST32): Likewise.
33054         [C99-based-standards] (SCNxFAST32): Likewise.
33055         [C99-based-standards] (PRId64): Likewise.
33056         [C99-based-standards] (PRIi64): Likewise.
33057         [C99-based-standards] (PRIo64): Likewise.
33058         [C99-based-standards] (PRIu64): Likewise.
33059         [C99-based-standards] (PRIx64): Likewise.
33060         [C99-based-standards] (PRIX64): Likewise.
33061         [C99-based-standards] (SCNd64): Likewise.
33062         [C99-based-standards] (SCNi64): Likewise.
33063         [C99-based-standards] (SCNo64): Likewise.
33064         [C99-based-standards] (SCNu64): Likewise.
33065         [C99-based-standards] (SCNx64): Likewise.
33066         [C99-based-standards] (PRIdLEAST64): Likewise.
33067         [C99-based-standards] (PRIiLEAST64): Likewise.
33068         [C99-based-standards] (PRIoLEAST64): Likewise.
33069         [C99-based-standards] (PRIuLEAST64): Likewise.
33070         [C99-based-standards] (PRIxLEAST64): Likewise.
33071         [C99-based-standards] (PRIXLEAST64): Likewise.
33072         [C99-based-standards] (SCNdLEAST64): Likewise.
33073         [C99-based-standards] (SCNiLEAST64): Likewise.
33074         [C99-based-standards] (SCNoLEAST64): Likewise.
33075         [C99-based-standards] (SCNuLEAST64): Likewise.
33076         [C99-based-standards] (SCNxLEAST64): Likewise.
33077         [C99-based-standards] (PRIdFAST64): Likewise.
33078         [C99-based-standards] (PRIiFAST64): Likewise.
33079         [C99-based-standards] (PRIoFAST64): Likewise.
33080         [C99-based-standards] (PRIuFAST64): Likewise.
33081         [C99-based-standards] (PRIxFAST64): Likewise.
33082         [C99-based-standards] (PRIXFAST64): Likewise.
33083         [C99-based-standards] (SCNdFAST64): Likewise.
33084         [C99-based-standards] (SCNiFAST64): Likewise.
33085         [C99-based-standards] (SCNoFAST64): Likewise.
33086         [C99-based-standards] (SCNuFAST64): Likewise.
33087         [C99-based-standards] (SCNxFAST64): Likewise.
33088         [C99-based-standards] (PRIdMAX): Likewise.
33089         [C99-based-standards] (PRIiMAX): Likewise.
33090         [C99-based-standards] (PRIoMAX): Likewise.
33091         [C99-based-standards] (PRIuMAX): Likewise.
33092         [C99-based-standards] (PRIxMAX): Likewise.
33093         [C99-based-standards] (PRIXMAX): Likewise.
33094         [C99-based-standards] (SCNdMAX): Likewise.
33095         [C99-based-standards] (SCNiMAX): Likewise.
33096         [C99-based-standards] (SCNoMAX): Likewise.
33097         [C99-based-standards] (SCNuMAX): Likewise.
33098         [C99-based-standards] (SCNxMAX): Likewise.
33099         [C99-based-standards] (PRIdPTR): Likewise.
33100         [C99-based-standards] (PRIiPTR): Likewise.
33101         [C99-based-standards] (PRIoPTR): Likewise.
33102         [C99-based-standards] (PRIuPTR): Likewise.
33103         [C99-based-standards] (PRIxPTR): Likewise.
33104         [C99-based-standards] (PRIXPTR): Likewise.
33105         [C99-based-standards] (SCNdPTR): Likewise.
33106         [C99-based-standards] (SCNiPTR): Likewise.
33107         [C99-based-standards] (SCNoPTR): Likewise.
33108         [C99-based-standards] (SCNuPTR): Likewise.
33109         [C99-based-standards] (SCNxPTR): Likewise.
33110         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
33111         allow.
33112         * conform/data/stdint.h-data: Update comments to clarify
33113         requirements.
33114         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
33115         type.
33116         [C99-based standards] (INT8_MAX): Likewise.
33117         [C99-based standards] (INT16_MIN): Likewise.
33118         [C99-based standards] (INT16_MAX): Likewise.
33119         [C99-based standards] (INT32_MIN): Likewise.
33120         [C99-based standards] (INT32_MAX): Likewise.
33121         [C99-based standards] (INT64_MIN): Likewise.
33122         [C99-based standards] (INT64_MAX): Likewise.
33123         [C99-based standards] (UINT8_MAX): Likewise.
33124         [C99-based standards] (UINT16_MAX): Likewise.
33125         [C99-based standards] (UINT32_MAX): Likewise.
33126         [C99-based standards] (UINT64_MAX): Likewise.
33127         [C99-based standards] (INT_LEAST8_MIN): Likewise.
33128         [C99-based standards] (INT_LEAST8_MAX): Likewise.
33129         [C99-based standards] (INT_LEAST16_MIN): Likewise.
33130         [C99-based standards] (INT_LEAST16_MAX): Likewise.
33131         [C99-based standards] (INT_LEAST32_MIN): Likewise.
33132         [C99-based standards] (INT_LEAST32_MAX): Likewise.
33133         [C99-based standards] (INT_LEAST64_MIN): Likewise.
33134         [C99-based standards] (INT_LEAST64_MAX): Likewise.
33135         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
33136         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
33137         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
33138         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
33139         [C99-based standards] (INT_FAST8_MIN): Likewise.
33140         [C99-based standards] (INT_FAST8_MAX): Likewise.
33141         [C99-based standards] (INT_FAST16_MIN): Likewise.
33142         [C99-based standards] (INT_FAST16_MAX): Likewise.
33143         [C99-based standards] (INT_FAST32_MIN): Likewise.
33144         [C99-based standards] (INT_FAST32_MAX): Likewise.
33145         [C99-based standards] (INT_FAST64_MIN): Likewise.
33146         [C99-based standards] (INT_FAST64_MAX): Likewise.
33147         [C99-based standards] (UINT_FAST8_MAX): Likewise.
33148         [C99-based standards] (UINT_FAST16_MAX): Likewise.
33149         [C99-based standards] (UINT_FAST32_MAX): Likewise.
33150         [C99-based standards] (UINT_FAST64_MAX): Likewise.
33151         [C99-based standards] (INTPTR_MIN): Likewise.
33152         [C99-based standards] (INTPTR_MAX): Likewise.
33153         [C99-based standards] (UINTPTR_MAX): Likewise.
33154         [C99-based standards] (INTMAX_MIN): Likewise.
33155         [C99-based standards] (INTMAX_MAX): Likewise.
33156         [C99-based standards] (UINTMAX_MAX): Likewise.
33157         [C99-based standards] (PTRDIFF_MIN): Likewise.
33158         [C99-based standards] (PTRDIFF_MAX): Likewise.
33159         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
33160         [C99-based standards] (SIZE_MAX): Likewise.
33161         [C99-based standards] (WCHAR_MAX): Likewise.
33162         [C99-based standards] (WINT_MAX): Likewise.
33163         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
33164         constraint on value.
33165         [C99-based standards] (WCHAR_MIN): Likewise.
33166         [C99-based standards] (WINT_MIN): Likewise.
33167         [C99-based standards] (*_t): Allow.
33168         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
33169         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
33170         Include math.h-data and complex.h-data.  Remove all expectations
33171         of math.h and complex.h contents.
33172         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
33173         at end of line.
33174         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
33175         (struct tm): Expect tag.
33176         [C99-based-standards] (wcstof): Expect function.
33177         [C99-based-standards] (wcstold): Likewise.
33178         [C99-based-standards] (wcstoll): Likewise.
33179         [C99-based-standards] (wcstoull): Likewise.
33180         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
33181         macro-int-constant.  Specify type.
33182         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
33183         constraint on value.
33184         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
33185         Specify type.
33186         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
33187         Specify value.
33188         [ISO C standards]: Do not allow headers.
33189         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
33190         wcs[abcdefghijklmnopqrstuvwxyz]*.
33191         [ISO C standards] (*_t): Do not allow.
33192         * conform/data/wctype.h-data [C99-based standards] (iswblank):
33193         Expect function.
33194         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
33195         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
33196         Specify type.
33197         [ISO C standards]: Do not allow headers.
33198         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
33199         is[abcdefghijklmnopqrstuvwxyz]*.
33200         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
33201         to[abcdefghijklmnopqrstuvwxyz]*.
33202         [ISO C standards] (*_t): Do not allow.
33203         * conform/data/stdalign.h-data: New file.
33204         * conform/data/stdbool.h-data: Likewise.
33205         * conform/data/stdnoreturn.h-data: Likewise.
33206
33207 2012-11-07  Roland McGrath  <roland@hack.frob.com>
33208
33209         [BZ #14815]
33210         * manual/filesys.texi (Directory Entries): Typo fix.
33211         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
33212
33213 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
33214
33215         * elf/elf.h (EM_AARCH64): New macro.
33216         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
33217         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
33218         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
33219         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
33220         (R_AARCH64_TLSDESC): Likewise.
33221         (NT_ARM_TLS): Likewise.
33222         (NT_ARM_HW_BREAK): Likewise.
33223         (NT_ARM_HW_WATCH): Likewise.
33224
33225 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
33226
33227         [BZ #14811]
33228         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
33229         (__ieee754_powl): Saturate nonzero exponents with absolute value
33230         below 0x1p-79 to +/- 0x1p-79.
33231         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
33232         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
33233         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
33234         nonzero exponents with absolute value below 0x1p-32 to +/-
33235         0x1p-32.
33236         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
33237         (__ieee754_powl): Saturate nonzero exponents with absolute value
33238         below 0x1p-79 to +/- 0x1p-79.
33239         * math/libm-test.inc (pow_test): Add more tests.
33240
33241 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33242
33243         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
33244         _dl_s390_cap_flags with kernel. Increase string length.
33245         (_dl_s390_platforms): Add z196 and zEC12.
33246
33247 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
33248
33249         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
33250         Change XOPEN21K to XOPEN2K.
33251
33252 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
33253
33254         * string/memmove.c: Use memcpy when possible.
33255
33256 2012-11-06  Andreas Jaeger  <aj@suse.de>
33257
33258         * po/eo.po: Update from translation team.
33259
33260 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
33261
33262         [BZ #14793]
33263         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
33264         exponent and small x and y exponents, scale x or y up.  Increase
33265         by 2 the exponent used in scaling up.
33266         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
33267         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
33268         * math/libm-test.inc (fma_test): Add more tests.
33269         (fma_test_towardzero): Likewise.
33270         (fma_test_downward): Likewise.
33271         (fma_test_upward): Likewise.
33272
33273 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
33274
33275         [BZ #14805]
33276         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
33277         fenv_t *.
33278
33279         [BZ #14801]
33280         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
33281         namespace for names of struct fields.
33282         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
33283         fenv_t fields.
33284         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
33285         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
33286
33287 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33288
33289         [BZ #3665]
33290         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
33291
33292 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
33293
33294         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
33295         PTR_DEMANGLE.
33296
33297         [BZ #5246]
33298         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
33299         PTR_DEMANGLE.
33300
33301 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
33302
33303         [BZ #14797]
33304         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
33305         definitely overflow as x * y not x * y + z.
33306         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
33307         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
33308         * math/libm-test.inc (fma_test): Add more tests.
33309         (fma_test_towardzero): Likewise.
33310         (fma_test_downward): Likewise.
33311         (fma_test_upward): Likewise.
33312
33313 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
33314
33315         [BZ #157]
33316
33317         * include/stub-tag.h: Remove file.
33318         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
33319         '#include' of it.
33320         * manual/maint.texi (Porting): Don't reference it.
33321         * Makerules ($(objpfx)stubs): Likewise.
33322         * dirent/closedir.c: Don't include <stub-tag.h>.
33323         * dirent/dirfd.c: Likewise.
33324         * dirent/fdopendir.c: Likewise.
33325         * dirent/getdents.c: Likewise.
33326         * dirent/getdents64.c: Likewise.
33327         * dirent/opendir.c: Likewise.
33328         * dirent/readdir.c: Likewise.
33329         * dirent/readdir64.c: Likewise.
33330         * dirent/readdir64_r.c: Likewise.
33331         * dirent/readdir_r.c: Likewise.
33332         * dirent/rewinddir.c: Likewise.
33333         * dirent/seekdir.c: Likewise.
33334         * dirent/telldir.c: Likewise.
33335         * gmon/profil.c: Likewise.
33336         * grp/setgroups.c: Likewise.
33337         * inet/if_index.c: Likewise.
33338         * io/access.c: Likewise.
33339         * io/chdir.c: Likewise.
33340         * io/chmod.c: Likewise.
33341         * io/chown.c: Likewise.
33342         * io/close.c: Likewise.
33343         * io/dup.c: Likewise.
33344         * io/dup2.c: Likewise.
33345         * io/dup3.c: Likewise.
33346         * io/euidaccess.c: Likewise.
33347         * io/faccessat.c: Likewise.
33348         * io/fchdir.c: Likewise.
33349         * io/fchmod.c: Likewise.
33350         * io/fchmodat.c: Likewise.
33351         * io/fchown.c: Likewise.
33352         * io/fchownat.c: Likewise.
33353         * io/fcntl.c: Likewise.
33354         * io/flock.c: Likewise.
33355         * io/fstatfs.c: Likewise.
33356         * io/fstatfs64.c: Likewise.
33357         * io/fstatvfs.c: Likewise.
33358         * io/fstatvfs64.c: Likewise.
33359         * io/futimens.c: Likewise.
33360         * io/fxstat.c: Likewise.
33361         * io/fxstat64.c: Likewise.
33362         * io/fxstatat.c: Likewise.
33363         * io/fxstatat64.c: Likewise.
33364         * io/getcwd.c: Likewise.
33365         * io/isatty.c: Likewise.
33366         * io/lchmod.c: Likewise.
33367         * io/lchown.c: Likewise.
33368         * io/link.c: Likewise.
33369         * io/linkat.c: Likewise.
33370         * io/lseek.c: Likewise.
33371         * io/lseek64.c: Likewise.
33372         * io/lxstat64.c: Likewise.
33373         * io/mkdir.c: Likewise.
33374         * io/mkdirat.c: Likewise.
33375         * io/mkfifo.c: Likewise.
33376         * io/mkfifoat.c: Likewise.
33377         * io/open.c: Likewise.
33378         * io/open64.c: Likewise.
33379         * io/openat.c: Likewise.
33380         * io/openat64.c: Likewise.
33381         * io/pipe.c: Likewise.
33382         * io/pipe2.c: Likewise.
33383         * io/poll.c: Likewise.
33384         * io/posix_fadvise.c: Likewise.
33385         * io/posix_fadvise64.c: Likewise.
33386         * io/posix_fallocate.c: Likewise.
33387         * io/posix_fallocate64.c: Likewise.
33388         * io/read.c: Likewise.
33389         * io/readlink.c: Likewise.
33390         * io/readlinkat.c: Likewise.
33391         * io/rmdir.c: Likewise.
33392         * io/sendfile.c: Likewise.
33393         * io/sendfile64.c: Likewise.
33394         * io/statfs.c: Likewise.
33395         * io/statfs64.c: Likewise.
33396         * io/statvfs.c: Likewise.
33397         * io/statvfs64.c: Likewise.
33398         * io/symlink.c: Likewise.
33399         * io/symlinkat.c: Likewise.
33400         * io/ttyname.c: Likewise.
33401         * io/ttyname_r.c: Likewise.
33402         * io/umask.c: Likewise.
33403         * io/unlink.c: Likewise.
33404         * io/unlinkat.c: Likewise.
33405         * io/utime.c: Likewise.
33406         * io/utimensat.c: Likewise.
33407         * io/write.c: Likewise.
33408         * io/xmknod.c: Likewise.
33409         * io/xmknodat.c: Likewise.
33410         * io/xstat.c: Likewise.
33411         * io/xstat64.c: Likewise.
33412         * login/getpt.c: Likewise.
33413         * login/grantpt.c: Likewise.
33414         * login/unlockpt.c: Likewise.
33415         * math/e_acoshl.c: Likewise.
33416         * math/e_acosl.c: Likewise.
33417         * math/e_asinl.c: Likewise.
33418         * math/e_atan2l.c: Likewise.
33419         * math/e_atanhl.c: Likewise.
33420         * math/e_coshl.c: Likewise.
33421         * math/e_expl.c: Likewise.
33422         * math/e_fmodl.c: Likewise.
33423         * math/e_gammal_r.c: Likewise.
33424         * math/e_hypotl.c: Likewise.
33425         * math/e_j0l.c: Likewise.
33426         * math/e_j1l.c: Likewise.
33427         * math/e_jnl.c: Likewise.
33428         * math/e_lgammal_r.c: Likewise.
33429         * math/e_log10l.c: Likewise.
33430         * math/e_log2l.c: Likewise.
33431         * math/e_logl.c: Likewise.
33432         * math/e_powl.c: Likewise.
33433         * math/e_rem_pio2l.c: Likewise.
33434         * math/e_sinhl.c: Likewise.
33435         * math/e_sqrtl.c: Likewise.
33436         * math/fclrexcpt.c: Likewise.
33437         * math/fedisblxcpt.c: Likewise.
33438         * math/feenablxcpt.c: Likewise.
33439         * math/fegetenv.c: Likewise.
33440         * math/fegetexcept.c: Likewise.
33441         * math/fegetround.c: Likewise.
33442         * math/feholdexcpt.c: Likewise.
33443         * math/fesetenv.c: Likewise.
33444         * math/fesetround.c: Likewise.
33445         * math/feupdateenv.c: Likewise.
33446         * math/fgetexcptflg.c: Likewise.
33447         * math/fraiseexcpt.c: Likewise.
33448         * math/fsetexcptflg.c: Likewise.
33449         * math/ftestexcept.c: Likewise.
33450         * math/k_cosl.c: Likewise.
33451         * math/k_rem_pio2l.c: Likewise.
33452         * math/k_sinl.c: Likewise.
33453         * math/k_tanl.c: Likewise.
33454         * math/s_asinhl.c: Likewise.
33455         * math/s_atanl.c: Likewise.
33456         * math/s_cbrtl.c: Likewise.
33457         * math/s_erfl.c: Likewise.
33458         * math/s_expm1l.c: Likewise.
33459         * math/s_log1pl.c: Likewise.
33460         * math/s_tanhl.c: Likewise.
33461         * misc/acct.c: Likewise.
33462         * misc/brk.c: Likewise.
33463         * misc/chflags.c: Likewise.
33464         * misc/chroot.c: Likewise.
33465         * misc/fchflags.c: Likewise.
33466         * misc/fgetxattr.c: Likewise.
33467         * misc/flistxattr.c: Likewise.
33468         * misc/fremovexattr.c: Likewise.
33469         * misc/fsetxattr.c: Likewise.
33470         * misc/fsync.c: Likewise.
33471         * misc/ftruncate.c: Likewise.
33472         * misc/futimes.c: Likewise.
33473         * misc/futimesat.c: Likewise.
33474         * misc/getdomain.c: Likewise.
33475         * misc/getdtsz.c: Likewise.
33476         * misc/gethostid.c: Likewise.
33477         * misc/gethostname.c: Likewise.
33478         * misc/getloadavg.c: Likewise.
33479         * misc/getpagesize.c: Likewise.
33480         * misc/getsysstats.c: Likewise.
33481         * misc/getxattr.c: Likewise.
33482         * misc/gtty.c: Likewise.
33483         * misc/ioctl.c: Likewise.
33484         * misc/lgetxattr.c: Likewise.
33485         * misc/listxattr.c: Likewise.
33486         * misc/llistxattr.c: Likewise.
33487         * misc/lremovexattr.c: Likewise.
33488         * misc/lsetxattr.c: Likewise.
33489         * misc/lutimes.c: Likewise.
33490         * misc/madvise.c: Likewise.
33491         * misc/mincore.c: Likewise.
33492         * misc/mlock.c: Likewise.
33493         * misc/mlockall.c: Likewise.
33494         * misc/mmap.c: Likewise.
33495         * misc/mprotect.c: Likewise.
33496         * misc/msync.c: Likewise.
33497         * misc/munlock.c: Likewise.
33498         * misc/munlockall.c: Likewise.
33499         * misc/munmap.c: Likewise.
33500         * misc/preadv.c: Likewise.
33501         * misc/preadv64.c: Likewise.
33502         * misc/ptrace.c: Likewise.
33503         * misc/pwritev.c: Likewise.
33504         * misc/pwritev64.c: Likewise.
33505         * misc/readv.c: Likewise.
33506         * misc/reboot.c: Likewise.
33507         * misc/remap_file_pages.c: Likewise.
33508         * misc/removexattr.c: Likewise.
33509         * misc/revoke.c: Likewise.
33510         * misc/select.c: Likewise.
33511         * misc/setdomain.c: Likewise.
33512         * misc/setegid.c: Likewise.
33513         * misc/seteuid.c: Likewise.
33514         * misc/sethostid.c: Likewise.
33515         * misc/sethostname.c: Likewise.
33516         * misc/setregid.c: Likewise.
33517         * misc/setreuid.c: Likewise.
33518         * misc/setxattr.c: Likewise.
33519         * misc/sstk.c: Likewise.
33520         * misc/stty.c: Likewise.
33521         * misc/swapoff.c: Likewise.
33522         * misc/swapon.c: Likewise.
33523         * misc/sync.c: Likewise.
33524         * misc/syncfs.c: Likewise.
33525         * misc/syscall.c: Likewise.
33526         * misc/truncate.c: Likewise.
33527         * misc/ualarm.c: Likewise.
33528         * misc/usleep.c: Likewise.
33529         * misc/ustat.c: Likewise.
33530         * misc/utimes.c: Likewise.
33531         * misc/vhangup.c: Likewise.
33532         * misc/writev.c: Likewise.
33533         * posix/_exit.c: Likewise.
33534         * posix/alarm.c: Likewise.
33535         * posix/execve.c: Likewise.
33536         * posix/fexecve.c: Likewise.
33537         * posix/fork.c: Likewise.
33538         * posix/fpathconf.c: Likewise.
33539         * posix/getaddrinfo.c: Likewise.
33540         * posix/getegid.c: Likewise.
33541         * posix/geteuid.c: Likewise.
33542         * posix/getgid.c: Likewise.
33543         * posix/getgroups.c: Likewise.
33544         * posix/getlogin.c: Likewise.
33545         * posix/getlogin_r.c: Likewise.
33546         * posix/getpgid.c: Likewise.
33547         * posix/getpid.c: Likewise.
33548         * posix/getppid.c: Likewise.
33549         * posix/getresgid.c: Likewise.
33550         * posix/getresuid.c: Likewise.
33551         * posix/getsid.c: Likewise.
33552         * posix/getuid.c: Likewise.
33553         * posix/glob64.c: Likewise.
33554         * posix/nanosleep.c: Likewise.
33555         * posix/pathconf.c: Likewise.
33556         * posix/pause.c: Likewise.
33557         * posix/posix_madvise.c: Likewise.
33558         * posix/pread.c: Likewise.
33559         * posix/pread64.c: Likewise.
33560         * posix/pwrite.c: Likewise.
33561         * posix/pwrite64.c: Likewise.
33562         * posix/sched_getaffinity.c: Likewise.
33563         * posix/sched_getp.c: Likewise.
33564         * posix/sched_gets.c: Likewise.
33565         * posix/sched_primax.c: Likewise.
33566         * posix/sched_primin.c: Likewise.
33567         * posix/sched_rr_gi.c: Likewise.
33568         * posix/sched_setaffinity.c: Likewise.
33569         * posix/sched_setp.c: Likewise.
33570         * posix/sched_sets.c: Likewise.
33571         * posix/sched_yield.c: Likewise.
33572         * posix/setgid.c: Likewise.
33573         * posix/setlogin.c: Likewise.
33574         * posix/setpgid.c: Likewise.
33575         * posix/setresgid.c: Likewise.
33576         * posix/setresuid.c: Likewise.
33577         * posix/setsid.c: Likewise.
33578         * posix/setuid.c: Likewise.
33579         * posix/sleep.c: Likewise.
33580         * posix/spawni.c: Likewise.
33581         * posix/sysconf.c: Likewise.
33582         * posix/times.c: Likewise.
33583         * posix/wait.c: Likewise.
33584         * posix/wait3.c: Likewise.
33585         * posix/wait4.c: Likewise.
33586         * posix/waitpid.c: Likewise.
33587         * resolv/gai_sigqueue.c: Likewise.
33588         * resource/getpriority.c: Likewise.
33589         * resource/getrlimit.c: Likewise.
33590         * resource/getrusage.c: Likewise.
33591         * resource/nice.c: Likewise.
33592         * resource/setpriority.c: Likewise.
33593         * resource/setrlimit.c: Likewise.
33594         * resource/ulimit.c: Likewise.
33595         * rt/aio_cancel.c: Likewise.
33596         * rt/aio_fsync.c: Likewise.
33597         * rt/aio_read.c: Likewise.
33598         * rt/aio_sigqueue.c: Likewise.
33599         * rt/aio_suspend.c: Likewise.
33600         * rt/aio_write.c: Likewise.
33601         * rt/clock_getres.c: Likewise.
33602         * rt/clock_gettime.c: Likewise.
33603         * rt/clock_nanosleep.c: Likewise.
33604         * rt/clock_settime.c: Likewise.
33605         * rt/lio_listio.c: Likewise.
33606         * rt/mq_close.c: Likewise.
33607         * rt/mq_getattr.c: Likewise.
33608         * rt/mq_notify.c: Likewise.
33609         * rt/mq_open.c: Likewise.
33610         * rt/mq_receive.c: Likewise.
33611         * rt/mq_send.c: Likewise.
33612         * rt/mq_setattr.c: Likewise.
33613         * rt/mq_timedreceive.c: Likewise.
33614         * rt/mq_timedsend.c: Likewise.
33615         * rt/mq_unlink.c: Likewise.
33616         * rt/shm_open.c: Likewise.
33617         * rt/shm_unlink.c: Likewise.
33618         * rt/timer_create.c: Likewise.
33619         * rt/timer_delete.c: Likewise.
33620         * rt/timer_getoverr.c: Likewise.
33621         * rt/timer_gettime.c: Likewise.
33622         * rt/timer_settime.c: Likewise.
33623         * setjmp/__longjmp.c: Likewise.
33624         * setjmp/setjmp.c: Likewise.
33625         * signal/kill.c: Likewise.
33626         * signal/killpg.c: Likewise.
33627         * signal/raise.c: Likewise.
33628         * signal/sigaction.c: Likewise.
33629         * signal/sigaltstack.c: Likewise.
33630         * signal/sigblock.c: Likewise.
33631         * signal/sigignore.c: Likewise.
33632         * signal/sigintr.c: Likewise.
33633         * signal/signal.c: Likewise.
33634         * signal/sigpause.c: Likewise.
33635         * signal/sigpending.c: Likewise.
33636         * signal/sigqueue.c: Likewise.
33637         * signal/sigreturn.c: Likewise.
33638         * signal/sigset.c: Likewise.
33639         * signal/sigsetmask.c: Likewise.
33640         * signal/sigstack.c: Likewise.
33641         * signal/sigsuspend.c: Likewise.
33642         * signal/sigtimedwait.c: Likewise.
33643         * signal/sigvec.c: Likewise.
33644         * signal/sigwait.c: Likewise.
33645         * signal/sigwaitinfo.c: Likewise.
33646         * signal/sysv_signal.c: Likewise.
33647         * socket/accept.c: Likewise.
33648         * socket/accept4.c: Likewise.
33649         * socket/bind.c: Likewise.
33650         * socket/connect.c: Likewise.
33651         * socket/getpeername.c: Likewise.
33652         * socket/getsockname.c: Likewise.
33653         * socket/getsockopt.c: Likewise.
33654         * socket/isfdtype.c: Likewise.
33655         * socket/listen.c: Likewise.
33656         * socket/recv.c: Likewise.
33657         * socket/recvfrom.c: Likewise.
33658         * socket/recvmsg.c: Likewise.
33659         * socket/send.c: Likewise.
33660         * socket/sendmsg.c: Likewise.
33661         * socket/sendto.c: Likewise.
33662         * socket/setsockopt.c: Likewise.
33663         * socket/shutdown.c: Likewise.
33664         * socket/sockatmark.c: Likewise.
33665         * socket/socket.c: Likewise.
33666         * socket/socketpair.c: Likewise.
33667         * stdio-common/ctermid.c: Likewise.
33668         * stdio-common/cuserid.c: Likewise.
33669         * stdio-common/remove.c: Likewise.
33670         * stdio-common/rename.c: Likewise.
33671         * stdio-common/renameat.c: Likewise.
33672         * stdio-common/tempname.c: Likewise.
33673         * stdlib/getcontext.c: Likewise.
33674         * stdlib/makecontext.c: Likewise.
33675         * stdlib/setcontext.c: Likewise.
33676         * stdlib/swapcontext.c: Likewise.
33677         * stdlib/system.c: Likewise.
33678         * streams/fattach.c: Likewise.
33679         * streams/fdetach.c: Likewise.
33680         * streams/getmsg.c: Likewise.
33681         * streams/getpmsg.c: Likewise.
33682         * streams/putmsg.c: Likewise.
33683         * streams/putpmsg.c: Likewise.
33684         * sysdeps/unix/bsd/getpt.c: Likewise.
33685         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
33686         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
33687         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
33688         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
33689         Likewise.
33690         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
33691         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
33692         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
33693         * sysvipc/msgctl.c: Likewise.
33694         * sysvipc/msgget.c: Likewise.
33695         * sysvipc/msgrcv.c: Likewise.
33696         * sysvipc/msgsnd.c: Likewise.
33697         * sysvipc/semctl.c: Likewise.
33698         * sysvipc/semget.c: Likewise.
33699         * sysvipc/semop.c: Likewise.
33700         * sysvipc/semtimedop.c: Likewise.
33701         * sysvipc/shmat.c: Likewise.
33702         * sysvipc/shmctl.c: Likewise.
33703         * sysvipc/shmdt.c: Likewise.
33704         * sysvipc/shmget.c: Likewise.
33705         * termios/tcdrain.c: Likewise.
33706         * termios/tcflow.c: Likewise.
33707         * termios/tcflush.c: Likewise.
33708         * termios/tcgetattr.c: Likewise.
33709         * termios/tcgetpgrp.c: Likewise.
33710         * termios/tcsendbrk.c: Likewise.
33711         * termios/tcsetattr.c: Likewise.
33712         * termios/tcsetpgrp.c: Likewise.
33713         * time/adjtime.c: Likewise.
33714         * time/clock.c: Likewise.
33715         * time/getitimer.c: Likewise.
33716         * time/gettimeofday.c: Likewise.
33717         * time/setitimer.c: Likewise.
33718         * time/settimeofday.c: Likewise.
33719         * time/stime.c: Likewise.
33720         * time/time.c: Likewise.
33721
33722 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
33723
33724         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
33725         /usr/old/bin.
33726
33727         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
33728         instead of spaces.
33729         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
33730
33731 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
33732
33733         [BZ #14796]
33734         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
33735         FE_TONEAREST before applying Dekker multiplication and Knuth
33736         addition.  Clear inexact exceptions and check for exact zero
33737         results afterwards.
33738         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
33739         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
33740         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
33741         * math/libm-test.inc (fma_test): Add more tests.
33742         (fma_test_towardzero): Likewise.
33743         (fma_test_downward): Likewise.
33744         (fma_test_upward): Likewise.
33745         * sysdeps/generic/math_private.h (default_libc_fesetround): New
33746         function.
33747         (libc_fesetround): New macro.
33748         (libc_fesetroundf): Likewise.
33749         (libc_fesetroundl): Likewise.
33750         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
33751         function.
33752         (libc_fesetround_387): Likewise.
33753         (libc_fesetroundf): New macro.
33754         (libc_fesetround): Likewise.
33755         (libc_fesetroundl): Likewise.
33756         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
33757         function.
33758         (libc_fesetroundf): New macro.
33759         (libc_fesetround): Likewise.
33760         (libc_fesetroundl): Likewise.
33761         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
33762         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
33763         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
33764         libm_hidden_ver.
33765         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
33766         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
33767         libm_hidden_def.
33768         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
33769         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
33770         libm_hidden_ver.
33771         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
33772         libm_hidden_def.
33773
33774         [BZ #3439]
33775         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
33776         integer constant usable in #if and use that to give value to enum
33777         constant.
33778         (FE_DIVBYZERO): Likewise.
33779         (FE_UNDERFLOW): Likewise.
33780         (FE_OVERFLOW): Likewise.
33781         (FE_INVALID): Likewise.
33782         (FE_INVALID_SNAN): Likewise.
33783         (FE_INVALID_ISI): Likewise.
33784         (FE_INVALID_IDI): Likewise.
33785         (FE_INVALID_ZDZ): Likewise.
33786         (FE_INVALID_IMZ): Likewise.
33787         (FE_INVALID_COMPARE): Likewise.
33788         (FE_INVALID_SOFTWARE): Likewise.
33789         (FE_INVALID_SQRT): Likewise.
33790         (FE_INVALID_INTEGER_CONVERSION): Likewise.
33791         (FE_TONEAREST): Likewise.
33792         (FE_TOWARDZERO): Likewise.
33793         (FE_UPWARD): Likewise.
33794         (FE_DOWNWARD): Likewise.
33795         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
33796         (FE_DIVBYZERO): Likewise.
33797         (FE_OVERFLOW): Likewise.
33798         (FE_UNDERFLOW): Likewise.
33799         (FE_INEXACT): Likewise.
33800         (FE_TONEAREST): Likewise.
33801         (FE_DOWNWARD): Likewise.
33802         (FE_UPWARD): Likewise.
33803         (FE_TOWARDZERO): Likewise.
33804         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
33805         (FE_UNDERFLOW): Likewise.
33806         (FE_OVERFLOW): Likewise.
33807         (FE_DIVBYZERO): Likewise.
33808         (FE_INVALID): Likewise.
33809         (FE_TONEAREST): Likewise.
33810         (FE_TOWARDZERO): Likewise.
33811         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
33812         (FE_OVERFLOW): Likewise.
33813         (FE_UNDERFLOW): Likewise.
33814         (FE_DIVBYZERO): Likewise.
33815         (FE_INEXACT): Likewise.
33816         (FE_TONEAREST): Likewise.
33817         (FE_TOWARDZERO): Likewise.
33818         (FE_UPWARD): Likewise.
33819         (FE_DOWNWARD): Likewise.
33820         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
33821         (FE_DIVBYZERO): Likewise.
33822         (FE_OVERFLOW): Likewise.
33823         (FE_UNDERFLOW): Likewise.
33824         (FE_INEXACT): Likewise.
33825         (FE_TONEAREST): Likewise.
33826         (FE_DOWNWARD): Likewise.
33827         (FE_UPWARD): Likewise.
33828         (FE_TOWARDZERO): Likewise.
33829
33830 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
33831
33832         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
33833
33834 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
33835
33836         * scripts/cross-test-ssh.sh (command): Use newlines to separate
33837         commands.  Quote $PWD.
33838         (blacklist_exports): Don't use remove_newlines.  Replace "declare
33839         -x" by "export".
33840         (remove_newlines): Remove.
33841
33842 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
33843
33844         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
33845         * stdlib/stdlib.h (atof): Moved to ...
33846         * include/bits/stdlib-float.h: Here.  New file.
33847         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
33848         * stdlib/bits/stdlib-float.h: New file.
33849         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
33850         -mno-sse -mno-mmx.
33851         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
33852         <xmmintrin.h>.
33853
33854 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
33855
33856         * conform/conformtest.pl (@headers): Add fenv.h.
33857         * conform/data/fenv.h-data: New file.
33858         * include/fenv.h [_ISOMAC]: Disable all contents of file except
33859         include of <math/fenv.h>.
33860
33861         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
33862         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
33863         && !UNIX98].  Enables tests for XOPEN2K8.
33864         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
33865         POSIX2008]: Likewise.
33866
33867         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
33868         (struct rusage): Do not expect type or its members.
33869
33870         [BZ #3439]
33871         * math/math.h (FP_NAN): Define macro to integer constant usable in
33872         #if and use that to give value to enum constant.
33873         (FP_INFINITE): Likewise.
33874         (FP_ZERO): Likewise.
33875         (FP_SUBNORMAL): Likewise.
33876         (FP_NORMAL): Likewise.
33877
33878 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
33879
33880         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
33881         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
33882         arguments.
33883
33884 2012-11-02  Roland McGrath  <roland@hack.frob.com>
33885
33886         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
33887         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
33888         autoconf-time if not.
33889         * configure.in: Remove AC_PREREQ.
33890
33891 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
33892
33893         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
33894         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
33895         of the internal implementation.
33896
33897 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
33898
33899         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
33900         except include of <misc/sys/syslog.h>.
33901
33902 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
33903
33904         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
33905         function returns with a NULL context exit with zero.
33906
33907 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
33908
33909         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
33910
33911 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
33912
33913         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
33914         (run_program_cmd): This.
33915         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
33916         (tst_langinfo): New variable.  Use it.
33917
33918 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
33919
33920         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
33921         floating point opcodes.
33922
33923 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
33924
33925         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
33926         variable.
33927
33928         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
33929
33930         * sysdeps/mach/hurd/powerpc: Remove directory.
33931         * sysdeps/mach/powerpc: Likewise.
33932
33933 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
33934
33935         * scripts/check-local-headers.sh: Ignore c++ headers.
33936
33937 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
33938
33939         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
33940         __libc_cleanup_region_start argument.
33941
33942 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
33943
33944         [BZ #14784]
33945         [BZ #14785]
33946         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
33947         x * y using scaling, not as x * y + z.
33948         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
33949         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
33950         * math/libm-test.inc (fma_test): Add more tests.
33951         (fma_test_towardzero): Likewise.
33952         (fma_test_downward): Likewise.
33953         (fma_test_upward): Likewise.
33954
33955 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
33956
33957         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
33958
33959 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
33960
33961         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
33962         New variable.
33963
33964 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
33965
33966         * rt/tst-shm.c (worker): Correct checking for mmap failure.
33967
33968 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
33969
33970         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
33971         Fix sort order.
33972         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
33973         Likewise.
33974
33975 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
33976
33977         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
33978         Fix the order of the list for glibc 2.17.
33979         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
33980         Likewise.
33981
33982 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
33983
33984         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33985
33986 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
33987
33988         [BZ #14610]
33989         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
33990         for low part of x being zero before using __atanl (y).
33991         * math/libm-test.inc (atan2_test): Add another test.
33992
33993         * manual/install.texi (Configuring and compiling): Document
33994         general use of test-wrapper and test-wrapper-env.
33995         * INSTALL: Regenerated.
33996
33997         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
33998         (__fma): Do not extract and scale down low bits on after-rounding
33999         systems when result rounded to normal precision would have normal
34000         exponent.
34001         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
34002         (__fmal): Do not extract and scale down low bits on after-rounding
34003         systems when result rounded to normal precision would have normal
34004         exponent.
34005         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
34006         (__fmal): Do not extract and scale down low bits on after-rounding
34007         systems when result rounded to normal precision would have normal
34008         exponent.
34009         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
34010         macro.
34011         (fma_test): Add more tests.
34012         (fma_test_towardzero): Likewise.
34013         (fma_test_downward): Likewise.
34014         (fma_test_upward): Likewise.
34015
34016 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
34017
34018         * sysdeps/i386/tininess.h: Renamed to ...
34019         * sysdeps/x86/tininess.h: This.
34020         * sysdeps/x86_64/tininess.h: Removed.
34021
34022 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
34023
34024         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
34025         input.  Use $(build-program-cmd).
34026         ($(objpfx)tst-array1-static.out): Likewise.
34027         ($(objpfx)tst-array2.out): Likewise.
34028         ($(objpfx)tst-array3.out): Likewise.
34029         ($(objpfx)tst-array4.out): Likewise.
34030         ($(objpfx)tst-array5.out): Likewise.
34031         ($(objpfx)tst-array5-static.out): Likewise.
34032
34033 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
34034
34035         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
34036         if defined.
34037
34038         * nss/nsswitch.h (nss_interface_function): Provide new
34039         macro for use with NSS functions.
34040         * grp/initgroups.c: Use new macro.
34041         * nss/getXXbyYY.c: Likewise.
34042         * nss/getXXbyYY_r.c: Likewise.
34043         * nss/getXXent.c: Likewise.
34044         * nss/getXXent_r.c: Likewise.
34045         * sysdeps/posix/getaddrinfo.c: Likewise.
34046
34047 2012-10-30  Andreas Jaeger  <aj@suse.de>
34048
34049         * po/ru.po: Update Russion translation from translation project.
34050
34051 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
34052
34053         [BZ #14152]
34054         [BZ #14783]
34055         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
34056         result and shift together with sticky bit instead of replicating
34057         round-to-nearest rounding.
34058         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
34059         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
34060         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
34061         missing underflow exceptions.
34062         (fma_test_towardzero): Add more tests.
34063         (fma_test_downward): Likewise.
34064         (fma_test_upward): Likewise.
34065
34066         [BZ #14047]
34067         * sysdeps/generic/tininess.h: New file.
34068         * sysdeps/i386/tininess.h: Likewise.
34069         * sysdeps/sh/tininess.h: Likewise.
34070         * sysdeps/x86_64/tininess.h: Likewise.
34071         * stdlib/tst-strtod-underflow.c: Likewise.
34072         * stdlib/tst-tininess.c: Likewise.
34073         * stdlib/strtod_l.c: Include <tininess.h>.
34074         (round_and_return): Do not set errno for exact underflow cases.
34075         Force an underflow exception when setting errno for underflow.
34076         Determine underflow based on rounding to normal precision if
34077         TININESS_AFTER_ROUNDING.
34078         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
34079         ERANGE for exact underflow cases.
34080         * stdlib/Makefile (tests): Add tst-tininess and
34081         tst-strtod-underflow.
34082         ($(objpfx)tst-tininess): Use $(link-libm).
34083         ($(objpfx)tst-strtod-underflow): Likewise.
34084
34085 2012-10-30  Andreas Jaeger  <aj@suse.de>
34086
34087         [BZ#14767]
34088         * elf/Makefile (tests): Remove conditional for have-initfini-array
34089         since this is now always required and the variable does not exist
34090         anymore.
34091         (tests-static): Likewise.
34092         (modules-names): Likewise.
34093
34094         * po/eo.po: Add Esperanto translation from translation project.
34095
34096         * elf/tst-array1.c (fini_array): Make writeable so that it can be
34097         merged with constructor/destructor.
34098         (init_array): Likewise.
34099         * elf/tst-array2dep.c (fini_array): Likewise.
34100         (init_array): Likewise.
34101
34102 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
34103
34104         * manual/message.texi: Delete @cartouche tags.
34105
34106 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
34107
34108         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
34109         EOPNOTSUPP.
34110         * sysdeps/mach/hurd/fsync.c: Likewise.
34111
34112         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
34113         [_POSIX_REALTIME_SIGNALS]: Change condition to
34114         [_POSIX_REALTIME_SIGNALS > 0].
34115
34116 2012-10-27  Andreas Jaeger  <aj@suse.de>
34117
34118         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
34119         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
34120         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
34121         [__WORDSIZE != 64]: Likewise.
34122
34123 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
34124
34125         *  iconvdata/tst-table.sh: Remove ${SHELL}.
34126         *  iconvdata/tst-tables.sh: Likewise.
34127
34128 2012-10-25  David S. Miller  <davem@davemloft.net>
34129
34130         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
34131         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
34132         of strtoull.
34133
34134         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
34135         ifunc-impl-list.c
34136         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
34137         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
34138         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
34139         file.
34140
34141 2012-10-25  Roland McGrath  <roland@hack.frob.com>
34142
34143         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
34144         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
34145         __getdirentries.
34146
34147 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
34148             Jim Blandy  <jimb@codesourcery.com>
34149
34150         * scripts/cross-test-ssh.sh: New file.
34151         * manual/install.texi (Configuring and compiling): Document use of
34152         cross-test-ssh.sh.
34153         * INSTALL: Regenerated.
34154
34155 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
34156
34157         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
34158         EOPNOTSUPP.
34159
34160 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
34161
34162         * Makeconfig (run-program-prefix): Fix comment.
34163
34164 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
34165             Jim Blandy  <jimb@codesourcery.com>
34166
34167         * Makeconfig (test-wrapper): New variable,
34168         (test-wrapper-env): Likewise.
34169         [$(cross-compiling) = yes && $(test-wrapper) != ""]
34170         (run-built-tests): Define to yes.
34171         (run-program-prefix): Use $(test-wrapper).
34172         (built-program-cmd): Likewise.
34173         * Rules (make-test-out): Use $(test-wrapper-env) and
34174         $(host-built-program-cmd).
34175         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
34176         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
34177         tst-pathopt.sh.
34178         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
34179         $(test-wrapper-env) to tst-rtld-load-self.sh.
34180         ($(objpfx)order2.out): Use $(test-wrapper).
34181         ($(objpfx)tst-initorder.out): Likewise.
34182         ($(objpfx)tst-initorder2.out): Likewise.
34183         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
34184         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
34185         (test_wrapper_env): New variable.  Use it to run ld.so.
34186         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
34187         Use it to run ld.so.
34188         (test_wrapper_env): Likewise.
34189         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
34190         $(test-wrapper) to run-iconv-test.sh.
34191         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
34192         (ICONV): Use $test_wrapper.
34193         * posix/Makefile ($(objpfx)globtest.out): Pass
34194         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
34195         globtest.sh, not $(run-program-prefix).
34196         * posix/globtest.sh (run_via_rtld_prefix): New variable.
34197         (test_wrapper): Likewise.
34198         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
34199         set together with run_via_rtld_prefix.
34200         (run_program_prefix): Define in terms of test_wrapper and
34201         run_via_rtld_prefix.
34202
34203 2012-10-24  Roland McGrath  <roland@hack.frob.com>
34204
34205         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
34206         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
34207         Targets removed.
34208
34209         [BZ #14743]
34210         * include/time.h: Remove librt_hidden_proto (clock_gettime).
34211         Declare __clock_getres, __clock_gettime, __clock_settime,
34212         __clock_nanosleep, and __clock_getcpuclockid.
34213         * rt/clock_gettime.c: Define __clock_gettime as an alias.
34214         Remove librt_hidden_def (clock_gettime).
34215         * sysdeps/unix/clock_gettime.c: Likewise.
34216         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
34217         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
34218         * rt/clock_getres.c: Define __clock_getres as an alias.
34219         * sysdeps/posix/clock_getres.c: Likewise.
34220         * rt/clock_settime.c: Define __clock_settime as an alias.
34221         * sysdeps/unix/clock_settime.c: Likewise.
34222         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
34223         * sysdeps/unix/clock_nanosleep.c: Likewise.
34224         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
34225         * rt/clock-compat.c: New file.
34226         * rt/Makefile (librt-routines): Add clock-compat and move
34227         $(clock-routines) to ...
34228         (routines): ... here, new variable.
34229         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
34230         Don't add get_clockfreq here.
34231         * rt/Versions (libc: GLIBC_2.17): New version set.
34232         Add clock_* symbols here.
34233         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
34234         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
34235         (GLIBC_2.17): Add clock_* symbols.
34236         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
34237         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
34238         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
34239         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
34240         Likewise.
34241         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
34242         Likewise.
34243         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
34244         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
34245         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
34246         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
34247         * NEWS: Mention the move.
34248
34249         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
34250         Use __open, __read, __close rather than their public counterparts.
34251         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
34252         (__get_clockfreq_via_cpuinfo): Likewise.
34253         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
34254         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
34255
34256         * config.h.in (HAVE_IFUNC): New #undef.
34257         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
34258         was successful.
34259         * configure: Regenerated.
34260
34261 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
34262
34263         * configure.in: Move READELF check to start of file.
34264         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
34265         libc_cv_asm_gnu_indirect_function in the process.
34266         * configure: Regenerated.
34267
34268 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
34269
34270         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
34271         send the output to /dev/null.
34272         (libc_cv_cc_with_libunwind): Likewise.
34273         (libc_cv_as_noexecstack): Likewise.
34274         * configure: Regenerate.
34275
34276 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
34277
34278         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
34279
34280         * posix/globtest.sh (TMPDIR): Do not set.
34281         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
34282         (testout): Likewise.
34283
34284 2012-10-24  Andreas Jaeger  <aj@suse.de>
34285
34286         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
34287         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
34288         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
34289         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
34290         posix_fadvise64, posix_fallocate64.
34291
34292         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
34293         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
34294         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
34295         Likewise.
34296         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
34297         Likewise.
34298         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
34299
34300         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
34301         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
34302         <bits/fcntl-linux.h>.
34303         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
34304
34305         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
34306         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
34307         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
34308         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
34309         [__WORDSIZE != 64]: Likewise.
34310
34311 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
34312
34313         * Makeconfig (run-built-tests): New variable.
34314         * Rules [$(cross-compiling) = yes]: Change condition to
34315         [$(run-built-tests) = no].
34316         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
34317         to [$(run-built-tests) = yes].
34318         * elf/Makefile [$(cross-compiling) = no]: Likewise
34319         * grp/Makefile [$(cross-compiling) = no]: Likewise.
34320         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
34321         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
34322         * intl/Makefile [$(cross-compiling) = no]: Likewise.
34323         * io/Makefile [$(cross-compiling) = no]: Likewise.
34324         * libio/Makefile [$(cross-compiling) = no]: Likewise.
34325         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
34326         * misc/Makefile [$(cross-compiling) = no]: Likewise.
34327         * posix/Makefile [$(cross-compiling) = no]: Likewise.
34328         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
34329         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
34330         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
34331         * string/Makefile [$(cross-compiling) = no]: Likewise.
34332
34333         * posix/Makefile ($(objpfx)globtest.out): Pass
34334         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
34335         $(rtld-installed-name).
34336         * posix/globtest.sh (elf_objpfx): Remove variable.
34337         (rtld_installed_name): Likewise.
34338         (library_path): Likewise.
34339         (run_program_prefix): New variable.  Use for running globtest
34340         binary.
34341
34342 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
34343             Joseph Myers  <joseph@codesourcery.com>
34344
34345         * Makeconfig (host-built-program-cmd): New variable.
34346         * elf/Makefile (tst-stackguard1-ARGS): Use
34347         $(host-built-program-cmd).
34348         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
34349         (tst-spawn-ARGS): Likewise.
34350         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
34351
34352 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
34353             Jim Blandy  <jimb@codesourcery.com>
34354
34355         * Makeconfig (run-via-rtld-prefix): New variable.
34356         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
34357         (built-program-cmd): Likewise.
34358
34359 2012-10-22  Andreas Jaeger  <aj@suse.de>
34360
34361         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
34362         __O_RSYNC if it exists, otherwise to O_SYNC.
34363
34364 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
34365             Joseph Myers  <joseph@codesourcery.com>
34366
34367         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
34368         /dev/null.
34369         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
34370         from /dev/null
34371         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
34372         /dev/null.
34373
34374 2012-10-22  Andreas Jaeger  <aj@suse.de>
34375
34376         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
34377         Define always.
34378         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
34379
34380         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34381         bits/fcntl-linux.h.
34382
34383         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
34384         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
34385
34386         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
34387         to __O_LARGEFILE.
34388         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
34389         to __O_LARGEFILE.
34390
34391 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
34392             Joseph Myers  <joseph@codesourcery.com>
34393
34394         * config.make.in (NM): New variable.
34395
34396 2012-10-21  Andreas Jaeger  <aj@suse.de>
34397
34398         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
34399         definitions and declarations that are provided by
34400         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
34401
34402 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
34403
34404         [BZ #14683]
34405         * elf/Makefile (tests-static): Add tst-leaks1-static.
34406         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
34407         ($(objpfx)tst-leaks1-static): New rule.
34408         ($(objpfx)tst-leaks1-static-mem): Likewise.
34409         (tst-leaks1-static-ENV): New macro.
34410         * elf/dl-open.c (dl_open_worker): Check the main application
34411         only if SHARED is defined.
34412         * elf/tst-leaks1-static.c: New file.
34413
34414 2012-10-20  Andreas Jaeger  <aj@suse.de>
34415
34416         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
34417         generic values for Linux.
34418         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
34419         and declarations that are provided by <bits/fcntl-linux.h> and
34420         include <bits/fcntl-linux.h>.
34421         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
34422         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
34423
34424 2012-10-20  Roland McGrath  <roland@hack.frob.com>
34425
34426         * io/fcntl.h: Move include of <bits/types.h> to the top and
34427         include it unconditionally.
34428
34429 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
34430
34431         * wcsmbs/Makefile (tests-ifunc): New variable.
34432         (tests): Add $(tests-ifunc).
34433         * wcsmbs/test-wcschr-ifunc.c: New file.
34434         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
34435         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
34436         * wcsmbs/test-wcslen-ifunc.c: Likewise.
34437         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
34438         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
34439
34440         * string/Makefile (tests-ifunc): New variable.
34441         (tests): Add $(tests-ifunc).
34442         * string/test-memccpy.c (TEST_NAME): New macro.
34443         * string/test-memchr.c (TEST_NAME): Likewise.
34444         * string/test-memcmp.c (TEST_NAME): Likewise.
34445         * string/test-memcpy.c (TEST_NAME): Likewise.
34446         * string/test-memmem.c (TEST_NAME): Likewise.
34447         * string/test-memmove.c (TEST_NAME): Likewise.
34448         * string/test-memset.c (TEST_NAME): Likewise.
34449         * string/test-rawmemchr.c (TEST_NAME): Likewise.
34450         * string/test-stpcpy.c (TEST_NAME): Likewise.
34451         * string/test-stpncpy.c (TEST_NAME): Likewise.
34452         * string/test-strcasecmp.c (TEST_NAME): Likewise.
34453         * string/test-strcasestr.c (TEST_NAME): Likewise.
34454         * string/test-strcat.c (TEST_NAME): Likewise.
34455         * string/test-strchr.c (TEST_NAME): Likewise.
34456         * string/test-strcmp.c(TEST_NAME): Likewise.
34457         * string/test-strcpy.c (TEST_NAME): Likewise.
34458         * string/test-strcspn.c (TEST_NAME): Likewise.
34459         * string/test-strlen.c (TEST_NAME): Likewise.
34460         * string/test-strncasecmp.c (TEST_NAME): Likewise.
34461         * string/test-strncmp.c (TEST_NAME): Likewise.
34462         * string/test-strncpy.c (TEST_NAME): Likewise.
34463         * string/test-strnlen.c (TEST_NAME): Likewise.
34464         * string/test-strpbrk.c (TEST_NAME): Likewise.
34465         * string/test-strrchr.c (TEST_NAME): Likewise.
34466         * string/test-strspn.c (TEST_NAME): Likewise.
34467         * string/test-strstr.c (TEST_NAME): Likewise.
34468         * string/test-bcopy-ifunc.c: New file.
34469         * string/test-bzero-ifunc.c: Likewise.
34470         * string/test-memccpy-ifunc.c: Likewise.
34471         * string/test-memchr-ifunc.c: Likewise.
34472         * string/test-memcmp-ifunc.c: Likewise.
34473         * string/test-memcpy-ifunc.c: Likewise.
34474         * string/test-memmem-ifunc.c: Likewise.
34475         * string/test-memmove-ifunc.c: Likewise.
34476         * string/test-mempcpy-ifunc.c: Likewise.
34477         * string/test-memset-ifunc.c: Likewise.
34478         * string/test-rawmemchr-ifunc.c: Likewise.
34479         * string/test-stpcpy-ifunc.c: Likewise.
34480         * string/test-stpncpy-ifunc.c: Likewise.
34481         * string/test-strcasecmp-ifunc.c: Likewise.
34482         * string/test-strcasestr-ifunc.c: Likewise.
34483         * string/test-strcat-ifunc.c: Likewise.
34484         * string/test-strchr-ifunc.c: Likewise.
34485         * string/test-strchrnul-ifunc.c: Likewise.
34486         * string/test-strcmp-ifunc.c: Likewise.
34487         * string/test-strcpy-ifunc.c: Likewise.
34488         * string/test-strcspn-ifunc.c: Likewise.
34489         * string/test-strlen-ifunc.c: Likewise.
34490         * string/test-strncasecmp-ifunc.c: Likewise.
34491         * string/test-strncat-ifunc.c: Likewise.
34492         * string/test-strncmp-ifunc.c: Likewise.
34493         * string/test-strncpy-ifunc.c: Likewise.
34494         * string/test-strnlen-ifunc.c: Likewise.
34495         * string/test-strpbrk-ifunc.c: Likewise.
34496         * string/test-strrchr-ifunc.c: Likewise.
34497         * string/test-strspn-ifunc.c: Likewise.
34498         * string/test-strstr-ifunc.c: Likewise.
34499
34500         * debug/Makefile (tests-ifunc): New variable.
34501         (tests): Add $(tests-ifunc).
34502         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
34503         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
34504         * debug/test-stpcpy_chk-ifunc.c: New file.
34505         * debug/test-strcpy_chk-ifunc.c: Likewise.
34506
34507 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
34508
34509         [BZ #13601]
34510         * elf/dl-load.c (open_verify): Retry read if the entire ELF
34511         header is not read in.
34512
34513 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
34514
34515         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
34516         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
34517         directly.  Pass built executable to script as
34518         $(built-program-cmd).
34519         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
34520         $testprogram without using LD_LIBRARY_PATH and $ldso.
34521
34522         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
34523         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
34524         $(rtld-installed-name).
34525         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
34526         (rtld_installed_name): Likewise.
34527         (library_path): Likewise.
34528         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
34529         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
34530         $(run-program-prefix) to tst-tables.sh.
34531         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
34532         it to run tst-table-from and tst-table-to.
34533         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
34534         Pass it to tst-table.sh.
34535         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
34536         $(run-program-prefix) to tst-gettext.sh.
34537         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
34538         tst-translit.sh.
34539         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
34540         tst-gettext2.sh.
34541         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
34542         to run tst-gettext.
34543         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
34544         to run tst-gettext2.
34545         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
34546         to run tst-translit.
34547         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
34548         $(run-program-prefix) to tst-mtrace.sh.
34549         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
34550         to run tst-mtrace.
34551         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
34552         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
34553         $(rtld-installed-name).
34554         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
34555         (rtld_installed_name): Likewise.
34556         (run_program_prefix): New variable.  Use it to run wordexp-test.
34557
34558         * Makeconfig (ARCH): Remove all definitions.
34559         (machine): Likewise.
34560         [ARCH]: Remove conditional code.
34561         [!objdir]: Give error.
34562         [!objdir] (objpfx): Remove.
34563         [!objdir] (common-objpfx): Likewise.
34564         [!objdir] (common-objdir): Likewise.
34565         * configure.in (config_makefile): Remove.  Hardcode Makefile in
34566         AC_CONFIG_FILES call.
34567         * configure: Regenerated.
34568
34569         [BZ #13888]
34570         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
34571         or TMPDIR.
34572         (testout): Likewise.
34573
34574         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
34575         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
34576         $(rtld-installed-name).
34577         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
34578         (rtld_installed_name): Likwise.
34579         (runit): Remove function.
34580         (run_getconf): New variable,  Use it for running getconf binary.
34581
34582 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
34583
34584         [BZ #14716]
34585         * string/test-memmem.c (check_result): New function.
34586         (do_one_test): Use it.
34587         (check1): New function.
34588         (test_main): Use it.
34589
34590 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
34591
34592         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
34593
34594 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
34595
34596         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
34597         (_G_LSEEK64): Likewise.
34598         (_G_MMAP64): Likewise.
34599         (_G_FSTAT64): Likewise.
34600         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
34601         (_G_LSEEK64): Likewise.
34602         (_G_MMAP64): Likewise.
34603         (_G_FSTAT64): Likewise.
34604         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
34605         unconditional.  Call __mmap64 directly.
34606         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
34607         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
34608         __lseek64 directly.
34609         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
34610         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
34611         __mmap64 directly.
34612         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
34613         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
34614         __lseek64 directly.
34615         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
34616         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
34617         __lseek64 directly.
34618         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
34619         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
34620         __lseek64 directly.
34621         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
34622         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
34623         __fxstat64 directly.
34624         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
34625         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
34626         unconditional.
34627         (freopen64) [!_G_OPEN64]: Remove conditional code.
34628         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
34629         unconditional.
34630         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
34631         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
34632         unconditional.
34633         (ftello64) [!_G_LSEEK64]: Remove conditional code.
34634         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
34635         unconditional.
34636         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
34637         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
34638         unconditional.
34639         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
34640         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
34641         unconditional.
34642         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
34643         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
34644         unconditional.
34645         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
34646         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
34647         unconditional.
34648         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
34649
34650 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
34651
34652         [BZ #12140]
34653         * manual/memory.texi (Malloc Tunable Parameters): Add note
34654         about free list pointers overwriting some perturb bytes.
34655         Wording suggested by Roland McGrath.
34656
34657 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
34658
34659         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
34660         (lgamma_test): Likewise.
34661         (tgamma_test): Likewise.
34662
34663 2012-10-16  Florian Weimer  <fweimer@redhat.com>
34664
34665         [BZ #14700]
34666         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
34667         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
34668
34669 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
34670
34671         * NEWS: Mention BZ #14716.
34672         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
34673         when removing AVAILABLE1_USES_J macro.
34674
34675 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
34676
34677         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
34678         (__bswap_64): __uint64_t for unsigned 64-bit int.
34679
34680 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
34681
34682         * include/string.h (memmem): Declare libc hidden alias.
34683         * string/memmem.c (memmem): Define libc hidden alias.
34684         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
34685         __read, __close instead of open, read, close.
34686
34687 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
34688
34689         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
34690         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
34691         global and hidden.
34692         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
34693         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
34694         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
34695         Likewise.
34696         (__rawmemchr_sse2): Likewise.
34697         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
34698         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
34699         (__strchr_sse2): Likewise.
34700         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
34701         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
34702         (__strcasecmp_sse2): Likewise.
34703         (__strncasecmp_sse2): Likewise.
34704         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
34705         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
34706         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
34707         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
34708         (__strrchr_sse2): Likewise.
34709         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
34710         ifunc-impl-list.c.
34711         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
34712         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
34713         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
34714         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
34715         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
34716         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
34717         * sysdeps/x86_64/multiarch/memset.S: Likewise.
34718         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
34719         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
34720         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
34721         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
34722         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
34723         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
34724         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
34725         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
34726         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
34727         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
34728         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
34729         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
34730         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
34731         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
34732         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
34733         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
34734         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
34735         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
34736         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
34737         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
34738         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
34739         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
34740         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
34741
34742         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
34743         global and hidden.
34744         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
34745         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
34746         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
34747         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
34748         Likewise.
34749         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
34750         Likewise.
34751         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
34752         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
34753         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
34754         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
34755         ifunc-impl-list.c.
34756         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
34757         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
34758         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
34759         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
34760         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
34761         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
34762         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
34763         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
34764         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
34765         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
34766         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
34767         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
34768         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
34769         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
34770         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
34771         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
34772         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
34773         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
34774         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
34775         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
34776         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
34777         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
34778         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
34779         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
34780         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
34781         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
34782         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
34783         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
34784         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
34785         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
34786         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
34787         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
34788         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
34789         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
34790         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
34791         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
34792         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
34793         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
34794         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
34795         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
34796         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
34797
34798         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
34799         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
34800         * include/ifunc-impl-list.h: New file.
34801         * misc/ifunc-impl-list.c: Likewise.
34802         * misc/Makefile (routines): Add ifunc-impl-list.
34803         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
34804         * string/test-string.h: Include <ifunc-impl-list.h>.
34805         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
34806         TEST_NAME]: New variables.
34807         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
34808         are defined.
34809         (test_init): Call __libc_ifunc_impl_list to initialize
34810         func_list if TEST_IFUNC and TEST_NAME are defined.
34811
34812         * string/Makefile (strop-tests): Add bcopy and bzero.
34813         * string/test-bcopy.c: New file.
34814         * string/test-bzero.c: Likewise.
34815         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
34816         defined.
34817         * string/test-memset.c: Support bzero test if TEST_BZERO is
34818         defined.
34819         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
34820         __libc_memmove.
34821         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
34822         __libc_memset.
34823         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
34824         of memset.
34825
34826 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
34827
34828         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
34829         * configure: Regenerated.
34830
34831         * Makeconfig (+link-static-before-libc): Don't include
34832         $(link-static-libc).
34833
34834         * libio/libio.h (_IO_pos_t): Remove.
34835
34836 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
34837
34838         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
34839         McGrath.
34840
34841 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
34842
34843         * crypt/crypt-entry.c: Include fips-private.h.
34844         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
34845         * crypt/md5c-test.c (main): Tolerate disabled MD5.
34846         * sysdeps/unix/sysv/linux/fips-private.h: New file.
34847         * sysdeps/generic/fips-private.h: New file, dummy fallback.
34848
34849 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
34850
34851         * crypt/crypt-private.h: Include stdbool.h.
34852         (_ufc_setup_salt_r): Return bool.
34853         * crypt/crypt-entry.c: Include errno.h.
34854         (__crypt_r): Return NULL with EINVAL for bad salt.
34855         * crypt/crypt_util.c (bad_for_salt): New.
34856         (_ufc_setup_salt_r): Check that salt is long enough and within
34857         the specified alphabet.
34858         * crypt/badsalttest.c: New file.
34859         * crypt/Makefile (tests): Add it.
34860         ($(objpfx)badsalttest): New.
34861
34862 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
34863
34864         * NEWS: Add entry for BZ #14602.
34865
34866 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
34867
34868         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
34869         type-generic.
34870         * math/libm-test.inc: Update comment listing what functions and
34871         macros are tested.
34872         (isgreater_test): New function.
34873         (isgreaterequal_test): Likewise.
34874         (isless_test): Likewise.
34875         (islessequal_test): Likewise.
34876         (islessgreater_test): Likewise.
34877         (isunordered_test): Likewise.
34878         (main): Call the new functions.
34879
34880 2012-10-09  Roland McGrath  <roland@hack.frob.com>
34881
34882         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
34883         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
34884         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
34885         * sysdeps/i386/configure: Regenerated.
34886         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
34887         * sysdeps/mach/configure: Regenerated.
34888         * sysdeps/mach/hurd/configure: Regenerated.
34889         * sysdeps/powerpc/configure: Regenerated.
34890         * sysdeps/powerpc/powerpc32/configure: Regenerated.
34891         * sysdeps/powerpc/powerpc64/configure: Regenerated.
34892         * sysdeps/s390/s390-32/configure: Regenerated.
34893         * sysdeps/s390/s390-64/configure: Regenerated.
34894         * sysdeps/sh/configure: Regenerated.
34895         * sysdeps/sparc/configure: Regenerated.
34896         * sysdeps/unix/sysv/linux/configure: Regenerated.
34897         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
34898         * sysdeps/x86_64/configure: Regenerated.
34899
34900         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
34901         defined.  Don't check if MAP is NULL.
34902
34903 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
34904
34905         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
34906         (_G_stat64): Likewise.
34907         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
34908         (_G_stat64): Likewise.
34909         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
34910         instead of struct _G_stat64.
34911         * libio/fileops.c (mmap_remap_check): Likewise.
34912         (decide_maybe_mmap): Likewise.
34913         (_IO_new_file_seekoff): Likewise.
34914         (_IO_file_stat): Likewise.
34915         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
34916         _G_off64_t.
34917         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
34918         instead of struct _G_stat64.
34919         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
34920
34921 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
34922
34923         [BZ #14602]
34924         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
34925         Replace with ...
34926         (CHECK_EOL): New macro.
34927         (two_way_short_needle): Check beginning of haystack for EOL.  Use
34928         CHECK_EOL.
34929         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
34930         Replace with CHECK_EOL.
34931         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
34932         Replace with CHECK_EOL.
34933
34934 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
34935
34936         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
34937         type-generic.
34938         * math/libm-test.inc: Update comment listing what functions and
34939         macros are tested.
34940         (finite_test): New function.
34941         (isinf_test): Likewise.
34942         (isnan_test): Likewise.
34943         (fpclassify_test): Test subnormal input.
34944         (isfinite_test): Likewise.
34945         (isnormal_test): Likewise.
34946         (main): Call the new functions.
34947
34948 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
34949
34950         [BZ #14660]
34951         * Makerules (%.dynsym): Force C locale when running
34952         $(OBJDUMP) --dynamic-syms.
34953
34954 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
34955
34956         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
34957         <stdint.h>.
34958
34959 2012-10-06  David S. Miller  <davem@davemloft.net>
34960
34961         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
34962         upper 32-bits of the length value in %o2 since we use branch-on-register
34963         tests which consider the entire 64-bit register.
34964
34965 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
34966
34967         * string/test-strstr.c (check2): Add a test for page boundary.
34968
34969 2012-10-05  David S. Miller  <davem@davemloft.net>
34970
34971         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
34972         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
34973         file.
34974         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
34975         sysdep_routines.
34976         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
34977         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
34978         and bzero when HWCAP_SPARC_CRYPTO is present.
34979
34980 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
34981
34982         [BZ #14602]
34983         * string/test-strstr.c (check2): New function.
34984         (test_main): Call check2.
34985
34986         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
34987         and bug-strchr1.
34988         * string/bug-strcasestr1.c (do_test): Moved to ...
34989         * string/test-strcasestr.c (check1): Here.  New function.
34990         (do_one_test): Break out result checking code into ...
34991         (check_result): This.  New function.
34992         (do_one_test): Call check_result.
34993         (test_main): Call check1.
34994         * string/bug-strchr1.c (do_test): Moved to ...
34995         * string/test-strchr.c (check1): Here.  New function.
34996         (do_one_test): Break out result checking code into ...
34997         (check_result): This.  New function.
34998         (do_one_test): Call check_result.
34999         (test_main): Call check1.
35000         * string/bug-strstr1.c (main): Moved to ...
35001         * string/test-strstr.c (check1): Here.  New function.
35002         (do_one_test): Break out result checking code into ...
35003         (check_result): This.  New function.
35004         (do_one_test): Call check_result.
35005         (test_main): Call check1.
35006         * string/bug-strcasestr1.c: Removed.
35007         * string/bug-strchr1.c: Likewise.
35008         * string/bug-strstr1.c: Likewise.
35009
35010         * elf/Makefile (dl-routines): Add hwcaps.
35011         * elf/dl-support.c (_dl_important_hwcaps): Removed.
35012         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
35013         (_dl_important_hwcaps): Moved to ...
35014         * elf/dl-hwcaps.c: Here.  New file.
35015         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
35016
35017         [BZ #14557]
35018         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
35019         if IS_IN_rtld isn't defined.
35020
35021         * elf/dl-support.c (_dl_sysinfo_map): New.
35022         Include "get-dynamic-info.h" and "setup-vdso.h".
35023         (_dl_non_dynamic_init): Call setup_vdso.
35024         * elf/dynamic-link.h: Don't include <assert.h>.
35025         (elf_get_dynamic_info): Moved to ...
35026         * elf/get-dynamic-info.h: Here.  New file.
35027         * elf/dynamic-link.h: Include "get-dynamic-info.h".
35028         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
35029         * elf/setup-vdso.h: Here.  New file.
35030         * elf/rtld.c: Include "setup-vdso.h".
35031         (dl_main): Call setup_vdso.
35032
35033 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
35034
35035         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
35036         creal in comment listing functions tested.  List finite, isinf,
35037         isnan, isless, islessequal, isgreater, isgreaterequal,
35038         islessgreater, isunordered, lgamma_r and pow10 as functions and
35039         macros not tested.  Mention which functions not tested are aliases
35040         for other functions.  Fix typo.  Note that signs of NaNs are not
35041         tested.
35042
35043         * scripts/config.guess: Update from config.git.
35044         * scripts/config.sub: Likewise.
35045
35046 2012-10-04  Roland McGrath  <roland@hack.frob.com>
35047
35048         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
35049         * misc/madvise.c (madvise): Renamed to __madvise.
35050         Make madvise a weak alias.
35051         * include/sys/mman.h: Declare __madvise.
35052         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
35053         * sysdeps/unix/syscalls.list
35054         (madvise): Make __madvise the strong name, and madvise a weak alias.
35055         * sysdeps/unix/sysv/linux/syscalls.list
35056         (madvise, mmap): Remove redundant entries.
35057         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
35058         * malloc/malloc.c (mtrim): Likewise.
35059         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
35060
35061 2012-10-03  Roland McGrath  <roland@hack.frob.com>
35062
35063         * sysdeps/mach/hurd/dl-cache.c: File removed.
35064         * config.h.in (USE_LDCONFIG): New #undef.
35065         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
35066         * configure: Regenerated.
35067         * elf/Makefile (dl-routines): Add dl-cache only under
35068         [$(use-ldconfig) = yes].
35069         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
35070         cache on [USE_LDCONFIG].
35071         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
35072         [USE_LDCONFIG].
35073         * elf/rtld.c (dl_main): Likewise.
35074
35075 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
35076
35077         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
35078         _SC_LEVEL4_CACHE_LINESIZE.
35079
35080 2012-10-03  Roland McGrath  <roland@hack.frob.com>
35081
35082         * sysdeps/unix/bsd/confstr.h: File removed.
35083
35084 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
35085
35086         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
35087         sys/sdt-config.h.
35088
35089 2012-10-02  Roland McGrath  <roland@hack.frob.com>
35090
35091         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
35092         Make 'mapoff' field ElfW(Off) rather than off_t.
35093
35094 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
35095
35096         * nscd/Makefile: Remove nscd-cflags and all its users.
35097         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
35098         (CFLAGS-nonlib): Add compiler flags for nscd modules.
35099
35100         [BZ #10631]
35101         * malloc.c (malloc_printerr): Clarify error message.
35102
35103 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
35104
35105         [BZ #14648]
35106         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35107         Set bit_FMA_Usable if FMA is supported.
35108         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
35109         macro.
35110         (bit_FMA4_Usable): Updated.
35111         (index_FMA_Usable): New macro.
35112         (CPUID_FMA): Likewise
35113         (HAS_FMA): Defined with bit_FMA_Usable.
35114
35115 2012-10-01  Roland McGrath  <roland@hack.frob.com>
35116
35117         * bits/types.h (__swblk_t): Type removed.
35118         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
35119         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
35120         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35121         (__SWBLK_T_TYPE): Likewise.
35122         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
35123         (__SWBLK_T_TYPE): Likewise.
35124         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35125         (__SWBLK_T_TYPE): Likewise.
35126         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
35127         (__SWBLK_T_TYPE): Likewise.
35128
35129 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
35130             Honza Horak <hhorak@redhat.com>
35131
35132         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
35133         (xdr_mapname): Use YPMAXMAP as maxsize.
35134         (xdr_peername): Use YPMAXPEER as maxsize.
35135         (xdr_keydat): Use YPAXRECORD as maxsize.
35136         (xdr_valdat): Use YPMAXRECORD as maxsize.
35137
35138 2012-10-01  Roland McGrath  <roland@hack.frob.com>
35139
35140         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
35141
35142         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
35143         * csu/init-first.c: ... here.
35144         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
35145         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
35146         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
35147         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
35148         * sysdeps/i386/init-first.c: File removed.
35149         * sysdeps/sh/init-first.c: File removed.
35150
35151 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
35152
35153         [BZ #14645]
35154         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
35155         if x * y might underflow to zero and z is zero.
35156         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
35157         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35158         * math/libm-test.inc (min_subnorm_value): New variable.
35159         (fma_test): Add more tests.
35160         (fma_test_towardzero): Likewise.
35161         (fma_test_downward): Likewise
35162         (fma_test_upward): Likewise.
35163         (initialize): Set min_subnorm_value.
35164
35165 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
35166
35167         [BZ #14638]
35168         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
35169         0 + 0.
35170         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
35171         mode for addition resulting in exact zero.
35172         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
35173         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
35174         exact 0 + 0.
35175         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
35176         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35177         * math/libm-test.inc (fma_test): Add more tests.
35178         (fma_test_towardzero): New function.
35179         (fma_test_downward): Likewise.
35180         (fma_test_upward): Likewise.
35181         (main): Call the new functions.
35182
35183 2012-09-28  David S. Miller  <davem@davemloft.net>
35184
35185         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
35186
35187 2012-09-28  Roland McGrath  <roland@hack.frob.com>
35188
35189         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
35190         instead of SIGALRM.
35191
35192         * sysdeps/gnu/_G_config.h: Moved to ...
35193         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
35194         * sysdeps/mach/hurd/_G_config.h: Moved to ...
35195         * sysdeps/generic/_G_config.h: ... here.
35196
35197         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
35198
35199         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
35200
35201         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
35202         Conditionalize target on [libnss_test1.so-version].
35203
35204         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
35205
35206         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
35207         (elfobjdir): Move out of conditionals.
35208
35209         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
35210         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
35211         (__nss_lookup_function): Conditionalize label remove_from_tree on
35212         [!DO_STATIC_NSS || SHARED], matching its only use.
35213
35214 2012-09-28  David S. Miller  <davem@davemloft.net>
35215
35216         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
35217         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
35218         file.
35219         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
35220         sysdep_routines.
35221         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
35222         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
35223         when HWCAP_SPARC_CRYPTO is present.
35224
35225 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
35226
35227         * io/tst-mknodat.c: Create a FIFO instead of a socket.
35228
35229 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
35230
35231         [BZ #6530]
35232         * stdio-common/vfprintf.c (process_string_arg): Revert
35233         2000-07-22 change.
35234
35235 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
35236
35237         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
35238         for testcase.
35239         * stdio-common/tst-sprintf.c: Include <locale.h>
35240         (main): Test sprintf's handling of incomplete multibyte
35241         characters.
35242
35243 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
35244
35245         * elf/dl-runtime.c (VERSYMIDX): Removed.
35246         * elf/dl-version.c (VERSYMIDX): Likewise.
35247         * elf/do-rel.h (VERSYMIDX): Likewise.
35248         (VALIDX): Likewise.
35249         * elf/dynamic-link.h (VERSYMIDX): Likewise.
35250         * elf/rtld.c (VALIDX): Likewise.
35251         (ADDRIDX): Likewise.
35252         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
35253         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
35254         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
35255         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
35256         (VALIDX): Likewise.
35257         (ADDRIDX): Likewise.
35258
35259 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
35260
35261         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
35262
35263 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
35264
35265         [BZ #11438]
35266         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
35267         to global scope.
35268         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
35269         addresses are in the same scope as 192.0.2/24.
35270         * posix/gai.conf: Document new scope table defaults.
35271
35272 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
35273
35274         [BZ #5298]
35275         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
35276         for ftell.  Compute offsets from write pointers instead.
35277         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
35278
35279 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
35280
35281         [BZ #14543]
35282         * libio/Makefile (tests): New test case tst-fseek.
35283         * libio/tst-fseek.c: New test case to verify that fseek/ftell
35284         combination works in wide mode.
35285         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
35286         state when the external buffer state changes.
35287
35288 2012-09-27  David S. Miller  <davem@davemloft.net>
35289
35290         [BZ #14376]
35291         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
35292         pass reloc->r_addend in as the 'high' argument to
35293         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
35294
35295         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35296
35297 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
35298
35299         * rt/tst-aio2.c: Include <pthread.h>.
35300         * rt/tst-aio3.c: Likewise.
35301
35302 2012-09-27  Steve Ellcey  <sellcey@mips.com>
35303
35304         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
35305
35306 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
35307
35308         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
35309         contents on [SHARED].
35310
35311 2012-09-26  Marek Polacek  <polacek@redhat.com>
35312
35313         [BZ #14530]
35314         [BZ #13741]
35315         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
35316         for C++ and GCC <4.3 as well as for non GCC compilers.
35317
35318 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
35319
35320         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35321
35322 2012-09-25  Roland McGrath  <roland@hack.frob.com>
35323
35324         * Makefile.in (all, install): Declare with .PHONY.
35325         Reported by Michael Hope <michael.hope@linaro.org>.
35326
35327 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
35328
35329         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
35330         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
35331         system header.
35332         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
35333         Likewise.
35334         (sydep_routines): Add the new and the internal functions.
35335         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
35336         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
35337         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
35338         (GLIBC_2.17): Add the new function.
35339         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
35340         (GLIBC_2.17): Likewise.
35341         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
35342         (GLIBC_2.17): Likewise.
35343         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
35344         (GLIBC_2.17): Likewise.
35345         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
35346
35347 2012-09-25  Alan Modra  <amodra@gmail.com>
35348
35349         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
35350         Add release barrier before setting once_control to say
35351         initialisation is done.  Add hints on lwarx.  Use macro in
35352         place of isync.
35353         (clear_once_control): Add release barrier.
35354
35355 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
35356
35357         [BZ #13629]
35358         * math/s_clog.c (__clog): Handle more values close to |z| = 1
35359         specially.
35360         * math/s_clog10.c (__clog10): Likewise.
35361         * math/s_clog10f.c (__clog10f): Likewise.
35362         * math/s_clog10l.c (__clog10l): Likewise.
35363         * math/s_clogf.c (__clogf): Likewise.
35364         * math/s_clogl.c (__clogl): Likewise.
35365         * math/Makefile (libm-calls): Add x2y2m1.
35366         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
35367         (__x2y2m1): Likewise.
35368         (__x2y2m1l): Likewise.
35369         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
35370         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
35371         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
35372         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
35373         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
35374         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
35375         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
35376         * sysdeps/i386/fpu/libm-test-ulps: Update.
35377         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35378
35379         [BZ #14621]
35380         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
35381         int as type of variable DEPTH.
35382         (glob): Use size_t instead of int as type of variables NEWCOUNT
35383         and OLD_PATHC.
35384
35385 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
35386
35387         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
35388         Add s_sincosf-sse2.
35389         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
35390         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
35391         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
35392         macros for using routine as __sincosf_ia32.
35393         Use macro for function declaration and weak_alias.
35394         * sysdeps/i386/fpu/libm-test-ulps: Update.
35395
35396         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
35397         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35398
35399         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
35400         subnormal argument.
35401         * math/s_cexpf.c (__cexpf): Likewise.
35402         * math/s_csinf.c (__csinf): Likewise.
35403         * math/s_csinhf.c (__csinhf): Likewise.
35404         * math/s_ctanf.c (__ctanf): Likewise.
35405         * math/s_ctanhf.c (__ctanhf): Likewise.
35406         * math/s_ccosh.c (__ccoshf): Likewise.
35407         * math/s_cexp.c (__cexpl): Likewise.
35408         * math/s_csin.c (__csin): Likewise.
35409         * math/s_csinh.c (__csinh): Likewise.
35410         * math/s_ctan.c (__ctan): Likewise.
35411         * math/s_ctanh.c (ctanh): Likewise.
35412         * math/s_ccoshl.c (__ccoshl): Likewise.
35413         * math/s_cexpl.c (__cexpl): Likewise.
35414         * math/s_csinl.c (__csinl): Likewise.
35415         * math/s_csinhl.c (__csinhl): Likewise.
35416         * math/s_ctanl.c (__ctanl): Likewise.
35417         * math/s_ctanhl.c (__ctanhl): Likewise.
35418
35419 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
35420
35421         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
35422         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
35423         (_IO_off_t): Define to __off_t, not _G_off_t.
35424         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
35425         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
35426         (_IO_wint_t): Define to wint_t, not _G_wint_t.
35427         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
35428         type of __dummy and __dummy2 fields.
35429         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
35430         (_G_ssize_t): Likewise.
35431         (_G_off_t): Likewise.
35432         (_G_pid_t): Likewise.
35433         (_G_uid_t): Likewise.
35434         (_G_wchar_t): Likewise.
35435         (_G_wint_t): Likewise.
35436         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
35437         (_G_ssize_t): Likewise.
35438         (_G_off_t): Likewise.
35439         (_G_pid_t): Likewise.
35440         (_G_uid_t): Likewise.
35441         (_G_wchar_t): Likewise.
35442         (_G_wint_t): Likewise.
35443         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
35444         (_G_ssize_t): Likewise.
35445         (_G_off_t): Likewise.
35446         (_G_pid_t): Likewise.
35447         (_G_uid_t): Likewise.
35448         (_G_wchar_t): Likewise.
35449         (_G_wint_t): Likewise.
35450
35451 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
35452
35453         * malloc/arena.c: Include malloc-sysdep.h.
35454         (shrink_heap): Use check_may_shrink_heap to decide if madvise
35455         is sufficient to shrink the heap or an unmap is needed.
35456         * sysdeps/generic/malloc-sysdep.h: New file.  Define
35457         new function check_may_shrink_heap.
35458         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
35459         new function check_may_shrink_heap.
35460
35461 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
35462
35463         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
35464         comments.
35465
35466 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
35467
35468         * catgets/test-gencat.sh: Add "set -e".
35469         * elf/tst-pathopt.sh: Likewise.
35470         * grp/tst_fgetgrent.sh: Likewise.
35471         * iconvdata/run-iconv-test.sh: Likewise.
35472         * intl/tst-gettext.sh: Likewise.
35473         * intl/tst-gettext2.sh: Likewise.
35474         * intl/tst-gettext4.sh: Likewise.
35475         * intl/tst-gettext6.sh: Likewise.
35476         * intl/tst-translit.sh: Likewise.
35477         * io/ftwtest-sh: Likewise.
35478         * libio/test-freopen.sh: Likewise.
35479         * malloc/tst-mtrace.sh: Likewise.
35480         * posix/globtest.sh: Likewise.
35481         * posix/tst-getconf.sh: Likewise.
35482         * posix/wordexp-tst.sh: Likewise.
35483         * stdio-common/tst-printf.sh: Likewise.
35484         * stdio-common/tst-unbputc.sh: Likewise.
35485         * stdlib/tst-fmtmsg.sh: Likewise.
35486         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
35487         * catgets/Makefile: Do not specify -e option when running
35488         testsuite shell scripts.
35489         * elf/Makefile: Likewise.
35490         * grp/Makefile: Likewise.
35491         * iconvdata/Makefile: Likewise.
35492         * intl/Makefile: Likewise.
35493         * io/Makefile: Likewise.
35494         * libio/Makefile: Likewise.
35495         * malloc/Makefile: Likewise.
35496         * posix/Makefile: Likewise.
35497         * stdio-common/Makefile: Likewise.
35498         * stdlib/Makefile: Likewise.
35499         * sysdeps/x86_64/Makefile: Likewise.
35500
35501         * io/ftwtest-sh: Add copyright header.
35502         * posix/globtest.sh: Likewise.
35503         * posix/tst-getconf.sh: Likewise.
35504         * posix/wordexp-tst.sh: Likewise.
35505         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
35506
35507 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
35508
35509         [BZ #13679]
35510         * Makeconfig (+link): Defined as $(+link-static) if
35511         $(build-shared) isn't yes.
35512         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
35513         isn't yes.
35514         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
35515
35516         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
35517
35518         [BZ #14562]
35519         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
35520         new chunk size with MALLOC_ALIGN_MASK.
35521
35522 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
35523
35524         [BZ #5044]
35525         * stdio-common/printf_fphex.c: Include <stdbool.h> and
35526         <rounding-mode.h>.
35527         (__printf_fphex): Determine rounding using get_rounding_mode and
35528         round_away.
35529         * stdio-common/tst-printf-round.c (struct hex_test): New
35530         structure.
35531         (hex_tests): New variable.
35532         (test_hex_in_one_mode): New function.
35533         (do_test): Also run tests for hex float output.
35534
35535 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
35536
35537         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
35538         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
35539         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
35540         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
35541         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
35542         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
35543         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
35544         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
35545
35546 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
35547
35548         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
35549         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
35550         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
35551         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
35552
35553 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
35554
35555         [BZ #14579]
35556         * elf/rtld.c (dl_main): Limit the check for self loading to normal
35557         mode only.
35558         * elf/tst-rtld-load-self.sh: New test.
35559         * elf/Makefile: Run it.
35560
35561 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
35562
35563         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
35564         (tst-writev-ENV): Remove.
35565         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
35566
35567 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
35568
35569         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
35570
35571 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
35572
35573         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
35574         unconditional.
35575         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
35576         Likewise.
35577         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
35578         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
35579         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
35580         Likewise.
35581
35582 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
35583
35584         [BZ #14587]
35585         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
35586         * config.make.in (have-cpp-asm-debuginfo): Removed.
35587         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
35588         * configure: Regenerated.
35589
35590 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
35591
35592         [BZ #5044]
35593         * stdio-common/printf_fp.c: Include <stdbool.h> and
35594         <rounding-mode.h>.
35595         (___printf_fp): Determine rounding using get_rounding_mode and
35596         round_away.
35597         * stdio-common/tst-printf-round.c: New file.
35598         * stdio-common/Makefile (tests): Add tst-printf-round.
35599         (link-libm): New variable.
35600         ($(objpfx)tst-printf-round): Depend in $(link-libm).
35601
35602 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
35603
35604         [BZ #14576]
35605         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
35606         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
35607         Likewise.
35608         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
35609         Likewise.
35610
35611 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
35612
35613         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
35614         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
35615         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
35616         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
35617
35618 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
35619
35620         [BZ #14518]
35621         * include/rounding-mode.h: New file.
35622         * sysdeps/generic/get-rounding-mode.h: Likewise.
35623         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
35624         * stdlib/strtod_l.c: Include <rounding-mode.h>.
35625         (MAX_VALUE): New macro.
35626         (MIN_VALUE): Likewise.
35627         (overflow_value): New function.
35628         (underflow_value): Likewise.
35629         (round_and_return): Use overflow_value and underflow_value to
35630         determine return values in overflow and underflow cases.  Use
35631         round_away to determine rounding depending on rounding mode.
35632         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
35633         determine return values in overflow and underflow cases.
35634         * stdlib/tst-strtod-round.c: Include <fenv.h>.
35635         (struct test_results): New structure.
35636         (struct test): Use struct test_results to store expected results
35637         for all rounding modes.
35638         (TEST): Include expected results for all rounding modes.
35639         (test_in_one_mode): New function.
35640         (do_test): Use test_in_one_mode to compute and check results.
35641         Check results for all rounding modes.
35642         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
35643         $(link-libm).
35644
35645 2012-12-09  Allan McRae  <allan@archlinux.org>
35646
35647         * sysdeps/i386/fpu/libm-test-ulps: Update
35648
35649 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
35650
35651         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
35652         (_G_int32_t): Likewise.
35653         (_G_uint16_t): Likewise.
35654         (_G_uint32_t): Likewise.
35655         (_G_HAVE_BOOL): Likewise.
35656         (_G_HAVE_ATEXIT): Likewise.
35657         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
35658         (_G_HAVE_IO_FILE_OPEN): Likewise.
35659         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
35660         (_G_int32_t): Likewise.
35661         (_G_uint16_t): Likewise.
35662         (_G_uint32_t): Likewise.
35663         (_G_HAVE_BOOL): Likewise.
35664         (_G_HAVE_ATEXIT): Likewise.
35665         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
35666         (_G_HAVE_IO_FILE_OPEN): Likewise.
35667         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
35668         (_G_int32_t): Likewise.
35669         (_G_uint16_t): Likewise.
35670         (_G_uint32_t): Likewise.
35671         (_G_HAVE_BOOL): Likewise.
35672         (_G_HAVE_ATEXIT): Likewise.
35673         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
35674         (_G_HAVE_IO_FILE_OPEN): Likewise.
35675
35676 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
35677
35678         * csu/libc-tls.c: Update copyright years.
35679
35680 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
35681
35682         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
35683         [!_G_USING_THUNKS]: Remove conditional code.
35684         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
35685         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
35686
35687         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
35688         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
35689         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
35690         (_G_VTABLE_LABEL_PREFIX): Likewise.
35691         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
35692         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
35693         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
35694         (_G_VTABLE_LABEL_PREFIX): Likewise.
35695         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
35696         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
35697         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
35698         (_G_VTABLE_LABEL_PREFIX): Likewise.
35699         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
35700
35701 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
35702
35703         * libio/Makefile: Include ../Makeconfig before tests.
35704         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
35705         only if $(build-shared) is yes.
35706
35707         * iconv/gconv_db.c: Update copyright years.
35708
35709 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
35710
35711         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
35712         unwind info if defined PIC. Fix special cases description.
35713         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
35714
35715         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
35716         DP_HI_MASK entry.
35717         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
35718
35719 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
35720
35721         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
35722
35723         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
35724         is NULL.
35725
35726         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
35727         (LDLIBS-tst-chk4): This.
35728         (LDFLAGS-tst-chk5): Renamed to ...
35729         (LDLIBS-tst-chk5): This.
35730         (LDFLAGS-tst-chk6): Renamed to ...
35731         (LDLIBS-tst-chk6): This.
35732         (LDFLAGS-tst-lfschk4): Renamed to ...
35733         (LDLIBS-tst-lfschk4): This.
35734         (LDFLAGS-tst-lfschk5): Renamed to ...
35735         (LDLIBS-tst-lfschk5): This.
35736         (LDFLAGS-tst-lfschk6): Renamed to ...
35737         (LDLIBS-tst-lfschk6): This.
35738
35739         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
35740         on $(common-objpfx)soversions.mk.
35741
35742 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
35743
35744         [BZ #10014]
35745         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
35746         example host name.
35747
35748 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
35749
35750         * malloc/arena.c (arena_get_retry): New function that gets
35751         another arena for the caller to try its request on.
35752         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
35753         current arena cannot fulfill the request.
35754         (__libc_memalign): Likewise.
35755         (__libc_memalign): Likewise.
35756         (__libc_pvalloc): Likewise.
35757         (__libc_calloc): Likewise.
35758
35759 2012-09-05  John Tobey  <john.tobey@gmail.com>
35760
35761         [BZ #13542]
35762         * manual/arith.texi (Operations on Complex): Fix description
35763         of carg branch cut.
35764
35765 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
35766
35767         [BZ #10014]
35768         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
35769         host name.
35770
35771         [BZ #10038]
35772         * manual/memory.texi (Memory): Make order of menu items match
35773         order of sections.
35774
35775 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
35776
35777         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
35778         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
35779         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
35780
35781 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
35782
35783         * csu/libc-tls.c (static_dtv): Renamed to ...
35784         (_dl_static_dtv): This.  Make it global.
35785         (_dl_initial_dtv): Removed.
35786         (__libc_setup_tls): Updated.
35787         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
35788         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
35789         DL_INITIAL_DTV.
35790
35791 2012-09-06  Petr Machata  <pmachata@redhat.com>
35792
35793         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
35794         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
35795         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
35796         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
35797
35798 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
35799
35800         [BZ #14545]
35801         * csu/libc-tls.c (_dl_initial_dtv): New variable.
35802         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
35803         freeing dtv[-1].
35804
35805 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
35806
35807         [BZ #14544]
35808         * Makeconfig (link-static-before-libc): Replace $(+prector)
35809         with $(+prectorT).
35810         (link-static-after-libc): Replace $(+postctor) with
35811         $(+postctorT).
35812         (link-bounded): Replace $(+prector)/$(+postctor) with
35813         $(+prectorT)/$(+postctorT).
35814         (+prectorT): New macro.
35815         (+postctorT): Likewise.
35816
35817 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
35818
35819         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
35820         (round_str): Handle values above the maximum for IBM long double
35821         as inexact.
35822         * stdlib/tst-strtod-round.c (tests): Regenerated.
35823
35824 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35825
35826         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
35827         assembler flag.
35828         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
35829         zarch_nohighgprs around the zarch optimized routines.
35830         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
35831         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
35832         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
35833         for zarch.
35834
35835 2012-09-05  David S. Miller  <davem@davemloft.net>
35836
35837         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35838
35839         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
35840         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
35841         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
35842         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
35843         entries.
35844
35845 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
35846
35847         * malloc/arena.c: Fold copyright years.
35848         * malloc/mcheck.c, malloc/memusage.c: Likewise.
35849
35850 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
35851
35852         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
35853
35854 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
35855
35856         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
35857
35858 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
35859
35860         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
35861         change internal state upon failure.
35862
35863 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
35864
35865         * malloc/mcheck.c (mcheck_check_all): Fix typo.
35866         * malloc/memusage.c (mmap): Likewise.
35867         (mmap64, mremap): Likewise.  Adjust name in comment.
35868
35869 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
35870
35871         * libio/fileops.c: Fix typos in comments.
35872         * libio/oldfileops.c: Likewise.
35873         * libio/wfileops.c: Likewise.
35874
35875 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
35876
35877         [BZ #1349]
35878         * malloc/Makefile (tests): Add tst-malloc-usable test case.
35879         (tst-malloc-usable-ENV): Set environment for test case.
35880         * malloc/hooks.c (malloc_check_get_size): New function to get
35881         requested size.
35882         * malloc/malloc.c (musable): Use malloc_check_get_size.
35883         * malloc/tst-malloc-usable.c: New test case.
35884
35885 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
35886
35887         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
35888
35889 2012-09-05  Allan McRae  <allan@archlinux.org>
35890
35891         [BZ #13966]
35892         * configure.in (CXX_SYSINCLUDES): Use compiler output to
35893         determine header location.
35894         * configure: Regenerated.
35895
35896 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
35897
35898         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
35899         float format.
35900         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
35901         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
35902         format.
35903         (test): Regenerate.
35904
35905 2012-09-04  David S. Miller  <davem@davemloft.net>
35906
35907         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
35908         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
35909         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
35910
35911 2012-09-04  Florian Weimer  <fweimer@redhat.com>
35912
35913         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
35914         failures.
35915
35916         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
35917
35918 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
35919
35920         [BZ #9914]
35921         * libio/iogetdelim.c: Include <limits.h>.
35922         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
35923         + len + 1 would overflow.
35924
35925 2012-09-03  Andreas Jaeger  <aj@suse.de>
35926
35927         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35928         * sysdeps/i386/fpu/libm-test-ulps: Update.
35929
35930 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
35931
35932         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
35933         Add s_sinf-sse2, s_conf-sse2.
35934
35935         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
35936         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
35937         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
35938         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
35939
35940         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
35941         for using routine as __sinf_ia32.
35942         Use macro for function declaration and weak_alias.
35943         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
35944         for using routine as __cosf_ia32.
35945         Use macro for function declaration and weak_alias.
35946
35947         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
35948         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
35949
35950         * sysdeps/x86_64/fpu/s_sinf.S: New file.
35951         * sysdeps/x86_64/fpu/s_cosf.S: New file.
35952         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35953
35954         * math/libm-test.inc (cos_test): Add more test cases.
35955         (sin_test): Likewise.
35956         (sincos_test): Likewise.
35957
35958 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35959
35960         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
35961         (IFUNC_RESOLVE): Make pointers to the specialized implementations
35962         hidden.
35963         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
35964
35965 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
35966
35967         [BZ #14538]
35968         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
35969         first element of the GOT.
35970         (elf_machine_load_address): Return the difference between
35971         the runtime address of _DYNAMIC and elf_machine_dynamic ().
35972
35973 2012-09-01  Allan McRae  <allan@archlinux.org>
35974
35975         [BZ #13412]
35976         * configure.in (AWK): Require gawk version 3.0 or later.
35977         * configure: Regenerated.
35978
35979 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
35980
35981         * sysdeps/unix/sysv/linux/kernel-features.h
35982         (__ASSUME_POSIX_CPU_TIMERS): Remove.
35983         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
35984         [__NR_clock_getres]: Make code unconditional.
35985         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
35986         (clock_getcpuclockid): Remove code left unreachable by removal of
35987         conditionals.
35988         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
35989         code unconditional.
35990         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
35991         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
35992         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
35993         Make code unconditional.
35994         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
35995         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
35996         * sysdeps/unix/sysv/linux/clock_settime.c
35997         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
35998         conditional code.
35999         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
36000         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
36001
36002 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
36003
36004         [BZ #14476]
36005         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
36006         scripts/test-installation.pl.
36007
36008         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
36009         and $ld_so_version if it is set.
36010
36011 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
36012
36013         [BZ #14516]
36014         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
36015         failure if reading from procfs failed.
36016         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
36017
36018 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
36019
36020         * sysdeps/unix/sysv/linux/kernel-features.h
36021         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
36022         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
36023         Remove conditional code.
36024         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36025         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
36026         Remove conditional code.
36027         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36028         * sysdeps/unix/sysv/linux/i386/fxstat.c
36029         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
36030         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36031         * sysdeps/unix/sysv/linux/i386/fxstatat.c
36032         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
36033         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36034         * sysdeps/unix/sysv/linux/i386/lxstat.c
36035         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
36036         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36037         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
36038         Remove conditional code.
36039         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36040         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
36041         Remove conditional code.
36042         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36043         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
36044         <kernel-features.h>.
36045         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
36046         Remove.
36047         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
36048         Remove conditional code.
36049         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36050         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
36051         Remove conditional.
36052
36053 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
36054
36055         [BZ #5400]
36056         * NEWS: Add fixed bug number.
36057
36058 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
36059
36060         [BZ #14519]
36061         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
36062         underflowing exponent in case of negative sign.
36063         * stdlib/tst-strtod-round-data: Add more tests.
36064         * stdlib/tst-strtod-round.c (tests): Regenerated.
36065
36066         [BZ #3479]
36067         * stdlib/strtod_l.c (NDIG): Remove.
36068         (HEXNDIG): Likewise.
36069         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
36070         smallest representable value.
36071         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
36072         lie within an exact representation of 1/2 ulp of the result.
36073         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
36074         unconditionally.
36075         (TENS_P9_IDX): Define unconditionally.
36076         (TENS_P9_SIZE): Likewise.
36077         (TENS_P10_IDX): Likewise.
36078         (TENS_P10_SIZE): Likewise.
36079         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
36080         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
36081         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
36082         entries for 10^2^13 and 10^2^14.
36083         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
36084         (TENS_P13_IDX): Define.
36085         (TENS_P13_SIZE): Likewise.
36086         (TENS_P14_IDX): Likewise.
36087         (TENS_P14_SIZE): Likewise.
36088         (_fpioconst_pow10): Change array size to
36089         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
36090         unconditional.
36091         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
36092         1024]: Add entries for 10^2^13 and 10^2^14.
36093         [LAST_POW10 > _LAST_POW10]: Remove #error.
36094         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
36095         (_fpioconst_pow10): Change array size to
36096         FPIOCONST_POW10_ARRAY_SIZE.
36097         * stdlib/gen-fpioconst.c: New file.
36098         * stdlib/gen-tst-strtod-round.c: Likewise.
36099         * stdlib/tst-strtod-round-data: Likewise.
36100         * stdlib/tst-strtod-round.c: Likewise.
36101         * stdlib/Makefile (tests): Add tst-strtod-round.
36102
36103         [BZ #14459]
36104         * stdlib/strtod_l.c: Include <stdint.h>.
36105         (NDEBUG): Do not define.
36106         (round_and_return): Change EXPONENT parameter to type intmax_t.
36107         Rearrange calculations to avoid internal overflow possibilities.
36108         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
36109         Rearrange calculations to avoid internal overflow possibilities.
36110         Assert that number fits inside MPNSIZE limbs.
36111         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
36112         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
36113         calculations and add assertions to avoid internal overflow
36114         possibilities.  Add casts to avoid signed/unsigned operations.
36115         * stdlib/tst-strtod-overflow.c: New file.
36116         * stdlib/Makefile (tests): Add tst-strtod-overflow.
36117
36118 2012-08-25  Marek Polacek  <polacek@redhat.com>
36119
36120         * time/time.h: Fix some typos in comments.
36121
36122 2012-08-23  Roland McGrath  <roland@hack.frob.com>
36123
36124         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
36125         * posix/tst-rfc3484-2.c: Likewise.
36126         * posix/tst-rfc3484-3.c: Likewise.
36127
36128 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
36129
36130         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
36131         (EF_ARM_ABI_FLOAT_HARD): Likewise.
36132
36133 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
36134
36135         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
36136         #include of fxstatat64.c.
36137
36138 2012-08-22  Roland McGrath  <roland@hack.frob.com>
36139
36140         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
36141         * shadow/getspent_r.c: Likewise.
36142         * shadow/getspnam.c: Likewise.
36143         * shadow/getspnam_r.c: Likewise.
36144         * gshadow/getsgent.c: Likewise.
36145         * gshadow/getsgent_r.c: Likewise.
36146         * gshadow/getsgnam.c: Likewise.
36147         * gshadow/getsgnam_r.c: Likewise.
36148         * inet/getnetbyad.c: Likewise.
36149         * inet/getnetbyad_r.c: Likewise.
36150         * inet/getnetbynm.c: Likewise.
36151         * inet/getnetbynm_r.c: Likewise.
36152         * inet/getnetent.c: Likewise.
36153         * inet/getnetent_r.c: Likewise.
36154         * inet/getproto.c: Likewise.
36155         * inet/getproto_r.c: Likewise.
36156         * inet/getprtent.c: Likewise.
36157         * inet/getprtent_r.c: Likewise.
36158         * inet/getprtname.c: Likewise.
36159         * inet/getprtname_r.c: Likewise.
36160         * inet/getrpcbyname.c: Likewise.
36161         * inet/getrpcbyname_r.c: Likewise.
36162         * inet/getrpcbynumber.c: Likewise.
36163         * inet/getrpcbynumber_r.c: Likewise.
36164         * inet/getrpcent.c: Likewise.
36165         * inet/getrpcent_r.c: Likewise.
36166         * inet/getaliasent.c: Likewise.
36167         * inet/getaliasent_r.c: Likewise.
36168         * inet/getaliasname.c: Likewise.
36169         * inet/getaliasname_r.c: Likewise.
36170         * nscd/getgrgid_r.c: Likewise.
36171         * nscd/getgrnam_r.c: Likewise.
36172         * nscd/gethstbyad_r.c: Likewise.
36173         * nscd/gethstbynm3_r.c: Likewise.
36174         * nscd/getpwnam_r.c: Likewise.
36175         * nscd/getpwuid_r.c: Likewise.
36176         * nscd/getsrvbynm_r.c: Likewise.
36177         * nscd/getsrvbypt_r.c: Likewise.
36178         * nscd/gai.c: Likewise.
36179
36180         * configure.in (build_nscd): New substituted variable, set
36181         by --disable-build-nscd and defaults to $use_nscd.
36182         * configure: Regenerated.
36183         * config.make.in (build-nscd): New substituted variable.
36184         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
36185         Change conditional to require [$(build-nscd) = yes] as well.
36186         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
36187
36188         [BZ# 13696]
36189         * configure.in (use_nscd): New substituted variable, set by
36190         --disable-nscd.  If enabled, define USE_NSCD.
36191         * configure: Regenerated.
36192         * config.h.in: Add USE_NSCD.
36193         * config.make.in (use-nscd): New substituted variable.
36194         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
36195         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
36196         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
36197         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
36198         (CFLAGS-getgrnam_r.c): Likewise.
36199         (CFLAGS-initgroups.c): Likewise.
36200         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
36201         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
36202         Variables removed.
36203         * inet/getnetgrent_r.c
36204         (nscd_setnetgrent): New function, broken out of ...
36205         (setnetgrent): ... here.  Call it.
36206         (innetgr): Conditionalize nscd bits on [USE_NSCD].
36207         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
36208         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
36209         * nscd/Makefile (routines, aux): Move definitions after include of
36210         Makeconfig.  Conditionalize on [$(use-nscd) != no].
36211         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
36212         Conditionalize on [USE_NSCD].
36213         (is_nscd, nscd_init_cb): Likewise.
36214         (nss_load_library): Conditionalize init callback on [USE_NSCD].
36215         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
36216         * nss/nss_db/db-init.c: Likewise.
36217         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
36218         [USE_NSCD].
36219         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
36220         (make_request): Use it.
36221         (cache_valid_p): New function.
36222         (__check_pf): Use it.
36223         * NEWS: Add item for --disable-nscd.
36224
36225 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
36226
36227         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
36228         to support sed >= 4.2.1-20-ga9bf076.
36229         * configure: Regenerated.
36230
36231 2012-08-22  Roland McGrath  <roland@hack.frob.com>
36232
36233         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
36234         Conditionalize whole body on [IREL].
36235
36236 2012-08-22  Jeff Law <law@redhat.com>
36237
36238         [BZ #14505]
36239         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
36240         if the family is PF_UNSPEC.
36241
36242 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
36243
36244         * Makerules (lib-version): Rename from V.
36245         (install-lib-nosubdir): Change V to lib-version.
36246
36247 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
36248
36249         [BZ #14252]
36250         * powerpc32/power6/wcschr.c: New file.
36251         * powerpc32/power6/wcscpy.c: New file.
36252         * powerpc32/power6/wcsrchr.c: New file.
36253         * powerpc64/power6/wcschr.c: New file.
36254         * powerpc64/power6/wcscpy.c: New file.
36255         * powerpc64/power6/wcsrchr.c: New file.
36256
36257 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
36258
36259         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
36260         (two_way_short_needle): Use it.
36261         * string/strstr.c (AVAILABLE1_USES_J): Define.
36262         * string/strcasestr.c: Likewise.
36263
36264         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
36265         array references.
36266         * string/strcasestr.c (TOLOWER): Make side-effect safe.
36267
36268         [BZ #11607]
36269         * NEWS: Add an entry.
36270         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
36271         define their defaults.
36272         (two_way_short_needle): Detect end-of-string on-the-fly.
36273         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
36274         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
36275         * string/bug-strcasestr1.c: New test.
36276         * string/Makefile: Run it.
36277
36278 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
36279
36280         [BZ #11607]
36281         * string/str-two-way.h (two_way_short_needle): Optimize matching of
36282         the first character.
36283
36284 2012-08-21  Roland McGrath  <roland@hack.frob.com>
36285
36286         * csu/elf-init.c (__libc_csu_irel): Function removed.
36287         * csu/libc-start.c (apply_irel): New function.
36288         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
36289
36290 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
36291
36292         * sysdeps/unix/sysv/linux/kernel-features.h
36293         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
36294         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
36295         <kernel-features.h>.
36296         [__NR_fadvise64_64]: Make code unconditional.
36297         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
36298         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
36299         !__NR_fadvise64_64)]: Likewise.
36300         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
36301         !__NR_fadvise64_64))]: Likewise.
36302         [__NR_fadvise64]: Make code unconditional.
36303         [!__NR_fadvise64]: Remove conditional code.
36304         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
36305         <kernel-features.h>.
36306         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
36307         unconditional.
36308         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
36309         conditional code.
36310         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
36311         not include <kernel-features.h>.
36312         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
36313         unconditional.
36314         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
36315         conditional code.
36316         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
36317         include <kernel-features.h>.
36318         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
36319         unconditional.
36320         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
36321         conditional code.
36322
36323 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
36324
36325         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
36326         slight instruction rearrangements per scrollpipe analysis.
36327         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
36328
36329 2012-08-20  Roland McGrath  <roland@hack.frob.com>
36330
36331         * manual/syslog.texi (syslog; vsyslog, closelog):
36332         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
36333         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
36334
36335         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
36336         DSOCAPS to match condition on defining it.
36337
36338 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
36339
36340         * sysdeps/unix/sysv/linux/kernel-features.h
36341         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
36342         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
36343         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
36344         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
36345         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
36346         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
36347         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
36348         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
36349         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
36350         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
36351
36352         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
36353         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
36354
36355         * sysdeps/unix/sysv/linux/kernel-features.h
36356         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
36357         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
36358         unconditional.
36359         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
36360         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
36361         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
36362         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
36363         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
36364         Make code unconditional.
36365         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
36366         (__mmap64) [!__NR_mmap2]: Likewise.
36367         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
36368         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
36369         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
36370         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
36371         [__NR_mmap2]: Make code unconditional.
36372         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
36373         (__mmap64) [!__NR_mmap2]: Likewise.
36374
36375 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36376
36377         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
36378
36379 2012-08-18  Andreas Jaeger  <aj@suse.de>
36380
36381         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
36382
36383 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
36384
36385         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
36386         * include/unistd.h (__have_sock_cloexec): Likewise.
36387         (__have_pipe2): Likewise.
36388         (__have_dup3): Likewise.
36389
36390 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
36391
36392         [BZ #9685]
36393         * include/unistd.h (__have_pipe2): Change define into an extern int.
36394         (__have_dup3): Likewise.
36395         * socket/have_sock_cloexec.c: Include fcntl.h.
36396         (__have_pipe2): New variable.
36397         (__have_dup3): Likewise.
36398
36399 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
36400
36401         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
36402
36403 2012-08-17  Marek Polacek  <polacek@redhat.com>
36404
36405         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
36406         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
36407
36408 2012-08-17  Roland McGrath  <roland@hack.frob.com>
36409
36410         * configure.in: Add AC_SUBST for sysheaders.
36411         * configure: Regenerated.
36412         * config.make.in (sysheaders): New substituted variable.
36413
36414         * sysdeps/unix/mkfifo.c: Moved ...
36415         * sysdeps/posix/mkfifo.c: ... here.
36416         * sysdeps/unix/mkfifoat.c: Moved ...
36417         * sysdeps/posix/mkfifoat.c: ... here.
36418
36419         * sysdeps/unix/utime.c: Moved ...
36420         * sysdeps/posix/utime.c: ... here.
36421
36422         * sysdeps/unix/time.c: Moved ...
36423         * sysdeps/posix/time.c: ... here.
36424         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
36425         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
36426
36427         * sysdeps/unix/nice.c: Moved ...
36428         * sysdeps/posix/nice.c: ... here.
36429
36430         * sysdeps/unix/alarm.c: Moved ...
36431         * sysdeps/posix/alarm.c: ... here.
36432
36433         * intl/Makefile ($(codeset_mo)): Depend on the input file.
36434
36435 2012-08-17  Jeff Law <law@redhat.com>
36436
36437         * intl/Makefile (codeset_mo): New variable.
36438         ($(codeset_mo)): New target.
36439         (tst-codeset.out): Depend on that.  Remove explicit rule.
36440         (tst-gettext3.out, tst-gettext5.out): Likewise.
36441         (LOCPATH-ENV, tst-codeset-ENV): New variables.
36442         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
36443         * intl/tst-codeset.sh: Remove.
36444         * intl/tst-gettext3.sh: Likewise.
36445         * intl/tst-gettext5.sh: Likewise.
36446
36447 2012-08-17  Roland McGrath  <roland@hack.frob.com>
36448
36449         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
36450         * sysdeps/unix/syscalls.list: ... here.
36451
36452         * sysdeps/posix/getaddrinfo.c
36453         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
36454         (gaiconf_init, gaiconf_reload): Use them.
36455         [!_STATBUF_ST_NSEC]
36456         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
36457         Define using time_t rather than struct timespec.
36458
36459         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
36460         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
36461         Macros removed.
36462         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
36463         [!NO_THREADS].
36464         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
36465         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
36466         Likewise.
36467
36468         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
36469         __libc_cleanup_push argument.
36470
36471         * bits/param.h: New file.
36472         * misc/sys/param.h: New file.
36473         * include/sys/param.h: New file.
36474         * misc/Makefile (headers): Add bits/param.h.
36475         * sysdeps/generic/sys/param.h: File removed.
36476         * sysdeps/unix/sysv/linux/bits/param.h: New file.
36477         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
36478         * sysdeps/mach/hurd/bits/param.h: New file.
36479         * sysdeps/mach/hurd/sys/param.h: File removed.
36480
36481         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
36482         last change.
36483
36484         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
36485         [_IO_MTSAFE_IO].
36486         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
36487         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
36488         New macros.
36489
36490         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
36491         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
36492         rather than -D_IO_MTSAFE_IO conditionally.
36493         * stdio-common/Makefile (CPPFLAGS): Likewise.
36494         * wcsmbs/Makefile (CPPFLAGS): Likewise.
36495         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
36496         Use $(libio-mtsafe).
36497         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
36498         of -D_IO_MTSAFE_IO.
36499         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
36500         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
36501         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
36502         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
36503         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
36504         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
36505         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
36506         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
36507         (CFLAGS-fread_u_chk.c): Likewise.
36508         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
36509         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
36510         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
36511         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
36512         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
36513         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
36514         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
36515         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
36516         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
36517
36518         * libio/Makefile: Test [$(libc-reentrant) = yes]
36519         instead of [$(filter %REENTRANT, $(defines)) nonempty].
36520
36521         * Makeconfig
36522         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
36523         * sysdeps/pthread/configure: File removed.
36524         * sysdeps/pthread/Makeconfig: New file.
36525         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
36526         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
36527
36528 2012-08-16  Gary Benson  <gbenson@redhat.com>
36529
36530         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
36531         unmapping the first object in a namespace.
36532
36533 2012-08-16  Roland McGrath  <roland@hack.frob.com>
36534
36535         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
36536         (__internal_setnetgrent): ... this.  Add internal_function to
36537         definition.  Add libc_hidden_def.
36538         (setnetgrent): Update caller.
36539         (internal_endnetgrent): Renamed to ...
36540         (__internal_endnetgrent): ... this.  Add internal_function to
36541         definition.  Add libc_hidden_def.
36542         (endnetgrent): Update caller.
36543         (internal_getnetgrent_r): Renamed to ...
36544         (__internal_getnetgrent_r): ... this.  Add internal_function to
36545         definition.  Add libc_hidden_def.
36546         (__getnetgrent_r): Update caller.
36547         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
36548
36549 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
36550
36551         * stdlib/longlong.h: Update from GCC.
36552
36553 2012-08-16  Roland McGrath  <roland@hack.frob.com>
36554
36555         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
36556         on _QL, which is set by umul_ppmm but never used.
36557         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
36558         variables, which are set by GMP macros but never used.
36559         * stdio-common/_itowa.c (_itowa): Likewise.
36560         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
36561         * stdlib/mod_1.c (mpn_mod_1): Likewise.
36562
36563 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
36564
36565         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
36566         struct La_sh_regs is not constant.
36567         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
36568         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
36569         and struct La_sparc64_regs are not constant.
36570
36571 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
36572
36573         * sysdeps/unix/sysv/linux/kernel-features.h
36574         (__ASSUME_POSIX_TIMERS): Remove.
36575         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
36576         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
36577         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
36578         Make code unconditional.
36579         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
36580         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
36581         Make code unconditional.
36582         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
36583         * sysdeps/unix/sysv/linux/clock_nanosleep.c
36584         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
36585         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
36586         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
36587         Make code unconditional.
36588         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
36589         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
36590         (__libc_missing_posix_timers): Remove.
36591
36592 2012-08-15  Roland McGrath  <roland@hack.frob.com>
36593
36594         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
36595         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
36596
36597         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
36598
36599         * elf/dl-sym.c: Include <stdlib.h>.
36600
36601         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
36602         constants, which avoids warnings in 32-bit builds.
36603
36604         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
36605         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
36606
36607         * misc/lseek.c: File moved to ...
36608         * io/lseek.c: ... here.
36609
36610         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
36611
36612         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
36613         shifting LEN more than 31 bits at once.
36614
36615 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
36616
36617         [BZ #14195]
36618         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
36619         segmentation fault for a case of two empty input strings.
36620         * string/test-strncasecmp.c (check1): Renamed to...
36621         (bz12205): ...this.
36622         (bz14195): Add new testcase for two empty input strings and N > 0.
36623         (test_main): Call new testcase, adapt for renamed function.
36624
36625 2012-08-15  Andreas Jaeger  <aj@suse.de>
36626
36627         [BZ #14090]
36628         * crypt/md5test2.c: New test, based on test supplied by Serge
36629         Belyshev <belyshev@depni.sinp.msu.ru>.
36630         * crypt/Makefile (xtests): Add md5test-giant..
36631         * crypt/Makefile ($(objpfx)md5test-giant): Add.
36632
36633 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
36634
36635         [BZ #14090]
36636         * crypt/md5.c (md5_process_block): Don't assume the buffer
36637         length is less than 2**32.
36638         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
36639         length is less than 2**64.
36640
36641 2012-08-15  Roland McGrath  <roland@hack.frob.com>
36642
36643         * string/str-two-way.h: Include <sys/param.h>.
36644         (MAX): Macro removed.
36645
36646         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
36647         Move #define and #undef of memmove to just before and after
36648         including <string.h>.
36649
36650         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
36651         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
36652         and after including <string.h>.  Move declarations of
36653         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
36654         to before #include "string/memmove.c".
36655
36656         * include/dirent.h: Declare __getdirentries.
36657
36658         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
36659         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
36660
36661 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
36662
36663         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
36664         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
36665         * sysdeps/i386/configure: Regenerated.
36666         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
36667         STABS_CURRENT_FILE, and STABS_FUN.
36668         (END): Remove call to STABS_FUN_END.
36669         (STABS_CURRENT_FILE1): Delete.
36670         (STABS_CURRENT_FILE): Likewise.
36671         (STABS_FUN): Likewise.
36672         (STABS_FUN_END): Likewise.
36673         (STABS_FUN2): Likewise.
36674         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
36675         * sysdeps/x86_64/configure: Regenerated.
36676
36677 2012-08-14  Roland McGrath  <roland@hack.frob.com>
36678
36679         * elf/dl-open.c: Include <atomic.h>.
36680         * elf/dl-lookup.c: Likewise.
36681
36682 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
36683
36684         * sysdeps/unix/sysv/linux/kernel-features.h
36685         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
36686         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
36687         unconditionally.
36688         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
36689         unconditionally.
36690         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
36691         condition on __ASSUME_CLONE_THREAD_FLAGS.
36692
36693 2012-08-14  Andreas Jaeger  <aj@suse.de>
36694
36695         * sysdeps/i386/fpu/libm-test-ulps: Update.
36696
36697 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
36698
36699         * include/atomic.h (atomic_exchange_and_add): Split into ...
36700         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
36701         New atomic macros.
36702
36703 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
36704
36705         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36706
36707 2012-08-13  Jeff Law <law@redhat.com>
36708
36709         * manual/stdio.texi (snprintf): Clarify handling of the trailing
36710         null byte in the output string.
36711
36712 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
36713
36714         * sysdeps/unix/sysv/linux/kernel-features.h
36715         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
36716         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
36717         (__ASSUME_ARG_MAX_STACK_BASED): Define.
36718         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
36719         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
36720         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
36721         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
36722
36723 2012-08-09  Jeff Law <law@redhat.com>
36724
36725         [BZ #13939]
36726         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
36727         When avoid_arena is set, don't retry in the that arena.  Pick the
36728         next one, whatever it might be.
36729         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
36730         (arena_lock): Pass in new parameter to arena_get2.
36731         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
36732         arena_get2.
36733         (__libc_malloc): Unify retrying after main arena failure with
36734         __libc_memalign version.
36735         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
36736
36737 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
36738
36739         [BZ #14166]
36740         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
36741         to __redirect_strstr.
36742         (__strstr_sse42): Use typeof __redirect_strstr.
36743         (__strstr_ia32): Likewise.
36744         (__libc_strstr): New prototype.
36745         (strstr): Renamed to ...
36746         (__libc_strstr): This.
36747         (strstr): New strong alias of __libc_strstr.
36748         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
36749         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
36750         __redirect_time.
36751         Include <time.h>.
36752         (__libc_time): New prototype.
36753         (time_ifunc): Replace time with __libc_time.
36754         (time): New strong alias and hidden definition of __libc_time.
36755         (__GI_time): Remove strong alias.
36756         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
36757         Include <stddef.h>.
36758         (memmove): Redefined to __redirect_memmove.
36759         (__memmove_sse2): Use typeof __redirect_memmove.
36760         (__memmove_ssse3): Likewise.
36761         (__memmove_ssse3_back): Likewise.
36762         (__libc_memmove): New prototype.
36763         (memmove): Renamed to ...
36764         (__libc_memmove): This.
36765         (memmove): New strong alias of __libc_memmove.
36766
36767 2012-08-08  Mark Salter  <msalter@redhat.com>
36768
36769         * elf/elf.h
36770         (R_MN10300_TLS_GD): Define.
36771         (R_MN10300_TLS_LD): Likewise.
36772         (R_MN10300_TLS_LDO): Likewise.
36773         (R_MN10300_TLS_GOTIE): Likewise.
36774         (R_MN10300_TLS_IE): Likewise.
36775         (R_MN10300_TLS_LE): Likewise.
36776         (R_MN10300_TLS_DTPMOD): Likewise.
36777         (R_MN10300_TLS_DTPOFF): Likewise.
36778         (R_MN10300_TLS_TPOFF): Likewise.
36779         (R_MN10300_SYM_DIFF): Likewise.
36780         (R_MN10300_ALIGN): Likewise.
36781         (R_MN10300_NUM): Update.
36782
36783 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
36784
36785         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
36786         Remove.
36787
36788 2012-08-08  Roland McGrath  <roland@hack.frob.com>
36789
36790         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
36791
36792         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
36793         sysdeps/unix -> sysdeps/posix move.
36794         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
36795
36796 2012-08-07      Allan McRae     <allan@archlinux.org>
36797
36798         [BZ #14303]
36799         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
36800         (SUNOS_CPP): Likewise.
36801         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
36802         not found.
36803         (open_input): Call CPP using execvp.
36804
36805 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
36806
36807         * sysdeps/unix/sysv/linux/kernel-features.h
36808         (__ASSUME_PROT_GROWSUPDOWN): Remove.
36809         (__ASSUME_NO_CLONE_DETACHED): Likewise.
36810         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
36811         (__ASSUME_WAITID_SYSCALL): Likewise.
36812         * sysdeps/unix/sysv/linux/dl-execstack.c
36813         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
36814         code unconditional.
36815         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
36816         conditional code.
36817         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
36818         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
36819         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
36820         code.
36821         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
36822         unconditional.
36823         [__ASSUME_WAITID_SYSCALL]: Likewise.
36824         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
36825
36826 2012-08-07  Roland McGrath  <roland@hack.frob.com>
36827
36828         * sysdeps/unix/closedir.c: Renamed to ...
36829         * sysdeps/posix/closedir.c: ... here.
36830         * sysdeps/unix/dirfd.c: Renamed to ...
36831         * sysdeps/posix/dirfd.c: ... here.
36832         * sysdeps/unix/dirstream.h: Renamed to ...
36833         * sysdeps/posix/dirstream.h: ... here.
36834         * sysdeps/unix/fdopendir.c: Renamed to ...
36835         * sysdeps/posix/fdopendir.c: ... here.
36836         * sysdeps/unix/opendir.c: Renamed to ...
36837         * sysdeps/posix/opendir.c: ... here.
36838         * sysdeps/unix/readdir.c: Renamed to ...
36839         * sysdeps/posix/readdir.c: ... here.
36840         * sysdeps/unix/readdir_r.c: Renamed to ...
36841         * sysdeps/posix/readdir_r.c: ... here.
36842         * sysdeps/unix/rewinddir.c: Renamed to ...
36843         * sysdeps/posix/rewinddir.c: ... here.
36844         * sysdeps/unix/seekdir.c: Renamed to ...
36845         * sysdeps/posix/seekdir.c: ... here.
36846         * sysdeps/unix/telldir.c: Renamed to ...
36847         * sysdeps/posix/telldir.c: ... here.
36848         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
36849         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
36850         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
36851         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
36852
36853         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
36854         * bits/fcntl.h: ... here.
36855
36856         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
36857         not 0.
36858         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
36859         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
36860         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
36861         (struct flock): Move l_start, l_len to the beginning.
36862         Use __pid_t for l_pid.
36863         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
36864         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
36865         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
36866         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
36867         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
36868         [__USE_LARGEFILE64] (struct flock64): New type.
36869         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
36870
36871         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
36872         * bits/dirent.h: ... here.
36873
36874         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
36875         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
36876
36877 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
36878
36879         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
36880         Change from 2.6.0 to 2.6.16.
36881         * sysdeps/unix/sysv/linux/configure: Regenerated.
36882         * sysdeps/unix/sysv/linux/kernel-features.h
36883         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
36884         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
36885         version.
36886         (__ASSUME_UTIMES): Likewise.
36887         (__ASSUME_CLONE_STOPPED): Remove.
36888         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
36889         architectures, not kernel version.
36890         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
36891         (__ASSUME_NO_CLONE_DETACHED): Likewise.
36892         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
36893         (__ASSUME_WAITID_SYSCALL): Likewise.
36894         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
36895         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
36896         * README: State 2.6.16 as minimum Linux kernel version.  Do not
36897         refer to older versions.
36898
36899 2012-08-06  Roland McGrath  <roland@hack.frob.com>
36900
36901         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
36902         Define alphasort64 as an alias.
36903         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
36904         Define versionsort64 as an alias.
36905         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
36906         Define scandir64 as an alias.
36907         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
36908         Define scandirat64 as an alias.
36909         * dirent/alphasort64.c (alphasort64):
36910         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
36911         * dirent/versionsort64.c: Likewise.
36912         * dirent/scandir64.c: Likewise.
36913         * dirent/scandirat64.c: Likewise.
36914         * sysdeps/wordsize-64/alphasort.c: File removed.
36915         * sysdeps/wordsize-64/alphasort64.c: File removed.
36916         * sysdeps/wordsize-64/scandir.c: File removed.
36917         * sysdeps/wordsize-64/scandir64.c: File removed.
36918         * sysdeps/wordsize-64/scandirat.c: File removed.
36919         * sysdeps/wordsize-64/scandirat64.c: File removed.
36920         * sysdeps/wordsize-64/versionsort.c: File removed.
36921         * sysdeps/wordsize-64/versionsort64.c: File removed.
36922         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
36923         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
36924         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
36925         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
36926         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
36927         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
36928         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
36929         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
36930
36931         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
36932         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
36933         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
36934         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
36935         [defined __arch64__ || defined __sparcv9]
36936         (__INO_T_MATCHES_INO64_T): New macro.
36937         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
36938         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
36939         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
36940         * sysdeps/unix/sysv/linux/bits/dirent.h
36941         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
36942         (_DIRENT_MATCHES_DIRENT64): New macro.
36943
36944         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
36945         Define lockf64 as an alias.
36946         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
36947         Define fseeko64 as an alias.
36948         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
36949         Define ftello64 as an alias.
36950         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
36951         Define _IO_fgetpos64 and fgetpos64 as aliases.
36952         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
36953         Define _IO_fsetpos64 and fsetpos64 as aliases.
36954         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
36955         Conditionalize body on this.
36956         * libio/fseeko64.c: Likewise.
36957         * libio/ftello64.c: Likewise.
36958         * libio/iofgetpos64.c: Likewise.
36959         * libio/iofsetpos64.c: Likewise.
36960         * sysdeps/wordsize-64/lockf.c: File removed.
36961         * sysdeps/wordsize-64/lockf64.c: File removed.
36962         * sysdeps/wordsize-64/fseeko.c: File removed.
36963         * sysdeps/wordsize-64/fseeko64.c: File removed.
36964         * sysdeps/wordsize-64/ftello.c: File removed.
36965         * sysdeps/wordsize-64/ftello64.c: File removed.
36966         * sysdeps/wordsize-64/iofgetpos.c: File removed.
36967         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
36968         * sysdeps/wordsize-64/iofsetpos.c: File removed.
36969         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
36970         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
36971         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
36972         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
36973         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
36974         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
36975         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
36976         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
36977         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
36978         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
36979         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
36980
36981         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
36982         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
36983         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
36984         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
36985         [defined __arch64__ || defined __sparcv9]
36986         (__OFF_T_MATCHES_OFF64_T): New macro.
36987         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
36988         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
36989         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
36990         (__OFF_T_MATCHES_OFF64_T): New macro.
36991
36992 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
36993
36994         * stdlib/secure-getenv.c (__secure_getenv): Replace
36995         GLIBC_2_16 with GLIBC_2_17.
36996
36997 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
36998
36999         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
37000         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
37001
37002 2012-08-03  David S. Miller  <davem@davemloft.net>
37003
37004         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37005
37006 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
37007
37008         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
37009         Remove.
37010         (__ASSUME_CORRECT_SI_PID): Likewise.
37011         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
37012         (__ASSUME_TMPFS_NAME): Likewise.
37013         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
37014         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
37015         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
37016         (HAVE_AUX_SECURE): Make definition unconditional.
37017         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
37018         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
37019
37020 2012-08-03  Roland McGrath  <roland@hack.frob.com>
37021
37022         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
37023         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
37024         * sysdeps/mach/hurd/eloop-threshold.h: New file.
37025         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
37026         __eloop_threshold instead of SYMLOOP_MAX.
37027
37028         * sysdeps/generic/eloop-threshold.h: New file.
37029         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
37030         of MAXSYMLINKS.
37031         * elf/chroot_canon.c (chroot_canon): Likewise.
37032
37033 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
37034
37035         [BZ #13717]
37036         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
37037         Change to 2.6.0 everywhere.
37038         * sysdeps/unix/sysv/linux/configure: Regenerated.
37039         * sysdeps/unix/sysv/linux/kernel-features.h
37040         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
37041         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
37042         kernel versions.
37043         (__ASSUME_POSIX_TIMERS): Define unconditionally.
37044         (__ASSUME_FUTEX_REQUEUE): Remove.
37045         (__ASSUME_STATFS64): Define unconditionally.
37046         (__ASSUME_AT_SECURE): Likewise.
37047         (__ASSUME_CORRECT_SI_PID): Likewise.
37048         (__ASSUME_TGKILL): Define without depending on kernel version for
37049         i386.
37050         (__ASSUME_UTIMES): Likewise.
37051         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
37052         kernel version.
37053         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
37054         (__ASSUME_TMPFS_NAME): Likewise.
37055         * README: Update reference to Linux kernel versions.
37056
37057 2012-08-02  Marek Polacek  <polacek@redhat.com>
37058
37059         [BZ# 14150]
37060         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
37061         libc_cv_asm_type_prefix with %.
37062         * configure: Regenerated.
37063         * include/libc-symbols.h: Remove comment about
37064         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
37065         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
37066         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
37067         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
37068         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
37069         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
37070         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
37071         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
37072         * elf/tst-unique2mod1.c: Likewise.
37073         * elf/tst-unique1mod2.c: Likewise.
37074         * elf/tst-unique1mod1.c: Likewise.
37075         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
37076         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
37077         Replace ASM_TYPE_DIRECTIVE with .type.
37078         * sysdeps/s390/s390-64/sysdep.h: Likewise.
37079         * sysdeps/i386/sysdep.h: Likewise.
37080         * sysdeps/x86_64/sysdep.h: Likewise.
37081         * sysdeps/sh/sysdep.h: Likewise.
37082         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
37083         Do not define ASM_TYPE_DIRECTIVE.
37084         * sysdeps/powerpc/sysdep.h: Likewise.
37085         * sysdeps/powerpc/powerpc32/sysdep.h:
37086         Replace ASM_TYPE_DIRECTIVE with .type.
37087         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
37088         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
37089         * sysdeps/i386/fpu/e_powf.S: Likewise.
37090         * sysdeps/i386/fpu/e_expl.S: Likewise.
37091         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
37092         * sysdeps/i386/fpu/e_acosh.S: Likewise.
37093         * sysdeps/i386/fpu/e_pow.S: Likewise.
37094         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
37095         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
37096         * sysdeps/i386/fpu/s_expm1.S: Likewise.
37097         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
37098         * sysdeps/i386/fpu/e_log2.S: Likewise.
37099         * sysdeps/i386/fpu/e_log2l.S: Likewise.
37100         * sysdeps/i386/fpu/e_scalb.S: Likewise.
37101         * sysdeps/i386/fpu/e_powl.S: Likewise.
37102         * sysdeps/i386/fpu/e_log10f.S: Likewise.
37103         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
37104         * sysdeps/i386/fpu/e_logl.S: Likewise.
37105         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
37106         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
37107         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
37108         * sysdeps/i386/fpu/e_log2f.S: Likewise.
37109         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
37110         * sysdeps/i386/fpu/e_log.S: Likewise.
37111         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
37112         * sysdeps/i386/fpu/e_logf.S: Likewise.
37113         * sysdeps/i386/fpu/e_log10l.S: Likewise.
37114         * sysdeps/i386/fpu/e_atanh.S: Likewise.
37115         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
37116         * sysdeps/i386/fpu/e_log10.S: Likewise.
37117         * sysdeps/i386/fpu/s_frexp.S: Likewise.
37118         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
37119         * sysdeps/i386/fpu/s_asinh.S: Likewise.
37120         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
37121         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
37122         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
37123         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
37124         * sysdeps/i386/i686/strtok.S: Likewise.
37125         * sysdeps/i386/i386-mcount.S: Likewise.
37126         * sysdeps/i386/strtok.S: Likewise.
37127         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
37128         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
37129         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
37130         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
37131         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
37132         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
37133         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
37134         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
37135         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
37136         * sysdeps/x86_64/_mcount.S: Likewise.
37137         * sysdeps/x86_64/strtok.S: Likewise.
37138         * sysdeps/sh/_mcount.S: Likewise.
37139
37140 2012-08-01  Roland McGrath  <roland@hack.frob.com>
37141
37142         * libio/iofopen.c: Include <fcntl.h>.
37143         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
37144         (_IO_fopen64, fopen64): Define as aliases.
37145         * libio/iofopen64.c: Include <fcntl.h>.
37146         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
37147         Conditionalize body on this.
37148         * sysdeps/wordsize-64/iofopen.c: File removed.
37149         * sysdeps/wordsize-64/iofopen64.c: File removed.
37150
37151 2012-08-01  Marek Polacek  <polacek@redhat.com>
37152
37153         * libc/Makeconfig: Use elf in place of binfmt-subdir.
37154         Use dlfcn directly instead of a variable.
37155         (binfmt-subdir): Do not define.
37156         (dlfcn): Likewise.
37157
37158 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
37159
37160         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
37161         Remove all definitions.
37162         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
37163         <kernel-features.h>.
37164         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
37165         (miss_F_GETOWN_EX): Remove all definitions.
37166         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
37167         macro definition.
37168         [!__ASSUME_FCNTL64]: Remove conditional code.
37169         [__ASSUME_FCNTL64]: Make code unconditional.
37170         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
37171         <kernel-features.h>.
37172         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
37173         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
37174         (lockf64) [__NR_fcntl64]: Make code unconditional.
37175         (lockf64) [__ASSUME_FCNTL64]: Likewise.
37176
37177         * sysdeps/unix/sysv/linux/kernel-features.h
37178         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
37179         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
37180         Make code unconditional.
37181         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
37182         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
37183         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
37184         [__NR_vfork]: Make code unconditional.
37185         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
37186         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
37187         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
37188         [__NR_vfork]: Make code unconditional.
37189         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
37190         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
37191
37192 2012-08-01  Roland McGrath  <roland@hack.frob.com>
37193
37194         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
37195         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
37196
37197         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
37198         Define mkstemp64 as an alias.
37199         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
37200         Define mkstemps64 as an alias.
37201         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
37202         Define mkostemp64 as an alias.
37203         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
37204         Define mkostemps64 as an alias.
37205         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
37206         Conditionalize body on this.
37207         * misc/mkostemp64.c: Likewise.
37208         * misc/mkostemps64.c: Likewise.
37209         * misc/mkstemps64.c: Likewise.
37210         * sysdeps/wordsize-64/mkstemp64.c: File removed.
37211         * sysdeps/wordsize-64/mkostemp64.c: File removed.
37212         * sysdeps/wordsize-64/mkostemp.c: File removed.
37213         * sysdeps/wordsize-64/mkstemp.c: File removed.
37214         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
37215         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
37216         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
37217         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
37218
37219         [BZ #14138]
37220         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
37221         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
37222         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
37223         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
37224
37225         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
37226         compat_symbol macros from <shlib-compat.h> rather than the underlying
37227         default_symbol_version and symbol_version macros, so that DEFAULT
37228         lines in shlib-versions are respected.
37229         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
37230
37231 2012-08-01  Florian Weimer  <fweimer@redhat.com>
37232
37233         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
37234         Declare with warn_unused_result.
37235         (setgid, setregid, setegid, setresgid): Likewise.
37236         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
37237         Likewise.
37238         * WUR-REPORT: Remove set*id functions.
37239
37240 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
37241
37242         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
37243
37244 2012-07-31  Roland McGrath  <roland@hack.frob.com>
37245
37246         [BZ #10191]
37247         * include/sys/socket.h (__libc_accept, __libc_accept4):
37248         Add attribute_hidden.
37249         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
37250
37251         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
37252         use of PTR_MANGLE.
37253         * inet/getnetgrent_r.c (setup): Likewise.
37254
37255         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
37256
37257 2012-07-31  David S. Miller  <davem@davemloft.net>
37258
37259         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37260
37261 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
37262
37263         [BZ #13629]
37264         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
37265         value between 1.0 and 2.0 and smaller part has absolute value less
37266         than 1.0.
37267         * math/s_clog10.c (__clog10): Likewise.
37268         * math/s_clog10f.c (__clog10f): Likewise.
37269         * math/s_clog10l.c (__clog10l): Likewise.
37270         * math/s_clogf.c (__clogf): Likewise.
37271         * math/s_clogl.c (__clogl): Likewise.
37272         * math/libm-test.inc (clog_test): Add more tests.
37273         (clog10_test): Likewise.
37274         * sysdeps/i386/fpu/libm-test-ulps: Update.
37275         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37276
37277 2012-07-31  Florian Weimer  <fweimer@redhat.com>
37278
37279         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
37280         Exit with zero in case no suitable GID is found, and write a
37281         message to standard error.
37282
37283 2012-07-30  Roland McGrath  <roland@hack.frob.com>
37284
37285         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
37286         rather than to 1.
37287         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
37288         (MAXPATHLEN): Removed.
37289         (NOGROUP, NODEV): New macros.
37290         (setbit, clrbit, isset, isclr): New macros.
37291         (howmany, roundup, powerof2): New macros.
37292         (DEV_BSIZE): New macro.
37293
37294         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
37295         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
37296
37297         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
37298         definition on [!__NO_LONG_DOUBLE_MATH].
37299
37300         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
37301         PTR_MANGLE and PTR_DEMANGLE.
37302
37303         * socket/accept4.c (accept4): Rename to __libc_accept4.
37304         Define accept4 as a weak alias.
37305
37306         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
37307         on [_DIRENT_HAVE_D_TYPE].
37308         * io/ftw.c (ftw_dir): Likewise.
37309
37310         * io/xmknod.c (__xmknod): Don't check PATH for being null.
37311
37312         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
37313
37314         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
37315         Use the BSD numbers rather than the arbitrary ones we had.
37316         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
37317         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
37318         (SIGXCPU, SIGXFSZ): New macros.
37319         (_NSIG): Now 32.
37320
37321         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
37322         initializer on [_LIBC_REENTRANT].
37323
37324         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
37325         definitions inside [_POSIX_MAPPED_FILES].
37326
37327         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
37328
37329         * dirent/opendir.c: Include <fcntl.h>.
37330
37331         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
37332         (__libc_getspecific): Likewise.
37333         (__libc_key_create): Likewise.
37334
37335         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
37336         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
37337         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
37338         (tmpfile64): Define as alias.
37339         * sysdeps/wordsize-64/tmpfile.c: File removed.
37340         * sysdeps/wordsize-64/tmpfile64.c: File removed.
37341         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
37342         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
37343
37344         * stdio-common/vfscanf.c: Include <stdbool.h>.
37345         * nss/makedb.c: Likewise.
37346         * stdio-common/_i18n_number.h: Likewise.
37347         * argp/argp-help.c: Likewise.
37348         * posix/wordexp.c: Likewise.
37349         * sysdeps/posix/spawni.c: Likewise.
37350         * nss/nss_files/files-initgroups.c: Likewise.
37351         * stdio-common/reg-modifier.c: Include <stdlib.h>.
37352         * nss/nss_files/files-initgroups.c: Likewise.
37353         * nss/nss_db/db-netgrp.c: Likewise.
37354         * nss/nss_db/db-initgroups.c: Likewise.
37355         * io/fchmodat.c: Include <sys/stat.h>.
37356
37357         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
37358         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
37359
37360         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
37361         [HAVE_MMAP].
37362
37363         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
37364         Add multiple inclusion protection.
37365
37366 2012-07-27  David S. Miller  <davem@davemloft.net>
37367
37368         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37369
37370 2012-07-27  Gary Benson  <gbenson@redhat.com>
37371
37372         [BZ #14298]
37373         * elf/rtld.c: Include <stap-probe.h>.
37374         (dl_main): Added static probes "init_start" and "init_complete".
37375         * elf/dl-load.c: Include <stap-probe.h>.
37376         (lose): Take new parameter "nsid".
37377         Added static probe "map_failed".
37378         (_dl_map_object_from_fd): Pass namespace id to lose.
37379         Added static probe "map_start".
37380         (open_verify): Pass namespace id to lose.
37381         * elf/dl-open.c: Include <stap-probe.h>.
37382         (dl_open_worker) Added static probes "map_complete", "reloc_start"
37383         and "reloc_complete".
37384         * elf/dl-close.c: Include <stap-probe.h>.
37385         (_dl_close_worker): Added static probes "unmap_start" and
37386         "unmap_complete".
37387         * elf/rtld-debugger-interface.txt: New file documenting the above.
37388
37389 2012-07-26  Roland McGrath  <roland@hack.frob.com>
37390
37391         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
37392         rather than a string variable.
37393         * sunrpc/rpc_main.c (h_output): Likewise.
37394         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
37395
37396 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
37397
37398         * inet/check_native.c: New file.
37399
37400 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
37401
37402         [BZ #13629]
37403         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
37404         if larger part has absolute value 1.0.
37405         * math/s_clog10.c (__clog10): Likewise.
37406         * math/s_clog10f.c (__clog10f): Likewise.
37407         * math/s_clog10l.c (__clog10l): Likewise.
37408         * math/s_clogf.c (__clogf): Likewise.
37409         * math/s_clogl.c (__clogl): Likewise.
37410         * math/libm-test.inc (clog_test): Add more tests.
37411         (clog10_test): Likewise.
37412         * sysdeps/i386/fpu/libm-test-ulps: Update.
37413         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37414
37415         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
37416         (pltexit): Likewise.
37417         (La_regs): Likewise.
37418         (La_retval): Likewise.
37419         (int_retval): Likewise.
37420         Update #error for removed macros to refer only to definitions in
37421         tst-audit.h.
37422         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
37423         macro.
37424         (pltexit): Likewise.
37425         (La_regs): Likewise.
37426         (La_retval): Likewise.
37427         (int_retval): Likewise.
37428         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
37429         macro.
37430         (pltexit): Likewise.
37431         (La_regs): Likewise.
37432         (La_retval): Likewise.
37433         (int_retval): Likewise.
37434         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
37435         macro.
37436         (pltexit): Likewise.
37437         (La_regs): Likewise.
37438         (La_retval): Likewise.
37439         (int_retval): Likewise.
37440         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
37441         macro.
37442         (pltexit): Likewise.
37443         (La_regs): Likewise.
37444         (La_retval): Likewise.
37445         (int_retval): Likewise.
37446         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
37447         macro.
37448         (pltexit): Likewise.
37449         (La_regs): Likewise.
37450         (La_retval): Likewise.
37451         (int_retval): Likewise.
37452         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
37453         macro.
37454         (pltexit): Likewise.
37455         (La_regs): Likewise.
37456         (La_retval): Likewise.
37457         (int_retval): Likewise.
37458         * sysdeps/generic/tst-audit.h: Update comment to refer only to
37459         macro definitions in tst-audit.h.
37460         * sysdeps/i386/tst-audit.h: New file.
37461         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
37462         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
37463         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
37464         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
37465         * sysdeps/sh/tst-audit.h: Likewise.
37466         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
37467         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
37468         * sysdeps/x86_64/tst-audit.h: Likewise.
37469
37470 2012-07-26  Andreas Jaeger  <aj@suse.de>
37471
37472         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
37473         ptrace.
37474
37475         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
37476         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
37477         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
37478         PTRACE_O_MASK.
37479         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
37480         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
37481         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
37482
37483         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
37484         value.
37485
37486         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
37487         _sigsys.
37488         (si_call_addr, si_syscall, si_arch): Define new macro.
37489         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
37490         _sigsys.
37491         (si_call_addr, si_syscall, si_arch): Define new marcro.
37492         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
37493         _sigsys.
37494         (si_call_addr, si_syscall, si_arch): Define new macro.
37495         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
37496         _sigsys.
37497         (si_call_addr, si_syscall, si_arch): Define new macro.
37498
37499 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
37500
37501         [BZ #13717]
37502         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
37503         Change to 2.4.21 where previously 2.4.1.
37504         * sysdeps/unix/sysv/linux/configure: Regenerated.
37505         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
37506         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
37507         Linux kernel version.
37508         (__ASSUME_STD_AUXV): Remove.
37509         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
37510         kernel version.
37511         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
37512         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
37513         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
37514         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
37515         (__ASSUME_NETLINK_SUPPORT): Likewise.
37516         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
37517         (__no_netlink_support): Remove conditional definition.
37518         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
37519         Remove.
37520         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
37521         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
37522         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
37523         (if_nameindex_ioctl): Remove.
37524         (if_nameindex_netlink): Do not handle __no_netlink_support.
37525         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
37526         code.
37527         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
37528         Remove conditional code.
37529         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
37530         code.
37531         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
37532         unconditional.
37533         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
37534         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
37535         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
37536         Remove.
37537         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
37538         [!__ASSUME_STD_AUXV]: Remove conditional code.
37539         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
37540         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
37541         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
37542         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
37543         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
37544         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
37545         code.
37546         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
37547         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
37548         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
37549         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
37550         conditional code.
37551         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
37552         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
37553         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
37554         code.
37555         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
37556         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
37557         conditional code.
37558         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
37559         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
37560         code unconditional.
37561         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
37562         conditional code.
37563         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
37564         unconditional.
37565         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
37566         conditional code.
37567         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
37568         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
37569         unconditional.
37570         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
37571         conditional code.
37572         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
37573         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
37574         code unconditional.
37575         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
37576         conditional code.
37577         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
37578         unconditional.
37579         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
37580         conditional code.
37581         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
37582         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
37583         code unconditional.
37584         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
37585         conditional code.
37586         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
37587         unconditional.
37588         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
37589         conditional code.
37590
37591 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
37592
37593         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
37594         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
37595         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
37596         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
37597         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
37598         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
37599         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
37600         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
37601         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
37602         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
37603         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
37604         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
37605         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
37606         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
37607         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
37608         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
37609         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
37610         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
37611         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
37612         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
37613         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
37614         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
37615         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
37616
37617 2012-07-25  Florian Weimer  <fweimer@redhat.com>
37618
37619         * Versions.def: Add GLIBC_2.17.
37620         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
37621         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
37622         Introduce __libc_secure_getenv.
37623         * stdlib/Versions (2.17): Add secure_getenv
37624         (GLIBC_PRIVATE): Add __libc_secure_getenv.
37625         * stdlib/secure-getenv.c: Rename __secure_getenv to
37626         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
37627         symbol __secure_getenv for GLIBC_2.0.
37628         * stdlib/tst-secure-getenv.c: New.
37629         * stdlib/Makefile (tests): Add testcase.
37630         * manual/startup.texi (Environment Access): Document
37631         secure_getenv.
37632         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
37633         __libc_secure_getenv.
37634         * inet/ruserpass.c (ruserpass): Likewise.
37635         * malloc/mtrace.c (mtrace): Likewise.
37636         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
37637         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
37638         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
37639         * sysdeps/posix/tempname.c: Likewise.  Evaluate
37640         HAVE_SECURE_GETENV.
37641         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
37642         __secure_getenv to __libc_secure_getenv.
37643         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
37644         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
37645         Likewise.
37646         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
37647         Likewise.
37648         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
37649         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
37650         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
37651         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
37652         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
37653         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
37654         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
37655
37656 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
37657
37658         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
37659         (struct La_i86_retval): Likewise.
37660         (struct La_x86_64_regs): Likewise.
37661         (struct La_x86_64_retval): Likewise.
37662         (struct La_x32_regs): Likewise.
37663         (struct La_x32_retval): Likewise.
37664         (struct La_ppc32_regs): Likewise.
37665         (struct La_ppc32_retval): Likewise.
37666         (struct La_ppc64_regs): Likewise.
37667         (struct La_ppc64_retval): Likewise.
37668         (struct La_sh_regs): Likewise.
37669         (struct La_sh_retval): Likewise.
37670         (struct La_s390_32_regs): Likewise.
37671         (struct La_s390_32_retval): Likewise.
37672         (struct La_s390_64_regs): Likewise.
37673         (struct La_s390_64_retval): Likewise.
37674         (struct La_sparc32_regs): Likewise.
37675         (struct La_sparc32_retval): Likewise.
37676         (struct La_sparc64_regs): Likewise.
37677         (struct La_sparc64_retval): Likewise.
37678         (struct audit_ifaces): Remove architecture-specific pltenter and
37679         pltexit members.
37680         * sysdeps/i386/ldsodefs.h: New file.
37681         * sysdeps/powerpc/ldsodefs.h: Likewise.
37682         * sysdeps/s390/ldsodefs.h: Likewise.
37683         * sysdeps/sh/ldsodefs.h: Likewise.
37684         * sysdeps/sparc/ldsodefs.h: Likewise.
37685         * sysdeps/x86_64/ldsodefs.h: Likewise.
37686
37687 2012-07-25  Marek Polacek  <polacek@redhat.com>
37688
37689         [BZ #6808]
37690         * math/libm-test.inc (yn_test): Add another test.
37691         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
37692         to ERANGE when the result is +-Inf.
37693         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
37694         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
37695         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
37696         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
37697
37698 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
37699
37700         * conform/data/time.h-data (NULL): Use macro-constant.  Require
37701         equal to 0.
37702         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
37703         clock_t.
37704         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
37705
37706 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
37707
37708         * configure.in <sysdeps resolving>: Correct printing
37709         Implies_before.
37710         * configure: Regenerate.
37711
37712 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
37713
37714         * math/w_ilogb.c: Include <limits.h>.
37715         * math/w_ilogbl.c: Likewise.
37716
37717 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
37718
37719         * manual/lang.texi (__va_copy): Document primarily as ISO C99
37720         va_copy.  Document allowing for unavailable va_copy only as
37721         pre-C99 compatibility.
37722         * manual/string.texi (Copying and Concatenation): Use va_copy
37723         instead of __va_copy in concat example.
37724
37725 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
37726
37727         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
37728         (__sendto): Use create_address_port.  Initialize APORT and deallocate
37729         it if not null.
37730
37731         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
37732         with O_NOLINK passed to __file_name_lookup.
37733
37734         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
37735         with O_NOLINK passed to __file_name_lookup.
37736
37737         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
37738         negative N or less than NGIDS.
37739
37740         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
37741         type to string_t.  Set ERANGE as errno and return it if NAME is not big
37742         enough.  Use memcpy instead of strncpy.
37743
37744 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
37745
37746         * elf/Makefile (check-data): Remove.
37747         (localplt.data): New vpath directive.
37748         ($(objpfx)check-localplt.out): Use localplt.data from vpath
37749         instead of $(check-data).
37750         * scripts/data/localplt-generic.data: Move to ...
37751         * sysdeps/generic/localplt.data: ... here.
37752         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
37753         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
37754         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
37755         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
37756         ... here.
37757         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
37758         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
37759         ... here.
37760         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
37761         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
37762         ... here.
37763         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
37764         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
37765         ... here.
37766         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
37767         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
37768         ... here.
37769         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
37770         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
37771         ... here.
37772
37773 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37774
37775         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
37776         PPC32 and PPC64 files.
37777         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
37778         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
37779
37780 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37781
37782         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
37783         __makecontext_ret to ...
37784         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
37785         ... here and call exit if uc_link is NULL.  New file.
37786         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
37787         __makecontext_ret.S.
37788         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
37789         __makecontext_ret to ...
37790         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
37791         ... here and call exit if uc_link is NULL.  New file.
37792         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
37793         __makecontext_ret.S.
37794
37795 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37796
37797         * elf/elf.h (R_390_IRELATIVE): New definition.
37798         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
37799         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
37800         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
37801         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
37802         (elf_machine_lazy_rel): Likewise.
37803         * sysdeps/s390/dl-irel.h: New file.
37804         * sysdeps/s390/s390-64/memcpy.S: New asm code.
37805         * sysdeps/s390/s390-64/memset.S: New asm code.
37806         * sysdeps/s390/s390-64/memcmp.S: New asm code.
37807         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
37808         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
37809         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
37810         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
37811         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
37812         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
37813         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
37814         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
37815         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
37816         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
37817         * sysdeps/s390/s390-32/memcpy.S: New asm code.
37818         * sysdeps/s390/s390-32/memset.S: New asm code.
37819         * sysdeps/s390/s390-32/memcmp.S: New asm code.
37820
37821 2012-07-17  Marek Polacek  <polacek@redhat.com>
37822
37823         [BZ #14349]
37824         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
37825         * sysdeps/s390/s390-64/configure.in: Likewise.
37826         * sysdeps/sparc/configure.in: Likewise.
37827         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
37828         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
37829         * sysdeps/i386/configure.in: Likewise.
37830         * sysdeps/x86_64/configure.in: Likewise.
37831         * sysdeps/sh/configure.in: Likewise.
37832         * sysdeps/s390/s390-32/configure: Regenerated.
37833         * sysdeps/s390/s390-64/configure: Likewise.
37834         * sysdeps/x86_64/configure: Likewise.
37835         * sysdeps/sh/configure: Likewise.
37836         * sysdeps/powerpc/powerpc64/configure: Likewise.
37837         * sysdeps/powerpc/powerpc32/configure: Likewise.
37838         * sysdeps/sparc/configure: Likwise.
37839         * sysdeps/i386/configure: Likewise.
37840
37841         * elf/dl-open.c: Comment fixes.
37842
37843 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
37844
37845         * Makefile [CXX] (check-data): Remove.
37846         [CXX] (c++-types.data): New vpath directive.
37847         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
37848         vpath.  Do not allow for C++ type data being missing.
37849         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
37850         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
37851         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
37852         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
37853         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
37854         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
37855         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
37856         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
37857         ... here.
37858         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
37859         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
37860         ... here.
37861         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
37862         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
37863         ... here.
37864         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
37865         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
37866         ... here.
37867         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
37868         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
37869         ... here.
37870         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
37871         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
37872         ... here.
37873         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
37874         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
37875         ... here.
37876         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
37877         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
37878
37879         * elf/tls-macros.h (TLS_LE): Move architecture-specific
37880         definitions to architecture-specific files.
37881         (TLS_IE): Likewise.
37882         (TLS_LD): Likewise.
37883         (TLS_GD): Likewise.
37884         * sysdeps/i386/tls-macros.h: New file.
37885         * sysdeps/powerpc/tls-macros.h: Likewise.
37886         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
37887         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
37888         * sysdeps/sh/tls-macros.h: Likewise.
37889         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
37890         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
37891         * sysdeps/x86_64/tls-macros.h: Likewise.
37892
37893 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
37894
37895         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
37896         zero value for regular exit case.
37897
37898         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
37899         (__start_context): Preserve zero value for regular exit case.
37900
37901 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
37902             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37903
37904         * manual/setjmp.texi (setcontext): Clarify normal process
37905         termination when uc_link is the null pointer.
37906         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
37907         exit call.
37908
37909 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
37910
37911         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
37912         preprocessor.  Test for each exception mask separately.
37913
37914 2012-07-16  Andreas Jaeger  <aj@suse.de>
37915
37916         * po/ru.po: Update from translation team.
37917
37918 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
37919
37920         * conform/data/string.h-data (NULL): Use macro-constant.  Require
37921         equal to 0.
37922         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
37923         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
37924         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
37925         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
37926         [ISO || ISO99 || ISO11] (*_t): Do not allow.
37927
37928 2012-07-13  Andreas Jaeger  <aj@suse.de>
37929
37930         * po/fr.po: Update from translation team.
37931
37932 2012-07-12  Marek Polacek  <polacek@redhat.com>
37933
37934         [BZ #14173]
37935         * math/libm-test.inc (yn_test): Add test for BZ #14173.
37936         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
37937         loop condition.
37938
37939 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
37940
37941         [BZ #13717]
37942         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
37943         Change to 2.4.1 where previously 2.4.0.
37944         * sysdeps/unix/sysv/linux/configure: Regenerated.
37945         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
37946         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
37947         version.
37948         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
37949         (__ASSUME_AT_CLKTCK): Remove.
37950         (__ASSUME_AT_PAGESIZE): Likewise.
37951         (__ASSUME_AT_XID): Likewise.
37952         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
37953         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
37954         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
37955         unconditionally.
37956         (HAVE_AUX_PAGESIZE): Likewise.
37957         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
37958         [__ASSUME_AT_CLKTCK]: Make code unconditional.
37959         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
37960
37961 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
37962
37963         [BZ #14307]
37964         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
37965         the temporary buffer used to invoke __gethostbyname2_r,
37966         __gethostbyaddr_r and gethostbyname4_r to make room for struct
37967         host_data / struct gaih_addrtuple.
37968         * resolv/nss_dns/dns-host.c (global scope): Move definition of
37969         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
37970         header file nss/nsswitch.h.
37971         * nss/nsswitch.h (global scope): Add definition of implementation
37972         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
37973         resolv/nss_dns/dns-host.c).
37974
37975 2012-07-11  Andreas Jaeger  <aj@suse.de>
37976
37977         * po/fr.po: Update from translation team.
37978
37979         * po/sv.po: Update from translation team
37980         * po/fr.po: Another update from translation team.
37981
37982 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37983
37984         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
37985         for subnormals or multiply small sinh result by itself.
37986         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
37987         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37988
37989 2012-07-11  David S. Miller  <davem@davemloft.net>
37990
37991         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37992
37993 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
37994
37995         [BZ #14347]
37996         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
37997         (INTERNAL_MARK): Shift it here.
37998
37999 2012-07-10  Marek Polacek  <polacek@redhat.com>
38000
38001         [BZ #14151]
38002         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
38003         libc_cv_asm_global_directive with .globl.
38004         * configure: Regenerated.
38005         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
38006         with .globl.
38007         * sysdeps/i386/configure: Regenerated.
38008         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
38009         with .globl.
38010         * sysdeps/x86_64/configure: Regenerated.
38011         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
38012         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
38013         * elf/tst-unique2mod2.c: Likewise.
38014         * elf/tst-unique2mod1.c: Likewise.
38015         * elf/tst-unique1mod2.c: Likewise.
38016         * elf/tst-unique1mod1.c: Likewise.
38017         * sysdeps/s390/s390-32/sysdep.h: Likewise.
38018         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
38019         * sysdeps/s390/s390-64/sysdep.h: Likewise.
38020         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
38021         * sysdeps/mach/sysdep.h: Likewise.
38022         * sysdeps/i386/sysdep.h: Likewise.
38023         * sysdeps/i386/i386-mcount.S: Likewise.
38024         * sysdeps/x86_64/_mcount.S: Likewise.
38025         * sysdeps/x86_64/sysdep.h: Likewise.
38026         * sysdeps/sh/_mcount.S: Likewise.
38027         * sysdeps/sh/sysdep.h: Likewise.
38028         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
38029         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
38030         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
38031         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
38032         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
38033         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
38034         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
38035         * locale/localeinfo.h: Likewise.
38036         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
38037         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
38038
38039 2012-07-09  Roland McGrath  <roland@hack.frob.com>
38040
38041         [BZ #14336]
38042         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
38043         system".
38044         * manual/message.texi (The Uniforum approach): Likewise.
38045         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
38046         (glibc iconv Implementation): Likewise.
38047
38048 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
38049
38050         [BZ #14337]
38051         * math/s_clog.c (__clog): Avoid scaling a value down where that
38052         could result in underflow.
38053         * math/s_clog10.c (__clog10): Likewise.
38054         * math/s_clog10f.c (__clog10f): Likewise.
38055         * math/s_clog10l.c (__clog10l): Likewise.
38056         * math/s_clogf.c (__clogf): Likewise.
38057         * math/s_clogl.c (__clogl): Likewise.
38058         * math/libm-test.inc (clog_test): Add more tests.
38059         (clog10_test): Likewise.
38060         * sysdeps/i386/fpu/libm-test-ulps: Update.
38061         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38062
38063 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
38064
38065         [BZ #14283]
38066         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
38067         by 7 not 8 to examine high bit of fractional part.
38068
38069         [BZ #14042]
38070         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
38071         for call to __mcount_internal.
38072         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
38073         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
38074         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
38075
38076 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
38077
38078         [BZ #14154]
38079         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
38080         approximation for values within 0x1p-13f of an odd multiple of
38081         pi/4.
38082         * math/libm-test.inc (tan_test): Do not allow spurious underflow
38083         exception.  Add more tests.
38084         * sysdeps/i386/fpu/libm-test-ulps: Update.
38085
38086         [BZ #6778]
38087         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
38088         inputs and return -1 for them.  Do not check for +Inf in case not
38089         reachable for +Inf.
38090         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
38091         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
38092         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
38093         and return -1 for them.  Do not check for +Inf in case not
38094         reachable for +Inf.
38095         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
38096         define.
38097         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
38098         and return -1 for them.  Do not check for +Inf in case not
38099         reachable for +Inf.
38100         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
38101         spurious underflow.
38102         * sysdeps/i386/fpu/libm-test-ulps: Update.
38103         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38104
38105 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
38106
38107         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
38108
38109 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
38110
38111         [BZ #14157]
38112         [BZ #14331]
38113         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
38114         could result in spurious underflow.  Scale down values above
38115         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
38116         * math/s_csqrtf.c (__csqrtf): Likewise.
38117         * math/s_csqrtl.c (__csqrtl): Likewise.
38118         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
38119         spurious underflow.
38120         * sysdeps/i386/fpu/libm-test-ulps: Update.
38121         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38122
38123 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
38124
38125         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
38126         xopen-msg.sed.
38127         * catgets/xopen-msg.awk: New file.
38128         * catgets/xopen-msg.sed: Removed.
38129
38130         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
38131         po2text.sed.
38132         * intl/po2test.awk: New file.
38133         * intl/po2test.sed: Removed.
38134
38135 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
38136
38137         [BZ #14328]
38138         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
38139         or multiply small sinh result by itself.
38140         * math/s_ctanf.c (__ctanf): Likewise.
38141         * math/s_ctanh.c (__ctanh): Likewise.
38142         * math/s_ctanhf.c (__ctanhf): Likewise.
38143         * math/s_ctanhl.c (__ctanhl): Likewise.
38144         * math/s_ctanl.c (__ctanl): Likewise.
38145         * math/libm-test.inc (ctan_test_tonearest): New function.
38146         (ctan_test_towardzero): Likewise.
38147         (ctan_test_downward): Likewise.
38148         (ctan_test_upward): Likewise.
38149         (ctanh_test_tonearest): Likewise.
38150         (ctanh_test_towardzero): Likewise.
38151         (ctanh_test_downward): Likewise.
38152         (ctanh_test_upward): Likewise.
38153         (main): Call these new functions.
38154         * sysdeps/i386/fpu/libm-test-ulps: Update.
38155         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38156
38157 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
38158
38159         * .gitignore: Delete /ports entry.
38160
38161 2012-07-03  Andreas Jaeger  <aj@suse.de>
38162
38163         * po/bg.po: Update from translation team.
38164         * po/cs.po: Likewise.
38165         * po/de.po: Likewise.
38166         * po/hr.po: Likewise.
38167         * po/nl.pl: Likewise.
38168         * po/pl.po: Likewise.
38169         * po/vi.po: Likewise.
38170
38171 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
38172
38173         * Makeconfig [!+link] (+link-before-libc): New variable.
38174         [!+link] (+link-after-libc): Likewise.
38175         [!+link] (+link-tests): Likewise.
38176         [!+link] (+link): Define in terms of $(+link-before-libc) and
38177         $(+link-after-libc).
38178         [!+link-static] (+link-static-before-libc): New variable.
38179         [!+link-static] (+link-static-after-libc): Likewise.
38180         [!+link-static] (+link-static-tests): Likewise.
38181         [!+link-static] (+link-static): Define in terms of
38182         $(+link-static-before-libc) and $(+link-static-after-libc).
38183         [build-shared] (link-libc-before-gnulib): New variable.
38184         [build-shared] (link-libc-tests): Likewise.
38185         [build-shared] (link-libc): Define in terms of
38186         $(link-libc-before-gnulib).
38187         [!build-shared] (link-libc-tests): New variable.
38188         (link-libc-static-tests): New variable.
38189         [!gnulib] (gnulib-arch): New variable.
38190         [!gnulib] (gnulib-tests): Likewise.
38191         [!gnulib] (static-gnulib-arch): Likewise.
38192         [!gnulib] (static-gnulib-tests): Likewise.
38193         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
38194         Define with "=" instead of ":=".
38195         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
38196         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
38197         * Rules (binaries-all-notests): New variable.
38198         (binaries-all-tests): Likewise.
38199         (binaries-static-notests): Likewise.
38200         (binaries-static-tests): Likewise.
38201         (binaries-all): Define using $(binaries-all-notests) and
38202         $(binaries-all-tests).
38203         (binaries-static): Define using $(binaries-static-notests) and
38204         $(binaries-static-tests).
38205         (binaries-shared-tests): New variable.
38206         (binaries-shared-notests): Likewise.
38207         (binaries-shared): Remove variable.
38208         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
38209         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
38210         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
38211         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
38212         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
38213         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
38214         * elf/Makefile (sln-modules): New variable.
38215         (extra-objs): Add $(sln-modules:=.o).
38216         (ldconfig-modules): Add static-stubs.
38217         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
38218         * elf/static-stubs.c: New file.
38219
38220         [BZ #14283]
38221         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
38222         by 7 not 8 to examine high bit of fractional part.  Use volatile
38223         variables when splitting into final array of floats if
38224         __FLT_EVAL_METHOD__ != 0.
38225         * math/libm-test.inc (cos_test): Add another test.
38226         (sin_test): Likewise.
38227         * sysdeps/i386/fpu/libm-test-ulps: Update.
38228
38229         [BZ #14273]
38230         * math/libm-test.inc (cosh_test): Add more tests.
38231
38232         * version.h (RELEASE): Set to "development".
38233         (VERSION): Set to "2.16.90".
38234
38235 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
38236
38237         * NEWS: Update copyright. Remove last-updated date.
38238         Mention math library bug fixes and timezone data changes.
38239         * README: Mention GNU/Hurd, x32, and HPPA support status.
38240
38241 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
38242
38243         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
38244
38245 2012-06-27  Andreas Jaeger  <aj@suse.de>
38246
38247         * manual/contrib.texi (Contributors): Add Samuel Thibault.
38248
38249 2012-06-25  Andreas Jaeger  <aj@suse.de>
38250
38251         * sysdeps/s390/fpu/libm-test-ulps: Update.
38252
38253 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
38254             Thomas Schwinge  <thomas@codesourcery.com>
38255
38256         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
38257         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
38258         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
38259         fanotify_mark.
38260
38261 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
38262
38263         * sysdeps/mach/start.c: Remove file.
38264         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
38265         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
38266         * sysdeps/sh/init-first.c: Likewise.
38267
38268         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
38269         registers for frame unwinding purposes, add CFI directives.
38270         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
38271         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
38272         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
38273         Likewise.
38274
38275         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
38276         __fortify_fail returning.
38277         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
38278
38279         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
38280         sysdeps/sh/____longjmp_chk.S.
38281         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
38282         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
38283         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
38284         (gen-as-const-headers): Append sigaltstack-offsets.sym.
38285
38286         * sysdeps/sh/abort-instr.h: New file.
38287         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
38288         process in case exit returns.
38289
38290         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
38291         initialize the GOT register before use.
38292
38293         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
38294         calculation of ARGC > 4.
38295
38296         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
38297         meaningful names to some local labels.
38298
38299 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
38300             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
38301
38302         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
38303         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
38304         (__arch_compare_and_exchange_val_16_acq): Likewise.
38305         (__arch_compare_and_exchange_val_32_acq): Likewise.
38306         (atomic_exchange_and_add): Fix gUSA sequence.
38307         (atomic_add): Likewise.
38308         (atomic_add_negative): Likewise.
38309         (atomic_add_zero): Likewise.
38310         (atomic_bit_test_set): Likewise.
38311
38312 2012-06-22  Andreas Schwab  <schwab@redhat.com>
38313
38314         [BZ #13579]
38315         * include/link.h (struct link_map): Add l_free_initfini.
38316         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
38317         l_initfini.
38318         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
38319         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
38320         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
38321         set.
38322
38323 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
38324
38325         * configure.in: Use AC_LANG_SOURCE.
38326         * configure: Regenerate.
38327
38328 2012-06-22  Roland McGrath  <roland@hack.frob.com>
38329
38330         * configure.in (libc_cv_localstatedir): New substituted variable.
38331         * configure: Regenerated.
38332         * config.make.in (localstatedir): New variable, substituted from
38333         libc_cv_localstatedir.
38334         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
38335         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
38336         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
38337         * sysdeps/gnu/configure: Regenerated.
38338
38339 2012-06-21  Jeff Law  <law@redhat.com>
38340
38341         [BZ #14277]
38342         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
38343         free.  Simplify list management for _LIBC case.
38344
38345 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
38346
38347         [BZ #14273]
38348         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
38349         Clear sign bit of 64-bit integer value before comparing against
38350         overflow value.
38351
38352         * sysdeps/mach/configure: Regenerated.
38353
38354 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
38355
38356         [BZ #14278]
38357         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
38358
38359 2012-06-21  Jeff Law  <law@redhat.com>
38360
38361         [BZ #13882]
38362         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
38363         uint16_t for elements in the "seen" array to avoid char overflows.
38364         * elf/dl-fini.c (_dl_sort_fini): Likewise.
38365         * elf/dl-open.c (dl_open_worker): Likewise.
38366
38367 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
38368
38369         * scripts/list-sources.sh: Scan PORTS for translations.
38370         * po/libc.pot: Regenerated.
38371
38372 2012-06-21  Andreas Jaeger  <aj@suse.de>
38373
38374         [BZ #12194]
38375         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
38376         warning.
38377         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
38378         * bits/byteswap-16.h (__bswap_16): Likewise.
38379         * bits/byteswap.h (__bswap_constant_16): Likewise.
38380
38381 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
38382
38383         [BZ #14117]
38384         * sysdeps/i386/fpu_control.h: Removed.
38385         * sysdeps/x86_64/fpu_control.h: Moved to ...
38386         * sysdeps/x86/fpu_control.h: Here.
38387
38388         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
38389         (_FPU_SETCW): Likewise.
38390
38391 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
38392
38393         [BZ #14117]
38394         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
38395         * sysdeps/x86/fpu/bits/mathinline.h: This.
38396         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
38397
38398         [BZ #14050]
38399         [BZ #14117]
38400         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
38401         functions if __x86_64__ is defined.
38402
38403 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
38404
38405         * string/endian.h: Add !__ASSEMBLER__ condition for including
38406         conversion interfaces.
38407
38408 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
38409
38410         [BZ #14241]
38411         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
38412         of ABS(x) in calculating zero to negative powers other than odd
38413         integers.
38414         * math/libm-test.inc (pow_test): Add more tests.
38415
38416 2012-06-15  Andreas Jaeger  <aj@suse.de>
38417
38418         * manual/contrib.texi (Contributors): Update entry of Liubov
38419         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
38420         Machado Filho.
38421
38422 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
38423
38424         * string/string.h: Add __wur to GNU version of strerror_r.
38425
38426 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
38427
38428         [BZ #14229]
38429         * string/Makefile (tests): Add tst-strtok_r.
38430         * string/tst-strtok_r.c: New file.
38431         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
38432         RAX_LP/RDX_LP on SAVE_PTR.
38433
38434 2012-06-14  Roland McGrath  <roland@hack.frob.com>
38435
38436         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
38437
38438 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
38439
38440         * libm_test.inc (csqrt_test): Allow more spurious underflow
38441         exceptions.
38442         (j0_test): Likewise.
38443         (j1_test): Likewise.
38444         (y0_test): Likewise.
38445         (y1_test): Likewise.
38446
38447 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
38448
38449         * po/Makefile (libc.pot): Use UTF-8 charset.
38450
38451 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
38452
38453         [BZ #14210]
38454         Suppress sign-conversion warning from FD_SET.
38455         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
38456         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
38457         not unsigned long int.
38458         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
38459
38460 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
38461
38462         [BZ #14050]
38463         [BZ #14117]
38464         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
38465         __extern_always_inline instead of __extern_inline.
38466         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
38467         (__signbit): Likewise.
38468         (__signbitl): Support C++ namespace.
38469         (lrintf): New inline function.
38470         (lrint): Likewise.
38471         (llrintf): Likewise.
38472         (llrint): Likewise.
38473         (fmaxf): Likewise.
38474         (fmax): Likewise.
38475         (fminf): Likewise.
38476         (fmin): Likewise.
38477         (rint): Likewise.
38478         (rintf): Likewise.
38479         (ceil): Likewise.
38480         (ceilf): Likewise.
38481         (floor): Likewise.
38482         (floorf): Likewise.
38483         (nearbyint): Likewise.
38484         (nearbyintf): Likewise.
38485
38486 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
38487
38488         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
38489         non-default versions.
38490
38491 2012-06-11  Roland McGrath  <roland@hack.frob.com>
38492
38493         [BZ #14218]
38494         * manual/argp.texi (Argp): Reword argp_parse description slightly.
38495
38496 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
38497
38498         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
38499         (FE_UPWARD, FE_DOWNWARD): Don't define.
38500         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
38501         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
38502
38503         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
38504         reading it.
38505         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
38506         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
38507
38508 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
38509
38510         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
38511         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
38512         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
38513         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
38514
38515 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
38516
38517         [BZ #14117]
38518         * sysdeps/i386/fpu/bits/fenv.h: Removed.
38519         * sysdeps/i386/fpu/Implies: New file.
38520         * sysdeps/x86_64/fpu/Implies: Likewise.
38521         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
38522         * sysdeps/x86/fpu/bits/fenv.h: This.
38523
38524         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
38525         __SSE_MATH__.
38526
38527 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
38528
38529         [BZ #14134]
38530         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
38531         character 0xffff that matches the last element of the
38532         conversion table.
38533
38534 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38535
38536         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
38537         fmodl commit.
38538
38539 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38540
38541         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
38542         values higher than 25.6283.
38543
38544 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38545
38546         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
38547         subnormal exponent extraction and add some __builtin_expect.
38548         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
38549         Fix for subnormal mantissa calculation.
38550
38551 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
38552
38553         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
38554         cpu2 is -1 and errno is not ENOSYS.
38555
38556 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
38557
38558         [BZ #14117]
38559         * sysdeps/i386/i486/bits/string.h: Renamed to ...
38560         * sysdeps/x86/bits/string.h: This.
38561         * sysdeps/x86_64/bits/string.h: Removed.
38562
38563         * sysdeps/i386/i486/bits/string.h: Define inline functions only
38564         if not compiling for x86-64, but compiling for >= i486.
38565
38566         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
38567         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
38568
38569         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
38570         New macro from Linux kernel 3.4.0.
38571         (FP_XSTATE_MAGIC2): Likewise.
38572         (FP_XSTATE_MAGIC2_SIZE): Likewise.
38573         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
38574         (struct _fpx_sw_bytes): New struct.
38575         (struct _xsave_hdr): Likewise.
38576         (struct _ymmh_state): Likewise.
38577         (struct _xstate): Likewise.
38578
38579         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
38580         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
38581         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
38582         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
38583         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
38584         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
38585
38586         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
38587         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
38588         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
38589         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
38590         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
38591         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
38592
38593 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
38594
38595         [BZ #13743]
38596         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
38597         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
38598         (sysdep_headers): Include sys/platform/ppc.h.
38599         * sysdeps/powerpc/test-gettimebase.c: Test for
38600         __ppc_get_timebase() to catch future ISA opcode/insn changes.
38601         * manual/Makefile (appendices): Include platform.texi.
38602         * manual/contrib.texi (Contributors): Update @node pointers.
38603         * manual/maint.texi (Maintenance): Likewise.
38604         (Platform): New node.
38605         * manual/platform.texi: New file.  Document the new features.
38606
38607 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
38608             Jakub Jelinek  <jakub@redhat.com>
38609
38610         [BZ #14188]
38611         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
38612         where __builtin_expect is unavailable.
38613
38614 2012-06-03  David S. Miller  <davem@davemloft.net>
38615
38616         * stdlib/longlong.h: Updated from GCC.
38617
38618 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
38619
38620         [BZ #14042]
38621         * sysdeps/powerpc/powerpc32/mcount.c: New file.
38622         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
38623         __mcount_internal.
38624         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
38625         (GLIBC_2.16): Likewise.
38626
38627 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
38628
38629         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
38630
38631 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
38632
38633         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
38634         (default-abi): New variable.
38635         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
38636         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
38637         variable.
38638         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
38639         Likewise.
38640         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
38641         Likewise.
38642         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
38643         Likewise.
38644
38645         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
38646         definition.  Document in comment.
38647
38648 2012-06-01  David S. Miller  <davem@davemloft.net>
38649
38650         * stdlib/longlong.h: Updated from GCC.
38651
38652 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
38653
38654         [BZ #14117]
38655         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
38656         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
38657         sys/debugreg.h sys/io.h here.
38658         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
38659         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
38660         sys/io.h.
38661         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
38662         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
38663         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
38664         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
38665         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
38666         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
38667
38668         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
38669         Define only if __x86_64__ is defined.
38670
38671 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
38672
38673         [BZ #14048]
38674         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
38675         Use int64_t for variable i.
38676         * math/libm-test.inc (fmod_test): Add more tests.
38677
38678         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
38679         z computation is not scheduled after fetestexcept.
38680         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
38681         Use math_force_eval instead of asm to ensure calculation scheduled
38682         before exception test.
38683         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
38684         Ensure a1 + u.d computation is not scheduled after fetestexcept.
38685
38686 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
38687
38688         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
38689         computation is not scheduled after fetestexcept.
38690
38691 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
38692
38693         [BZ #14117]
38694         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
38695         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
38696
38697 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38698
38699         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
38700         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
38701
38702 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
38703
38704         [BZ #14117]
38705         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
38706         <bits/wordsize.h>.
38707         (__WCHAR_MIN): Support __WORDSIZE == 64.
38708         (__WCHAR_MAX): Likewise.
38709
38710         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
38711         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
38712
38713         [BZ #14183]
38714         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
38715         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
38716
38717         [BZ #14117]
38718         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
38719         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
38720
38721         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
38722         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
38723
38724         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
38725         Defined to 1 if __x86_64__ isn't defined.
38726         (_STAT_VER_LINUX_OLD): New.
38727         (st_atime): Remove duplicate.
38728         (st_mtime): Likewise.
38729         (st_ctime): Likewise.
38730
38731 2012-05-31  David S. Miller  <davem@davemloft.net>
38732
38733         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
38734         entries.
38735
38736 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
38737
38738         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
38739         gen-libm-test.pl.
38740
38741         [BZ #14132]
38742         * elf/dl-reloc.c: Include <_itoa.h>.
38743         (_dl_reloc_bad_type): Remove use of INTUSE.
38744         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
38745         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
38746         * stdio-common/psiginfo.c (psiginfo): Likewise.
38747         * stdio-common/psignal.c (psignal): Likewise.
38748         * string/strsignal.c (strsignal): Likewise.
38749         * include/signal.h (_sys_siglist): Declare hidden proto.
38750         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
38751         INTVARDEF with libc_hidden_data_def.
38752         * stdio-common/itoa-udigits.c: Likewise.
38753         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
38754         (_itoa_lower_digits_internal): Remove declaration.
38755         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
38756         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
38757         (_sys_sigabbrev_internal): Remove aliases.
38758         (_sys_siglist): Define hidden alias.
38759
38760 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
38761
38762         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38763         bits/sysctl.h.
38764
38765 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
38766
38767         [BZ #14117]
38768         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
38769         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
38770
38771         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
38772         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
38773         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
38774         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
38775         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
38776         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
38777
38778         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
38779         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
38780         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
38781
38782         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
38783         with __addr.
38784         (insw): Likewise.
38785         (insl): Likewise.
38786         (outsb): Likewise.
38787         (outsw): Likewise.
38788         (outsl): Likewise.
38789
38790         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
38791         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
38792         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
38793
38794         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
38795         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
38796         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
38797         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
38798         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
38799         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
38800
38801         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
38802         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
38803
38804         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
38805         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
38806
38807         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
38808         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
38809         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
38810
38811         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
38812         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
38813         to ...
38814         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
38815
38816         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
38817         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
38818         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
38819
38820         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
38821         for x86-64.
38822         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
38823
38824 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
38825
38826         * math/math.h (M_El): Use two more decimal places.
38827         (M_LOG2El): Likewise.
38828         (M_LOG10El): Likewise.
38829         (M_LN2l): Likewise.
38830         (M_LN10l): Likewise.
38831         (M_PIl): Likewise.
38832         (M_PI_2l): Likewise.
38833         (M_PI_4l): Likewise.
38834         (M_1_PIl): Likewise.
38835         (M_2_PIl): Likewise.
38836         (M_2_SQRTPIl): Likewise.
38837         (M_SQRT2l): Likewise.
38838         (M_SQRT1_2l): Likewise.
38839
38840 2012-05-31  David S. Miller  <davem@davemloft.net>
38841
38842         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
38843         values between float registers.
38844         * sysdeps/sparc/sparc64/memset.S: Likewise.
38845         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
38846
38847 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
38848
38849         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
38850         -D_FORTIFY_SOURCE=1.
38851         (CPPFLAGS-tst-longjmp_chk.c): Define.
38852         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
38853         (CPPFLAGS-tst-longjmp_chk2.c): Define.
38854         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
38855         CFLAGS-tst-wchar-h.c.
38856
38857 2012-05-31  Marek Polacek  <polacek@redhat.com>
38858
38859         [BZ #14132]
38860         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
38861         __endmntent_internal): Remove declaration.
38862         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
38863         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
38864         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
38865
38866 2012-05-30  David S. Miller  <davem@davemloft.net>
38867
38868         * sysdeps/sparc/sparc32/soft-fp/q_util.c
38869         (___Q_simulate_exceptions): Use real FP ops rather than writing
38870         into the %fsr.
38871         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
38872         Likewise.
38873
38874 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
38875
38876         [BZ #14117]
38877         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
38878         * sysdeps/x86/bits/xtitypes.h: This.
38879
38880         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
38881         * sysdeps/x86/bits/wordsize.h: This.
38882
38883         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
38884         * sysdeps/x86/bits/huge_vall.h: This.
38885
38886         * sysdeps/i386/bits/select.h: Removed.
38887         * sysdeps/x86_64/bits/select.h: Renamed to ...
38888         * sysdeps/x86/bits/select.h: This.
38889
38890         * sysdeps/i386/bits/setjmp.h: Removed.
38891         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
38892         * sysdeps/x86/bits/setjmp.h: This.
38893
38894         * sysdeps/i386/bits/mathdef.h: Removed.
38895         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
38896         * sysdeps/x86/bits/mathdef.h: This.
38897
38898 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
38899
38900         [BZ #14132]
38901         * include/sys/socket.h (__connect_internal)
38902         (__libc_sa_len_internal): Remove declaration.
38903         (__connect, __libc_sa_len): Declare hidden_proto.
38904         (SA_LEN): Remove use of INTUSE.
38905         * socket/connect.c: Add libc_hidden_def.
38906         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
38907         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
38908         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
38909         alias.
38910         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
38911         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
38912         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
38913         of adding _internal alias.
38914
38915 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
38916
38917         [BZ #14117]
38918         * sysdeps/i386/bits/link.h: Removed.
38919         * sysdeps/i386/bits/linkmap.h: Likewise.
38920         * sysdeps/x86_64/bits/link.h: Renamed to ...
38921         * sysdeps/x86/bits/link.h: This.
38922         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
38923         * sysdeps/x86/bits/linkmap.h: This.
38924
38925         * sysdeps/i386/bits/endian.h: Removed.
38926         * sysdeps/x86_64/bits/endian.h: Renamed to ...
38927         * sysdeps/x86/bits/endian.h: This.
38928
38929         * sysdeps/i386/bits/byteswap.h: Removed.
38930         * sysdeps/i386/bits/byteswap-16.h: Likewise.
38931         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
38932         * sysdeps/x86/bits/byteswap.h: This.
38933         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
38934         * sysdeps/x86/bits/byteswap-16.h: This.
38935         * sysdeps/i386/Implies: Add x86.
38936         * sysdeps/x86_64/Implies: Likewise.
38937
38938 2012-05-30  David S. Miller  <davem@davemloft.net>
38939
38940         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
38941         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
38942         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
38943         (FP_TRAPPING_EXCEPTIONS): Define.
38944         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
38945         (FP_TRAPPING_EXCEPTIONS): Define.
38946         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
38947         subnormals only when inexact has been signalled or underflow
38948         exceptions are enabled.
38949         (_FP_PACK_CANONICAL): Likewise.
38950
38951 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
38952
38953         [BZ #14183]
38954         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
38955         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
38956
38957 2012-05-30  Richard Henderson  <rth@twiddle.net>
38958
38959         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
38960         with #ifndef NOT_IN_libc.
38961
38962         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
38963         marked to avoid plt entry.
38964
38965 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
38966
38967         [BZ #14112]
38968         * Makeconfig (default-abi): New macro.
38969         (abi-includes): Likewise.
38970         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
38971         $(abi-$(default-abi)-lib-soname) for soname if defined.
38972         ($(common-objpfx)gnu/lib-names.stmp): Generate from
38973         abi-variants.
38974         * Makefile (installed-stubs): Likewise.
38975         * include/stubs-biarch.h: Removed.
38976         * scripts/lib-names.awk: Only handle one library at a time.
38977         * scripts/soversions.awk: Remove WORDSIZE support.
38978         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
38979         entries.
38980         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
38981         Removed.
38982         (syscall-list-default-condition): Likewise.
38983         (syscall-list-default-condition): Likewise.
38984         (syscall-list-includes): Likewise.
38985         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
38986         syscall-list-* with abi-*.  Handle undefined abi-variants.
38987         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
38988         * sysdeps/unix/sysv/linux/i386/Implies: New file.
38989         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
38990         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
38991         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
38992         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
38993         Removed.
38994         (syscall-list-32-options): Likewise.
38995         (syscall-list-32-condition): Likewise.
38996         (syscall-list-64-options): Likewise.
38997         (syscall-list-64-condition): Likewise.
38998         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
38999         macro.
39000         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
39001         Renamed to ...
39002         (abi-*): This.
39003         (abi-64-ld-soname): New macro.
39004         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
39005         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
39006         Renamed to ...
39007         (abi-*): This.
39008         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
39009         * sysdeps/x86_64/x32/shlib-versions: Likewise.
39010
39011 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
39012
39013         * sysdeps/unix/sysv/linux/kernel-features.h
39014         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
39015         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
39016         include <kernel-features.h>.
39017         [!__NR_ftruncate64]: Remove conditional code.
39018         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39019         [__NR_ftruncate64]: Make code unconditional.
39020         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39021         * sysdeps/unix/sysv/linux/truncate64.c: Do not
39022         include <kernel-features.h>.
39023         [!__NR_ftruncate64]: Remove conditional code.
39024         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39025         [__NR_ftruncate64]: Make code unconditional.
39026         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39027         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
39028         include <kernel-features.h>.
39029         [!__NR_ftruncate64]: Remove conditional code.
39030         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39031         [__NR_ftruncate64]: Make code unconditional.
39032         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39033         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
39034         include <kernel-features.h>.
39035         [!__NR_ftruncate64]: Remove conditional code.
39036         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39037         [__NR_ftruncate64]: Make code unconditional.
39038         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39039
39040         * configure.in (libc_cv_fpie): Weaken to a compile test using
39041         LIBC_TRY_CC_OPTION.
39042         * configure: Regenerated.
39043
39044 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39045
39046         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
39047         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
39048         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
39049         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
39050         Refreshed.
39051         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
39052         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
39053         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
39054         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
39055         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
39056         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
39057         Refreshed.
39058
39059 2012-05-27  David S. Miller  <davem@davemloft.net>
39060
39061         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
39062         (___Q_zero): New.
39063         (__Q_simulate_exceptions): Return void.  Change to simulate
39064         exceptions by writing into the %fsr.
39065         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
39066         (__Qp_handle_exceptions): Likewise.
39067         (numbers): Delete.
39068         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
39069         __Qp_handle_exceptions.
39070         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
39071         __Qp_handle_exceptions.
39072         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
39073         as unused and give dummy FP_RND_NEAREST initializer.
39074         (FP_INHIBIT_RESULTS): Define.
39075         (___Q_simulate_exceptions): Update declaration.
39076         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
39077         formatting.
39078         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
39079         as unused and give dummy FP_RND_NEAREST initializer.
39080         (__Qp_handle_exceptions): Update declaration.
39081         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
39082         formatting.
39083
39084 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
39085
39086         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
39087         the temporary FPU control word.
39088         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
39089         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
39090         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
39091         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
39092         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
39093         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
39094         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
39095         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
39096         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
39097         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
39098         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
39099
39100 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
39101
39102         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
39103         fields.
39104
39105 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
39106
39107         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
39108         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
39109         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
39110         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
39111         Likewise.
39112         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
39113         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
39114         Likewise.
39115
39116 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
39117
39118         * po/h.po: Update from translation team.
39119
39120 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
39121
39122         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
39123
39124         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
39125         handling of denormals.
39126         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
39127         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
39128         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
39129         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
39130         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
39131         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
39132         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
39133         Likewise.
39134
39135 2012-05-26  Marek Polacek  <polacek@redhat.com>
39136
39137         [BZ #14152]
39138         * math/libm-test.inc (fma_test): Don't always expect underflow
39139         exception.
39140
39141 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
39142
39143         [BZ #12416]
39144         * elf/tst-execstack.c: Include stackinfo.h.
39145         (do_test): Adjust test case to ensure that pthread_getattr_np
39146         behaviour remains the same after marking stack executable.
39147
39148 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
39149
39150         * sysdeps/unix/sysv/linux/kernel-features.h
39151         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
39152         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
39153         kernel-features.h.
39154         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
39155         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
39156         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
39157         kernel-features.h.
39158         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
39159         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
39160
39161 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
39162
39163         * configure.in: Define the default includes to being none.
39164         * configure: Regenerated.
39165
39166 2012-05-25  Roland McGrath  <roland@hack.frob.com>
39167
39168         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
39169         * sysdeps/x86_64/setjmp.S: Likewise.
39170         * sysdeps/i386/bsd-setjmp.S: Likewise.
39171         * sysdeps/i386/bsd-_setjmp.S: Likewise.
39172         * sysdeps/i386/setjmp.S: Likewise.
39173         * sysdeps/i386/__longjmp.S: Likewise.
39174         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
39175         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
39176
39177         * include/stap-probe.h: New file.
39178         * configure.in: Handle --enable-systemtap.
39179         * configure: Regenerated.
39180         * config.h.in (USE_STAP_PROBE): New #undef.
39181         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
39182         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
39183         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
39184
39185 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
39186
39187         [BZ #13717]
39188         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
39189         to 2.4.0 where earlier.
39190         * sysdeps/unix/sysv/linux/configure: Regenerated.
39191         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
39192         <kernel-features.h>.
39193         [__ASSUME_32BITUIDS]: Make code unconditional.
39194         [!__ASSUME_32BITUIDS]: Remove conditional code.
39195         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
39196         <kernel-features.h>.
39197         [__ASSUME_32BITUIDS]: Make code unconditional.
39198         [!__ASSUME_32BITUIDS]: Remove conditional code.
39199         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
39200         [__ASSUME_32BITUIDS]: Make code unconditional.
39201         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
39202         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
39203         <kernel-features.h>.
39204         [__ASSUME_32BITUIDS]: Make code unconditional.
39205         [!__ASSUME_32BITUIDS]: Remove conditional code.
39206         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
39207         <kernel-features.h>.
39208         [__ASSUME_32BITUIDS]: Make code unconditional.
39209         [!__ASSUME_32BITUIDS]: Remove conditional code.
39210         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
39211         <kernel-features.h>.
39212         [__ASSUME_32BITUIDS]: Make code unconditional.
39213         [!__ASSUME_32BITUIDS]: Remove conditional code.
39214         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
39215         <kernel-features.h>.
39216         [__ASSUME_32BITUIDS]: Make code unconditional.
39217         [!__ASSUME_32BITUIDS]: Remove conditional code.
39218         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
39219         <kernel-features.h>.
39220         [__ASSUME_32BITUIDS]: Make code unconditional.
39221         [!__ASSUME_32BITUIDS]: Remove conditional code.
39222         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
39223         <kernel-features.h>.
39224         [__ASSUME_32BITUIDS]: Make code unconditional.
39225         [!__ASSUME_32BITUIDS]: Remove conditional code.
39226         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
39227         <kernel-features.h>.
39228         [__ASSUME_32BITUIDS]: Make code unconditional.
39229         [!__ASSUME_32BITUIDS]: Remove conditional code.
39230         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
39231         <kernel-features.h>.
39232         [__ASSUME_32BITUIDS]: Make code unconditional.
39233         [!__ASSUME_32BITUIDS]: Remove conditional code.
39234         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
39235         <kernel-features.h>.
39236         [__ASSUME_32BITUIDS]: Make code unconditional.
39237         [!__ASSUME_32BITUIDS]: Remove conditional code.
39238         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
39239         <kernel-features.h>.
39240         [__ASSUME_32BITUIDS]: Make code unconditional.
39241         [!__ASSUME_32BITUIDS]: Remove conditional code.
39242         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
39243         <kernel-features.h>.
39244         [__NR_setresgid] (__setresgid): Do not declare.
39245         [__ASSUME_32BITUIDS]: Make code unconditional.
39246         [!__ASSUME_32BITUIDS]: Remove conditional code.
39247         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
39248         <kernel-features.h>.
39249         [__NR_setresuid] (__setresuid): Do not declare.
39250         [__ASSUME_32BITUIDS]: Make code unconditional.
39251         [!__ASSUME_32BITUIDS]: Remove conditional code.
39252         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
39253         <kernel-features.h>.
39254         [__ASSUME_32BITUIDS]: Make code unconditional.
39255         [!__ASSUME_32BITUIDS]: Remove conditional code.
39256         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
39257         <kernel-features.h>.
39258         [__ASSUME_32BITUIDS]: Make code unconditional.
39259         [!__ASSUME_32BITUIDS]: Remove conditional code.
39260         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
39261         <kernel-features.h>.
39262         [__ASSUME_32BITUIDS]: Make code unconditional.
39263         [!__ASSUME_32BITUIDS]: Remove conditional code.
39264         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
39265         <kernel-features.h>.
39266         [__ASSUME_32BITUIDS]: Make code unconditional.
39267         [!__ASSUME_32BITUIDS]: Remove conditional code.
39268         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
39269         <kernel-features.h>.
39270         [__ASSUME_32BITUIDS]: Make code unconditional.
39271         [!__ASSUME_32BITUIDS]: Remove conditional code.
39272         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
39273         <kernel-features.h>.
39274         [__ASSUME_32BITUIDS]: Make code unconditional.
39275         [!__ASSUME_32BITUIDS]: Remove conditional code.
39276         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
39277         <kernel-features.h>.
39278         [__ASSUME_32BITUIDS]: Make code unconditional.
39279         [!__ASSUME_32BITUIDS]: Remove conditional code.
39280         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
39281         <kernel-features.h>.
39282         [__ASSUME_32BITUIDS]: Make code unconditional.
39283         [!__ASSUME_32BITUIDS]: Remove conditional code.
39284         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
39285         <kernel-features.h>.
39286         [__ASSUME_32BITUIDS]: Make code unconditional.
39287         [!__ASSUME_32BITUIDS]: Remove conditional code.
39288         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
39289         <kernel-features.h>.
39290         [__ASSUME_32BITUIDS]: Make code unconditional.
39291         [!__ASSUME_32BITUIDS]: Remove conditional code.
39292         * sysdeps/unix/sysv/linux/kernel-features.h
39293         (__ASSUME_SETRESUID_SYSCALL): Remove.
39294         (__ASSUME_SETRESGID_SYSCALL): Likewise.
39295         (__ASSUME_32BITUIDS): Likewise.
39296         (__ASSUME_LDT_WORKS): Likewise.
39297         (__ASSUME_O_DIRECTORY): Likewise.
39298         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
39299         architecture but not kernel version.
39300         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
39301         (__ASSUME_MMAP2_SYSCALL): Likewise.
39302         (__ASSUME_STAT64_SYSCALL): Likewise.
39303         (__ASSUME_IPC64): Likewise.
39304         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
39305         <kernel-features.h>.
39306         [__ASSUME_32BITUIDS]: Make code unconditional.
39307         [!__ASSUME_32BITUIDS]: Remove conditional code.
39308         * sysdeps/unix/sysv/linux/opendir.c: Do not include
39309         <kernel-features.h>.
39310         [__ASSUME_O_DIRECTORY]: Make code unconditional.
39311         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
39312         132096]: Remove conditional code.
39313         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
39314         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
39315         <kernel-features.h>.
39316         [__ASSUME_32BITUIDS]: Make code unconditional.
39317         [!__ASSUME_32BITUIDS]: Remove conditional code.
39318         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
39319         <kernel-features.h>.
39320         [__ASSUME_32BITUIDS]: Make code unconditional.
39321         [!__ASSUME_32BITUIDS]: Remove conditional code.
39322         * sysdeps/unix/sysv/linux/setegid.c: Do not include
39323         <kernel-features.h>.
39324         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
39325         unconditional.
39326         (__setresgid): Do not declare.
39327         [__ASSUME_32BITUIDS]: Make code unconditional.
39328         [!__ASSUME_32BITUIDS]: Remove conditional code.
39329         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
39330         <kernel-features.h>.
39331         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
39332         unconditional.
39333         (__setresuid): Do not declare.
39334         [__ASSUME_32BITUIDS]: Make code unconditional.
39335         [!__ASSUME_32BITUIDS]: Remove conditional code.
39336         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
39337         <kernel-features.h>.
39338         [__ASSUME_32BITUIDS]: Make code unconditional.
39339         [!__ASSUME_32BITUIDS]: Remove conditional code.
39340         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
39341         <kernel-features.h>.
39342         [__ASSUME_32BITUIDS]: Make code unconditional.
39343         [!__ASSUME_32BITUIDS]: Remove conditional code.
39344
39345 2012-05-25  Richard Henderson  <rth@twiddle.net>
39346
39347         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
39348         dl_hwcap to ifunc resolver.
39349         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
39350         elf_ifunc_invoke.
39351         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
39352         dl_hwcap to ifunc resolver.
39353         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
39354
39355 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
39356
39357         [BZ #14153]
39358         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
39359         for |x| <= 2**-26, not 2**-57.
39360         * math/libm-test.inc (acos_test): Do not allow spurious underflow
39361         exception.
39362
39363 2012-05-24  Jeff Law  <law@redhat.com>
39364
39365         * stdio-common/Makefile (tests): Add bug25.
39366         * stdio-common/bug25.c: New test.
39367
39368 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
39369
39370         [BZ #13576]
39371         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
39372         multiple of MALLOC_ALIGNMENT in size.
39373         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
39374
39375 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
39376
39377         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
39378         Require >= 256.
39379         (FILENAME_MAX): Use macro-int-constant.
39380         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
39381         (_IOFBF): Use macro-int-constant.
39382         (_IOLBF): Likewise.
39383         (_IONBF): Likewise.
39384         (SEEK_CUR): Likewise.
39385         (SEEK_END): Likewise.
39386         (SEEK_SET): Likewise.
39387         (TMP_MAX): Likewise.
39388         (EOF): Use macro-int-constant.  Require < 0.
39389         (NULL): Use macro-constant.  Require == 0.
39390         (stdin): Require type to be FILE *.
39391         (stdout): Likewise.
39392         (stderr): Likewise.
39393         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
39394         macro-int-constant.
39395         (EXIT_SUCCESS): Likewise.
39396         (NULL): Use macro-constant.  Require == 0.
39397         (RAND_MAX): Use macro-int-constant.
39398         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
39399         [C99-based standards] (strtof): Require function.
39400         [C99-based standards] (strtold): Likewise.
39401         [C99-based standards] (strtoll): Likewise.
39402         [C99-based standards] (strtoull): Likewise.
39403         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
39404         [ISO || ISO99 || ISO11] (limits.h): Likewise.
39405         [ISO || ISO99 || ISO11] (math.h): Likewise.
39406         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
39407         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
39408         [ISO || ISO99 || ISO11] (*_t): Do not allow.
39409
39410 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
39411
39412         [BZ #14132]
39413         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
39414         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
39415         * intl/dgettext.c (DCGETTEXT): Likewise.
39416         * intl/gettext.c (DCGETTEXT): Likewise.
39417         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
39418         * posix/regex_internal.h (gettext): Likewise.
39419         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
39420         Remove declaration.
39421         * include/argz.h (__argz_count_internal)
39422         (__argz_stringify_internal): Remove declaration.
39423         (__argz_count, __argz_stringify): Declare hidden proto.
39424         * intl/dcgettext.c: Remove use of INTDEF.
39425         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
39426         * string/argz-stringify.c: Likewise.
39427         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
39428         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
39429         Declare hidden proto.
39430         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
39431         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
39432         Declare hidden proto.
39433         * include/stdio.h (__asprintf_internal): Don't declare.
39434         (__asprintf): Don't define as macro.  Declare hidden proto.
39435         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
39436         (__fsetlocking): Declare hidden proto.
39437         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
39438         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
39439         hidden proto.
39440         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
39441         (_IO_setlinebuf): Remove use of INTUSE.
39442         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
39443         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
39444         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
39445         Remove declaration.
39446         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
39447         (_IO_do_flush): Remove use of INTUSE.
39448         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
39449         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
39450         (_IO_adjust_column, _IO_least_wmarker)
39451         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
39452         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
39453         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
39454         (_IO_default_doallocate, _IO_wdefault_doallocate)
39455         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
39456         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
39457         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
39458         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
39459         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
39460         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
39461         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
39462         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
39463         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
39464         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
39465         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
39466         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
39467         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
39468         proto.
39469         (_IO_flush_all_internal, _IO_adjust_column_internal)
39470         (_IO_default_uflow_internal, _IO_default_finish_internal)
39471         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
39472         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
39473         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
39474         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
39475         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
39476         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
39477         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
39478         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
39479         (_IO_file_close_internal, _IO_file_close_it_internal)
39480         (_IO_file_underflow_internal, _IO_file_overflow_internal)
39481         (_IO_file_init_internal, _IO_file_attach_internal)
39482         (_IO_file_fopen_internal, _IO_file_read_internal)
39483         (_IO_file_sync_internal, _IO_file_seek_internal)
39484         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
39485         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
39486         (_IO_str_underflow_internal, _IO_str_overflow_internal)
39487         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
39488         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
39489         (_IO_list_all_internal, _IO_link_in_internal)
39490         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
39491         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
39492         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
39493         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
39494         (_IO_do_write_internal, _IO_padn_internal)
39495         (_IO_getline_info_internal, _IO_getline_internal)
39496         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
39497         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
39498         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
39499         (_IO_vfscanf_internal, _IO_vfprintf_internal)
39500         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
39501         (_IO_init_internal, _IO_un_link_internal): Don't declare.
39502         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
39503         with libc_hidden_ver, remove use of INTUSE.
39504         * libio/genops.c: Likewise.
39505         * libio/freopen.c: Likewise.
39506         * libio/freopen64.c: Likewise.
39507         * libio/iofclose.c: Likewise.
39508         * libio/iofdopen.c: Likewise.
39509         * libio/iofflush.c: Likewise.
39510         * libio/iofflush_u.c: Likewise.
39511         * libio/iofgets.c: Likewise.
39512         * libio/iofgets_u.c: Likewise.
39513         * libio/iofopen.c: Likewise.
39514         * libio/iofopncook.c: Likewise.
39515         * libio/iofread.c: Likewise.
39516         * libio/iofread_u.c: Likewise.
39517         * libio/ioftell.c: Likewise.
39518         * libio/iofwrite.c: Likewise.
39519         * libio/iogetline.c: Likewise.
39520         * libio/iogets.c: Likewise.
39521         * libio/iogetwline.c: Likewise.
39522         * libio/iopadn.c: Likewise.
39523         * libio/iopopen.c: Likewise.
39524         * libio/ioseekoff.c: Likewise.
39525         * libio/ioseekpos.c: Likewise.
39526         * libio/iosetbuffer.c: Likewise.
39527         * libio/iosetvbuf.c: Likewise.
39528         * libio/ioungetc.c: Likewise.
39529         * libio/ioungetwc.c: Likewise.
39530         * libio/iovdprintf.c: Likewise.
39531         * libio/iovsprintf.c: Likewise.
39532         * libio/iovsscanf.c: Likewise.
39533         * libio/memstream.c: Likewise.
39534         * libio/obprintf.c: Likewise.
39535         * libio/oldfileops.c: Likewise.
39536         * libio/oldiofclose.c: Likewise.
39537         * libio/oldiofdopen.c: Likewise.
39538         * libio/oldiofopen.c: Likewise.
39539         * libio/oldiopopen.c: Likewise.
39540         * libio/oldstdfiles.c: Likewise.
39541         * libio/putc.c: Likewise.
39542         * libio/setbuf.c: Likewise.
39543         * libio/setlinebuf.c: Likewise.
39544         * libio/stdfiles.c: Likewise.
39545         * libio/strops.c: Likewise.
39546         * libio/vasprintf.c: Likewise.
39547         * libio/vscanf.c: Likewise.
39548         * libio/vsnprintf.c: Likewise.
39549         * libio/vswprintf.c: Likewise.
39550         * libio/wfiledoalloc.c: Likewise.
39551         * libio/wfileops.c: Likewise.
39552         * libio/wgenops.c: Likewise.
39553         * libio/wmemstream.c: Likewise.
39554         * libio/wstrops.c: Likewise.
39555         * libio/__fpurge.c: Likewise.
39556         * libio/__fsetlocking.c: Likewise.
39557         * assert/assert.c: Likewise.
39558         * debug/fgets_chk.c: Likewise.
39559         * debug/fgets_u_chk.c: Likewise.
39560         * debug/fread_chk.c: Likewise.
39561         * debug/fread_u_chk.c: Likewise.
39562         * debug/gets_chk.c: Likewise.
39563         * debug/obprintf_chk.c: Likewise.
39564         * debug/vasprintf_chk.c: Likewise.
39565         * debug/vdprintf_chk.c: Likewise.
39566         * debug/vsnprintf_chk.c: Likewise.
39567         * debug/vsprintf_chk.c: Likewise.
39568         * malloc/mtrace.c: Likewise.
39569         * misc/error.c: Likewise.
39570         * misc/syslog.c: Likewise.
39571         * stdio-common/asprintf.c: Likewise.
39572         * stdio-common/fxprintf.c: Likewise.
39573         * stdio-common/getw.c: Likewise.
39574         * stdio-common/isoc99_fscanf.c: Likewise.
39575         * stdio-common/isoc99_scanf.c: Likewise.
39576         * stdio-common/isoc99_vfscanf.c: Likewise.
39577         * stdio-common/isoc99_vscanf.c: Likewise.
39578         * stdio-common/isoc99_vsscanf.c: Likewise.
39579         * stdio-common/printf-prs.c: Likewise.
39580         * stdio-common/printf_fp.c: Likewise.
39581         * stdio-common/printf_fphex.c: Likewise.
39582         * stdio-common/printf_size.c: Likewise.
39583         * stdio-common/putw.c: Likewise.
39584         * stdio-common/scanf.c: Likewise.
39585         * stdio-common/sprintf.c: Likewise.
39586         * stdio-common/tmpfile.c: Likewise.
39587         * stdio-common/vfprintf.c: Likewise.
39588         * stdio-common/vfscanf.c: Likewise.
39589         * stdlib/strfmon_l.c: Likewise.
39590         * sunrpc/openchild.c: Likewise.
39591         * sunrpc/xdr_stdio.c: Likewise.
39592         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
39593         * sysdeps/mach/hurd/tmpfile.c: Likewise.
39594
39595 2012-05-24  Roland McGrath  <roland@hack.frob.com>
39596
39597         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
39598
39599         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
39600         in the third column, to generate for the shared library an IFUNC
39601         that uses _dl_vdso_vsym.
39602         * Makerules (COMPILE.c, compile-stdin.c): New variables.
39603         * Makeconfig (object-suffixes-noshared): New variable.
39604
39605         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
39606         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
39607         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
39608         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
39609
39610         [BZ #14132]
39611         * include/sys/time.h (__gettimeofday): Remove macro.
39612         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
39613         * time/gettimeofday.c (__gettimeofday): Remove #undef.
39614         Remove INTDEF.
39615         (__gettimeofday): Add libc_hidden_def.
39616         (gettimeofday): Add libc_hidden_weak.
39617         * sysdeps/mach/gettimeofday.c: Likewise.
39618         * sysdeps/posix/gettimeofday.c: Likewise.
39619         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
39620         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
39621         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
39622         (__gettimeofday_internal): Remove strong_alias.
39623         (__gettimeofday): Add libc_hidden_def.
39624         (gettimeofday): Add libc_hidden_weak.
39625         * sysdeps/unix/syscalls.list (gettimeofday):
39626         Remove __gettimeofday_internal alias.
39627
39628 2012-05-24  Daniel Jacobowitz  <drow@false.org>
39629             H.J. Lu  <hongjiu.lu@intel.com>
39630
39631         [BZ #12495]
39632         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
39633         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
39634         (largebin_index_32_big): New.
39635         (largebin_index): Use it for 16-byte alignment.
39636         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
39637         correction with front_misalign.
39638
39639 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
39640
39641         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
39642         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
39643         Likewise.
39644         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
39645         Likewise.
39646         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
39647         Likewise.
39648         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
39649         Likewise.
39650         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
39651         Likewise.
39652         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
39653         Likewise.
39654         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
39655         Likewise.
39656         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
39657         Likewise.
39658         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
39659         Likewise.
39660         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
39661         Likewise.
39662         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
39663         Likewise.
39664         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
39665         Likewise.
39666
39667         * scripts/data/c++-types-x32-linux-gnu.data: New file.
39668         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
39669
39670 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
39671
39672         [BZ #10846]
39673         [BZ #14036]
39674         * math/libm-test.inc (exp_test): Add test from bug 14036.
39675         (pow_test): Add test from bug 10846.
39676
39677         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
39678         and other flags.
39679         (special_function): Do not include flags in test name.
39680         (parse_args): Likewise.
39681         * sysdeps/i386/fpu/libm-test-ulps: Update.
39682         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
39683         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
39684         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
39685         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39686
39687         * math/gen-libm-test.pl (%beautify): Add entries for underflow
39688         exceptions.
39689         * math/libm-test.inc ("Philosophy"): Update comment about
39690         exception testing.
39691         (UNDERFLOW_EXCEPTION): New macro.
39692         (UNDERFLOW_EXCEPTION_OK): Likewise.
39693         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
39694         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
39695         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
39696         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
39697         (INVALID_EXCEPTION_OK): Update value.
39698         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
39699         (OVERFLOW_EXCEPTION_OK): Likewise.
39700         (IGNORE_ZERO_INF_SIGN): Likewise.
39701         (test_exceptions): Handle underflow exceptions.
39702         (acos_test): Update for underflow exception expectations.
39703         (cexp_test): Likewise.
39704         (clog_test): Likewise.
39705         (clog10_test): Likewise.
39706         (csqrt_test): Likewise.
39707         (ctan_test): Likewise.
39708         (ctanh_test): Likewise.
39709         (exp_test): Likewise.
39710         (exp10_test): Likewise.
39711         (exp2_test): Likewise.
39712         (expm1_test): Likewise.
39713         (fma_test): Likewise.
39714         (j0_test): Likewise.
39715         (jn_test): Likewise.
39716         (nexttoward_test): Likewise.
39717         (pow_test): Likewise.
39718         (scalbn_test): Likewise.
39719         (scalbln_test): Likewise.
39720         (tan_test): Likewise.
39721         (y1_test): Likewise.
39722         * sysdeps/i386/fpu/libm-test-ulps: Update.
39723         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39724
39725 2012-05-23  David S. Miller  <davem@davemloft.net>
39726
39727         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
39728         (__libc_sigaction): Remove unused local variables.
39729
39730 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
39731
39732         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
39733
39734 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
39735
39736         mktime: avoid signed integer overflow
39737         * time/mktime.c (__mktime_internal): Do not mishandle the case
39738         where diff == INT_MIN.
39739
39740         mktime: simplify computation of average
39741         * time/mktime.c (ranged_convert): Use new time_t_avg function
39742         instead of rolling our own (probably-slower) code.
39743
39744         mktime: do not assume signed right shift propagates sign bit
39745         * time/mktime.c (isdst_differ): New static function.
39746         (__mktime_internal): No need to normalize tm_isdst now.
39747         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
39748         tm_isdst values.
39749
39750         mktime: merge another wrapv change from gnulib
39751         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
39752         from some compilers.
39753
39754         mktime: remove incorrect attempt at unusual arithmetics
39755         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
39756         The code didn't really work on such machines anyway.
39757         (TYPE_MINIMUM): Assume two's complement.
39758         (twos_complement_arithmetic): Verify that long_int and time_t
39759         are two's complement (or unsigned, in the latter case).
39760
39761         mktime: check signed shifts on long_int and time_t, too
39762         * time/mktime.c (SHR): Check that shifts work as desired
39763         on the types long_int and time_t too, as SHR is used on
39764         such types.
39765
39766         mktime: do not assume 'long' is wide enough
39767         * time/mktime.c (verify): Move decl up.
39768         (long_int): New type.
39769         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
39770         to remove assumption in the code that 'long' is wide enough to
39771         store year values.  This assumption is not true on x32 and on
39772         some non-glibc platforms.
39773
39774         mktime: merge wrapv change from gnulib
39775         * time/mktime.c (WRAPV): New macro.
39776         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
39777         (guess_time_tm, __mktime_internal): Do not assume that signed
39778         integer overflow wraps around; modern compilers generate code
39779         where this assumption is no longer valid.
39780
39781 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
39782
39783         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
39784         Replace "jmp L(pseudo_end)" with "ret".
39785         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
39786         Likewise.
39787
39788 2012-05-23  Andreas Jaeger  <aj@suse.de>
39789
39790         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
39791         * sysdeps/unix/sysv/linux/poll.c: Remove file.
39792
39793 2012-05-23  Andreas Jaeger  <aj@suse.de>
39794             Maximilian Attems  <max@stro.at>
39795
39796         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
39797         New macros.
39798
39799 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
39800
39801         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
39802         code so that pseudo_end is just ret and the stack pointer is
39803         correct also for static library in error case.
39804
39805 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
39806
39807         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
39808         move to syscalls.list.
39809         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
39810         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
39811         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
39812         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
39813
39814         * manual/install.texi (Running make install): Do not mention Linux
39815         kernel version for which pt_chown is not needed.
39816         (Linux): Do not mention problems with nscd with 2.0 kernels.
39817         * INSTALL: Regenerated.
39818
39819 2012-05-23  Andreas Jaeger  <aj@suse.de>
39820
39821         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
39822         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
39823         macro.
39824         * sysdeps/unix/sysv/linux/s390/bits/mman.h
39825         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
39826         * sysdeps/unix/sysv/linux/sh/bits/mman.h
39827         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
39828         * sysdeps/unix/sysv/linux/i386/bits/mman.h
39829         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
39830         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
39831         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
39832         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
39833         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
39834         * sysdeps/unix/sysv/linux/bits/in.h
39835         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
39836
39837 2012-05-22  Roland McGrath  <roland@hack.frob.com>
39838
39839         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
39840         (PREPARE_VERSION): Just use assert instead, it will be elided
39841         under [NDEBUG] anyway.
39842
39843 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
39844
39845         * sysdeps/unix/sysv/linux/Makefile: Include
39846         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
39847         (sysdep_routines): Remove sysctl.
39848         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
39849         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
39850         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
39851         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
39852         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
39853
39854 2012-05-22  Andreas Jaeger  <aj@suse.de>
39855
39856         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
39857         that pseudo_end is just ret and the stack pointer is correct also
39858         for static library in error case.
39859
39860 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
39861
39862         [BZ #14122]
39863         * nss/nsswitch.c (defconfig_entries): New variable.
39864         (__nss_database_lookup): Don't leak defconfig entries.
39865         (nss_parse_service_list): Don't leak on error paths.
39866         (free_database_entries): New function.
39867         (free_defconfig): New function.
39868         (free_mem): Move common code to free_database_entries.
39869
39870 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
39871
39872         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
39873         Add arch_prctl.
39874         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
39875
39876         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
39877         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
39878         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
39879         New macro.
39880         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
39881         (INTERNAL_SYSCALL_TYPES): Likewise.
39882         (LOAD_ARGS_TYPES_[1-6]): Likewise.
39883         (LOAD_REGS_TYPES_[1-6]): Likewise.
39884         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
39885         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
39886
39887 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39888
39889         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
39890         copysignl for GLIBC_2_0.
39891         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
39892         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
39893         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
39894         logbl for GLIBC_2_0.
39895         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
39896         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
39897
39898 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
39899
39900         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
39901         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
39902
39903         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
39904         Use "neg %eax".
39905
39906         * time/mktime.c: Update copyright years.
39907
39908 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
39909
39910         mktime: merge comment-quoting-style change from gnulib
39911         * time/mktime.c: Quote 'like this' in comments.
39912         The GNU coding standards suggest that we no longer quote `like this',
39913         as "`" and "'" are typically rendered asymmetrically nowadays.
39914         The typical gnulib style is to quote 'like this' when quoting
39915         code, and "like this" when quoting English.
39916
39917         * time/mktime.c (compile-command): Add "-I.".
39918
39919         mktime: merge mktime-internal.h change from gnulib
39920         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
39921
39922         mktime: merge time_r change from gnulib
39923         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
39924
39925         mktime: merge DEBUG change from gnulib
39926         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
39927         case system <time.h> has a #define.
39928
39929         mktime: merge <sys/types.h> change from gnulib
39930         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
39931         since <time.t> is now guaranteed to define time_t.
39932
39933         mktime: merge HAVE_CONFIG_H change from gnulib
39934         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
39935
39936 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
39937
39938         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
39939         Use "neg %eax".
39940
39941         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
39942         __rlim_t cast.
39943         (struct rusage): Use anonymous union to pad each field to
39944         __syscall_slong_t.
39945
39946 2012-05-21  David S. Miller  <davem@davemloft.net>
39947
39948         * Makefules (o-iterator): Remove .s cases.
39949         (compile-command.s): Delete.
39950         (COMPILE.s): Delete.
39951         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
39952
39953 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
39954
39955         * configure.in (libc_cv_predef_stack_protector): Only consider
39956         "foobar" and "__stack_chk_fail" lines in libc_undefs.
39957         * configure: Regenerated.
39958
39959 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
39960
39961         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
39962         New macro.  Use R*LP on int and pointer.
39963         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
39964         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
39965         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
39966         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
39967
39968         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
39969         [__WORDSIZE_TIME64_COMPAT32] instead of
39970         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
39971         (struct utmp): Likewise.
39972         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
39973         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
39974         Renamed to ...
39975         (__WORDSIZE_TIME64_COMPAT32): This.
39976         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
39977         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
39978         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
39979         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
39980         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
39981         (__WORDSIZE_TIME64_COMPAT32): New macro.
39982
39983 2012-05-21  Andreas Jaeger  <aj@suse.de>
39984
39985         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
39986         only if [SHARED]. Add prototype for __wcschr_ia32.
39987
39988 2012-05-21  Roland McGrath  <roland@hack.frob.com>
39989
39990         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
39991         of %rbp unmolested in the jmp_buf while mangling the low bits.
39992         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
39993         unmolested high bits of %rbp while demangling the low bits.
39994         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
39995
39996 2012-05-21  Andreas Jaeger  <aj@suse.de>
39997
39998         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
39999         * sunrpc/svc_simple.c: Use it for registerrpc.
40000         * sunrpc/xcrypt.c: Use it for passwd2des.
40001
40002         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
40003
40004 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
40005
40006         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
40007         Don't define if [__SYSCALL_WORDSIZE != 32].
40008         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
40009         New macro.
40010
40011 2012-05-21  Bruno Haible  <bruno@clisp.org>
40012             Andreas Jaeger  <aj@suse.de>
40013
40014         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
40015         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
40016         inptr and inend for must_buffer_ch.
40017         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
40018         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
40019         * stdio-common/Makefile (tests): Remove bug15.
40020         (bug15-ENV): Remove macro.
40021         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
40022         anymore.
40023
40024 2012-05-19  Andreas Jaeger  <aj@suse.de>
40025             Roland McGrath  <roland@hack.frob.com>
40026
40027         * manual/contrib.texi: Completely rewritten. It contains now an
40028         alphabetical list of contributors and their contributions.
40029
40030 2012-05-21  Richard Henderson  <rth@twiddle.net>
40031
40032         * misc/getauxval.c (__getauxval): Use unsigned long int.
40033         * misc/sys/auxv.h: Include <sys/cdefs.h>.
40034         (getauxval): Use unsigned long int.
40035
40036 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
40037
40038         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
40039
40040 2012-05-21  Roland McGrath  <roland@hack.frob.com>
40041
40042         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
40043         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
40044         __alignof__ (long double).
40045
40046 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40047
40048         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40049
40050 2012-05-20  Richard Henderson  <rth@twiddle.net>
40051
40052         * misc/getauxval.c: New file.
40053         * misc/sys/auxv.h: New file.
40054         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
40055         (routines): Add getauxval.
40056         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
40057         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
40058         * elf/dl-sysdep.c (_dl_auxv): Remove.
40059         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
40060         * elf/dl-support.c (_dl_auxv): New variable.
40061         (_dl_aux_init): Initialize it.
40062         * manual/startup.texi (Auxiliary Vector): New node.
40063         * sysdeps/generic/bits/hwcap.h: New file.
40064         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
40065         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
40066         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
40067         * sysdeps/sparc/sysdep.h: ... here.  Include it.
40068         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
40069         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
40070         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
40071         Update.
40072         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
40073         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
40074         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
40075         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
40076         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
40077         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
40078         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
40079         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
40080
40081 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40082
40083         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40084
40085 2012-05-19  David S. Miller  <davem@davemloft.net>
40086
40087         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40088
40089 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
40090
40091         [BZ #14123]
40092         * math/s_ccosh.c: Include <float.h>
40093         (__ccosh): Avoid internal overflow calculating sinh and cosh
40094         values before multiplying by sin and cos values.
40095         * math/s_ccoshf.c: Likewise.
40096         * math/s_ccoshl.c: Likewise.
40097         * math/s_csin.c: Likewise.
40098         * math/s_csinf.c: Likewise.
40099         * math/s_csinl.c: Likewise.
40100         * math/s_csinh.c: Likewise.
40101         * math/s_csinhf.c: Likewise.
40102         * math/s_csinhl.c: Likewise.
40103         * math/libm-test.inc (ccos_test): Add more tests.
40104         (ccosh_test): Likewise.
40105         (csin_test): Likewise.
40106         (csinh_test): Likewise.
40107         * sysdeps/i386/fpu/libm-test-ulps: Update.
40108         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40109
40110 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
40111
40112         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
40113         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
40114
40115         * sysdeps/x86_64/x32/_itoa.h: Add comment.
40116
40117 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
40118
40119         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
40120         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
40121         * sysdeps/powerpc/soft-fp/Versions: Likewise.
40122         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
40123         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
40124         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
40125         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
40126         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
40127         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
40128         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
40129         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
40130         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
40131         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
40132         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
40133         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
40134         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
40135         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
40136         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
40137         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
40138         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
40139         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
40140         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
40141         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
40142         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
40143         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
40144         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
40145         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
40146         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
40147         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
40148         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
40149         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
40150
40151 2012-05-18  Andreas Jaeger  <aj@suse.de>
40152
40153         * csu/.gitignore: Delete.
40154
40155 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
40156
40157         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
40158         (timex): Use __syscall_slong_t.
40159
40160 2012-05-18  Andreas Jaeger  <aj@suse.de>
40161             Carlos O'Donell  <carlos_odonell@mentor.com>
40162
40163         * manual/install.texi (Configuring and compiling): Update
40164         description about files modified in the source directory.
40165         * INSTALL: Regenerated.
40166
40167 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
40168
40169         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
40170         value.  Use "or" to set return value to -1.
40171         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
40172         negate return value.
40173
40174 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
40175
40176         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
40177         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
40178         failure if the compiler has Graphite support disabled.
40179         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
40180         Likewise.
40181         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
40182         (CFLAGS-memmove.c): Likewise.
40183         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
40184         Likewise.
40185
40186 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
40187
40188         * sysdeps/x86_64/x32/_itoa.h: New file.
40189
40190         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
40191         getdents system call only if kernel and user dirents have the
40192         same d_ino and d_off.
40193
40194         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
40195         LLONG_MAX != LONG_MAX.
40196         (_itoa_word): Use _ITOA_WORD_TYPE on value.
40197         (_fitoa_word): Likewise.
40198
40199         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
40200         years.
40201         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
40202         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
40203         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
40204
40205         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
40206         include <bits/wordsize.h>.  Check __x86_64__ instead of
40207         __WORDSIZE.
40208         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
40209         if __x86_64__ is defined.  Use anonymous union on fpstate.
40210
40211         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
40212         anonymous union.
40213
40214 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
40215
40216         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
40217         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
40218         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
40219         Refer to _rtld_local_ro instead of _rtld_global_ro.
40220         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
40221         Likewise.
40222         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
40223         Likewise.
40224         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
40225         Likewise.
40226         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
40227         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
40228         of _rtld_global, and rtld_progname instead of _dl_argv[0].
40229
40230         * sysdeps/powerpc/powerpc32/dl-machine.c
40231         (__elf_machine_runtime_setup) [PROF]: Don't reference
40232         _dl_prof_resolve.
40233
40234 2012-05-18  Andreas Jaeger  <aj@suse.de>
40235
40236         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
40237         function only available for GCCs before 3.4 since GCC 3.4
40238         introduced a builtin.
40239         (lrint): Likewise.
40240         (llrintf): Likewise.
40241         (llrint): Likewise.
40242         (fmaxf): Likewise.
40243         (fmax): Likewise.
40244         (fminf): Likewise.
40245         (fmin): Likewise.
40246         (rint): Likewise.
40247         (rintf): Likewise.
40248         (nearbyint): Likewise.
40249         (nearbyintf): Likewise.
40250         (ceil): Likewise.
40251         (ceilf): Likewise.
40252         (floor): Likewise.
40253         (floorf): Likewise.
40254
40255 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
40256
40257         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
40258         on both fields and cast pointer to __syscall_ulong_t.
40259
40260         * bits/types.h (__fsword_t): New type.
40261         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
40262         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
40263         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
40264         (__FSWORD_T_TYPE): Likewise.
40265         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
40266         (__FSWORD_T_TYPE): Likewise.
40267         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
40268         (__FSWORD_T_TYPE): Likewise.
40269         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
40270         (__FSWORD_T_TYPE): Likewise.
40271         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
40272         __SWORD_TYPE with __fsword_t.
40273         (statfs64): Likewise.
40274
40275 2012-05-17  David S. Miller  <davem@davemloft.net>
40276
40277         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
40278
40279 2012-05-17  Andreas Jaeger  <aj@suse.de>
40280
40281         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
40282         warning.
40283
40284 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
40285
40286         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
40287
40288 2012-05-17  Andreas Jaeger  <aj@suse.de>
40289
40290         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
40291         when it is used.
40292
40293 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
40294
40295         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
40296
40297 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
40298
40299         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
40300         * sysdeps/x86_64/tst-mallocalign1.c: New file.
40301
40302 2012-05-17  Andreas Jaeger  <aj@suse.de>
40303             Carlos O'Donell  <carlos_odonell@mentor.com>
40304
40305         [BZ #14059]
40306         * sysdeps/x86_64/multiarch/init-arch.h
40307         (bit_YMM_Usable): Rename to...
40308         (bit_AVX_Usable): ... this.
40309         (bit_FMA4_Usable): New macro.
40310         (bit_XMM_state): New macro.
40311         (bit_YMM_state): New macro.
40312         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
40313         [__ASSEMBLER__] (index_AVX_Usable): ... this.
40314         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
40315         (CPUID_OSXSAVE): New macro.
40316         (CPUID_AVX): New macro.
40317         (CPUID_FMA4): New macro.
40318         (index_YMM_Usable): Rename to...
40319         (index_AVX_Usable): ... this.
40320         (HAS_AVX): Use HAS_ARCH_FEATURE.
40321         (HAS_FMA4): Likewise.
40322         (HAS_YMM_USABLE): Remove.
40323         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40324         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
40325         are present.
40326         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
40327         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
40328         * sysdeps/x86_64/multiarch/Makefile: Likewise.
40329         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
40330         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
40331
40332 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
40333
40334         * math/libm-test.c: Support platforms without multiple rounding modes.
40335         * math/bug-nextafter.c: Support platforms without FP exceptions.
40336         * math/bug-nexttoward.c: Likewise.
40337         * math/test-fenv.c: Likewise.
40338         * math/test-misc.c: Likewise.
40339         * stdlib/bug-getcontext.c: Likewise.
40340
40341 2012-05-17  Andreas Jaeger  <aj@suse.de>
40342
40343         * manual/examples/search.c (critter_cmp): Change signature to
40344         avoid warnings.
40345         * manual/string.texi (Collation Functions): Likewise.
40346
40347 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
40348
40349         * bits/types.h: Fold copyright years.
40350         * bits/typesizes.h: Likewise.
40351         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
40352         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
40353         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
40354         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
40355         * time/time.h: Likewise.
40356
40357 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
40358
40359         [BZ #208]
40360         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
40361         in instead of returning them.  Return void.
40362         (__libc_mallinfo): Accumulate over all arenas.
40363         (__malloc_stats): Adjust for change in int_mallinfo interface.
40364
40365 2012-05-16  Roland McGrath  <roland@hack.frob.com>
40366
40367         [BZ #10375]
40368         * configure.in (NM): Add AC_CHECK_TOOL for it.
40369         (libc_extra_cflags): New substituted variable.
40370         Check for -fstack-protector being used implicitly.
40371         * configure: Regenerated.
40372         * config.make.in (config-extra-cflags): New variable,
40373         gets @libc_extra_cflags@.
40374         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
40375
40376         [BZ #10375]
40377         * configure.in: Check for _FORTIFY_SOURCE being predefined.
40378         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
40379         * configure: Regenerated.
40380         * config.make.in (CPPUNDEFS): New substituted variable.
40381         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
40382         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
40383         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
40384
40385 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
40386
40387         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
40388         (mq_attr): Use __syscall_slong_t.
40389
40390 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
40391
40392         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
40393         Check __x86_64__ instead of __WORDSIZE.
40394         (_STAT_VER_LINUX): Likewise.
40395         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
40396         __syscall_ulong_t and __syscall_slong_t.
40397         (stat64): Likewise.
40398
40399 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
40400
40401         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
40402
40403 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
40404
40405         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
40406
40407 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
40408
40409         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
40410         __syscall_ulong_t.
40411
40412         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
40413         include <bits/wordsize.h>.  Check __x86_64__ instead of
40414         __WORDSIZE.
40415         (greg_t): Use "__extension__ long long int" if __x86_64__ is
40416         defined.
40417         (mcontext_t): Replace "unsigned long" with "unsigned long long".
40418
40419         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
40420         include <bits/wordsize.h>.  Check __x86_64__ instead of
40421         __WORDSIZE.
40422         (user_regs_struct): Use "__extension__ unsigned long long"
40423         instead of "unsigned long" if __x86_64__ is defined.
40424         (user): Likewise.  Pad after pointer field if __ILP32__ is
40425         defined.
40426
40427 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
40428
40429         * configure.in (makeinfo): Require version 4.5 or later.  Allow
40430         versions 5 to 9.
40431         * configure: Regenerated.
40432         * manual/install.texi (texinfo): Increase version requirement to
40433         4.5 or later.
40434         * INSTALL: Regenerated.
40435
40436         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
40437
40438 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
40439
40440         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
40441
40442         * sysdeps/x86_64/x32/ffs.c: New file.
40443
40444         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
40445         __syscall_ulong_t.
40446         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
40447         defined.  Use __syscall_ulong_t.
40448         (shminfo): Use __syscall_ulong_t.
40449         (shm_info): Likewise.
40450
40451         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
40452         __syscall_ulong_t.
40453
40454         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
40455         <bits/wordsize.h>.
40456         (msgqnum_t): Use __syscall_ulong_t.
40457         (msglen_t): Likewise.
40458         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
40459         __syscall_ulong_t.
40460
40461         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
40462         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
40463
40464         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
40465
40466         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
40467         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
40468
40469         * sysvipc/sys/msg.h (msgbuf): Replace long int with
40470         __syscall_slong_t.
40471
40472         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
40473         include <bits/wordsize.h>.  Check __x86_64__ instead of
40474         __WORDSIZE.
40475
40476         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
40477         "unsigned long long int" if __x86_64__ is defined.
40478         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
40479
40480         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
40481         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
40482         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
40483
40484         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
40485         <stdint.h>.
40486         (GET_PC): Cast to uintptr_t first.
40487         (GET_FRAME): Likewise.
40488         (GET_STACK): Likewise.
40489
40490         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
40491         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
40492         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
40493         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
40494         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
40495         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
40496         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
40497         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
40498         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
40499         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
40500         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
40501         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
40502         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
40503         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
40504         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
40505         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
40506         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
40507         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
40508         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
40509         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
40510         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
40511         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
40512         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
40513         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
40514         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
40515         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
40516         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
40517         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
40518         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
40519
40520 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
40521
40522         * Makerules (+depfiles): Also collect depfiles from .oS in
40523         $(extra-objs).
40524         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
40525         .oS, $(libnldbl-routines)).
40526
40527         * Makerules (native-compile-mkdep-flags): Define.
40528         * sunrpc/Makefile (extra-objs): Add $(addprefix
40529         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
40530         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
40531         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
40532         calling $(make-target-directory).
40533
40534 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40535
40536         * bits/types.h (__snseconds_t): Removed.
40537         * time/time.h (struct timespec): Replace __snseconds_t with
40538         __syscall_slong_t.
40539         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
40540         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
40541         Likewise.
40542         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
40543         (__SNSECONDS_T_TYPE): Likewise.
40544         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
40545         (__SNSECONDS_T_TYPE): Likewise.
40546         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
40547         (__SNSECONDS_T_TYPE): Likewise.
40548
40549 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40550
40551         * sysdeps/mach/hurd/bits/typesizes.h
40552         (__SYSCALL_SLONG_TYPE): New macro.
40553         (__SYSCALL_ULONG_TYPE): Likewise.
40554
40555 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40556
40557         * bits/types.h (__syscall_slong_t): New type.
40558         (__syscall_ulong_t): Likewise.
40559
40560         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
40561         (__SYSCALL_ULONG_TYPE): Likewise.
40562         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
40563         (__SYSCALL_SLONG_TYPE): Likewise.
40564         (__SYSCALL_ULONG_TYPE): Likewise.
40565         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
40566         (__SYSCALL_SLONG_TYPE): Likewise.
40567         (__SYSCALL_ULONG_TYPE): Likewise.
40568         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
40569         (__SYSCALL_SLONG_TYPE): Likewise.
40570         (__SYSCALL_ULONG_TYPE): Likewise.
40571
40572 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40573
40574         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
40575         Add sigaltstack-offsets.sym.
40576         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
40577         <sigaltstack-offsets.h>.
40578         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
40579         longjmp_msg pointer.
40580         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
40581         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
40582         signal stack.
40583         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
40584
40585 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
40586
40587         * elf/stackguard-macros.h: Remove file.
40588         * sysdeps/generic/stackguard-macros.h: New file.
40589         * sysdeps/i386/stackguard-macros.h: Likewise.
40590         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
40591         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
40592         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
40593         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
40594         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
40595         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
40596         * sysdeps/x86_64/stackguard-macros.h: Likewise.
40597         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
40598         <elf/stackguard-macros.h>.
40599
40600         [BZ #14109]
40601         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
40602         __aligned__ in attribute.
40603         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
40604         (gregset_t): Likewise.
40605
40606 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40607
40608         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
40609         * sysdeps/x86_64/64/Implies-after: Here.  New file.
40610         * sysdeps/x86_64/x32/Implies-after: New file.
40611
40612 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40613
40614         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
40615         and access return value for _dl_profile_fixup.  Use R10_LP to
40616         load frame size.
40617
40618 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40619
40620         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
40621
40622 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40623
40624         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
40625         * sysdeps/x86_64/x32/sysdep.h: New file.
40626
40627 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40628
40629         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
40630         * sysdeps/x86_64/setjmp.S: Likewise.
40631
40632 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40633
40634         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
40635         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
40636         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
40637         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
40638         remove unused global constant.
40639
40640 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
40641
40642         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
40643         include of <not-cancel.h>.
40644
40645 2012-05-15  Roland McGrath  <roland@hack.frob.com>
40646
40647         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
40648
40649 2012-05-15  Jeff Law  <law@redhat.com>
40650             Andreas Jaeger  <aj@suse.de>
40651
40652         [BZ #13594]
40653         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
40654         out from...
40655         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
40656         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
40657         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
40658         code changing __hst_map_handle.map.
40659
40660 2012-05-15  Roland McGrath  <roland@hack.frob.com>
40661
40662         * configure.in (sysnames): Look for Implies-before and Implies-after
40663         files.
40664         * configure: Regenerated.
40665
40666 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40667
40668         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
40669         8-byte data alignment with LP_SIZE alignment.
40670
40671 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40672
40673         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
40674         into R10_LP.
40675
40676 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40677
40678         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
40679
40680 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40681
40682         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
40683         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
40684         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
40685         Likewise.
40686         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
40687
40688 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40689
40690         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
40691         (stackinfo_sub_sp): Likewise.
40692
40693 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40694
40695         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
40696         RAX_LP.
40697
40698 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40699
40700         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
40701         into R*_LP.
40702
40703 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40704
40705         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
40706         sizes into R*_LP.
40707
40708 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40709
40710         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
40711
40712 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40713
40714         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
40715         into R11_LP and load __x86_64_shared_cache_size_half into
40716         R8_LP.
40717
40718 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40719
40720         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
40721         R8_LP.
40722
40723 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40724
40725         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
40726         logb for POWER7.
40727         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
40728         logbf for POWER7.
40729         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
40730         logbl for POWER7.
40731         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
40732         powerpc32/power7/fpu/s_logb.c via #include.
40733         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
40734         powerpc32/power7/fpu/s_logbf.c via #include.
40735         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
40736         powerpc32/power7/fpu/s_logbl.c via #include.
40737
40738 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
40739
40740         * README.libm: Remove file.
40741
40742 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
40743
40744         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
40745         count for x32.  Use R*_LP and omit operand-size suffix.
40746
40747 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
40748
40749         * shlib-versions: Move x86_64-.*-linux.* entries to ...
40750         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
40751         * sysdeps/x86_64/x32/shlib-versions: New file.
40752
40753 2012-05-14  Roland McGrath  <roland@hack.frob.com>
40754
40755         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
40756         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
40757         Use _dl_fatal_printf instead.
40758
40759 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
40760
40761         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
40762         set if not set by the user.  Do not allow for being unset.
40763         * sysdeps/unix/sysv/linux/configure: Regenerated.
40764
40765 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
40766
40767         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
40768         the `q' suffix from lea and replace .quad with ASM_ADDR.
40769
40770 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
40771
40772         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
40773         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
40774         instead of $17.
40775         (PTR_DEMANGLE): Likewise.
40776
40777 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
40778
40779         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
40780         (LP_OP): Likewise.
40781         (ASM_ADDR): Likewise.
40782         (RAX_LP): Likewise.
40783         (RBP_LP): Likewise.
40784         (RBX_LP): Likewise.
40785         (RCX_LP): Likewise.
40786         (RDI_LP): Likewise.
40787         (RSI_LP): Likewise.
40788         (RSP_LP): Likewise.
40789         (R8_LP): Likewise.
40790         (R9_LP): Likewise.
40791         (R10_LP): Likewise.
40792         (R10_LP): Likewise.
40793         (R11_LP): Likewise.
40794         (R12_LP): Likewise.
40795         (R13_LP): Likewise.
40796         (R14_LP): Likewise.
40797         (R15_LP): Likewise.
40798
40799 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
40800
40801         * sysdeps/x86_64/x32/dl-machine.h: New file.
40802
40803 2012-05-14  Andreas Jaeger  <aj@suse.de>
40804
40805         * manual/Makefile (subdir): Remove export of subdir.
40806         (all): Remove target.
40807         (.PHONY): Remove all from list.
40808         (mkinstalldirs): Remove.
40809         (.PHONY): Remove installdirs from list.
40810         ($(inst_infodir)/libc.info): Use make-target-directory.
40811         (installdirs): Remove.
40812         (subdir_%): Remove.
40813         (glibc-targets): Remove.
40814         (lib): Remove.
40815         (stubs): Remove.
40816         ($(objpfx)stubs ../po/manual.pot): Remove.
40817         ($(objpfx)stamp%): Remove.
40818         (make-target-directory): Remove.
40819         (subdir_install): Remove.
40820         (routines): Remove.
40821         (aux): Remove.
40822         (sources): Remove.
40823         (objects): Remove.
40824         (headers): Remove.
40825
40826         [BZ #13750]
40827         * manual/.gitignore: Remove, it's not needed anymore.
40828         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
40829         all files in it.
40830         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
40831         directory.
40832         (texis): Renamed to $(objpfx)texis.
40833         (texis-path): New, contains path to generated files.
40834         (chapters.%): Use texis-path for complete path, add extra argument
40835         libc-texinfo.sh.
40836         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
40837         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
40838         (summary,texi, stamp-summary): Use complete path of
40839         files. Generate files in build dir.
40840         (dir-add.texi): Build in build dir.
40841         (libm-err.texi,stamp-libm-err): Likewise.
40842         (version.texi, stamp-version): Likewise.
40843         (.%c.texi): Likewise.
40844         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
40845         (mostlyclean): Remove target.
40846         (realclean): Remove target.
40847         (generated): Add new variable with contents from mostlyclean and
40848         realclean, remove entries duplicated in common-mostlyclean, add
40849         stamp-libm-err and stamp-version.
40850         (generated-dirs): Add libc directory.
40851         ($(inst_infodir)/libc.info): Install files from build dir.
40852
40853         * manual/install.texi (Configuring and compiling): Adjust since
40854         the info files are not part of the tar ball anymore.
40855
40856 2012-05-14  Andreas Jaeger  <aj@suse.de>
40857
40858         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
40859         variable.
40860
40861 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
40862
40863         [BZ #13717]
40864         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
40865         to 2.2.0 where earlier.
40866         * sysdeps/unix/sysv/linux/configure: Regenerated.
40867         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
40868         Remove conditional code.
40869         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
40870         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
40871         Remove conditional code.
40872         [!__NR_lchown]: Likewise.
40873         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
40874         [__NR_lchown]: Likewise.
40875         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
40876         comment referencing __ASSUME_LCHOWN_SYSCALL.
40877         * sysdeps/unix/sysv/linux/i386/sigaction.c
40878         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
40879         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
40880         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
40881         Remove conditional code.
40882         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
40883         (__protocol_available): Remove #if 0 code.
40884         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
40885         conditional code.
40886         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
40887         * sysdeps/unix/sysv/linux/kernel-features.h
40888         (__ASSUME_GETCWD_SYSCALL): Don't define.
40889         (__ASSUME_REALTIME_SIGNALS): Likewise.
40890         (__ASSUME_PREAD_SYSCALL): Likewise.
40891         (__ASSUME_PWRITE_SYSCALL): Likewise.
40892         (__ASSUME_POLL_SYSCALL): Likewise.
40893         (__ASSUME_LCHOWN_SYSCALL): Likewise.
40894         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
40895         non-SPARC.
40896         (__ASSUME_SIOCGIFNAME): Don't define.
40897         (__ASSUME_MSG_NOSIGNAL): Likewise.
40898         (__ASSUME_SENDFILE): Define unconditionally.
40899         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
40900         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
40901         conditional code.
40902         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
40903         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
40904         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
40905         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
40906         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
40907         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
40908         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
40909         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
40910         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
40911         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
40912         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
40913         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
40914         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
40915         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
40916         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
40917         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
40918         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
40919         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
40920         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
40921         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
40922         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
40923         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
40924         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
40925         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
40926         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
40927         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
40928         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
40929         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
40930         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
40931         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
40932         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
40933         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
40934         Remove conditional code.
40935         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
40936         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
40937         Remove conditional code.
40938         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
40939         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
40940         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
40941         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
40942         Remove conditional code.
40943         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
40944         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
40945         Remove conditional code.
40946         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
40947         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
40948         Remove conditional code.
40949         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
40950         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
40951         Remove conditional code.
40952         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
40953         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
40954         Remove conditional code.
40955         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
40956         * sysdeps/unix/sysv/linux/sh/pwrite64.c
40957         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
40958         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
40959         * sysdeps/unix/sysv/linux/sigaction.c
40960         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
40961         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
40962         * sysdeps/unix/sysv/linux/sigpending.c
40963         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
40964         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
40965         * sysdeps/unix/sysv/linux/sigprocmask.c
40966         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
40967         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
40968         * sysdeps/unix/sysv/linux/sigsuspend.c
40969         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
40970         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
40971         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
40972         (__libc_missing_rt_sigs): Remove.
40973         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
40974         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
40975         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
40976         Remove conditional code.
40977         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
40978         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
40979         return 1.
40980         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
40981         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
40982         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
40983         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
40984
40985 2012-05-14  Andreas Jaeger  <aj@suse.de>
40986
40987         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
40988         it's not used in glibc.
40989         (__coshm1): Likewise.
40990         (__acosh1p): Likewise.
40991         (__sgn): Likewise.
40992
40993         * manual/string.texi (Copying and Concatenation): Add missing
40994         variable in concat example.
40995         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
40996
40997 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
40998
40999         [BZ #14103]
41000         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
41001         __builtin_clzl with __builtin_clzll.
41002
41003 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
41004
41005         [BZ #14104]
41006         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
41007         libc_freeres_ptr.
41008
41009 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41010
41011         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
41012         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
41013         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
41014         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
41015
41016 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
41017
41018         * NEWS: Update ia64 info.
41019
41020 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
41021
41022         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
41023         used as bcopy.
41024
41025 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
41026
41027         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
41028         * sysdeps/unix/syscalls.list (dup3): Likewise.
41029         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
41030         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
41031
41032 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
41033
41034         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
41035         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
41036
41037 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
41038
41039         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
41040         thread pointer.
41041         (TLS_IE): Use mov/add instead of movq/addq to load thread
41042         pointer.
41043         (TLS_GD_PREFIX): New.
41044         (TLS_GD): Use it.
41045
41046 2012-05-11  David S. Miller  <davem@davemloft.net>
41047
41048         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
41049         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
41050         (_FPU_SETCW): Likewise.
41051
41052 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
41053
41054         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
41055         is 32-byte aligned.
41056
41057 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
41058
41059         [BZ #11837]
41060         * iconvdata/gb18030.c: Update tables.
41061         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
41062         characters specially.
41063         (BODY for TO_LOOP): Add encoding of missing ranges.
41064
41065 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
41066
41067         [BZ #13673]
41068         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
41069         * sysdeps/mach/hurd/dup3.c: Likewise.
41070         * sysdeps/mach/hurd/readlinkat.c: Likewise.
41071         * sysdeps/powerpc/memmove.c:: Likewise.
41072
41073 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
41074
41075         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
41076         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
41077
41078 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
41079
41080         * elf/elf.h (R_X86_64_RELATIVE64): New.
41081         (R_X86_64_NUM): Updated.
41082         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
41083         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
41084         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
41085         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
41086         tst-quad1pie tst-quad2pie
41087         (modules-names): Add tst-quadmod1 tst-quadmod2.
41088         ($(objpfx)tst-quad1): New dependency.
41089         ($(objpfx)tst-quad2): Likewise.
41090         ($(objpfx)tst-quad1pie): Likewise.
41091         ($(objpfx)tst-quad2pie): Likewise.
41092         * sysdeps/x86_64/tst-quad1.c: New file.
41093         * sysdeps/x86_64/tst-quad1pie.c: New file.
41094         * sysdeps/x86_64/tst-quad2.c: Likewise.
41095         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
41096         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
41097         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
41098         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
41099         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
41100
41101 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
41102
41103         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
41104         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
41105         * streams/stropts.h (t_scalar_t): Define type.
41106
41107         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
41108         (_PATH_PRESERVE): Set to "/var/lib".
41109         (_PATH_RWHODIR): Set to "/var/spool/rwho".
41110
41111         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
41112         instead of int.
41113
41114         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
41115         if __dir_mkfile succeeded.
41116
41117         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
41118         checking for _hurd_dtablesize.  Unlock it right after having
41119         finished _hurd_dtable allocation.
41120
41121 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
41122
41123         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
41124         * sysdeps/mach/hurd/configure: Regenerated.
41125         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
41126         special-casing to...
41127         * sysdeps/gnu/configure.in: ... this new file.
41128         * sysdeps/unix/sysv/linux/configure: Regenerated.
41129         * sysdeps/gnu/configure: New generated file.
41130
41131         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
41132         for Linux: use nsec instead of usec, as well as:
41133         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
41134         members of type struct timespec.
41135         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
41136         New macros.
41137         (struct stat64): Likewise.
41138         (_STATBUF_ST_NSEC): New macro.
41139         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
41140
41141         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
41142         __strtoul_internal rather than strtoul.
41143
41144 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
41145
41146         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
41147         and reject them.
41148
41149 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
41150
41151         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
41152         which preserves existing values.
41153         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
41154
41155 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
41156
41157         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
41158         TIMEOUT values.  Return EINVAL for NFDS values either negative or
41159         greater than FD_SETSIZE.
41160
41161 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
41162
41163         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
41164         allocated, call __vm_protect to finish enabling the existing space, and
41165         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
41166         allocate the remainder.
41167
41168 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
41169
41170         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
41171         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
41172
41173 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
41174
41175         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
41176         sysdeps/mach/hurd/readlink.c.
41177
41178         * posix/tst-sysconf.c (posix_options): Only use
41179         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
41180         _POSIX_SYNCHRONIZED_IO when they are defined
41181         * sysdeps/mach/hurd/bits/posix_opt.h:
41182         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
41183         (_XOPEN_REALTIME): Undefine macro.
41184         (_XOPEN_REALTIME_THREADS): Undefine macro.
41185         (_XOPEN_SHM): Undefine macro.
41186         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
41187         macro to -1.
41188         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
41189         macro to -1.
41190         (_POSIX_ASYNC_IO): Undefine macro.
41191         (_POSIX_PRIORITIZED_IO): Undefine macro.
41192         (_POSIX_SPIN_LOCKS): Define macro to -1.
41193
41194         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
41195         SA_NODEFER, SA_RESETHAND.
41196         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
41197         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
41198         F_DUPFD_CLOEXEC.
41199
41200 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
41201
41202         * elf/Makefile (pldd-modules): Define unconditionally.
41203
41204 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
41205
41206         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
41207
41208 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
41209
41210         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
41211         Return ENOENT when name is empty.
41212         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
41213
41214 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
41215
41216         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
41217
41218         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
41219
41220 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
41221
41222         Fix mlock in all cases except non-readable pages.
41223         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
41224         instead of VM_PROT_ALL as parameter to __vm_wire function.
41225
41226         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
41227         (__mkdir): When path is `/', just fail with EEXIST.
41228         * sysdeps/mach/hurd/mkdirat.c: Likewise.
41229
41230 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
41231
41232         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
41233         <sys/uio.h> (for writev).
41234         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
41235         and <sys/param.h> (for MIN).
41236
41237 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
41238
41239         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
41240         REQUESTED_TIME.  Properly set the remaining time and return EINTR
41241         if interrupted.
41242
41243 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
41244
41245         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
41246         Depend on against $(link-rpcuserlibs).
41247
41248 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
41249
41250         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
41251         (__libc_stack_end): Do not use attribute_relro.
41252         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
41253         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
41254         to libthread-provided value.
41255         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
41256         attribute_relro.
41257
41258 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
41259
41260         [BZ #3748]
41261         * bits/libc-lock.h (__libc_once_get): New macro.
41262         * sysdeps/mach/bits/libc-lock.h: Likewise.
41263         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
41264         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
41265         instead of using implementation details.
41266
41267         * libio/fileops.c: Unconditionally include <kernel-features.h>.
41268         * libio/freopen.c: Likewise.
41269         * libio/freopen64.c: Likewise.
41270         * misc/syslog.c: Likewise.
41271         * nscd/connections.c: Likewise.
41272         * nscd/netgroupcache.c: Likewise.
41273         * sysdeps/posix/getcwd.c: Likewise.
41274
41275 2012-05-10  Roland McGrath  <roland@hack.frob.com>
41276
41277         * math/w_ilogbf.c: Add #include <limits.h>.
41278
41279 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
41280
41281         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
41282         path instead of returning without unlocking.
41283
41284         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
41285         immediate-write ioctls.
41286         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
41287
41288 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
41289
41290         * sysdeps/mach/hurd/i386/init-first.c (init): Use
41291         __builtin_frame_address instead of making assumptions about the
41292         location of the return address relative to DATA.  Force early load of
41293         the return address.
41294         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
41295         __builtin_frame_address.
41296
41297         dup3 for GNU Hurd.
41298         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
41299         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
41300         implement dup3 and do some further code clean-ups.
41301         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
41302         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
41303
41304 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
41305
41306         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
41307
41308         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
41309         HURD_CRITICAL_END around holding _hurd_dtable_lock.
41310         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
41311         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
41312         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
41313         d->port.lock.
41314
41315         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
41316         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
41317         when handler == SIG_ERR, not when handler != SIG_ERR.
41318
41319 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
41320
41321         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
41322         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
41323         definitions.
41324
41325         accept4 for GNU Hurd.
41326         * include/sys/socket.h (__libc_accept4): New prototype.
41327         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
41328         to implement __libc_accept4.
41329         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
41330         __libc_accept4.
41331         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
41332
41333         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
41334         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
41335         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
41336         signal-defines.sym.
41337
41338 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
41339
41340         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
41341
41342 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
41343
41344         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
41345         assertion on O_CLOEXEC flag.
41346         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
41347         * hurd/intern-fd.c: Likewise.
41348         * hurd/port2fd.c: Likewise.
41349
41350 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
41351
41352         [BZ #3906]
41353         * bits/in.h (IPV6_PKTINFO): Define new macro.
41354         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
41355
41356 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41357
41358         [BZ #13954]
41359         [BZ #13955]
41360         [BZ #13956]
41361         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
41362         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
41363         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
41364         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
41365         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
41366         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
41367         * math/libm-test.inc (logb_test) : Additional logb tests.
41368
41369 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
41370             Andreas Jaeger  <aj@suse.de>
41371
41372         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
41373         * configure: Regenerated.
41374         * config.h.in (LINK_OBSOLETE_RPC): New macro.
41375         * config.make.in (link-obsolete-rpc): New substituted variable.
41376         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
41377         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
41378         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
41379         (shared-only-routines): Don't set it under [link-obsolete-rpc],
41380         so that libc.a contains the symbols.
41381         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
41382         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
41383         * sunrpc/auth_none.c: Likewise.
41384         * sunrpc/auth_unix.c: Likewise.
41385         * sunrpc/authdes_prot.c: Likewise.
41386         * sunrpc/authuxprot.c: Likewise.
41387         * sunrpc/clnt_gen.c: Likewise.
41388         * sunrpc/clnt_perr.c: Likewise.
41389         * sunrpc/clnt_raw.c: Likewise.
41390         * sunrpc/clnt_simp.c: Likewise.
41391         * sunrpc/clnt_tcp.c: Likewise.
41392         * sunrpc/clnt_udp.c: Likewise.
41393         * sunrpc/clnt_unix.c: Likewise.
41394         * sunrpc/des_crypt.c: Likewise.
41395         * sunrpc/des_soft.c: Likewise.
41396         * sunrpc/get_myaddr.c: Likewise.
41397         * sunrpc/key_call.c: Likewise.
41398         * sunrpc/key_prot.c: Likewise.
41399         * sunrpc/netname.c: Likewise.
41400         * sunrpc/pm_getmaps.c: Likewise.
41401         * sunrpc/pm_getport.c: Likewise.
41402         * sunrpc/pmap_clnt.c: Likewise.
41403         * sunrpc/pmap_prot.c: Likewise.
41404         * sunrpc/pmap_prot2.c: Likewise.
41405         * sunrpc/pmap_rmt.c: Likewise.
41406         * sunrpc/publickey.c: Likewise.
41407         * sunrpc/rpc_cmsg.c: Likewise.
41408         * sunrpc/rpc_common.c: Likewise.
41409         * sunrpc/rpc_dtable.c: Likewise.
41410         * sunrpc/rpc_prot.c: Likewise.
41411         * sunrpc/rpc_thread.c: Likewise.
41412         * sunrpc/rtime.c: Likewise.
41413         * sunrpc/svc.c: Likewise.
41414         * sunrpc/svc_auth.c: Likewise.
41415         * sunrpc/svc_raw.c: Likewise.
41416         * sunrpc/svc_run.c: Likewise.
41417         * sunrpc/svc_tcp.c: Likewise.
41418         * sunrpc/svc_udp.c: Likewise.
41419         * sunrpc/svc_unix.c: Likewise.
41420         * sunrpc/svcauth_des.c: Likewise.
41421         * sunrpc/xcrypt.c: Likewise.
41422         * sunrpc/xdr.c: Likewise.
41423         * sunrpc/xdr_array.c: Likewise.
41424         * sunrpc/xdr_float.c: Likewise.
41425         * sunrpc/xdr_intXX_t.c: Likewise.
41426         * sunrpc/xdr_mem.c: Likewise.
41427         * sunrpc/xdr_rec.c: Likewise.
41428         * sunrpc/xdr_ref.c: Likewise.
41429         * sunrpc/xdr_sizeof.c: Likewise.
41430         * sunrpc/xdr_stdio.c: Likewise.
41431
41432 2012-05-10  Roland McGrath  <roland@hack.frob.com>
41433
41434         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
41435         change.  Update copyright years.
41436
41437 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
41438
41439         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
41440
41441 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
41442             Joseph Myers  <joseph@codesourcery.com>
41443             Paul Pluzhnikov  <ppluzhnikov@google.com>
41444
41445         [BZ #14012]
41446         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
41447         requiring rpcgen.
41448         [cross-compiling] (extra-libs): Likewise.
41449         [cross-compiling] (extra-libs-others): Likewise.
41450         [cross-compiling] (librpcsvc-routines): Likewise.
41451         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
41452         [cross-compiling] (omit-deps): Likewise.
41453         (sunrpc-CPPFLAGS): New variable.
41454         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
41455         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
41456         (cross-rpcgen-objs): New variable.
41457         (extra-objs): Append $(cross-rpcgen-objs).
41458         ($(cross-rpcgen-objs)): New rule.
41459         ($(objpfx)cross-rpcgen): Likewise.
41460         (rpcgen-cmd): Define to use $(built-program-file).  Expand
41461         comment.
41462         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
41463         ($(objpfx)x%.stmp): Likewise.
41464         * sunrpc/proto.h [IS_IN_build] (_): Define.
41465         [IS_IN_build] (_libc_intl_domainname): Likewise.
41466
41467 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
41468
41469         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
41470         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
41471         and R_X86_64_TPOFF64.
41472
41473 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
41474
41475         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
41476         sysdeps/unix/sysv/syscalls.list.
41477         (stime): Likewise.
41478         (utime): Likewise.
41479         * sysdeps/unix/sysv/syscalls.list: Remove file.
41480
41481 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
41482
41483         [BZ #3440]
41484         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
41485         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
41486         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
41487         (__LC_IDENTIFICATION): Make these macros useful in #if
41488         expressions, as required by C99.
41489
41490 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
41491
41492         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
41493         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
41494         after this.
41495
41496 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
41497
41498         * stdlib/longlong.h: Updated from GCC.
41499
41500 2012-05-09  Andreas Jaeger  <aj@suse.de>
41501
41502         * nscd/nscd.c (run_modes): Make named enum, reorder so that
41503         default is first entry.
41504         (run_mode): Set type.
41505         (main): Remove informal message about syslog.
41506         (options): Fix typo.
41507
41508         [BZ #14053]
41509         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
41510         to asm.
41511         (lrint): Likewise.
41512         (llrintf): Likewise.
41513         (llrint): Likewise.
41514         (rint): Likewise.
41515         (rintf): Likewise.
41516         (nearbyint): Likewise.
41517         (nearbyintf): Likewise.
41518
41519 2012-05-09  Andreas Jaeger  <aj@suse.de>
41520             Pedro Alves  <palves@redhat.com>
41521
41522         * nscd/nscd.c (run_mode): Use enum.
41523         (main): Cleanup coding style issue.
41524
41525 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
41526             Andreas Jaeger  <aj@suse.de>
41527
41528         * nscd/nscd.c (go_background): Replaced with...
41529         (run_mode): ... this.
41530         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
41531         (options): Add -F --foreground.
41532         (main): Implement it.
41533         (parse_opt): Parse it.
41534
41535 2012-05-09  Andreas Jaeger  <aj@suse.de>
41536
41537         [BZ #14083]
41538         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
41539         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
41540         -Wconversion warning.
41541         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
41542         Likewise.
41543
41544 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
41545
41546         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
41547         == 0.
41548         (LC_ALL): Use macro-int-constant.
41549         (LC_COLLATE): Likewise.
41550         (LC_CTYPE): Likewise.
41551         (LC_MESSAGES): Likewise.
41552         (LC_MONETARY): Likewise.
41553         (LC_NUMERIC): Likewise.
41554         (LC_TIME): Likewise.
41555         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
41556         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
41557         [ISO || ISO99 || ISO11] (*_t): Do not allow.
41558         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
41559         Specify type.
41560         [C99-based standards] (float_t): Expect type.
41561         [C99-based standards] (double_t): Expect type.
41562         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
41563         type.
41564         [C99-based standards] (HUGE_VALL): Likewise.
41565         [C99-based standards] (INFINITY): Likewise.
41566         [C99-based standards] (NAN): Likewise.
41567         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
41568         [C99-based standards] (FP_NAN): Likewise.
41569         [C99-based standards] (FP_NORMAL): Likewise.
41570         [C99-based standards] (FP_SUBNORMAL): Likewise.
41571         [C99-based standards] (FP_ZERO): Likewise.
41572         [C99-based standards] (FP_FAST_FMA): Use
41573         optional-macro-int-constant.  Specify type.  Require == 1.
41574         [C99-based standards] (FP_FAST_FMAF): Likewise.
41575         [C99-based standards] (FP_FAST_FMAL): Likewise.
41576         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
41577         [C99-based standards] (FP_ILOGBNAN): Likewise.
41578         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
41579         Specify type.
41580         [C99-based standards] (MATH_ERREXCEPT): Likewise.
41581         [C99-based standards] (math_errhandling): Specify type.
41582         [ISO99 || ISO11] (signgam): Do not allow.
41583         [non-C99-based standards] (copysignf): Do not allow.
41584         [non-C99-based standards] (exp2f): Likewise.
41585         [non-C99-based standards] (log2f): Likewise.
41586         [non-C99-based standards] (modff): Allow.
41587         [non-C99-based standards] (erff): Do not allow.
41588         [non-C99-based standards] (erfcf): Likewise.
41589         [non-C99-based standards] (gammaf): Likewise.
41590         [non-C99-based standards] (hypotf): Likewise.
41591         [non-C99-based standards] (j0f): Likewise.
41592         [non-C99-based standards] (j1f): Likewise.
41593         [non-C99-based standards] (jnf): Likewise.
41594         [non-C99-based standards] (lgammaf): Likewise.
41595         [non-C99-based standards] (tgammaf): Likewise.
41596         [non-C99-based standards] (y0f): Likewise.
41597         [non-C99-based standards] (y1f): Likewise.
41598         [non-C99-based standards] (ynf): Likewise.
41599         [non-C99-based standards] (isnanf): Likewise.
41600         [non-C99-based standards] (acoshf): Likewise.
41601         [non-C99-based standards] (asinhf): Likewise.
41602         [non-C99-based standards] (atanhf): Likewise.
41603         [non-C99-based standards] (cbrtf): Likewise.
41604         [non-C99-based standards] (expm1f): Likewise.
41605         [non-C99-based standards] (ilogbf): Likewise.
41606         [non-C99-based standards] (log1pf): Likewise.
41607         [non-C99-based standards] (logbf): Likewise.
41608         [non-C99-based standards] (nextafterf): Likewise.
41609         [non-C99-based standards] (remainderf): Likewise.
41610         [non-C99-based standards] (rintf): Likewise.
41611         [non-C99-based standards] (scalbf): Likewise.
41612         [non-C99-based standards] (copysignl): Likewise.
41613         [non-C99-based standards] (exp2l): Likewise.
41614         [non-C99-based standards] (log2l): Likewise.
41615         [non-C99-based standards] (modfl): Allow.
41616         [non-C99-based standards] (erfl): Do not allow.
41617         [non-C99-based standards] (erfcl): Likewise.
41618         [non-C99-based standards] (gammal): Likewise.
41619         [non-C99-based standards] (hypotl): Likewise.
41620         [non-C99-based standards] (j0l): Likewise.
41621         [non-C99-based standards] (j1l): Likewise.
41622         [non-C99-based standards] (jnl): Likewise.
41623         [non-C99-based standards] (lgammal): Likewise.
41624         [non-C99-based standards] (tgammal): Likewise.
41625         [non-C99-based standards] (y0l): Likewise.
41626         [non-C99-based standards] (y1l): Likewise.
41627         [non-C99-based standards] (ynl): Likewise.
41628         [non-C99-based standards] (isnanl): Likewise.
41629         [non-C99-based standards] (acoshl): Likewise.
41630         [non-C99-based standards] (asinhl): Likewise.
41631         [non-C99-based standards] (atanhl): Likewise.
41632         [non-C99-based standards] (cbrtl): Likewise.
41633         [non-C99-based standards] (expm1l): Likewise.
41634         [non-C99-based standards] (ilogbl): Likewise.
41635         [non-C99-based standards] (log1pl): Likewise.
41636         [non-C99-based standards] (logbl): Likewise.
41637         [non-C99-based standards] (nextafterl): Likewise.
41638         [non-C99-based standards] (remainderl): Likewise.
41639         [non-C99-based standards] (rintl): Likewise.
41640         [non-C99-based standards] (scalbl): Likewise.
41641         [ISO || ISO99 || ISO11] (*_t): Do not allow.
41642         [non-C99-based standards] (FP_*): Do not allow.
41643         [C99-based standards] (FP_*): Change to
41644         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
41645         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
41646         allow.
41647         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
41648         (SIG_ERR): Likewise.
41649         [X/Open-based standards] (SIG_HOLD): Likewise.
41650         (SIG_IGN): Likewise.
41651         (SIGABRT): Use macro-int-constant.  Specify type.  Require
41652         positive value.
41653         (SIGFPE): Likewise.
41654         (SIGILL): Likewise.
41655         (SIGINT): Likewise.
41656         (SIGSEGV): Likewise.
41657         (SIGTER): Likewise.
41658         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
41659         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
41660         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
41661         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
41662         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
41663         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
41664         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
41665         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
41666         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
41667         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
41668         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
41669         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
41670         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
41671         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
41672         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
41673         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
41674         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
41675         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
41676         [X/Open-based standards] (SIGTRAP): Likewise.
41677         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
41678         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
41679         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
41680         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
41681         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
41682         allow.
41683
41684 2012-05-08  Ian Wienand  <ianw@vmware.com>
41685
41686         [BZ #14080]
41687         * time/tzset.c (__tzset_parse_tz): Update default rules for
41688         daylight time changes in the Energy Policy Act of 2005.
41689
41690 2012-05-09  Andreas Jaeger  <aj@suse.de>
41691
41692         [BZ #13983]
41693         * elf/ldconfig.c (parse_conf): Change string to make clear that
41694         ldconfig only issued a warning if ld.so.conf does not exist.
41695
41696 2012-05-08  David S. Miller  <davem@davemloft.net>
41697
41698         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
41699         movxtod instead of popping the value on the stack.
41700
41701         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41702
41703 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
41704
41705         * config.h.in: Add HAVE_ARM_PCS_VFP.
41706
41707 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
41708
41709         [BZ #13979]
41710         * include/features.h: Warn if user requests __FORTIFY_SOURCE
41711         checking but the checks are disabled for any reason.
41712
41713 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
41714
41715         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
41716         and ELF64_R_TYPE with ELFW(R_TYPE).
41717
41718 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
41719
41720         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
41721         (ulimit): Likewise.
41722
41723         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
41724         (settimeofday): Likewise.
41725
41726 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
41727
41728         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
41729         a struct th_u2 inside the union, and move tu_block/tu_code into
41730         a new th_u3 union of tu_block/tu_code inside of that.  Move
41731         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
41732         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
41733         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
41734         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
41735         (th_stuff): Change to th_u1.tu_stuff.
41736         (th_data): Define.
41737         (th_msg): Change to th_u1.th_u2.tu_data.
41738
41739 2012-05-07  David S. Miller  <davem@davemloft.net>
41740
41741         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41742
41743         [BZ #14074]
41744         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
41745         (SETUP_PIC_REG): Use it.
41746         (SETUP_PIC_REG_LEAF): Use it.
41747
41748 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
41749
41750         [BZ #13885]
41751         [BZ #13923]
41752         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
41753         USE_AS_EXPM1L.
41754         (EXPL_FINITE): Likewise.
41755         (FLDLOG): Likewise.
41756         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
41757         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
41758         e_expl.S.
41759         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
41760         USE_AS_EXPM1L.
41761         (EXPL_FINITE): Likewise.
41762         (FLDLOG): Likewise.
41763         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
41764         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
41765         e_expl.S.
41766         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
41767         test of -max_value argument for long double.
41768         * sysdeps/i386/fpu/libm-test-ulps: Update.
41769         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41770
41771 2012-05-06  David S. Miller  <davem@davemloft.net>
41772
41773         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
41774         quad soft-float symbols whose references which are compiler
41775         generated.
41776         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
41777
41778 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
41779
41780         [BZ #13884]
41781         [BZ #13914]
41782         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
41783         USE_AS_EXP10L.
41784         (EXPL_FINITE): Likewise.
41785         (FLDLOG): Likewise.
41786         (c0): Likewise.
41787         (c1): Likewise.
41788         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
41789         Adjust comments for base varying.
41790         (__expl_finite): Change alias to EXPL_FINITE.
41791         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
41792         e_expl.S.
41793         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
41794         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
41795         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
41796         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
41797         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
41798         USE_AS_EXP10L.
41799         (EXPL_FINITE): Likewise.
41800         (FLDLOG): Likewise.
41801         (c0): Likewise.
41802         (c1): Likewise.
41803         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
41804         Adjust comments for base varying.
41805         (__expl_finite): Change alias to EXPL_FINITE.
41806         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
41807         tests for bugs.
41808         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41809
41810         [BZ #14064]
41811         * math/libm-test.inc (check_float_internal): Correct ulp
41812         calculation for subnormal expected results.
41813
41814 2012-05-06  Andreas Jaeger  <aj@suse.de>
41815
41816         * Makeconfig (+math-flags): New, set to -frounding-math.
41817         (+cflags): Add +math-flags so that all of glibc gets compiled with
41818         it.
41819
41820         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
41821
41822 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
41823
41824         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
41825         Disable one test.
41826
41827         [BZ #13787]
41828         [BZ #13922]
41829         [BZ #14036]
41830         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
41831         (__ieee754_expl): Allow for and saturate large arguments.
41832         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
41833         (u_threshold): Likewise.
41834         (__exp): Call __ieee754_exp before checking for overflow and
41835         underflow.
41836         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
41837         (u_threshold): Likewise.
41838         (__expf): Call __ieee754_expf before checking for overflow and
41839         underflow.
41840         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
41841         (u_threshold): Likewise.
41842         (__expl): Call __ieee754_expl before checking for overflow and
41843         underflow.
41844         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
41845         (__ieee754_expl): Allow for and saturate large arguments.
41846         * math/libm-test.inc (exp_test): Add another test.  Do not allow
41847         missing overflow exception on overflow.
41848         (expm1_test): Do not allow missing overflow exception on overflow.
41849
41850         * sysdeps/i386/fpu/e_expl.c: Move to ...
41851         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
41852         rather than using inline asm.
41853         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
41854         * sysdeps/x86_64/fpu/e_expl.S: Copy from
41855         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
41856
41857         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
41858         (nice): Likewise.
41859         (poll): Likewise.
41860         (signal): Likewise.
41861         (time): Likewise.
41862         (times): Likewise.
41863
41864 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
41865
41866         * sysdeps/unix/syscalls.list (adjtime): Add entry from
41867         sysdeps/unix/common/syscalls.list.
41868         (fchmod): Likewise.
41869         (fchown): Likewise.
41870         (ftruncate): Likewise.
41871         (getrusage): Likewise.
41872         (gettimeofday): Likewise.
41873         (setpgid): Likewise.
41874         (setregid): Likewise.
41875         (setreuid): Likewise.
41876         (sigaction): Likewise.
41877         (truncate): Likewise.
41878         (vhangup): Likewise.
41879         * sysdeps/unix/common/syscalls.list: Remove file.
41880         * sysdeps/unix/bsd/Implies: Don't include unix/common.
41881         * sysdeps/unix/sysv/linux/Implies: Likewise.
41882
41883 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
41884
41885         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
41886         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
41887         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
41888         Moved to ...
41889         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
41890         Here.
41891         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
41892         to ...
41893         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
41894         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
41895         to ...
41896         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
41897         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
41898         to ...
41899         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
41900         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
41901         to ...
41902         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
41903         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
41904         to ...
41905         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
41906         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
41907         to ...
41908         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
41909         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
41910         to ...
41911         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
41912         Here.
41913         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
41914         to ...
41915         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
41916         Here.
41917         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
41918         to ...
41919         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
41920         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
41921         Moved to ...
41922         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
41923         Here.
41924         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
41925         to ...
41926         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
41927
41928 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
41929
41930         * sysdeps/unix/common/bits/dirent.h: Remove file.
41931         * sysdeps/unix/common/bits/fcntl.h: Likewise.
41932
41933         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
41934         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
41935         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
41936         * sysdeps/unix/bsd/isatty.c: Likewise.
41937         * sysdeps/unix/bsd/tcdrain.c: Likewise.
41938         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
41939         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
41940
41941 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41942
41943         [BZ #13563]
41944         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
41945         long double comparison inaccuracies.
41946         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
41947         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41948
41949 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
41950
41951         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
41952         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
41953
41954 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
41955
41956         [BZ #14049]
41957         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
41958         nonzero digits before rounding a hex value.
41959         * stdlib/tst-strtod.c (tests): Add another test.
41960
41961 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41962
41963         * sysdeps/s390/fpu/libm-test-ulps: Update.
41964
41965 2012-05-03  Andreas Jaeger  <aj@suse.de>
41966
41967         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
41968         does not get optimized out.
41969         (malloc_opt_barrier): New.
41970
41971 2012-05-03  Andreas Jaeger  <aj@suse.de>
41972             Roland McGrath  <roland@hack.frob.com>
41973
41974         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
41975         intermediate file deletion.
41976         (generated): Add .symlist files.
41977
41978 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
41979
41980         [BZ #13775]
41981         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
41982         Redirect under this condition.
41983         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
41984         [__USE_GNU] (__dprintf_chk): Not under this condition.
41985         [__USE_GNU] (__vdprintf_chk): Likewise.
41986         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
41987         under this condition.
41988         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
41989         [__USE_XOPEN2K8] (dprintf): Define under this condition.
41990         [__USE_XOPEN2K8] (vdprintf): Likewise.
41991         [__USE_GNU] (__dprintf_chk): Not under this condition.
41992         [__USE_GNU] (__vdprintf_chk): Likewise.
41993         [__USE_GNU] (dprintf): Likewise.
41994         [__USE_GNU] (vdprintf): Likewise.
41995
41996 2012-05-03  Roland McGrath  <roland@hack.frob.com>
41997
41998         * elf/Makefile (common-generated): Set this instead of generated for
41999         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
42000         $(all-built-dso)-derived lists.
42001
42002 2012-05-03  Andreas Jaeger  <aj@suse.de>
42003
42004         * sysdeps/i386/fpu/libm-test-ulps: Update.
42005
42006         * FAQ: Removed.
42007         * FAQ.in: Likewise.
42008         * scripts/gen-FAQ.pl: Likewise.
42009         * manual/install.texi (Installation): Point to online location of
42010         FAQ.
42011         * Makefile (files-for-dist): Remove FAQ.
42012         (FAQ): Remove.
42013
42014 2012-05-02  Allan McRae  <allan@archlinux.org>
42015
42016         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
42017         (LDFLAGS-reldepmod5.so): Likewise.
42018         (LDFLAGS-reldep6mod1.so): Likewise.
42019         (LDFLAGS-reldep6mod4.so): Likewise.
42020         (LDFLAGS-reldep8mod3.so): Likewise.
42021         (LDFLAGS-unload4mod1.so): Likewise.
42022         (LDFLAGS-unload4mod2.so): Likewise.
42023         (LDFLAGS-tst-initorder): Likewise.
42024         (LDFLAGS-tst-initordera2.so): Likewise.
42025         (LDFLAGS-tst-initordera3.so): Likewise.
42026         (LDFLAGS-tst-initordera4.so): Likewise.
42027         (LDFLAGS-tst-initorderb2.so): Likewise.
42028         (LDFLAGS-noload): Likewise.
42029         (LDFLAGS-next): Likewise.
42030         (LDFLAGS-order2mod1.so): Likewise.
42031         (LDFLAGS-order2mod2.so): Likewise.
42032         (LDFLAGS-tst-initorder2): Likewise.
42033         (LDFLAGS-tst-initorder2a.so): Likewise.
42034         (LDFLAGS-tst-initorder2b.so): Likewise.
42035         (LDFLAGS-tst-initorder2c.so): Likewise.
42036         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
42037
42038 2012-05-02  David S. Miller  <davem@davemloft.net>
42039
42040         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42041
42042 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
42043
42044         [BZ #14055]
42045         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
42046
42047 2012-05-02  Andreas Jaeger  <aj@suse.de>
42048
42049         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
42050         since we manipulate rounding mode.
42051         (CPPFLAGS-test-idouble.c): Likewise.
42052         (CPPFLAGS-test-ifloat.c): Likewise.
42053         (CFLAGS-test-ldouble.c): Likewise.
42054         (CFLAGS-test-double.c): Likewise.
42055         (CFLAGS-test-float.c): Likewise.
42056         (CFLAGS-test-misc.c): Likewise.
42057         (CFLAGS-test-test-fenv.c): Likewise.
42058
42059 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42060
42061         [BZ #2550]
42062         [BZ #2570]
42063         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
42064         comparisons to determine direction to adjust input.
42065
42066 2012-05-01  Roland McGrath  <roland@hack.frob.com>
42067
42068         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
42069         output to the target.
42070
42071         * scripts/localplt.awk: New file.
42072         * elf/Makefile ($(objpfx)check-localplt): Target removed.
42073         (check-localplt-CFLAGS): Variable removed.
42074         ($(all-built-dso:=.jmprel)): New static pattern rule.
42075         (generated): Add those targets.
42076         (localplt-built-dso): New variable.
42077         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
42078
42079         * elf/check-localplt.c: File removed.
42080
42081         * scripts/check-execstack.awk: New file.
42082         * elf/Makefile ($(objpfx)check-execstack): Target removed.
42083         (check-execstack-CFLAGS): Variable removed.
42084         ($(objpfx)check-execstack.h): Target removed.
42085         ($(objpfx)execstack-default): New target.
42086         (generated): Add that instead of check-execstack.h.
42087         ($(all-built-dso:=.phdr)): New static pattern rule.
42088         (generated): Add those targets.
42089         * elf/check-execstack.c: File removed.
42090
42091         * scripts/check-textrel.awk: New file.
42092         * elf/Makefile ($(objpfx)check-textrel): Target removed.
42093         (check-textrel-CFLAGS): Variable removed.
42094         (all-built-dso): Use := to define.o
42095         ($(all-built-dso:=.dyn)): New static pattern rule.
42096         (generated): Add those targets.
42097         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
42098         * config.make.in (READELF): New substituted variable.
42099         * elf/check-textrel.c: File removed.
42100
42101 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
42102
42103         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
42104         allow.
42105         * conform/data/ctype.h-data [C99-based standards] (isblank):
42106         Expect function.
42107         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
42108         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
42109         [ISO || ISO99 || ISO11] (*_t): Do not allow.
42110         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
42111         Specify type.  Require positive value.
42112         (EILSEQ): Likewise.
42113         (ERANGE): Likewise.
42114         [ISO || POSIX] (EILSEQ): Do not expect.
42115         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
42116         Specify type.  Require positive value.
42117         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
42118         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
42119         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
42120         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
42121         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
42122         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
42123         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
42124         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
42125         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
42126         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
42127         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
42128         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
42129         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
42130         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
42131         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
42132         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
42133         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
42134         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
42135         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
42136         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
42137         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
42138         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
42139         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
42140         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
42141         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
42142         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
42143         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
42144         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
42145         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
42146         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
42147         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
42148         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
42149         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
42150         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
42151         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
42152         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
42153         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
42154         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
42155         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
42156         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
42157         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
42158         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
42159         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
42160         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
42161         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
42162         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
42163         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
42164         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
42165         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
42166         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
42167         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
42168         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
42169         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
42170         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
42171         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
42172         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
42173         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
42174         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
42175         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
42176         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
42177         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
42178         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
42179         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
42180         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
42181         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
42182         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
42183         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
42184         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
42185         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
42186         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
42187         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
42188         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
42189         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
42190         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
42191         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
42192         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
42193         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
42194         Require >= 2.
42195         (FLT_ROUNDS): Expect as macro, not constant.
42196         (FLT_MANT_DIG): Use macro-int-constant.
42197         (DBL_MANT_DIG): Likewise.
42198         (LDBL_MANT_DIG): Likewise.
42199         (FLT_DIG): Likewise.
42200         (DBL_DIG): Likewise.
42201         (LDBL_DIG): Likewise.
42202         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
42203         (DBL_MIN_EXP): Likewise.
42204         (LDBL_MIN_EXP): Likewise.
42205         (FLT_MAX_EXP): Use macro-int-constant.
42206         (DBL_MAX_EXP): Likewise.
42207         (LDBL_MAX_EXP): Likewise.
42208         (FLT_MAX_10_EXP): Likewise.
42209         (DBL_MAX_10_EXP): Likewise.
42210         (LDBL_MAX_10_EXP): Likewise.
42211         (FLT_MAX): Use macro-constant.
42212         (DBL_MAX): Likewise.
42213         (LDBL_MAX): Likewise.
42214         (FLT_EPSILON): Use macro-constant.  Give upper bound.
42215         (DBL_EPSILON): Likewise.
42216         (LDBL_EPSILON): Likewise.
42217         (FLT_MIN): Likewise.
42218         (DBL_MIN): Likewise.
42219         (LDBL_MIN): Likewise.
42220         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
42221         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
42222         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
42223         [ISO11] (FLT_HAS_SUBNORM): Likewise.
42224         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
42225         [ISO11] (DBL_DECIMAL_DIG): Likewise.
42226         [ISO11] (FLT_DECIMAL_DIG): Likewise.
42227         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
42228         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
42229         [ISO11] (FLT_TRUE_MIN): Likewise.
42230         [ISO11] (LDBL_TRUE_MIN): Likewise.
42231         [ISO || ISO99 || ISO11] (*_t): Do not allow.
42232         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
42233         (SCHAR_MIN): Use macro-int-constant.  Specify type.
42234         (SCHAR_MAX): Likewise.
42235         (UCHAR_MAX): Likewise.
42236         (CHAR_MIN): Likewise.
42237         (CHAR_MAX): Likewise.
42238         (MB_LEN_MAX): Use macro-int-constant.
42239         (SHRT_MIN): Use macro-int-constant.  Specify type.
42240         (SHRT_MAX): Likewise.
42241         (USHRT_MAX): Likewise.
42242         (INT_MAX): Likewise.
42243         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
42244         bound negative.
42245         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
42246         bound with "U".
42247         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
42248         bound with "L".
42249         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
42250         bound negative.  Suffix upper bound with "L".
42251         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
42252         bound with "UL".
42253         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
42254         Specify type.
42255         [C99-based standards] (LLONG_MAX): Likewise.
42256         [C99-based standards] (ULLONG_MAX): Likewise.
42257         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
42258         == 0.
42259         [ISO11] (max_align_t): Require type.
42260         [ISO || ISO99 || ISO11] (*_t): Do not allow.
42261
42262         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
42263         from $CFLAGS, without defining away __attribute__ calls.
42264         (checknamespace): Use $CFLAGS_namespace.
42265
42266         * conform/conformtest.pl (@keywords): Only include C99 keywords
42267         for standards based on C99 or C11.
42268
42269         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
42270         Disable tests.
42271         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
42272         UNIX98]: Likewise.
42273
42274         * conform/conformtest.pl: Handle "macro-int-constant" and test for
42275         usability of symbols in #if.
42276
42277         * conform/conformtest.pl: If macro or constant types start
42278         "promoted:", expect the symbol to be of the following type
42279         promoted by the integer promotions.
42280
42281         * conform/conformtest.pl: Parse all "constant" and "macro" lines
42282         in one place.  Also handle "macro-constant".
42283
42284         * conform/conformtest.pl: Only accept expected macro values with
42285         "==".  Parse all "macro" lines in one place.
42286         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
42287
42288         * conform/conformtest.pl: Handle braced types on "constant" lines
42289         instead of handling "typed-constant".
42290         * conform/data/signal.h-data: Use "constant" instead of
42291         "typed-constant".
42292
42293         * conform/conformtest.pl: Handle "optional-" at start of lines in
42294         one place rather than duplicating several cases.  Handle each
42295         format of "macro" line with initial "optional-".
42296
42297         * conform/conformtest.pl: Only accept expected constant or
42298         optional-constant values with "==".  Parse all "constant" lines in
42299         one place.  Parse all "optional-constant" lines in one place.
42300         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
42301         * conform/data/fmtmsg.h-data: Likewise.
42302         * conform/data/netinet/in.h-data: Likewise.
42303         * conform/data/tar.h-data: Likewise.
42304         * conform/data/limits.h-data: Use "==" form on "constant" and
42305         "optional-constant" lines.
42306
42307         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
42308         Use -std=c99 for XOPEN2K.
42309         (@knownproblems): Remove.
42310         (newtoken): Don't check %isknown.
42311
42312         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
42313         Do not expect macro.
42314         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
42315         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
42316         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
42317         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
42318         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
42319         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
42320         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
42321         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
42322         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
42323         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
42324         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
42325         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
42326         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
42327         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
42328         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
42329         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
42330         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
42331         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
42332         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
42333         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
42334         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
42335         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
42336         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
42337         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
42338         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
42339         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
42340         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
42341         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
42342         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
42343         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
42344         [XPG3] (acosh): Likewise.
42345         [XPG3] (asinh): Likewise.
42346         [XPG3] (atanh): Likewise.
42347         [XPG3] (cbrt): Likewise.
42348         [XPG3] (expm1): Likewise.
42349         [XPG3] (ilogb): Likewise.
42350         [XPG3] (log1p): Likewise.
42351         [XPG3] (logb): Likewise.
42352         [XPG3] (nextafter): Likewise.
42353         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
42354         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
42355         [XPG3] (remainder): Likewise.
42356         [XPG3] (rint): Likewise.
42357         [XPG3 || XPG4 || UNIX98] (round): Likewise.
42358         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
42359         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
42360         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
42361         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
42362         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
42363         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
42364         [UNIX98 || XOPEN2K] (scalb): Expect.
42365         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
42366         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
42367         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
42368         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
42369         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
42370         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
42371         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
42372         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
42373         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
42374         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
42375         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
42376         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
42377         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
42378         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
42379         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
42380         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
42381         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
42382         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
42383         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
42384         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
42385         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
42386         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
42387         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
42388         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
42389         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
42390         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
42391         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
42392         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
42393         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
42394         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
42395         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
42396         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
42397         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
42398         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
42399         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
42400         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
42401         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
42402         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
42403         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
42404         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
42405         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
42406         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
42407         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
42408         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
42409         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
42410         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
42411         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
42412         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
42413         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
42414         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
42415         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
42416         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
42417         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
42418         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
42419         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
42420         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
42421         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
42422         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
42423         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
42424         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
42425         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
42426         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
42427         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
42428         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
42429         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
42430         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
42431         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
42432         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
42433         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
42434         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
42435         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
42436         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
42437         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
42438         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
42439         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
42440         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
42441         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
42442         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
42443         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
42444         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
42445         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
42446         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
42447         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
42448         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
42449         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
42450         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
42451         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
42452         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
42453         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
42454         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
42455         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
42456         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
42457         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
42458         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
42459         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
42460         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
42461         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
42462         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
42463         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
42464         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
42465         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
42466         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
42467         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
42468         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
42469         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
42470         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
42471         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
42472         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
42473         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
42474         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
42475         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
42476         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
42477         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
42478         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
42479         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
42480         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
42481         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
42482         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
42483         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
42484         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
42485         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
42486         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
42487         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
42488         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
42489         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
42490         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
42491         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
42492         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
42493         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
42494         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
42495         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
42496         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
42497         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
42498         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
42499         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
42500         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
42501         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
42502
42503         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
42504         _XOPEN_SOURCE_EXTENDED for XPG4.
42505
42506         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
42507
42508         * Makeconfig (localtime): Remove variable.
42509         (inst_localtime-file): Likewise.
42510
42511 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
42512
42513         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
42514         Update.
42515         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
42516         Update.
42517         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
42518         Update.
42519         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
42520         Update.
42521         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
42522         Update.
42523         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
42524         Update.
42525         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
42526         Update.
42527         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
42528         Update.
42529         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
42530         Update.
42531
42532 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
42533
42534         [BZ #2550]
42535         [BZ #2570]
42536         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
42537         comparisons to determine direction to adjust input.
42538         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
42539         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
42540         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
42541         Likewise.
42542         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
42543         Likewise.
42544         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
42545         Likewise.
42546         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
42547         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
42548         Likewise.
42549         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
42550         Likewise.
42551         * math/libm-test.inc (nexttoward_test): Add more tests.
42552
42553 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
42554
42555         [BZ #14040]
42556         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
42557         in version GLIBC_2.1, not GLIBC_2.0.
42558         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
42559         Likewise.
42560
42561 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
42562
42563         [BZ #13942]
42564         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
42565         (1 - x) * (1 + x).
42566         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
42567         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
42568         * math/libm-test.inc (acos_test): Add more tests.
42569         (asin_test): Likewise.
42570         * sysdeps/i386/fpu/libm-test-ulps: Update.
42571         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42572
42573         [BZ #14034]
42574         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
42575         of square root.
42576         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
42577         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
42578         * math/libm-test.inc (acos_test_tonearest): New function.
42579         (acos_test_towardzero): Likewise.
42580         (acos_test_downward): Likewise.
42581         (acos_test_upward): Likewise.
42582         (asin_test_tonearest): Likewise.
42583         (asin_test_towardzero): Likewise.
42584         (asin_test_downward): Likewise.
42585         (asin_test_upward): Likewise.
42586         (main): Call the new functions.
42587         * sysdeps/i386/fpu/libm-test-ulps: Update.
42588         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42589
42590         [BZ #13884]
42591         [BZ #13924]
42592         * math/e_exp10.c: Include <float.h>.
42593         (__ieee754_exp10): Handle underflow here rather than multiplying
42594         large negative argument by M_LN10.
42595         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
42596         of __ieee754_expf.
42597         * math/e_exp10l.c: Include <float.h>.
42598         (__ieee754_exp10l): Handle underflow here rather than multiplying
42599         large negative argument by M_LN10l.
42600         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
42601         spurious overflow exception on underflow.
42602
42603 2012-04-29  Marek Polacek  <polacek@redhat.com>
42604
42605         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
42606         (__fortify_function): New macro.
42607         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
42608         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
42609         __extern_always_inline.
42610         * libio/bits/stdio2.h: Likewise.
42611         * libio/bits/stdio.h: Likewise.
42612         * string/string.h: Likewise.
42613         * string/bits/string3.h: Likewise.
42614         * include/stdio.h: Likewise.
42615         * stdlib/bits/stdlib.h: Likewise.
42616         * stdlib/stdlib.h: Likewise.
42617         * rt/bits/mqueue2.h: Likewise.
42618         * rt/mqueue.h: Likewise.
42619         * posix/bits/unistd.h: Likewise.
42620         * posix/unistd.h: Likewise.
42621         * io/bits/poll2.h: Likewise.
42622         * io/bits/fcntl2.h: Likewise.
42623         * io/fcntl.h: Likewise.
42624         * io/sys/poll.h: Likewise.
42625         * misc/bits/syslog.h: Likewise.
42626         * misc/bits/syslog-ldbl.h: Likewise.
42627         * misc/sys/syslog.h: Likewise.
42628         * socket/bits/socket2.h: Likewise.
42629         * socket/sys/socket.h: Likewise.
42630         * debug/tst-chk1.c: Likewise.
42631         * wcsmbs/bits/wchar2.h: Likewise.
42632         * wcsmbs/bits/wchar-ldbl.h: Likewise.
42633         * wcsmbs/wchar.h: Likewise.
42634
42635 2012-04-29  Andreas Jaeger  <aj@suse.de>
42636
42637         * Makerules (tests): Remove enable-check-abi protection.
42638         (check-abi-warn): Remove.
42639         (check-abi-%): Remove check-abi-warn usage.
42640
42641         * configure.in: Remove check-abi configure option.
42642         * configure: Regenerated.
42643         * config.make.in (enable-check-abi): Remove.
42644
42645 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
42646
42647         [BZ #14033]
42648         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
42649         double functions to double *_finite functions.
42650
42651         [BZ #13941]
42652         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
42653         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
42654         LDBL_MIN_EXP.
42655         * stdio-common/Makefile (tests): Add tst-sprintf3.
42656         * stdio-common/tst-sprintf3.c: New file.
42657
42658         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
42659         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
42660
42661 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
42662
42663         * conform/conformtest.pl: Remove duplicate typed-constant
42664         handling.
42665
42666 2012-04-28  David S. Miller  <davem@davemloft.net>
42667
42668         * Makerules (%.abilist): Add vpath on sysdep_dirs.
42669         (check-abi-%): Remove AWK script prerequisite and explicit
42670         abilist directory.
42671         (check-abi): Rewrite to just diff the symlist with the abilist.
42672         (config-tls, config-abi-config): Delete, no longer used.
42673         (update-abi-%): Remove AWK script and explicit abilist directory.
42674         (update-abi): Rewrite to simply compare and conditionally copy the
42675         symlist and the sysdep abilist file.  Remove update-abi-config
42676         checks.
42677         * abilist/ld.abilist: Remove.
42678         * abilist/libBrokenLocale.abilist: Remove.
42679         * abilist/libanl.abilist: Remove.
42680         * abilist/libcrypt.abilist: Remove.
42681         * abilist/libdl.abilist: Remove.
42682         * abilist/librt.abilist: Remove.
42683         * abilist/libthread_db.abilist: Remove.
42684         * abilist/libutil.abilist: Remove.
42685         * scripts/extract-abilist.awk: Remove.
42686         * scripts/merge-abilist.awk: Remove.
42687         * sysdeps/generic/libcidn.abilist: New file.
42688         * sysdeps/generic/libnss_compat.abilist: New file.
42689         * sysdeps/generic/libnss_db.abilist: New file.
42690         * sysdeps/generic/libnss_dns.abilist: New file.
42691         * sysdeps/generic/libnss_files.abilist: New file.
42692         * sysdeps/generic/libnss_hesiod.abilist: New file.
42693         * sysdeps/generic/libnss_nis.abilist: New file.
42694         * sysdeps/generic/libnss_nisplus.abilist: New file.
42695         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
42696         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
42697         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
42698         file.
42699         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
42700         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
42701         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
42702         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
42703         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
42704         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
42705         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
42706         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
42707         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
42708         file.
42709         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
42710         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
42711         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
42712         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
42713         file.
42714         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
42715         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
42716         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
42717         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
42718         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
42719         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
42720         file.
42721         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
42722         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
42723         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
42724         file.
42725         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
42726         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
42727         New file.
42728         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
42729         New file.
42730         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
42731         New file.
42732         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
42733         New file.
42734         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
42735         New file.
42736         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
42737         New file.
42738         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
42739         New file.
42740         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
42741         New file.
42742         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
42743         New file.
42744         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
42745         New file.
42746         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
42747         New file.
42748         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
42749         New file.
42750         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
42751         New file.
42752         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
42753         file.
42754         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
42755         New file.
42756         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
42757         New file.
42758         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
42759         file.
42760         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
42761         New file.
42762         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
42763         New file.
42764         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
42765         file.
42766         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
42767         New file.
42768         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
42769         New file.
42770         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
42771         New file.
42772         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
42773         New file.
42774         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
42775         New file.
42776         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
42777         New file.
42778         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
42779         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
42780         file.
42781         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
42782         New file.
42783         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
42784         file.
42785         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
42786         file.
42787         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
42788         file.
42789         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
42790         file.
42791         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
42792         file.
42793         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
42794         New file.
42795         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
42796         file.
42797         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
42798         file.
42799         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
42800         New file.
42801         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
42802         file.
42803         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
42804         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
42805         file.
42806         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
42807         New file.
42808         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
42809         file.
42810         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
42811         file.
42812         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
42813         file.
42814         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
42815         file.
42816         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
42817         file.
42818         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
42819         New file.
42820         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
42821         file.
42822         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
42823         file.
42824         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
42825         New file.
42826         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
42827         file.
42828         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
42829         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
42830         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
42831         file.
42832         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
42833         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
42834         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
42835         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
42836         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
42837         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
42838         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
42839         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
42840         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
42841         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
42842         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
42843         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
42844         file.
42845         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
42846         New file.
42847         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
42848         file.
42849         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
42850         file.
42851         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
42852         file.
42853         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
42854         file.
42855         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
42856         file.
42857         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
42858         New file.
42859         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
42860         New file.
42861         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
42862         file.
42863         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
42864         New file.
42865         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
42866         file.
42867         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
42868         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
42869         file.
42870         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
42871         New file.
42872         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
42873         file.
42874         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
42875         file.
42876         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
42877         file.
42878         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
42879         file.
42880         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
42881         file.
42882         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
42883         New file.
42884         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
42885         New file.
42886         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
42887         file.
42888         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
42889         New file.
42890         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
42891         file.
42892
42893 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
42894
42895         * conform/conformtest.pl: Fix typo in handling typed-constant from
42896         allow-header.
42897
42898 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
42899
42900         * README: Cut down references to pre-2.6 Linux kernels and
42901         Linuxthreads.  Update lists of configurations in libc and ports
42902         and sort alphabetically.  Say "or newer" with Linux kernel version
42903         requirements.
42904
42905         * config.h.in [IS_IN_build]: Allow compiling without optimization.
42906
42907 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
42908
42909         [BZ #887]
42910         * math/libm-test.inc (logb_test_downward): New test to expose
42911         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
42912         rounding mode.
42913
42914 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
42915
42916         [BZ #14027]
42917         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
42918         to be done.
42919         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
42920         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
42921
42922 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
42923
42924         * sysdeps/unix/i386/brk.S: Remove file.
42925         * sysdeps/unix/i386/dl-brk.S: Likewise.
42926         * sysdeps/unix/i386/pipe.S: Likewise.
42927         * sysdeps/unix/i386/sigreturn.S: Likewise.
42928         * sysdeps/unix/i386/syscall.S: Likewise.
42929         * sysdeps/unix/i386/vfork.S: Likewise.
42930         * sysdeps/unix/i386/wait.S: Likewise.
42931
42932         * sysdeps/unix/common/tcsendbrk.c: Move to ...
42933         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
42934
42935         * configure.in (arm*-none*): Do not allow without
42936         --enable-hacker-mode.
42937         (netbsd*): Remove case setting base_os.
42938         (386bsd*): Likewise.
42939         (freebsd*): Likewise.
42940         (bsdi*): Likewise.
42941         (osf*): Likewise.
42942         (sunos*): Likewise.
42943         (ultrix*): Likewise.
42944         (newsos*): Likewise.
42945         (dynix*): Likewise.
42946         (*bsd*): Likewise.
42947         (sysv*): Likewise.
42948         (isc*): Likewise.
42949         (esix*): Likewise.
42950         (sco*): Likewise.
42951         (minix*): Likewise.
42952         (irix4*): Likewise.
42953         (irix6*): Likewise.
42954         (solaris[2-9]*): Likewise.
42955         (none): Likewise.
42956         * configure: Regenerated.
42957
42958 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42959
42960         [BZ #11521]
42961         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
42962         overflow or cancellation in calculating denominator.
42963         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
42964         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
42965         down expression to avoid unexpected rounding in newer GCCs.
42966         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
42967
42968 2012-04-26  David S. Miller  <davem@davemloft.net>
42969
42970         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
42971         long-double compat symbols.
42972         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
42973         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
42974         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
42975         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
42976         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
42977         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
42978         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
42979         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
42980         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
42981         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
42982         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
42983         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
42984         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
42985
42986 2012-04-25  David S. Miller  <davem@davemloft.net>
42987
42988         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
42989         HWCAP_* values only after the memory barriers have been defined.
42990         (atomic_full_barrier): Define.
42991         (atomic_read_barrier): Define.
42992         (atomic_write_barrier): Define.
42993
42994 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
42995
42996         * shlib-versions: Add libgcc_s version information.
42997         * sysdeps/generic/libgcc_s.h: Remove.
42998         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
42999         libgcc_s.h.
43000         * sysdeps/gnu/unwind-resume.c: Likewise.
43001         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
43002
43003 2012-04-25  David S. Miller  <davem@davemloft.net>
43004
43005         * sysdeps/unix/sparc/brk.S: Delete.
43006         * sysdeps/unix/sparc/dl-brk.S: Delete.
43007         * sysdeps/unix/sparc/pipe.S: Delete.
43008         * sysdeps/unix/sparc/sysdep.S: Delete.
43009         * sysdeps/unix/sparc/sysdep.h: Delete.
43010         * sysdeps/unix/sparc/vfork.S: Delete.
43011         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
43012         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
43013         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
43014         (ret_ERRVAL, r0, r1, MOVE): Define.
43015         (JUMPTARGET): Remove.
43016         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
43017         sysdeps/unix/sparc/sysdep.h
43018         (ENTRY, END): Remove.
43019         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
43020
43021 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
43022
43023         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
43024         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
43025         -DIS_IN_build.
43026
43027         * timezone/README: Update upstream location and email address for
43028         tzcode and tzdata.
43029         * timezone/zdump.c: Update from tzcode 2012b.
43030         * timezone/zic.c: Likewise.
43031
43032         * configure.in (libc_cv_as_needed): Remove test.
43033         * configure: Regenerated.
43034         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
43035         conditional definition.
43036         [$(have-as-needed) != yes] (no-as-needed): Likewise.
43037         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
43038         * config.make.in (have-as-needed): Remove variable.
43039
43040 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
43041             Paul Pluzhnikov  <ppluzhnikov@google.com>
43042
43043         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
43044         strings correctly.
43045
43046 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
43047
43048         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
43049         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
43050         * sysdeps/sh/strlen.S: Likewise.
43051
43052 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
43053
43054         * sysdeps/unix/fork.S: Remove file.
43055         * sysdeps/unix/i386/fork.S: Likewise.
43056         * sysdeps/unix/sparc/fork.S: Likewise.
43057
43058         * sysdeps/unix/system.c: Remove file.
43059         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
43060
43061         * sysdeps/unix/getegid.S: Remove file.
43062         * sysdeps/unix/geteuid.S: Likewise.
43063
43064 2012-04-24  Roland McGrath  <roland@hack.frob.com>
43065
43066         * scripts/check-localplt.awk: New file.
43067         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
43068         of diff.
43069         * scripts/data/localplt-generic.data: Add a comment.
43070
43071         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
43072         NODE when __dir_mkfile failed.
43073         * sysdeps/mach/hurd/symlinkat.c: Likewise.
43074         Reported by Ludovic Courtès <ludo@gnu.org>.
43075
43076 2012-04-24  Andreas Jaeger  <aj@suse.de>
43077
43078         * Makerules (common-clean): Also remove gen-as-const-headers
43079         files.
43080
43081 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
43082
43083         * Makerules (native-compile): Do not change working directory for
43084         build.  Use $(OUTPUT_OPTION) in command.
43085         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
43086
43087 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43088
43089         [BZ #13886]
43090         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
43091         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
43092         * math/libm-test.inc (floor_test): Add more tests.
43093         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
43094
43095 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
43096
43097         * sysdeps/unix/getdents.c: Remove file.
43098         * sysdeps/unix/sysv/getdents.c: Likewise.
43099         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
43100
43101         * sysdeps/unix/syscalls.list (madvise): Add syscall from
43102         sysdeps/unix/mman/syscalls.list.
43103         (mmap): Likewise.
43104         (mprotect): Likewise.
43105         (msync): Likewise.
43106         (munmap): Likewise.
43107         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
43108         * sysdeps/unix/mman/syscalls.list: Remove.
43109         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
43110
43111         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
43112         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
43113         * configure: Regenerated.
43114         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
43115         $(libgcc_s_suffix).
43116         * config.make.in (libgcc_s_suffix): Remove variable.
43117
43118 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
43119
43120         * sysdeps/unix/sysv/gethostname.c: Move to ...
43121         * sysdeps/posix/gethostname.c: ... here.
43122
43123         * sysdeps/unix/execve.S: Remove file.
43124
43125         * sysdeps/unix/_exit.S: Remove file.
43126
43127 2012-04-23  Andreas Jaeger  <aj@suse.de>
43128
43129         [BZ #13739]
43130         * manual/Makefile: Remove make dist support, there's no
43131         need for a stand-alone documentation tar ball.
43132         (TEXI2DVI): Define always, it's not in Makeconfig.
43133         (dist): Removed.
43134         (tar-it): Removed.
43135         (edition): Removed.
43136         (glibc-doc-$(edition).tar): Removed
43137         (%.Z): Removed.
43138         (%.gz): Removed.
43139         (%.uu): Removed.
43140         (ETAGS): Remove, it's in Makeconfig.
43141         (move-if-change): Remove, it's in Makeconfig.
43142
43143 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
43144
43145         [BZ #13970]
43146         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
43147         (strtod, strtof, strtold, strtol, strtoul, strtoq)
43148         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
43149         (strtod_l, strtof_l, strtold_l): Remove __wur.
43150         It is not necessarily an error to ignore strtol's return value.
43151         One can reliably look at the stored endptr to decide whether
43152         the number had valid syntax.
43153
43154 2012-04-21  Andreas Jaeger  <aj@suse.de>
43155
43156         [BZ #13739]
43157         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
43158
43159 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
43160
43161         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
43162         * sysdeps/unix/sysv/Versions: Remove file.
43163
43164 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
43165
43166         [BZ #13927]
43167         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43168
43169 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
43170
43171         [BZ #7064]
43172         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
43173         version from __vm86.
43174
43175 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
43176
43177         * sysdeps/unix/common/lxstat.c: Remove file.
43178         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
43179
43180         * sysdeps/unix/sysv/Makefile: Remove file.
43181
43182         * sysdeps/unix/sysv/direct.h: Remove file.
43183
43184         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
43185         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
43186         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
43187         * sysdeps/unix/sysv/bits/signum.h: Likewise.
43188         * sysdeps/unix/sysv/bits/stat.h: Likewise.
43189         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
43190         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
43191
43192         * sysdeps/unix/sysv/setrlimit.c: Remove file.
43193
43194         * sysdeps/unix/xmknod.c: Remove file.
43195         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
43196
43197         * sysdeps/unix/sysv/settimeofday.c: Remove file.
43198
43199         * sysdeps/unix/sysv/i386/time.S: Remove file.
43200
43201         * sysdeps/unix/fxstat.c: Remove file.
43202         * sysdeps/unix/xstat.c: Likewise.
43203         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
43204
43205         * sysdeps/unix/sysv/sigaction.c: Remove file.
43206
43207         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
43208         (sysdep_headers): Remove variable.
43209         [termio.h not in sysdep_headers] (generated): Likewise.
43210         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
43211         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
43212         * sysdeps/unix/sysv/tcdrain.c: Likewise.
43213         * sysdeps/unix/sysv/tcflow.c: Likewise.
43214         * sysdeps/unix/sysv/tcflush.c: Likewise.
43215         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
43216         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
43217         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
43218         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
43219         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
43220
43221         * sysdeps/unix/siglist.c: Remove file.
43222
43223         * sysdeps/unix/getppid.S: Remove file.
43224
43225         * sysdeps/unix/mkdir.c: Remove file.
43226         * sysdeps/unix/rmdir.c: Likewise.
43227
43228 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
43229
43230         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
43231         ERR_MAX value.
43232         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
43233         errlist-compat value.
43234
43235 2012-04-18  David S. Miller  <davem@davemloft.net>
43236
43237         * sysdeps/generic/memcopy.h (reg_char): Delete.
43238         * debug/strcat_chk.c: Use char, not reg_char.
43239         * debug/strcpy_chk.c: Likewise.
43240         * debug/strncat_chk.c: Likewise.
43241         * debug/strncpy_chk.c: Likewise.
43242         * string/memchr.c: Likewise.
43243         * string/memrchr.c: Likewise.
43244         * string/rawmemchr.c: Likewise.
43245         * string/strcat.c: Likewise.
43246         * string/strchr.c: Likewise.
43247         * string/strchrnul.c: Likewise.
43248         * string/strcmp.c: Likewise.
43249         * string/strcpy.c: Likewise.
43250         * string/strncat.c: Likewise.
43251         * string/strncmp.c: Likewise.
43252         * string/strncpy.c: Likewise.
43253
43254 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
43255
43256         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
43257         __builtin_memcopy is called when src and dest ranges are known to not
43258         overlap.
43259
43260 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
43261
43262         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
43263         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
43264         fwd_align_merge macro call.
43265         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
43266         bwd_align_merge macro call.
43267         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
43268
43269 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
43270
43271         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
43272         bwd_align_merge macros.
43273         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
43274         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
43275         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
43276
43277 2012-04-18  David S. Miller  <davem@davemloft.net>
43278
43279         * sysdeps/sparc/sparc64/memcopy.h: Delete.
43280
43281 2012-04-18  Andreas Jaeger  <aj@suse.de>
43282
43283         [BZ# 6794]
43284         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
43285         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
43286         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
43287
43288         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
43289         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
43290         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
43291
43292         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
43293         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
43294         Adjust for changed ldbl-128 files.
43295
43296         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
43297         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
43298         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
43299
43300 2012-04-17  David S. Miller  <davem@davemloft.net>
43301
43302         * sysdeps/sparc/sparc32/memcopy.h: Delete.
43303
43304 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
43305
43306         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
43307         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
43308         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
43309         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
43310         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
43311         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
43312
43313 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43314
43315         [BZ #6794]
43316         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
43317         * math/libm-test.inc: Add ilogb errno and exception tests.
43318         * math/w_ilogb.c: New file: ilogb wrapper.
43319         * math/w_ilogbf.c: New file: ilogbf wrapper.
43320         * math/w_ilogbl.c: New file: ilogbl wrapper.
43321         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
43322         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
43323         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
43324         exception being thrown with 0.0 as argument.
43325         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
43326         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
43327         exception being thrown with 0.0 as argument.
43328         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
43329         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
43330         exception being thrown with 0.0 as argument.
43331         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
43332         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
43333         exception being thrown with 0.0 as argument.
43334         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
43335         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
43336         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
43337         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
43338         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
43339         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
43340         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
43341         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
43342         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
43343
43344 2012-04-17  Petr Baudis  <pasky@ucw.cz>
43345
43346         * include/sys/uio.h: Change __vector to __iovec to avoid clash
43347         with altivec.
43348
43349 2012-04-16  Marek Polacek  <polacek@redhat.com>
43350
43351         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
43352
43353 2012-04-16  Marek Polacek  <polacek@redhat.com>
43354
43355         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
43356         operands of fdivp instruction.
43357
43358 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
43359
43360         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
43361         * elf/tst-auditmod3b.c: Likewise.
43362         * elf/tst-auditmod4b.c: Likewise.
43363         * elf/tst-auditmod5b.c: Likewise.
43364         * elf/tst-auditmod6b.c: Likewise.
43365         * elf/tst-auditmod6c.c: Likewise.
43366         * elf/tst-auditmod7b.c: Likewise.
43367         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
43368         * sysdeps/x86_64/preconfigure.in: Likewise.
43369         * sysdeps/x86_64/preconfigure: Regenerated.
43370
43371 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
43372
43373         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
43374         __ILP32__.
43375
43376 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
43377
43378         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
43379         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
43380
43381 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
43382
43383         [BZ #13973]
43384         * locale/iso-639.def: Fix gl language name. Spotted by
43385         Yaron Shahrabani.
43386
43387 2012-04-12  Roland McGrath  <roland@hack.frob.com>
43388
43389         [BZ #2074]
43390         * libio/libio.h (__io_write_fn): Update comment.
43391
43392 2012-04-12  Petr Baudis  <pasky@ucw.cz>
43393
43394         [BZ #2074]
43395         * stdio.texi (Hook Functions): The user provided writer function
43396         is not allowed to return -1.
43397
43398 2012-04-11  David S. Miller  <davem@davemloft.net>
43399
43400         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43401
43402 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
43403
43404         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
43405         Add a leading slash to rtkaio.
43406
43407 2012-04-11  Jim Meyering  <meyering@redhat.com>
43408
43409         [BZ #11959]
43410         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
43411         It is not necessarily an error to ignore fwrite's return
43412         value.  One can reliably use ferror to test for errors after
43413         the fact.
43414
43415 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
43416
43417         * bits/types.h (__snseconds_t): New type.
43418         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
43419
43420         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
43421         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
43422         (__SNSECONDS_T_TYPE): Likewise.
43423         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
43424         (__SNSECONDS_T_TYPE): Likewise.
43425         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
43426         (__SNSECONDS_T_TYPE): Likewise.
43427
43428 2012-04-10  Andreas Jaeger  <aj@suse.de>
43429
43430         [BZ #2636]
43431         * manual/time.texi (Processor Time): Return type of times is
43432         elapsed real time since an arbitrary point in the past.
43433         (CPU Time): Move CLK_TCK from here...
43434         (Processor Time): ...to here.  Correct description.
43435         * manual/conf.texi (Constants for Sysconf): Correct description of
43436         _SC_CLK_TCK.
43437
43438 2012-04-10  David S. Miller  <davem@davemloft.net>
43439
43440         [BZ #13967]
43441         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
43442         where the is a gap between DT_REL(A) and DT_JMPREL.
43443
43444 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
43445
43446         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
43447         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
43448         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
43449
43450 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
43451
43452         * elf/dl-support.c (_dl_inhibit_cache): New variable.
43453         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
43454         (dl_main): Handle --inhibit-cache.
43455         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
43456         _dl_inhibit_cache.
43457         * elf/dl-load.c (_dl_map_object): Use it.
43458         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
43459
43460 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
43461
43462         [BZ #13872]
43463         * sysdeps/i386/fpu/e_powl.S (p78): New object.
43464         (__ieee754_powl): Saturate large exponents rather than testing for
43465         overflow of y*log2(x).
43466         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
43467         * math/libm-test.inc (pow_test): Do not permit spurious overflow
43468         exceptions.
43469
43470         [BZ #11521]
43471         * math/s_ctan.c: Include <float.h>.
43472         (__ctan): Avoid internal overflow or cancellation in calculating
43473         denominator.
43474         * math/s_ctanf.c: Likewise.
43475         * math/s_ctanl.c: Likewise.
43476         * math/s_ctanh.c: Likewise.
43477         * math/s_ctanhf.c: Likewise.
43478         * math/s_ctanhl.c: Likewise.
43479         * math/libm-test.inc (ctan_test): Add more tests.
43480         (ctanh_test): Likewise.
43481         * sysdeps/i386/fpu/libm-test-ulps: Update.
43482         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43483
43484 2012-04-09  Andreas Jaeger  <aj@suse.de>
43485
43486         [BZ #6894]
43487         * manual/filesys.texi (Directory Entries): Mention that d_namlen
43488         is an optional BSD extension.
43489
43490         [BZ #10254]
43491         * manual/stdio.texi (Opening Streams): Document additional fopen
43492         parameters.
43493
43494 2012-04-09  Roland McGrath  <roland@hack.frob.com>
43495
43496         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
43497         %eax without telling the compiler.
43498
43499 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
43500
43501         [BZ # 13963]
43502         * manual/install.texi: Use sourceware.org.
43503
43504 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
43505
43506         [BZ #13873]
43507         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
43508         (__ieee754_pow): Generate overflow and underflow using huge*huge
43509         and tiny*tiny rather than just returning constant infinity or zero
43510         for large exponents.
43511         * math/libm-test.inc (pow_test): Require overflow exceptions for
43512         applicable cases of large exponents.
43513
43514         [BZ #706]
43515         * sysdeps/i386/fpu/e_pow.S (p10): New object.
43516         (__ieee754_pow): Use iterative multiplication algorithm only for
43517         integer exponents with absolute value below 1024.  Check for odd
43518         integer exponents when using algorithm for real exponents.
43519         * math/libm-test.inc (pow_test): Add more tests.
43520         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43521
43522 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
43523
43524         [BZ #13705]
43525         * math/libm-test.inc (exp_test): Do not allow overflow exception
43526         on underflow test.
43527
43528 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
43529
43530         [BZ #13705]
43531         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
43532         instead of __kernel_standard_f.
43533
43534 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
43535
43536         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
43537         * sysdeps/x86_64/memset_chk.S: Likewise.
43538
43539 2012-04-08  Andreas Jaeger  <aj@suse.de>
43540
43541         [BZ #10153]
43542         * manual/startup.texi (Environment Access): Describe return value
43543         for putenv and setenv.
43544
43545         [BZ #6895]
43546         * manual/filesys.texi (Directory Entries): Add description for
43547         DT_LNK.
43548
43549         [BZ #6890]
43550         * manual/filesys.texi (Directory Entries): Clarify that it's file
43551         system not operating system in the description of DT_UNKNOWN.
43552
43553         [BZ #6578]
43554         * manual/syslog.texi (closelog): Fix reference, it's openlog.
43555
43556 2012-04-08  Stephen Compall  <s11@member.fsf.org>
43557
43558         [BZ #6649]
43559         * manual/llio.texi (Opening and Closing Files): Add cross
43560         reference to explain mode argument.
43561
43562 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
43563
43564         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
43565         * sysdeps/x86_64/memset_chk.S: Likewise.
43566
43567 2012-04-07  David S. Miller  <davem@davemloft.net>
43568
43569         * elf/elf.h (R_SPARC_WDISP10): Define.
43570         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
43571         R_SPARC_SIZE32.
43572         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
43573         R_SPARC_SIZE64 and R_SPARC_H34.
43574
43575 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
43576
43577         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
43578         conditions and remove no longer applicable assertion.
43579
43580 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
43581
43582         * bits/byteswap.h: Include <features.h>.
43583         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
43584         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
43585
43586 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
43587
43588         * bits/byteswap.h (__bswap_16): Removed.
43589         Include <bits/byteswap-16.h> to get __bswap_16.
43590         * sysdeps/i386/bits/byteswap.h: Likewise.
43591         * sysdeps/s390/bits/byteswap.h: Likewise.
43592         * sysdeps/x86_64/bits/byteswap.h: Likewise.
43593         * bits/byteswap-16.h: New file.
43594         * sysdeps/i386/bits/byteswap-16.h: Likewise.
43595         * sysdeps/s390/bits/byteswap-16.h: Likewise.
43596         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
43597         * string/Makefile (headers): Add bits/byteswap-16.h.
43598
43599 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
43600
43601         [BZ #13895]
43602         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
43603         extra indirection.
43604         * nss/Makefile (tests-static, tests): Add tst-nss-static.
43605         * nss/tst-nss-static.c: New.
43606
43607 2012-04-06  Robert Millan  <rmh@gnu.org>
43608
43609         [BZ #6486]
43610         * manual/llio.texi (File Position Primitive): lseek
43611         refers to WHENCE when it really means OFFSET.
43612
43613 2012-04-06  Andreas Jaeger  <aj@suse.de>
43614
43615         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
43616         strncmp declarations.
43617
43618         * abilist/libc.abilist: Add __poll and __ppoll.
43619
43620 2012-04-05  David S. Miller  <davem@davemloft.net>
43621
43622         * scripts/check-local-headers.sh: Accept a host triplet in the
43623         path matched by the exclude regexp.
43624
43625         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
43626         definition.
43627         * sysdeps/powerpc/powerpc32/dl-machine.h
43628         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
43629         * sysdeps/s390/s390-32/dl-machine.h
43630         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
43631         * sysdeps/sparc/sparc32/dl-machine.h
43632         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
43633         * sysdeps/sparc/sparc64/dl-machine.h
43634         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
43635
43636         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
43637         lazy binding.
43638         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
43639         undefined symbol errors.
43640
43641         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
43642         DT_NEEDED entries.
43643
43644 2012-04-05  Michael Matz  <matz@suse.de>
43645
43646         [BZ #13592]
43647         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
43648
43649 2012-04-05  Andreas Jaeger  <aj@suse.de>
43650
43651         [BZ #13908]
43652         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
43653         comment.
43654
43655 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
43656
43657         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
43658         which ROUND is no valid rounding mode.
43659
43660 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
43661
43662         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
43663         read again.
43664         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
43665
43666 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
43667
43668         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
43669         an exception using FPU order intentionally.
43670
43671 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
43672
43673         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
43674         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
43675         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
43676         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
43677
43678 2012-04-05  Simon Josefsson  <simon@josefsson.org>
43679
43680         [BZ #12340]
43681         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
43682         EINVAL when BUFLEN is too smal.
43683
43684 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
43685
43686         [BZ #13553]
43687         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
43688         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
43689
43690 2012-04-03  Andreas Jaeger  <aj@suse.de>
43691
43692         [BZ #13938]
43693         * manual/setjmp.texi (System V contexts): Fix sentence.
43694
43695         [BZ #13926]
43696         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
43697         New macro for this case.
43698         [!__GNUC__] (__bswap_64): New inline function for this case.
43699         * sysdeps/x86_64/bits/byteswap.h: Likewise.
43700         * bits/byteswap.h: Likewise.
43701         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
43702         ull, guard with __GLIBC_HAVE_LONG_LONG.
43703
43704         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
43705         __GLIBC_HAVE_LONG_LONG.
43706
43707         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
43708         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
43709
43710 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
43711
43712         [BZ #13691]
43713         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
43714         inptr and inend, rather than using last_ch.
43715
43716 2012-04-02  David S. Miller  <davem@davemloft.net>
43717
43718         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
43719         * stdio-common/printf-parse.h (read_int): Change return type to
43720         'int', return -1 on INT_MAX overflow.
43721         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
43722         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
43723         overflows INT_MAX.  Check for overflow of in-format-string precision
43724         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
43725         SIZE_MAX not INT_MAX for integer overflow test.
43726         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
43727         skip the construct in the format string but do not record anything.
43728         * stdio-common/bug22.c: Adjust to test both width/prevision
43729         INT_MAX overflow as well as total length INT_MAX overflow.  Check
43730         explicitly for proper errno values.
43731
43732 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
43733
43734         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
43735         CHAR_MAX.
43736         * string/test-strcmp.c [! WIDE]: Likewise.
43737         * time/tst-mktime2.c: Likewise for INT_MAX.
43738         * string/test-string.h: #include <sys/param.h> for MIN.
43739
43740         * csu/init-first.c (__libc_init_first): Call __ctype_init.
43741         * sysdeps/i386/init-first.c (init): Likewise.
43742         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
43743         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
43744         * sysdeps/sh/init-first.c (init): Likewise.
43745
43746 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
43747
43748         * po/ru.po: Update from translation team.
43749         * po/vi.po: Likewise.
43750
43751 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
43752
43753         * resolv/nss_dns/dns-host.c: Merge copyright years.
43754
43755 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43756
43757         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
43758         Optimize memcpy with prefetch if
43759         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
43760         src, dst pointers have unequal 16 byte alignments.
43761
43762 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
43763
43764         [BZ #13928]
43765         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
43766         from a CNAME entry and return the minimum ttl for the query.
43767         (gaih_getanswer_slice): Likewise.
43768
43769 2012-03-30  Jeff Law  <law@redhat.com>
43770
43771         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
43772         due to long keys.
43773         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
43774         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
43775
43776         * resolv/nss_dns/dns-host.c: Update copyright year.
43777
43778 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
43779
43780         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
43781         requests to save a system call.  Fix check that all bytes are sent.
43782
43783         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
43784         comments for sendmmsg.
43785
43786 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
43787
43788         [BZ #13691]
43789         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
43790         with only 1 character between 0x0041 and 0x01b0.
43791         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
43792         * wcsmbs/tst-mbsnrtowcs.c: New file.
43793
43794 2012-03-29  David S. Miller  <davem@davemloft.net>
43795
43796         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
43797         small copies by hand.
43798
43799 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
43800
43801         [BZ #13761]
43802         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
43803         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
43804         group memberships.
43805
43806 2012-03-28  David S. Miller  <davem@davemloft.net>
43807
43808         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
43809         that branches into memcpy.
43810         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
43811         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
43812         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
43813         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
43814         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
43815         bits.
43816         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
43817         implementation too.
43818         * sysdeps/sparc/mempcpy.S: New file.
43819
43820         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
43821         the IFUNC routine in the libc case.
43822         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
43823
43824         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
43825         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
43826         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
43827         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
43828         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
43829         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
43830         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
43831         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
43832
43833         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
43834         loop to 256 bytes instead of 64 bytes and fix test signedness.
43835
43836         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
43837         * sysdeps/sparc/sparc32/Makefile: rather than here...
43838         * sysdeps/sparc/sparc64/Makefile: and here.
43839
43840 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
43841
43842         * malloc/mallocbug.c: Avoid warnings about unused variables.
43843
43844 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
43845
43846         [BZ #13760]
43847         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
43848         in the right place. Discard and retry query if response is
43849         larger than input buffer size.
43850
43851 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
43852
43853         [BZ #369]
43854         [BZ #2678]
43855         [BZ #3866]
43856         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
43857         x for large integer exponent.
43858         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
43859         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
43860         sign of result as needed afterwards.
43861         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
43862         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
43863         result for underflowing pow the same as for overflow.
43864         (__kernel_standard_l): Handle powl overflow and underflow here
43865         rather than calling __kernel_standard.
43866         * math/libm-test.inc (pow_test): Add more tests.
43867
43868         [BZ #3868]
43869         [BZ #13879]
43870         [BZ #13910]
43871         [BZ #13911]
43872         [BZ #13912]
43873         [BZ #13913]
43874         [BZ #13915]
43875         [BZ #13916]
43876         [BZ #13917]
43877         [BZ #13918]
43878         [BZ #13919]
43879         [BZ #13920]
43880         [BZ #13921]
43881         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
43882         * sysdeps/ieee754/k_standard.c: Include <float.h>.
43883         (__kernel_standard_l): New function.
43884         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
43885         __kernel_standard.
43886         * math/w_acosl.c (__acosl): Likewise.
43887         * math/w_asinl.c (__asinl): Likewise.
43888         * math/w_atan2l.c (__atan2l): Likewise.
43889         * math/w_atanhl.c (__atanhl): Likewise.
43890         * math/w_coshl.c (__coshl): Likewise.
43891         * math/w_exp10l.c (__exp10l): Likewise.
43892         * math/w_exp2l.c (__exp2l): Likewise.
43893         * math/w_fmodl.c (__fmodl): Likewise.
43894         * math/w_hypotl.c (__hypotl): Likewise.
43895         * math/w_j0l.c (__j0l, __y0l): Likewise.
43896         * math/w_j1l.c (__j1l, __y1l): Likewise.
43897         * math/w_jnl.c (__jnl, __ynl): Likewise.
43898         * math/w_lgammal.c (__lgammal): Likewise.
43899         * math/w_log10l.c (__log10l): Likewise.
43900         * math/w_log2l.c (__log2l): Likewise.
43901         * math/w_logl.c (__logl): Likewise.
43902         * math/w_powl.c (__powl): Likewise.
43903         * math/w_remainderl.c (__remainderl): Likewise.
43904         * math/w_scalbl.c (sysv_scalbl): Likewise.
43905         * math/w_sinhl.c (__sinhl): Likewise.
43906         * math/w_sqrtl.c (__sqrtl): Likewise.
43907         * math/w_tgammal.c (__tgammal): Likewise.
43908         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
43909         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
43910         * math/libm-test.inc (acos_test): Add more tests.
43911         (acosh_test): Likewise.
43912         (asin_test): Likewise.
43913         (atanh_test): Likewise.
43914         (exp_test): Likewise.
43915         (exp10_test): Likewise.
43916         (exp2_test): Likewise.
43917         (expm1_test): Likewise.
43918         (lgamma_test): Likewise.
43919         (log_test): Likewise.
43920         (log10_test): Likewise.
43921         (log1p_test): Likewise.
43922         (log2_test): Likewise.
43923         (pow_test): Do not allow some spurious overflow exceptions.
43924         (sqrt_test): Add more tests.
43925         (tgamma_test): Likewise.
43926         (y0_test): Likewise.
43927         (y1_test): Likewise.
43928         (yn_test): Likewise.
43929
43930 2012-03-27  Anton Blanchard  <anton@samba.org>
43931
43932         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
43933         MAP_HUGETLB.
43934         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
43935         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
43936         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
43937
43938 2012-03-27  David S. Miller  <davem@davemloft.net>
43939
43940         * conform/Makefile: Run run-conformtest.sh using $(BASH).
43941
43942         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
43943         have-as-vis3 check.
43944
43945 2012-03-27  Andreas Jaeger  <aj@suse.de>
43946
43947         * sysdeps/x86_64/elf/configure.in: Moved to ...
43948         * sysdeps/x86_64/configure.in: ... here.
43949         * sysdeps/x86_64/elf/start.S: Moved to ...
43950         * sysdeps/x86_64/start.S: ... here.
43951         * sysdeps/x86_64/elf/configure: Delete.
43952
43953         * sysdeps/x86_64/configure.in: Merge contents from
43954         sysdeps/i386/configure.in (without i686 check).
43955
43956         * sysdeps/i386/elf/Versions: Merge into ...
43957         * sysdeps/i386/Versions: ... this.
43958         * sysdeps/i386/elf/Versions: Delete file.
43959         * sysdeps/i386/elf/start.S: Moved to ...
43960         * sysdeps/i386/start.S: ...here.
43961         * sysdeps/i386/elf/configure.in: Merge into...
43962         * sysdeps/i386/configure.in: ...here.
43963         * sysdeps/i386/elf/configure.in: Delete file.
43964         * sysdeps/i386/elf/configure: Delete file.
43965
43966         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
43967         * debug/backtracesyms.c: ... here.
43968         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
43969         * debug/backtracesymsfd.c: ... here.
43970         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
43971         * sysdeps/generic/ifunc-sel.h: ... here.
43972
43973         * sysdeps/unix/i386/start.c: Delete file.
43974         * sysdeps/unix/sparc/start.c: Delete file.
43975         * sysdeps/unix/start.c: Delete file.
43976
43977         * sysdeps/sh/elf/configure.in: Moved to ...
43978         * sysdeps/sh/configure.in: ... here.
43979         * sysdeps/sh/elf/start.S: Moved to ...
43980         * sysdeps/sh/start.S: ... here.
43981         * sysdeps/sh/elf/configure: Delete file.
43982
43983         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
43984         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
43985         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
43986         * sysdeps/powerpc/powerpc64/entry.h: ... here.
43987         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
43988         * sysdeps/powerpc/powerpc64/start.S: here.
43989         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
43990         * sysdeps/powerpc/powerpc64/Makefile: ... this.
43991         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
43992         * sysdeps/powerpc/powerpc64/configure.in: ... this.
43993         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
43994
43995         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
43996         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
43997         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
43998         * sysdeps/powerpc/powerpc32/start.S: ... here.
43999         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
44000         * sysdeps/powerpc/powerpc32/configure.in: ... this.
44001         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
44002
44003         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
44004         * sysdeps/powerpc/ifunc-sel.h: ... here.
44005         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
44006         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
44007
44008         * sysdeps/sparc/elf/configure.in: Moved to ...
44009         * sysdeps/sparc/configure.in: ... here.
44010         * sysdeps/sparc/elf/configure: Delete file.
44011         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
44012         * sysdeps/sparc/sparc32/start.S: ... here.
44013         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
44014         * sysdeps/sparc/sparc64/start.S: ... here.
44015         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
44016         * sysdeps/sparc/sparc32/Makefile: ... this.
44017         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
44018         * sysdeps/sparc/sparc64/Makefile: ... this.
44019
44020         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
44021         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
44022         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
44023         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
44024         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
44025         * sysdeps/s390/s390-32/setjmp.S: ... here.
44026         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
44027         * sysdeps/s390/s390-32/configure.in: ... here.
44028         * sysdeps/s390/s390-32/elf/configure: Delete file.
44029         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
44030         * sysdeps/s390/s390-32/start.S: ... here.
44031
44032         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
44033         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
44034         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
44035         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
44036         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
44037         * sysdeps/s390/s390-64/setjmp.S: ... here.
44038         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
44039         * sysdeps/s390/s390-64/configure.in: ... here
44040         * sysdeps/s390/s390-64/elf/configure: Delete file.
44041         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
44042         * sysdeps/s390/s390-64/start.S: ... here.
44043         * sysdeps/s390/s390-64/elf/configure: Delete.
44044
44045         * configure.in: Remove support for elf directories in sysdeps.
44046
44047         * configure: Regenerated.
44048         * sysdeps/i386/configure: Regenerated.
44049         * sysdeps/powerpc/powerpc32/configure: Regenerated.
44050         * sysdeps/powerpc/powerpc64/configure: Regenerated.
44051         * sysdeps/s390/s390-32/configure: Regenerated.
44052         * sysdeps/s390/s390-64/configure: Regenerated.
44053         * sysdeps/sh/configure: Regenerated.
44054         * sysdeps/sparc/configure: Regenerated.
44055         * sysdeps/x86_64/configure: Regenerated.
44056
44057 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
44058
44059         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44060
44061         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
44062         denormal result into account.
44063
44064 2012-03-25  Roland McGrath  <roland@hack.frob.com>
44065
44066         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
44067         Reported by Allan McRae <allan@archlinux.org>.
44068
44069 2012-03-23  Jeff Law  <law@redhat.com>
44070
44071         * nss/getnssent.c (__nss_getent): Fix typo.
44072
44073 2012-03-23  David S. Miller  <davem@davemloft.net>
44074
44075         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44076
44077 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
44078
44079         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
44080         to pad to uint64_t for each field.
44081         (dl_tls_index): Replace unsigned long with uint64_t.
44082
44083 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
44084         Paul Pluzhnikov  <ppluzhnikov@google.com>
44085
44086         [BZ #6528]
44087         * grp/Makefile (otherlibs): Don't set it.
44088         * inet/Makefile (otherlibs): Likewise.
44089         * login/Makefile (otherlibs): Likewise.
44090         * nscd/Makefile (otherlibs): Likewise.
44091         * posix/Makefile (otherlibs): Likewise.
44092         * pwd/Makefile (otherlibs): Likewise.
44093         * rt/Makefile (otherlibs): Likewise.
44094         * sunrpc/Makefile (otherlibs): Likewise.
44095         * nss/Makefile (otherlibs): Likewise.
44096         Add libnss_files to routines and static-only-routines.
44097         ($(objpfx)getent): Remove rule.
44098         * resolv/Makefile: Add libnss_dns and libresolv to routines and
44099         static-only-routines.
44100
44101 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
44102
44103         [BZ #13892]
44104         * math/s_cexp.c: Include <float.h>.
44105         (__cexp): Handle exp result overflowing not necessarily
44106         overflowing both real and imaginary parts of result.
44107         * math/s_cexpf.c: Likewise.
44108         * math/s_cexpl.c: Likewise.
44109         * math/libm-test.inc (cexp_test): Add more tests.
44110         * sysdeps/i386/fpu/libm-test-ulps: Update.
44111         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44112
44113 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
44114
44115         * include/link.h (ELFW): New macro.
44116         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
44117         Replace ELF64_R_TYPE with ELFW(R_TYPE).
44118
44119 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
44120
44121         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
44122         with uint64_t.
44123
44124 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
44125
44126         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
44127         declaration.
44128         (struct La_x32_retval): Likewise.
44129
44130 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
44131
44132         * sysdeps/x86_64/preconfigure.in: New file.
44133         * sysdeps/x86_64/preconfigure: New generated file.
44134
44135 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
44136
44137         [BZ #13824]
44138         * math/e_exp2l.c: Include <float.h>.
44139         (__ieee754_exp2l): Handle overflow and underflow cases
44140         separately.  Only pass fractional part of argument to
44141         __ieee754_expl.
44142         * math/libm-test.inc (exp2_test): Add more tests.
44143
44144         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
44145         negating x to take absolute value.
44146         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
44147         Likewise.
44148         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
44149         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
44150         Likewise.
44151         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
44152         computing low part if x was negated.
44153         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
44154
44155 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
44156
44157         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
44158         la_x32_gnu_pltexit.
44159         (pltexit): Cast int_retval to ptrdiff_t.
44160         * elf/tst-auditmod3b.c: Likewise.
44161         * elf/tst-auditmod4b.c: Likewise.
44162         * elf/tst-auditmod5b.c: Likewise.
44163         * elf/tst-auditmod6b.c: Likewise.
44164         * elf/tst-auditmod6c.c: Likewise.
44165         * elf/tst-auditmod7b.c: Likewise.
44166
44167         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
44168         and x32_gnu_pltexit.
44169
44170         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
44171         __ELF_NATIVE_CLASS.
44172         (La_x32_regs): New macro.
44173         (La_x32_retval): Likewise.
44174         (la_x32_gnu_pltenter): New function prototype.
44175         (la_x32_gnu_pltexit): Likewise.
44176
44177 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
44178
44179         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
44180         exponent.
44181
44182         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44183
44184         * configure.in (libc_cv_cc_nofma): Check for option to disable
44185         generation of FMA instructions.
44186         * configure: Regenerate.
44187         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
44188         * sysdeps/ieee754/dbl-64/Makefile: New file.
44189         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
44190         Remove brandred-fma4.
44191         (CFLAGS-brandred-fma4.c): Remove.
44192         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
44193         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
44194         define.
44195         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
44196         define.
44197
44198 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
44199
44200         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
44201         LLONG_MAX != LONG_MAX.
44202         (_itoa_word): Use _ITOA_WORD_TYPE on value.
44203         (_fitoa_word): Likewise.
44204         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
44205         LLONG_MAX != LONG_MAX.
44206         * stdio-common/_itowa.h: Include <_itoa.h>.
44207         (_itowa_word): Use _ITOA_WORD_TYPE on value.
44208         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
44209         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
44210         only if not defined.
44211         (_ITOA_WORD_TYPE): Likewise.
44212         (_itoa_word): Use _ITOA_WORD_TYPE on value.
44213         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
44214
44215 2012-03-21  David S. Miller  <davem@davemloft.net>
44216
44217         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44218
44219 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
44220
44221         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
44222         of x86_64 when setting libc_cv_slibdir, libdir and
44223         libc_cv_localedir.
44224         * sysdeps/unix/sysv/linux/configure: Regenerated.
44225
44226 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
44227
44228         * manual/lang.texi (Old Varargs): Remove section.
44229         (How Variadic): Update menu.
44230         (va_start): Do not mention varargs.h.
44231
44232 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
44233             Joseph Myers  <joseph@codesourcery.com>
44234
44235         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
44236         link test.
44237         * configure: Regenerated.
44238
44239 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
44240
44241         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
44242         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
44243         conformtest.pl
44244
44245 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
44246
44247         * NOTES: Remove.
44248         * Makefile (files-for-dist): Remove NOTES.
44249         (NOTES): Remove rule.
44250         * README: Don't refer to NOTES.
44251         * manual/creature.texi: Don't include macros.texi.
44252         * manual/intro.texi (creature.texi): Remove comment referring to
44253         NOTES.
44254
44255         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
44256         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
44257         * configure: Regenerated.
44258         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
44259         LIBC_TRY_CC_OPTION.
44260         (libc_cv_as_i686): Likewise.
44261         (libc_cv_cc_avx): Likewise.
44262         (libc_cv_cc_sse2avx): Likewise.
44263         (libc_cv_cc_fma4): Likewise.
44264         (libc_cv_cc_novzeroupper): Likewise.
44265         * sysdeps/i386/configure: Regenerated.
44266
44267         [BZ #13883]
44268         * sysdeps/i386/fpu/s_cexp.S: Remove.
44269         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
44270         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
44271         * math/libm-test.inc (cexp_test): Add more tests.
44272         * sysdeps/i386/fpu/libm-test-ulps: Update.
44273         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44274
44275 2012-03-21  Allan McRae  <allan@archlinux.org>
44276
44277         * timezone/Makefile: Do not install iso3166.tab and zone.tab
44278
44279 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
44280
44281         [BZ #13871]
44282         * math/w_exp2.c: Do not include <float.h>.
44283         (o_threshold, u_threshold): Remove.
44284         (__exp2): Calculate result before checking finiteness and calling
44285         __kernel_standard.
44286         * math/w_exp2f.c: Likewise.
44287         * math/w_exp2l.c: Likewise.
44288         * math/libm-test.inc (exp2_test): Require overflow exception for
44289         1e6 input.
44290
44291         [BZ #3866]
44292         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
44293         range of signed 64-bit integers before using fistpll.  Remove
44294         checks for whether integers fit in mantissa bits.
44295         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
44296         the range of signed 32-bit integers before using fistpl.  Remove
44297         checks for whether integers fit in mantissa bits.
44298         * sysdeps/i386/fpu/e_powl.S (p64): New object.
44299         (__ieee754_powl): Test for y outside the range of signed 64-bit
44300         integers before using fistpll.  Reduce 64-bit values to 63-bit
44301         ones as needed.
44302         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
44303         divide-by-zero is raised for zero to large negative powers.
44304         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
44305         (__ieee754_powl): Test for y outside the range of signed 64-bit
44306         integers before using fistpll.  Reduce 64-bit values to 63-bit
44307         ones as needed.
44308         * math/libm-test.inc (pow_test): Add more tests.
44309
44310 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
44311
44312         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
44313         <stdio-common/_itoa.h>.
44314         * debug/segfault.c: Likewise.
44315         * elf/dl-cache.c: Likewise.
44316         * elf/dl-minimal.c: Likewise.
44317         * elf/dl-misc.c: Likewise.
44318         * elf/dl-sysdep.c: Likewise.
44319         * elf/dl-version.c: Likewise.
44320         * elf/rtld.c: Likewise.
44321         * hurd/hurdsock.c: Likewise.
44322         * hurd/lookup-retry.c: Likewise.
44323         * malloc/malloc.c: Likewise.
44324         * malloc/mtrace.c: Likewise.
44325         * nscd/nscd_getgr_r.c: Likewise.
44326         * nscd/nscd_getpw_r.c: Likewise.
44327         * nscd/nscd_getserv_r.c: Likewise.
44328         * posix/getopt_init.c: Likewise.
44329         * posix/wordexp.c: Likewise.
44330         * stdio-common/_itoa.c: Likewise.
44331         * stdio-common/printf_fphex.c: Likewise.
44332         * stdio-common/vfprintf.c: Likewise.
44333         * string/_strerror.c: Likewise.
44334         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
44335         * sysdeps/i386/i686/hp-timing.h: Likewise.
44336         * sysdeps/mach/_strerror.c: Likewise.
44337         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
44338         * sysdeps/mach/hurd/sethostid.c: Likewise.
44339         * sysdeps/mach/hurd/xmknodat.c: Likewise.
44340         * sysdeps/mach/xpg-strerror.c: Likewise.
44341         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
44342         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
44343         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
44344         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
44345         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
44346         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
44347         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
44348         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
44349         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
44350         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
44351         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
44352         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
44353         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
44354         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
44355         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
44356         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
44357         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
44358         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
44359         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
44360         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
44361         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
44362
44363         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
44364
44365         * stdio-common/_itoa.h: Moved to ...
44366         * sysdeps/generic/_itoa.h: Here.
44367
44368         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
44369
44370         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
44371         instead of "_itoa.h" and "_itowa.h".
44372         * stdio-common/vfprintf.: Likewise.
44373
44374 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
44375
44376         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
44377         <bits/wordsize.h>.
44378         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
44379         (__signbit): Likwise.
44380         (llrintf): Likwise.
44381         (llrint): Likwise.
44382
44383 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
44384
44385         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
44386         __WORDSIZE != 64.
44387
44388 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
44389
44390         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
44391         OVERFLOW_EXCEPTION_OK.
44392         * math/libm-test.inc ("Philosophy"): Update comment about
44393         exception testing.
44394         (OVERFLOW_EXCEPTION): Define.
44395         (OVERFLOW_EXCEPTION_OK): Likewise.
44396         (INVALID_EXCEPTION_OK): Renumber.
44397         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
44398         (IGNORE_ZERO_INF_SIGN): Likewise.
44399         (test_exceptions): Handle FE_OVERFLOW.
44400         (exp10_test): Expect overflow exceptions.
44401         (exp2_test): Likewise.
44402         (expm1_test): Likewise.
44403         (nextafter_test): Likewise.
44404         (pow_test): Likewise.
44405         (scalbn_test): Likewise.
44406         (scalbln_test): Likewise.
44407
44408 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
44409
44410         * sysdeps/x86_64/bits/atomic.h
44411         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
44412         64bit integer.
44413         (atomic_exchange_acq): Likewise.
44414         (__arch_exchange_and_add_body): Likewise.
44415         (__arch_add_body): Likewise.
44416         (atomic_add_negative): Likewise.
44417         (atomic_add_zero): Likewise.
44418
44419 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
44420
44421         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
44422         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
44423
44424 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
44425
44426         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
44427         Check __x86_64__ instead of __WORDSIZE.
44428
44429 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
44430
44431         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
44432
44433 2012-03-19  David S. Miller  <davem@davemloft.net>
44434
44435         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44436
44437         * sysdeps/sparc/fpu/fenv_private.h: New file.
44438         * sysdeps/sparc/fpu/math_private.h: Use it.
44439         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
44440         Remove.
44441         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
44442         (libc_feholdexcept_setroundl): Remove.
44443         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
44444         Remove.
44445         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
44446         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
44447
44448 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
44449
44450         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
44451         int64_t instead of long int.
44452         (INSERT_WORDS64): Likwise.
44453
44454 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
44455
44456         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
44457         _Unwind_GetCFA return to _Unwind_Ptr first.
44458
44459 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
44460
44461         [BZ #13629]
44462         * math/s_clog.c: Include <float.h>.
44463         (__clog): Scale large or subnormal inputs.
44464         * math/s_clogf.c: Likewise.
44465         * math/s_clogl.c: Likewise.
44466         * math/s_clog10.c: Include <float.h>.
44467         (M_LOG10_2): Define.
44468         (__clog10): Scale large or subnormal inputs.
44469         * math/s_clog10f.c: Likewise.
44470         * math/s_clog10l.c: Likewise.
44471         * math/libm-test.inc (clog_test): Add more tests.
44472         (clog10_test): Likewise.
44473         * sysdeps/i386/fpu/libm-test-ulps: Update.
44474         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44475
44476         [BZ #11451]
44477         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
44478         x and y.
44479         * math/libm-test.inc (atan2_test): Add another test.
44480
44481         * Makerules (common-objdir-compile): Remove.
44482         * sysdeps/unix/Makefile (config-generated): Do not add
44483         $(unix-generated) to variable.
44484         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
44485         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
44486         Remove rule.
44487         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
44488         Likewise.
44489         [generic bits/local_lim.h] (before-compile): Do not append to
44490         variable.
44491         [generic bits/local_lim.h] (common-generated): Likewise.
44492         [generic sys/param.h] (before-compile): Do not append to variable.
44493         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
44494         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
44495         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
44496         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
44497         include.
44498         [generic sys/param.h] (sys/param.h-includes): Remove variable.
44499         [generic sys/param.h] (sys/param.h-includes): Remove rule.
44500         [generic sys/param.h] ($(addprefix
44501         $(common-objpfx),$(sys/param.h-includes))): Likewise.
44502         [generic sys/param.h] (common-generated): Do not append to
44503         variable.
44504         [generic sys/param.h] (sysdep_headers): Likewise.
44505         [generic bits/errno.h] (before-compile): Do not append to
44506         variable.
44507         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
44508         rule.
44509         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
44510         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
44511         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
44512         [generic bits/errno.h] (common-generated): Do not append to
44513         variable.
44514         [generic bits/ioctls.h] (before-compile): Do not append to
44515         variable.
44516         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
44517         rule.
44518         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
44519         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
44520         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
44521         rule.
44522         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
44523         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
44524         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
44525         [generic bits/ioctls.h] (common-generated): Do not append to
44526         variable.
44527         [generic sys/syscall.h] (syscall.h): Remove variable.
44528         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
44529         rule.
44530         [generic sys/syscall.h] (before-compile): Do not append to
44531         variable.
44532         [generic sys/syscall.h] (common-generated): Likewise.
44533         * sysdeps/unix/errnos-tmpl.c: Remove file.
44534         * sysdeps/unix/errnos.awk: Likewise.
44535         * sysdeps/unix/ioctls-tmpl.c: Likewise.
44536         * sysdeps/unix/ioctls.awk: Likewise.
44537         * sysdeps/unix/mk-local_lim.c: Likewise.
44538         * sysdeps/unix/snarf-ioctls: Likewise.
44539
44540 2012-03-19  Richard Henderson  <rth@twiddle.net>
44541
44542         * sysdeps/i386/fpu/fenv_private.h: New file.
44543         * sysdeps/i386/fpu/math_private.h: Use it.
44544         (math_opt_barrier, math_force_eval): Remove.
44545         (libc_feholdexcept_setround_53bit): Remove.
44546         (libc_feupdateenv_53bit): Remove.
44547         * sysdeps/x86_64/fpu/math_private.h: Likewise.
44548         (math_opt_barrier, math_force_eval): Remove.
44549         (libc_feholdexcept): Remove.
44550         (libc_feholdexcept_setround): Remove.
44551         (libc_fetestexcept, libc_fesetenv): Remove.
44552         (libc_feupdateenv_test): Remove.
44553         (libc_feupdateenv, libc_feholdsetround): Remove.
44554         (libc_feresetround): Remove.
44555
44556         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
44557         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
44558
44559         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
44560         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
44561         (libc_feupdateenv_testl): New.
44562         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
44563         (libc_feupdateenv_testf): New.
44564         (libc_feupdateenv): Use libc_feupdateenv_test.
44565         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
44566         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
44567
44568         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
44569         (libc_feholdsetroundf, libc_feholdsetroundl): New.
44570         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
44571         (libc_feresetround_noex): New.
44572         (libc_feresetround_noexf): New.
44573         (libc_feresetround_noexl): New.
44574         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
44575         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
44576         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
44577         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
44578         SET_RESTORE_ROUND.
44579         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
44580         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
44581         (__cos): Likewise.
44582         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
44583         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
44584         SET_RESTORE_ROUND_NOEX.
44585         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
44586         SET_RESTORE_ROUND_NOEXF.
44587         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
44588         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
44589         (libc_feholdsetroundf): New.
44590         (libc_feresetround, libc_feresetroundf): New.
44591
44592         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
44593         (libc_feholdexcept_setround_53bit): Convert from macro to function.
44594         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
44595
44596         * sysdeps/generic/math_private.h: Include <fenv.h>.
44597         (default_libc_feholdexcept): New.
44598         (default_libc_feholdexcept_setround): New.
44599         (default_libc_fesetenv, default_libc_feupdateenv): New.
44600         (libc_feholdexcept): Only define if undefined.
44601         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
44602         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
44603         (libc_feholdexcept_setroundl): Likewise.
44604         (libc_feholdexcept_setround_53bit): Likewise.
44605         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
44606         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
44607         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
44608         (libc_feupdateenv_53bit): Likewise.
44609         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
44610         (libc_feholdexcept): Convert from macro to inline function.
44611         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
44612         (libc_fesetenv, libc_feupdateenv): Likewise.
44613
44614         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
44615         not previously defined.
44616         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
44617         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
44618         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
44619         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
44620         * sysdeps/ieee754/flt-32/math_private.h: New file.
44621         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
44622         math_private.h below SET_FLOAT_WORD.
44623         (__isnan, __isinf_ns, __finite): Remove.
44624         (__isnanf, __isinf_nsf, __finitef): Remove.
44625
44626 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
44627
44628         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44629
44630 2012-03-17  David S. Miller  <davem@davemloft.net>
44631
44632         [BZ #6471]
44633         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
44634         for 2.16.
44635
44636 2012-03-16  David S. Miller  <davem@davemloft.net>
44637
44638         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
44639         warnings.
44640
44641         [BZ #6471]
44642         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
44643         properly.
44644         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
44645         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
44646         sysdep_routines when subdir is sysvipc.
44647         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
44648         __getshmlba helper.
44649
44650         * sysdeps/sparc/fpu/libm-test/ulps: Update.
44651
44652 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
44653
44654         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
44655         [__LP64__].
44656
44657 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
44658
44659         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
44660         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
44661         (__lround): Renamed to ...
44662         (__llround): This.  Replace long int with long long int.
44663         Define lround functions as aliases of llround functions.
44664         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
44665
44666 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
44667
44668         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
44669         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
44670         adresses to uintptr_t.  Replace "long int" and "unsigned long
44671         int" with "greg_t" on va_arg.
44672
44673 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
44674
44675         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
44676         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
44677
44678         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
44679         Move e_machine check before EI_CLASS check.  Handle x32
44680         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
44681         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
44682         SKIP_EM_IA_64 and include
44683         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
44684
44685         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
44686         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
44687         (add_system_dir): New macro.
44688
44689         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
44690         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
44691
44692 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
44693
44694         [BZ #2551]
44695         [BZ #2552]
44696         [BZ #2553]
44697         [BZ #2554]
44698         [BZ #2562]
44699         [BZ #2563]
44700         [BZ #2565]
44701         [BZ #2566]
44702         [BZ #2576]
44703         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
44704         (y0): Likewise.
44705         * math/w_j0f.c (j0f): Likewise.
44706         (y0f): Likewise.
44707         * math/w_j0l.c (__j0l): Likewise.
44708         (__y0l): Likewise.
44709         * math/w_j1.c (j1): Likewise.
44710         (y1): Likewise.
44711         * math/w_j1f.c (j1f): Likewise.
44712         (y1f): Likewise.
44713         * math/w_j1l.c (__j1l): Likewise.
44714         (__y1l): Likewise.
44715         * math/w_jn.c (jn): Likewise.
44716         (yn): Likewise.
44717         * math/w_jnf.c (jnf): Likewise.
44718         (ynf): Likewise.
44719         * math/w_jnl.c (__jnl): Likewise.
44720         (__ynl): Likewise.
44721         * math/libm-test.inc (j0_test): Add more tests.
44722         (j1_test): Likewise.
44723         (jn_test): Likewise.  Add trailing semicolon to existing test.
44724         (y0_test): Likewise.
44725         (y1_test): Likewise.
44726         * sysdeps/i386/fpu/libm-test-ulps: Update.
44727         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44728
44729         [BZ #13851]
44730         [BZ #13854]
44731         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
44732         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
44733         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
44734         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
44735         (__tanl): Set errno for infinite argument.
44736         * sysdeps/i386/fpu/mptan.c: Remove.
44737         * sysdeps/i386/fpu/s_tan.S: Likewise.
44738         * sysdeps/i386/fpu/s_tanl.S: Likewise.
44739         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
44740         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
44741         * math/libm-test.inc (tan_test): Add more tests and enable more
44742         tests for double and long double.
44743         * sysdeps/i386/fpu/libm-test-ulps: Update.
44744         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44745
44746 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
44747
44748         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
44749         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
44750
44751 2012-03-16  Roland McGrath  <roland@hack.frob.com>
44752
44753         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
44754         * configure.in: Use it for both main tree and add-ons.
44755         * configure: Regenerated.
44756
44757 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
44758
44759         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
44760
44761 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
44762
44763         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
44764         in comment.
44765
44766         [BZ #13851]
44767         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
44768         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
44769         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
44770         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
44771         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
44772         infinite argument.
44773         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
44774         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
44775         != 0 for prec == 2.
44776         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
44777         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
44778         * sysdeps/i386/fpu/s_cosl.S: Likewise.
44779         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
44780         * sysdeps/i386/fpu/s_sinl.S: Likewise.
44781         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
44782         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
44783         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
44784         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
44785         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
44786         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
44787         * math/libm-test.inc (cos_test): Add more tests and enable more
44788         tests for long double.
44789         (sin_test): Likewise.
44790         (sincos_test): Likewise.
44791         * sysdeps/i386/fpu/libm-test-ulps: Update.
44792         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44793
44794 2012-03-16  David S. Miller  <davem@davemloft.net>
44795
44796         * sysdeps/sparc/fpu/math_private.h: New file.
44797
44798 2012-03-15  David S. Miller  <davem@davemloft.net>
44799
44800         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
44801         file.
44802         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
44803         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
44804         file.
44805         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
44806         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
44807         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
44808         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
44809         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
44810         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
44811         sysdep routines.
44812         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
44813
44814         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
44815         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
44816
44817         * sysdeps/sparc/sparc-ifunc.h: New file.
44818         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
44819         sparc-ifunc.h
44820         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
44821         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
44822         Likewise.
44823         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
44824         Likewise.
44825         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
44826         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
44827         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
44828         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
44829         Likewise.
44830         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
44831         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
44832         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
44833         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
44834         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
44835         Likewise.
44836         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
44837         Likewise.
44838         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
44839         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
44840         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
44841         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
44842         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
44843         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
44844         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
44845         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
44846         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
44847         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
44848         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
44849         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
44850         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
44851         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
44852         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
44853         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
44854         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
44855         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
44856         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
44857         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
44858         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
44859         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
44860         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
44861         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
44862
44863 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
44864
44865         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
44866         scaling.
44867         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44868
44869 2012-03-15  Andreas Jaeger  <aj@suse.de>
44870
44871         [BZ #13852]
44872         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
44873         ieee754/flt-32 implementation for sin, cos and sincos.
44874         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
44875         * sysdeps/i386/fpu/s_cosf.S: Likewise.
44876         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
44877         * sysdeps/i386/fpu/s_sinf.S: Likewise.
44878         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
44879         ieee754/flt-32 implementation for tan.
44880
44881         * math/libm-test.inc (cos_test): Enable some large input tests for
44882         float as well
44883         (sin_test): Likewise.
44884         (sincos_test): Likewise.
44885         (tan_test): Add tests for large input.
44886
44887         * sysdeps/i386/fpu/libm-test-ulps: Update.
44888
44889 2012-03-15  Andreas Jaeger  <aj@suse.de>
44890
44891         [BZ #13658]
44892         * math/libm-test.inc (cos_test): Add more test cases.
44893         (sin_test): Likewise.
44894         (sincos_test): Likewise.
44895
44896 2012-03-15  Andreas Jaeger  <aj@suse.de>
44897
44898         [BZ #13837]
44899         * math/libm-test.inc (cos_test): Add a test case for large input
44900         value.
44901         (sin_test): Likewise.
44902         (sincos_test): Likewise.
44903
44904 2012-03-15  Andreas Jaeger  <aj@suse.de>
44905             Joseph Myers  <joseph@codesourcery.com>
44906
44907         [BZ #13658]
44908         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
44909         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
44910         * sysdeps/i386/fpu/branred.c: Likewise.
44911         * sysdeps/i386/fpu/dosincos.c: Likewise.
44912         * sysdeps/i386/fpu/mpa.c: Likewise.
44913         * sysdeps/i386/fpu/s_cos.S: Likewise.
44914         * sysdeps/i386/fpu/s_sin.S: Likewise.
44915         * sysdeps/i386/fpu/s_sincos.S: Likewise.
44916         * sysdeps/i386/fpu/sincos32.c: Likewise.
44917
44918         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
44919         Define.
44920         (libc_feupdateenv_53bit): Define.
44921         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
44922         Define.
44923         (libc_feupdateenv_53bit): Define.
44924
44925         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
44926         53 bit (without extend i386 double precision).
44927
44928         * math/libm-test.inc (sincos_test): Add tests for large input.
44929         (sin): Likewise.
44930         (cos): Likewise.
44931
44932         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
44933
44934 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
44935
44936         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44937
44938 2012-03-15  David S. Miller  <davem@davemloft.net>
44939
44940         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
44941         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
44942         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
44943         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
44944         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
44945         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
44946         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
44947         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
44948         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
44949         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
44950         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
44951         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
44952         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
44953         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
44954         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
44955         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
44956         file.
44957         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
44958         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
44959         file.
44960         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
44961         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
44962         file.
44963         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
44964         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
44965         file.
44966         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
44967         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
44968         fmin/fmax sysdep routines.
44969         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
44970
44971 2012-03-14  David S. Miller  <davem@davemloft.net>
44972
44973         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
44974         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
44975         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
44976         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
44977         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
44978         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
44979         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
44980         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
44981         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
44982         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
44983         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
44984         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
44985         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
44986         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
44987         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
44988         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
44989         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
44990         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
44991         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
44992         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
44993         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
44994         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
44995         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
44996         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
44997         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
44998         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
44999         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
45000         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
45001         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
45002         routines.
45003         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
45004         file.
45005         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
45006         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
45007         file.
45008         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
45009         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
45010         file.
45011         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
45012         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
45013         file.
45014         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
45015         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
45016         file.
45017         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
45018         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
45019         file.
45020         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
45021         file.
45022         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
45023         file.
45024         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
45025         file.
45026         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
45027         New file.
45028         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
45029         file.
45030         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
45031         file.
45032         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
45033         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
45034         file.
45035         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
45036         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
45037         file.
45038         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
45039         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
45040         file.
45041         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
45042         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
45043         VIS3 routines.
45044
45045         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
45046         New file.
45047
45048         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45049
45050         * sysdeps/sparc/configure.in: New file.
45051         * sysdeps/sparc/configure: Generate.
45052         * configure.in (libc_cv_sparc_as_vis3): Substitute.
45053         * configure: Regenerate.
45054         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
45055         * config.make.in (have-as-vis3): New.
45056         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
45057         available use -Av9d instead of -Av9a.
45058         * sysdeps/sparc/sparc64/Makefile: Likewise.
45059         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
45060         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
45061         New file.
45062         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
45063         file.
45064         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
45065         New file.
45066         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
45067         file.
45068         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
45069         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
45070         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
45071         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
45072         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
45073
45074         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
45075         fzeros/fnegs to load 0x80000000 into a float register instead of
45076         using the stack.
45077         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
45078
45079 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
45080
45081         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45082         bits/syscall.h.
45083         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
45084         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
45085         ($(inst_includedir)/bits/syscall.h): Remove rule.
45086         ($(objpfx)bits/syscall.d): Include instead of
45087         $(objpfx)syscall-list.d.
45088         (generated): Change syscall-list.h and syscall-list.d to
45089         bits/syscall.h and bits/syscall.d.
45090
45091 2012-03-14  Roland McGrath  <roland@hack.frob.com>
45092
45093         [BZ #13846]
45094         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
45095
45096 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
45097
45098         [BZ #13841]
45099         * math/s_csqrt.c: Include <float.h>.
45100         (__csqrt): Scale large or subnormal inputs.
45101         * math/s_csqrtf.c: Likewise.
45102         * math/s_csqrtl.c: Likewise.
45103         * math/libm-test.inc (csqrt_test): Add more tests.
45104         * sysdeps/i386/fpu/libm-test-ulps: Update.
45105         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45106
45107         [BZ #13840]
45108         * math/libm-test.inc (hypot_test): Add more tests.
45109
45110 2012-03-13  David S. Miller  <davem@davemloft.net>
45111
45112         [BZ #13840]
45113         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
45114         double-precision for the calculation instead of scaling.
45115
45116 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
45117
45118         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
45119         manipulate bits before adding and subtracting TWO52[sx].
45120         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
45121         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
45122         Likewise.
45123         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
45124
45125 2012-03-13  David S. Miller  <davem@davemloft.net>
45126
45127         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
45128         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
45129         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
45130         rtld-global-offsets.h
45131         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
45132
45133         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
45134         large parameters.
45135
45136         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
45137
45138         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
45139         'err' in the ifdef scope in which it is actually used.
45140
45141         * nss/nss_db/db-init.c: Include string.h
45142
45143 2012-03-12  David S. Miller  <davem@davemloft.net>
45144
45145         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
45146         masking out of the most significant byte of random value used.
45147         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
45148         Fix coding style in previous change.
45149
45150         * sysdeps/unix/sysv/linux/kernel-features.h
45151         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
45152         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
45153         expression.
45154         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
45155         later.
45156
45157 2012-03-11  David S. Miller  <davem@davemloft.net>
45158
45159         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
45160         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
45161         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
45162         for 'resultvar' otherwise things get truncated on 64-bit.
45163
45164         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
45165         Fix masking out of the most significant byte of random value used.
45166
45167         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45168
45169 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
45170
45171         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45172
45173 2012-03-09  David S. Miller  <davem@davemloft.net>
45174
45175         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
45176         variables with appropriate CPP guards.
45177         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
45178         from the frame pointer, not the stack pointer.  Correct layout
45179         comments.  Fix test on resulting framesize and the management of
45180         the outregs buffer for pltexit.  Preserve floating point return
45181         values across _dl_call_pltexit call.
45182         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
45183         framesize and the management of the outregs buffer for pltexit.
45184         Preserve floating point return values across _dl_call_pltexit
45185         call.
45186         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
45187         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
45188         (la_sparc64_gnu_pltexit): New functions.
45189         (print_exit): Fix format string for return register value.
45190
45191 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
45192
45193         * sunrpc/Makefile (others): Add rpcgen.
45194         ($(objpfx)rpcgen): Remove special build rule and dependency on
45195         libc.
45196         * sunrpc/rpcgen.c: New file.
45197
45198 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
45199
45200         [BZ #13673]
45201         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
45202         * stdio-common/bug-vfprintf-nargs.c: Likewise.
45203         * sysdeps/i386/crti.S: Likewise.
45204         * sysdeps/i386/crtn.S: Likewise.
45205         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
45206         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
45207         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
45208         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
45209         * sysdeps/sh/crti.S: Likewise.
45210         * sysdeps/sh/crtn.S: Likewise.
45211         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
45212
45213         [BZ #13673]
45214         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
45215         with URL.
45216         * locale/programs/locfile-kw.gperf: Likewise.
45217         * locale/programs/charmap-kw.h: Regenerated.
45218         * locale/programs/locfile-kw.h: Likewise.
45219
45220         [BZ #13673]
45221         * intl/plural.y: Replace FSF snail mail address with URL.
45222         * intl/plural.c: Regenerated.
45223
45224 2012-03-09  Richard Henderson  <rth@twiddle.net>
45225
45226         * include/math_private.h: Remove file.
45227         * math/math_private.h: Move file ...
45228         * sysdeps/generic/math_private.h: ... here.
45229
45230         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
45231         * sysdeps/powerpc/fpu/math_private.h: Likewise.
45232         * sysdeps/x86_64/fpu/math_private.h: Likewise.
45233
45234         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
45235         and <math_private.h>.
45236         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
45237         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
45238         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
45239         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
45240         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
45241         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
45242         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
45243         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
45244         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
45245         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
45246         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
45247         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
45248         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
45249         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
45250         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
45251         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
45252         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
45253         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
45254         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
45255         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
45256         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
45257         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
45258         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
45259         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
45260         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
45261         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
45262         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
45263         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
45264         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
45265         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
45266         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
45267         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
45268         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
45269         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
45270         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
45271         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
45272         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
45273         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
45274         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
45275         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
45276         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
45277         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
45278         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
45279         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
45280         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
45281         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
45282         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
45283         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
45284         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
45285         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
45286         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
45287         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
45288         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
45289         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
45290         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
45291         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
45292         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
45293         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
45294         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
45295         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
45296         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
45297         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
45298         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
45299         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
45300         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
45301         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
45302         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
45303         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
45304         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
45305         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
45306         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
45307         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
45308         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
45309         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
45310         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
45311         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
45312         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
45313         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
45314         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
45315         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
45316         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
45317         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
45318         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
45319         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
45320         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
45321         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
45322         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
45323         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
45324         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
45325         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
45326         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
45327         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
45328         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
45329         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
45330         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
45331         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
45332         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
45333         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
45334         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
45335         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
45336         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
45337         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
45338         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
45339         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
45340         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
45341         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
45342         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
45343         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
45344         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
45345         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
45346         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
45347         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
45348         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
45349         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
45350         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
45351         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
45352         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
45353         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
45354         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
45355         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
45356         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
45357         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
45358         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
45359         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
45360         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
45361         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
45362         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
45363         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
45364         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
45365         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
45366         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
45367         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
45368         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
45369         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
45370         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
45371         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
45372         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
45373         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
45374         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
45375         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
45376         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
45377         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
45378         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
45379         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
45380         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
45381         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
45382         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
45383         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
45384         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
45385         * sysdeps/ieee754/k_standard.c: Likewise.
45386         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
45387         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
45388         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
45389         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
45390         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
45391         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
45392         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
45393         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
45394         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
45395         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
45396         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
45397         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
45398         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
45399         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
45400         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
45401         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
45402         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
45403         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
45404         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
45405         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
45406         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
45407         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
45408         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
45409         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
45410         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
45411         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
45412         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
45413         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
45414         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
45415         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
45416         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
45417         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
45418         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
45419         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
45420         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
45421         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
45422         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
45423         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
45424         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
45425         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
45426         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
45427         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
45428         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
45429         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
45430         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
45431         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
45432         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
45433         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
45434         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
45435         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
45436         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
45437         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
45438         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
45439         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
45440         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
45441         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
45442         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
45443         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
45444         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
45445         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
45446         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
45447         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
45448         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
45449         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
45450         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
45451         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
45452         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
45453         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
45454         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
45455         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
45456         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
45457         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
45458         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
45459         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
45460         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
45461         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
45462         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
45463         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
45464         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
45465         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
45466         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
45467         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
45468         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
45469         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
45470         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
45471         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
45472         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
45473         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
45474         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
45475         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
45476         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
45477         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
45478         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
45479         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
45480         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
45481         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
45482         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
45483         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
45484         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
45485         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
45486         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
45487         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
45488         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
45489         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
45490         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
45491         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
45492         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
45493         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
45494         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
45495         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
45496         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
45497         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
45498         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
45499         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
45500         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
45501         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
45502         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
45503         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
45504         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
45505         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
45506         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
45507         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
45508         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
45509         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
45510         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
45511         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
45512         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
45513         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
45514         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
45515         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
45516         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
45517         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
45518         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
45519         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
45520         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
45521         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
45522         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
45523         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
45524         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
45525         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
45526         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
45527         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
45528         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
45529         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
45530         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
45531         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
45532         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
45533         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
45534         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
45535         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
45536         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
45537         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
45538         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
45539         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
45540         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
45541         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
45542         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
45543         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
45544         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
45545         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
45546         * sysdeps/ieee754/s_lib_version.c: Likewise.
45547         * sysdeps/ieee754/s_matherr.c: Likewise.
45548         * sysdeps/ieee754/s_signgam.c: Likewise.
45549         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
45550         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
45551         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
45552         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
45553         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
45554         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
45555         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
45556         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
45557         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
45558         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
45559         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
45560         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
45561         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
45562         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
45563         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
45564         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
45565         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
45566         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
45567         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
45568         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
45569         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
45570
45571 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
45572
45573         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
45574         * sunrpc/rpc_main.c: Likewise.
45575         * sunrpc/rpc_svcout.c: Likewise.
45576
45577 2012-03-09  David S. Miller  <davem@davemloft.net>
45578
45579         * include/math_private.h: New file.
45580
45581 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
45582
45583         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
45584         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
45585         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
45586         from <bits/socket_type.h>.
45587         (enum __socket_type): Don't define here.
45588         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
45589         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45590         bits/socket_type.h.
45591
45592         [BZ #13566]
45593         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
45594         checking __USE_GNU.
45595
45596         * Makerules ($(inst_includedir)/%.h): New rule.
45597         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
45598         (install-others): Remove variable setting.
45599         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
45600
45601 2012-03-08  Richard Henderson  <rth@twiddle.net>
45602
45603         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
45604         from macro to inline function; merge with the
45605         !__LIBC_INTERNAL_MATH_INLINES version.
45606         (__ieee754_sqrtf): Likewise.
45607
45608         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
45609         to inline function.
45610         (__rintf, __floor, __floorf): Likewise.
45611
45612         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
45613         macro to inline function.
45614         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
45615
45616         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
45617         not <math/math_private.h>.
45618
45619 2012-03-08  David S. Miller  <davem@davemloft.net>
45620
45621         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
45622         copyright year.
45623         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
45624
45625 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
45626
45627         * resolv/gai_misc.c (handle_requests): Fix struct timespec
45628         normalization.
45629         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
45630         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
45631
45632 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
45633
45634         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
45635         be defined individually, they must be defined as a block.  Define
45636         S for printing a string instead of hidint the different by using a
45637         macro for adding the 'l'.
45638         * stdio-common/tst-fphex-wide.c: Adjust.
45639
45640 2012-03-07  Marek Polacek  <polacek@redhat.com>
45641
45642         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
45643
45644 2012-03-08  Marek Polacek  <polacek@redhat.com>
45645
45646         [BZ #13806]
45647         * stdio-common/Makefile (tests): Add tst-fphex-wide.
45648         * stdio-common/tst-fphex.c: Define a few macros to make the
45649         test reusable.  Use them.
45650         * stdio-common/tst-fphex-wide.c: New file.
45651
45652 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
45653
45654         [BZ #6911]
45655         * manual/macros.texi (gnusystems): New macro.
45656         (nongnusystems): Likewise.
45657         (gnulinuxhurdsystems): Likewise.
45658         (gnuhurdsystems): Likewise..
45659         (gnulinuxsystems): Likewise.
45660         * manual/charset.texi: Use new macros or @theglibc{} to refer to
45661         variants of the GNU system, not "GNU system".
45662         * manual/conf.texi: Likewise.
45663         * manual/errno.texi: Likewise.  Update example of errno macro
45664         expansion.
45665         * manual/filesys.texi: Likewise.
45666         (getumask): Document as specific to GNU/Hurd.
45667         * manual/install.texi: Likewise.  Reword some references to
45668         GNU/Linux.
45669         * manual/intro.texi: Likewise.
45670         * manual/io.texi: Likewise.
45671         (File Name Portability): Detail which constraints are inapplicable
45672         to all GNU systems and which are only inapplicable to GNU/Hurd.
45673         * manual/job.texi: Likewise.
45674         * manual/llio.texi: Likewise.
45675         (O_NOCTTY): Document as present on GNU/Linux.
45676         * manual/maint.texi: Likewise.
45677         * manual/memory.texi: Likewise.
45678         * manual/pattern.texi: Likewise.
45679         * manual/pipe.texi: Likewise.
45680         * manual/process.texi: Likewise.
45681         * manual/resource.texi: Likewise.
45682         (RUSAGE_CHILDREN): Remove statement about specifying a particular
45683         child on GNU/Hurd.
45684         * manual/setjmp.texi: Likewise.
45685         * manual/signal.texi: Likewise.
45686         * manual/startup.texi: Likewise.
45687         * manual/stdio.texi: Likewise.
45688         * manual/terminal.texi: Likewise.
45689         (ONLCR): Document as POSIX.
45690         (OXTABS): Document availability on GNU/Linux as XTABS.
45691         (ONOEOT): Document availability separately from other bits.
45692         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
45693         * manual/time.texi: Likewise.
45694         * manual/users.texi: Likewise.
45695         * INSTALL: Regenerated.
45696         * sysdeps/gnu/errlist.c: Regenerated.
45697
45698         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
45699         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
45700         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
45701         puts.
45702         * configure: Regenerated.
45703
45704 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
45705
45706         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
45707         default includes instead of AC_HEADER_CHECK.
45708         * sysdeps/i386/configure: Regenerated.
45709
45710         [BZ #10716]
45711         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
45712         * math/s_cacoshf.c (__cacoshf): Likewise.
45713         * math/s_cacoshl.c (__cacoshl): Likewise.
45714         * math/s_casinh.c (__casinh): Set signs of result from argument.
45715         * math/s_casinhf.c (__casinhf): Likewise.
45716         * math/s_casinhl.c (__casinhl): Likewise.
45717         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
45718         (casinh_test): Add more tests.
45719         * sysdeps/i386/fpu/libm-test-ulps: Update.
45720         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45721
45722 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
45723
45724         * po/zh_TW.po: Update from translation team.
45725
45726         * login/Makefile (distribute): Remove variable.
45727         * catgets/Makefile: Likewise.
45728         * mach/Makefile: Likewise.
45729         * malloc/Makefile: Likewise.
45730         * misc/Makefile: Likewise.
45731         * iconv/Makefile: Likewise.
45732         * nscd/Makefile: Likewise.
45733         * hurd/Makefile: Likewise.
45734         * manual/Makefile: Likewise.
45735         * locale/Makefile: Likewise.
45736         * intl/Makefile: Likewise.
45737         * conform/Makefile: Likewise.
45738         * nss/Makefile: Likewise.
45739         * time/Makefile: Likewise.
45740         * soft-fp/Makefile: Likewise.
45741         * dirent/Makefile: Likewise.
45742         * gmon/Makefile: Likewise.
45743         * po/Makefile: Likewise.
45744         * rt/Makefile: Likewise.
45745         * socket/Makefile: Likewise.
45746         * math/Makefile: Likewise.
45747         * signal/Makefile: Likewise.
45748         * debug/Makefile: Likewise.
45749         * elf/Makefile: Likewise.
45750         * timezone/Makefile: Likewise.
45751         * stdlib/Makefile: Likewise.
45752         * iconvdata/Makefile: Likewise.
45753         * sunrpc/Makefile: Likewise.
45754         * io/Makefile: Likewise.
45755         * argp/Makefile: Likewise.
45756         * inet/Makefile: Likewise.
45757         * hesiod/Makefile: Likewise.
45758         * grp/Makefile: Likewise.
45759         * csu/Makefile: Likewise.
45760         * wctype/Makefile: Likewise.
45761         * crypt/Makefile: Likewise.
45762         * libio/Makefile: Likewise.
45763         * string/Makefile: Likewise.
45764         * nis/Makefile: Likewise.
45765         * resolv/Makefile: Likewise.
45766         * stdio-common/Makefile: Likewise.
45767         * wcsmbs/Makefile: Likewise.
45768         * dlfcn/Makefile: Likewise.
45769         * posix/Makefile: Likewise.
45770
45771         [BZ #6959]
45772         * timezone/Makefile: Don't install timezone files, just the programs
45773         and scripts.
45774
45775 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
45776
45777         * nss/databases.def: Add missing gshadow entry.
45778
45779         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
45780
45781 2012-03-06  Marek Polacek  <polacek@redhat.com>
45782
45783         [BZ #13726]
45784         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
45785         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
45786         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
45787         * stdio-common/tst-long-dbl-fphex.c: New file.
45788
45789 2012-03-06  David S. Miller  <davem@davemloft.net>
45790
45791         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
45792         (set_obp_int): New function.
45793         (get_obp_int): New function.
45794         (__get_clockfreq_via_dev_openprom): Likewise.
45795         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
45796         Avoid unused variable warnings on 'val' and use builtin_expect.
45797         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
45798         __builtin_expect.
45799         (INLINE_CLONE_SYSCALL): Likewise.
45800
45801 2012-03-05  David S. Miller  <davem@davemloft.net>
45802
45803         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45804
45805 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
45806
45807         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45808
45809         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
45810         only for |x| >= 40.
45811         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
45812
45813 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
45814
45815         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
45816         Replace gettimeofday with __vdso_gettimeofday.
45817
45818         * sysdeps/unix/sysv/linux/x86_64/init-first.c
45819         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
45820         __vdso_clock_gettime and __vdso_getcpu.
45821
45822         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
45823         time with __vdso_time.
45824
45825 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
45826
45827         * manual/lang.texi (size_t): Note types to which size_t may be
45828         equivalent with the GNU C Library, but do not describe when
45829         differences between them are significant.
45830
45831 2012-03-05  Andreas Jaeger  <aj@suse.de>
45832
45833         * sysdeps/i386/fpu/libm-test-ulps: Update.
45834
45835 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
45836
45837         [BZ #3976]
45838         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
45839         (__ieee754_pow): Save and restore rounding mode and use
45840         round-to-nearest for main computations.
45841         * math/libm-test.inc (pow_test_tonearest): New function.
45842         (pow_test_towardzero): Likewise.
45843         (pow_test_downward): Likewise.
45844         (pow_test_upward): Likewise.
45845         (main): Call the new functions.
45846         * sysdeps/i386/fpu/libm-test-ulps: Update.
45847         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45848
45849         [BZ #3976]
45850         * math/libm-test.inc (cosh_test_tonearest): New function.
45851         (cosh_test_towardzero): Likewise.
45852         (cosh_test_downward): Likewise.
45853         (cosh_test_upward): Likewise.
45854         (sinh_test_tonearest): Likewise.
45855         (sinh_test_towardzero): Likewise.
45856         (sinh_test_downward): Likewise.
45857         (sinh_test_upward): Likewise.
45858         (main): Call the new functions.
45859         * sysdeps/i386/fpu/libm-test-ulps: Update.
45860         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45861
45862 2012-03-05  Tom de Vries  <tom@codesourcery.com>
45863
45864         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
45865         default stack guard is set in last bytes.
45866         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
45867
45868 2012-03-05  Kees Cook  <keescook@chromium.org>
45869
45870         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
45871
45872         [BZ #13656]
45873         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
45874         possibly allocate from heap instead of stack.
45875         * stdio-common/bug-vfprintf-nargs.c: New file.
45876         * stdio-common/Makefile (tests): Add nargs overflow test.
45877
45878 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
45879
45880         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45881
45882 2012-03-03  Marek Polacek  <polacek@redhat.com>
45883
45884         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
45885         * math/math_private.h: Likewise.
45886         * stdlib/tst-strtod.c: Likewise.
45887         * sysdeps/i386/i486/bits/atomic.h: Likewise.
45888         * sysdeps/x86_64/bits/atomic.h: Likewise.
45889
45890 2012-03-02  David S. Miller  <davem@davemloft.net>
45891
45892         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
45893         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
45894         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
45895         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
45896         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
45897         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
45898         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
45899         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
45900
45901 2012-03-02  Roland McGrath  <roland@hack.frob.com>
45902
45903         [BZ #13792]
45904         * manual/examples/README: New file, says the example source files
45905         can be used under GPL>=2.
45906         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
45907         line containing just "*/".
45908         * manual/examples/add.c: Add copyright header (GPL>=2).
45909         * manual/examples/argp-ex1.c: Likewise.
45910         * manual/examples/argp-ex2.c: Likewise.
45911         * manual/examples/argp-ex3.c: Likewise.
45912         * manual/examples/argp-ex4.c: Likewise.
45913         * manual/examples/atexit.c: Likewise.
45914         * manual/examples/db.c: Likewise.
45915         * manual/examples/dir.c: Likewise.
45916         * manual/examples/dir2.c: Likewise.
45917         * manual/examples/execinfo.c: Likewise.
45918         * manual/examples/filecli.c: Likewise.
45919         * manual/examples/filesrv.c: Likewise.
45920         * manual/examples/fmtmsgexpl.c: Likewise.
45921         * manual/examples/genpass.c: Likewise.
45922         * manual/examples/inetcli.c: Likewise.
45923         * manual/examples/inetsrv.c: Likewise.
45924         * manual/examples/isockad.c: Likewise.
45925         * manual/examples/longopt.c: Likewise.
45926         * manual/examples/memopen.c: Likewise.
45927         * manual/examples/memstrm.c: Likewise.
45928         * manual/examples/mkfsock.c: Likewise.
45929         * manual/examples/mkisock.c: Likewise.
45930         * manual/examples/mygetpass.c: Likewise.
45931         * manual/examples/pipe.c: Likewise.
45932         * manual/examples/popen.c: Likewise.
45933         * manual/examples/rprintf.c: Likewise.
45934         * manual/examples/search.c: Likewise.
45935         * manual/examples/select.c: Likewise.
45936         * manual/examples/setjmp.c: Likewise.
45937         * manual/examples/sigh1.c: Likewise.
45938         * manual/examples/sigusr.c: Likewise.
45939         * manual/examples/stpcpy.c: Likewise.
45940         * manual/examples/strdupa.c: Likewise.
45941         * manual/examples/strftim.c: Likewise.
45942         * manual/examples/strncat.c: Likewise.
45943         * manual/examples/subopt.c: Likewise.
45944         * manual/examples/swapcontext.c: Likewise.
45945         * manual/examples/termios.c: Likewise.
45946         * manual/examples/testopt.c: Likewise.
45947         * manual/examples/testpass.c: Likewise.
45948         * manual/examples/timeval_subtract.c: Likewise.
45949
45950         [BZ #13792]
45951         * manual/time.texi (Elapsed Time): Move timeval_subtract example
45952         function to ...
45953         * manual/timeval_subtract.c.texi: ... here, new file.
45954
45955 2012-03-02  David S. Miller  <davem@davemloft.net>
45956
45957         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
45958
45959 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
45960
45961         [BZ #3976]
45962         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
45963         (__sin): Save and restore rounding mode and use round-to-nearest
45964         for all computations.
45965         (__cos): Save and restore rounding mode and use round-to-nearest
45966         for all computations.
45967         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
45968         <fenv.h>.
45969         (tan): Save and restore rounding mode and use round-to-nearest for
45970         all computations.
45971         * math/libm-test.inc (cos_test_tonearest): New function.
45972         (cos_test_towardzero): Likewise.
45973         (cos_test_downward): Likewise.
45974         (cos_test_upward): Likewise.
45975         (sin_test_tonearest): Likewise.
45976         (sin_test_towardzero): Likewise.
45977         (sin_test_downward): Likewise.
45978         (sin_test_upward): Likewise.
45979         (tan_test_tonearest): Likewise.
45980         (tan_test_towardzero): Likewise.
45981         (tan_test_downward): Likewise.
45982         (tan_test_upward): Likewise.
45983         (main): Call the new functions.
45984         * sysdeps/i386/fpu/libm-test-ulps: Update.
45985         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45986
45987         [BZ #10135]
45988         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
45989         small n, then large n, before computing and testing k+n.
45990         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
45991         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
45992         Likewise.
45993         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
45994         Likewise.
45995         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
45996         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
45997         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
45998         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
45999         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
46000         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
46001         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
46002         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
46003         * math/libm-test.inc (scalbn_test): Add more tests.
46004         (scalbln_test): Likewise.
46005
46006         * manual/filesys.texi (mode_t): Describe constraints on size and
46007         signedness, not exact equivalence to a particular type.
46008         (ino_t): Likewise.
46009         (ino64_t): Likewise.
46010         (dev_t): Likewise.
46011         (nlink_t): Likewise.
46012         (blkcnt_t): Likewise.
46013         (blkcnt64_t): Likewise.
46014         * manual/llio.texi (off_t): Likewise.
46015
46016         [BZ #3976]
46017         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
46018         (__ieee754_exp): Save and restore rounding mode and use
46019         round-to-nearest for all computations.
46020         * math/libm-test.inc (exp_test_tonearest): New function.
46021         (exp_test_towardzero): Likewise.
46022         (exp_test_downward): Likewise.
46023         (exp_test_upward): Likewise.
46024         (main): Call the new functions.
46025         * sysdeps/i386/fpu/libm-test-ulps: Update.
46026         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46027
46028 2012-03-01  Chris Demetriou  <cgd@google.com>
46029
46030         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
46031         have predictable order.
46032
46033 2012-03-01  David S. Miller  <davem@davemloft.net>
46034
46035         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
46036
46037         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
46038         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
46039         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
46040         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
46041
46042         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
46043         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
46044         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
46045         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
46046         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
46047         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
46048         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
46049         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
46050         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
46051
46052         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46053
46054         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
46055         * sysdeps/sparc/fpu/libm-test-ulps: to here.
46056         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
46057
46058         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
46059         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
46060         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
46061         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
46062         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
46063         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
46064         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
46065         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
46066         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
46067         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
46068         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
46069         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
46070         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
46071         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
46072         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
46073         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
46074         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
46075         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
46076         * sysdeps/sparc/elf/configure: Regenerated.
46077
46078 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
46079
46080         * configure.in (AS, LD): Require binutils 2.20 or later.
46081         * configure: Regenerated.
46082         * manual/install.texi (Tools for Compilation): Give binutils 2.20
46083         as required minimum version.
46084         * INSTALL: Regenerated.
46085
46086         [BZ #2541]
46087         [BZ #4108]
46088         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
46089         before squaring exponent.
46090         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
46091         bottom long double and 27 bits of top long double before squaring
46092         exponent.
46093         * math/libm-test.inc (erfc_test): Add more tests.
46094         * sysdeps/i386/fpu/libm-test-ulps: Update.
46095         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
46096         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46097
46098 2012-03-01  Kai Tietz  <ktietz@redhat.com>
46099
46100         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
46101         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
46102         containing bit-fields.
46103         * soft-fp/extended.h (_FP_UNION_E): Likewise.
46104         * soft-fp/single.h (_FP_UNION_S): Likewise.
46105         * soft-fp/double.h (_FP_UNION_D): Likewise.
46106
46107 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
46108
46109         [BZ #13786]
46110         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
46111         not include ../strcmp.S.
46112         [USE_AS_STRNCASECMP_L]: Likewise.
46113         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
46114         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
46115         * sysdeps/i386/i686/multiarch/strncase_l-c.c
46116         (__strncasecmp_l_ia32): Define as alias to
46117         __strncasecmp_l_nonascii.
46118
46119         [BZ #5794]
46120         * math/libm-test.inc (expm1_test): Add test for bug 5794.
46121         * sysdeps/i386/fpu/libm-test-ulps: Update.
46122         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46123
46124         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
46125         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46126
46127 2012-02-29  Jeff Law  <law@redhat.com>
46128
46129         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
46130         out of bounds read.
46131
46132 2012-02-29  Marek Polacek  <polacek@redhat.com>
46133
46134         [BZ #13706]
46135         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
46136         * elf/Makefile: Add rules to run tst-unused-dep.out.
46137
46138 2012-02-28  David S. Miller  <davem@davemloft.net>
46139
46140         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
46141         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
46142         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
46143         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
46144         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
46145         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
46146
46147 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
46148
46149         * math/libm-test.inc (llround_test): Move one test from
46150         lround_test.  Use TEST_f_L in moved test.
46151         (lround_test): Move misplaced test to llround_test.  Add testcase
46152         from bug 2561.
46153
46154 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
46155
46156         * sysdeps/x86_64/fpu/e_expf.S: New file.
46157         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
46158
46159 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
46160
46161         [BZ #13637]
46162         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
46163         of remain_len that may cause incomplete multi-byte character and
46164         false match.
46165         * posix/bug-regex33.c: New file.
46166         * posix/Makefile (tests): Add bug-regex33.
46167
46168 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
46169
46170         * manual/macros.texi: New file.
46171         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
46172         * manual/libc.texinfo: Include macros.texi.
46173         * manual/creatute.texi: Likewise.
46174         * manual/install.texi: Likewise.
46175         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
46176         @glibcadj{} in references to the GNU C Library.
46177         * manual/charset.texi: Likewise.
46178         * manual/conf.texi: Likewise.
46179         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
46180         when not using those macros.
46181         * manual/creature.texi: Likewise.
46182         * manual/crypt.texi: Likewise.
46183         * manual/errno.texi: Likewise.
46184         * manual/filesys.texi: Likewise.
46185         * manual/header.texi: Likewise.
46186         * manual/install.texi: Likewise.
46187         * manual/intro.texi: Likewise.
46188         * manual/io.texi: Likewise.
46189         * manual/job.texi: Likewise.
46190         * manual/lang.texi: Likewise.
46191         * manual/libc.texiinfo: Likewise.
46192         * manual/llio.texi: Likewise.
46193         * manual/locale.texi: Likewise.
46194         * manual/maint.texi: Likewise.
46195         * manual/math.texi: Likewise.
46196         * manual/memory.texi: Likewise.
46197         * manual/message.texi: Likewise.
46198         * manual/nss.texi: Likewise.
46199         * manual/pattern.texi: Likewise.
46200         * manual/process.texi: Likewise.
46201         * manual/resource.texi: Likewise.
46202         * manual/search.texi: Likewise.
46203         * manual/setjmp.texi: Likewise.
46204         * manual/signal.texi: Likewise.
46205         * manual/socket.texi: Likewise.
46206         * manual/startup.texi: Likewise.
46207         * manual/stdio.texi: Likewise.
46208         * manual/string.texi: Likewise.
46209         * manual/sysinfo.texi: Likewise.
46210         * manual/syslog.texi: Likewise.
46211         * manual/terminal.texi: Likewise.
46212         * manual/time.texi: Likewise.
46213         * manual/users.texi: Likewise.
46214         * INSTALL: Regenerated.
46215         * NOTES: Regenerated.
46216         * sysdeps/gnu/errlist.c: Regenerated.
46217
46218 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
46219
46220         * include/dirent.h: Include <dirstream.h> before
46221         <dirent/dirent.h>.
46222
46223 2012-02-28  David S. Miller  <davem@davemloft.net>
46224
46225         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
46226         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
46227         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
46228         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
46229
46230 2012-02-27  David S. Miller  <davem@davemloft.net>
46231
46232         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
46233         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
46234         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
46235         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
46236
46237         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
46238         frame pointer instead of stack pointer relative arg slot.
46239         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
46240         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
46241         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
46242
46243 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
46244
46245         [BZ #3992]
46246         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
46247
46248 2012-02-27  David S. Miller  <davem@davemloft.net>
46249
46250         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
46251         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
46252         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
46253         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
46254         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
46255         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
46256         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
46257         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
46258
46259 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
46260
46261         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
46262         later.  Allow versions 5-9.
46263         * configure: Regenerated.
46264         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
46265         required minimum version and 4.6 as recommended version.  Do not
46266         mention bugs in GCC 2.7 and 2.8.
46267         * INSTALL: Regenerated.
46268
46269 2012-02-27  David S. Miller  <davem@davemloft.net>
46270
46271         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
46272         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
46273         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
46274         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
46275         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
46276         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
46277         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
46278         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
46279
46280         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
46281         manipulate bits before adding and subtracting TWO112[sx].
46282         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
46283
46284 2012-02-27  Roland McGrath  <roland@hack.frob.com>
46285
46286         [BZ #13775]
46287         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
46288         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
46289         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
46290         being in POSIX, because they are in 1003.1-2008.
46291
46292         * rt/tst-aio.c: Include <fcntl.h>.
46293         * rt/tst-aio7.c: Likewise.
46294         * rt/tst-aio64.c: Likewise.
46295
46296         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
46297
46298 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
46299
46300         * manual/install.texi (--with-headers): Describe headers as
46301         interface headers, not private headers.
46302         (Specific advice for GNU/Linux systems): Describe use of headers
46303         from "make headers_install", not private headers from older
46304         kernels.
46305         * INSTALL: Regenerated.
46306         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
46307         Change to 2.6.19.
46308         * sysdeps/unix/sysv/linux/configure: Regenerated.
46309
46310         * manual/llio.texi (fclean): Remove documentation.
46311
46312         * manual/Makefile (libc-texi-generated): New variable.  Include
46313         version.texi.
46314         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
46315         $(libc-texi-generated), not duplicated list of files.
46316         (version.texi, stamp-version): New rules.
46317         (realclean): Remove $(libc-texi-generated), not individual files
46318         from that list.  Do not remove dir-add.texinfo.
46319         * manual/libc.texinfo: Comment out uses of edition numbers and
46320         references to printed manual.  Remove last-updated dates.
46321         (EDITION): Comment out.
46322         (ISBN): Likewise.
46323         (VERSION, UPDATED): Remove.
46324         (version.texi): Include.
46325
46326 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
46327
46328         * sysdeps/posix/spawni.c: Include <signal.h>.
46329         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
46330         * sysdeps/pthread/aio_fsync.c: Likewise.
46331
46332 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
46333
46334         * conform/Makefile (tests): Run only when not cross-compiling and
46335         when fast-check is not defined.
46336
46337         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
46338         * conform/data/limits.h-data: Fixes for POSIX2008.
46339         * conform/run-conformtest.sh: Run all tests.
46340         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
46341         headers.
46342         * include/bits/dlfcn.h: Likewise.
46343         * include/langinfo.h: Likewise.
46344         * include/monetary.h: Likewise.
46345         * include/sys/poll.h: Likewise.
46346
46347         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
46348         for __USE_GNU.
46349         * posix/spawn.h: Define __need_sigset_t.
46350         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
46351         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
46352         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
46353         to get sigevent_t only.
46354         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
46355         only for __USE_GNU.
46356         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
46357         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
46358         process_vm_writev only for __USE_GNU.
46359         * termios/termios.h: Declare tcgetsid also for POSIX2008.
46360
46361         * conform/Makefile: For now ignore errors from run-conformtest.
46362         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
46363         POSIX to avoid namespace pollution.  Don't prepend headers.
46364         * conform/data/aio.h-data: Fixes for POSIX testing.
46365         * conform/data/fcntl.h-data: Likewise.
46366         * conform/data/glob.h-data: Likewise.
46367         * conform/data/grp.h-data: Likewise.
46368         * conform/data/pthread.h-data: Likewise.
46369         * conform/data/pwd.h-data: Likewise.
46370         * conform/data/signal.h-data: Likewise.
46371         * conform/data/spawn.h-data: Likewise.
46372         * conform/data/stdio.h-data: Likewise.
46373         * conform/data/stdlib.h-data: Likewise.
46374         * conform/data/stropts.h-data: Likewise.
46375         * conform/data/sys/mman.h-data: Likewise.
46376         * conform/data/sys/stat.h-data: Likewise.
46377         * conform/data/sys/types.h-data: Likewise.
46378         * conform/data/sys/wait.h-data: Likewise.
46379         * conform/data/time.h-data: Likewise.
46380         * conform/data/unistd.h-data: Likewise.
46381         * conform/data/utime.h-data: Likewise.
46382
46383         * io/sys/stat.h: fchmod was always in POSIX.
46384         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
46385         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
46386         * rt/aio.h: Define __need_timespec before including <time.h>.
46387         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
46388         struct.  Add forward declaration of pthread_attr_t and use it in
46389         sigevent.
46390         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
46391         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
46392         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
46393         always remove CLK_TCK definition.
46394
46395 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
46396
46397         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
46398
46399 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
46400
46401         * conform/run-conformtest.sh: New file.
46402         * conform/Makefile: Run run-conformtest for tests.
46403         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
46404         support.
46405
46406         * conform/data/uchar.h-data: New file.
46407         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
46408         * conform/data/arpa/inet.h-data: Likewise.
46409         * conform/data/assert.h-data: Likewise.
46410         * conform/data/complex.h-data: Likewise.
46411         * conform/data/cpio.h-data: Likewise.
46412         * conform/data/ctype.h-data: Likewise.
46413         * conform/data/dirent.h-data: Likewise.
46414         * conform/data/dlfcn.h-data: Likewise.
46415         * conform/data/errno.h-data: Likewise.
46416         * conform/data/fcntl.h-data: Likewise.
46417         * conform/data/float.h-data: Likewise.
46418         * conform/data/fmtmsg.h-data: Likewise.
46419         * conform/data/fnmatch.h-data: Likewise.
46420         * conform/data/ftw.h-data: Likewise.
46421         * conform/data/glob.h-data: Likewise.
46422         * conform/data/grp.h-data: Likewise.
46423         * conform/data/iconv.h-data: Likewise.
46424         * conform/data/inttypes.h-data: Likewise.
46425         * conform/data/langinfo.h-data: Likewise.
46426         * conform/data/libgen.h-data: Likewise.
46427         * conform/data/limits.h-data: Likewise.
46428         * conform/data/locale.h-data: Likewise.
46429         * conform/data/math.h-data: Likewise.
46430         * conform/data/monetary.h-data: Likewise.
46431         * conform/data/mqueue.h-data: Likewise.
46432         * conform/data/ndbm.h-data: Likewise.
46433         * conform/data/net/if.h-data: Likewise.
46434         * conform/data/netdb.h-data: Likewise.
46435         * conform/data/netinet/in.h-data: Likewise.
46436         * conform/data/nl_types.h-data: Likewise.
46437         * conform/data/poll.h-data: Likewise.
46438         * conform/data/pthread.h-data: Likewise.
46439         * conform/data/pwd.h-data: Likewise.
46440         * conform/data/regex.h-data: Likewise.
46441         * conform/data/sched.h-data: Likewise.
46442         * conform/data/search.h-data: Likewise.
46443         * conform/data/semaphore.h-data: Likewise.
46444         * conform/data/setjmp.h-data: Likewise.
46445         * conform/data/signal.h-data: Likewise.
46446         * conform/data/spawn.h-data: Likewise.
46447         * conform/data/stdarg.h-data: Likewise.
46448         * conform/data/stdio.h-data: Likewise.
46449         * conform/data/stdlib.h-data: Likewise.
46450         * conform/data/string.h-data: Likewise.
46451         * conform/data/strings.h-data: Likewise.
46452         * conform/data/stropts.h-data: Likewise.
46453         * conform/data/sys/ipc.h-data: Likewise.
46454         * conform/data/sys/mman.h-data: Likewise.
46455         * conform/data/sys/msg.h-data: Likewise.
46456         * conform/data/sys/resource.h-data: Likewise.
46457         * conform/data/sys/select.h-data: Likewise.
46458         * conform/data/sys/sem.h-data: Likewise.
46459         * conform/data/sys/shm.h-data: Likewise.
46460         * conform/data/sys/socket.h-data: Likewise.
46461         * conform/data/sys/stat.h-data: Likewise.
46462         * conform/data/sys/statvfs.h-data: Likewise.
46463         * conform/data/sys/time.h-data: Likewise.
46464         * conform/data/sys/timeb.h-data: Likewise.
46465         * conform/data/sys/times.h-data: Likewise.
46466         * conform/data/sys/types.h-data: Likewise.
46467         * conform/data/sys/uio.h-data: Likewise.
46468         * conform/data/sys/un.h-data: Likewise.
46469         * conform/data/sys/utsname.h-data: Likewise.
46470         * conform/data/sys/wait.h-data: Likewise.
46471         * conform/data/syslog.h-data: Likewise.
46472         * conform/data/tar.h-data: Likewise.
46473         * conform/data/termios.h-data: Likewise.
46474         * conform/data/utime.h-data: Likewise.
46475         * conform/data/utmpx.h-data: Likewise.
46476         * conform/data/varargs.h-data: Likewise.
46477         * conform/data/wchar.h-data: Likewise.
46478         * conform/data/wctype.h-data: Likewise.
46479         * conform/data/wordexp.h-data: Likewise.
46480
46481         * include/stropts.h: New file.
46482         * include/uchar.h: New file.
46483         * include/aio.h: Changes to allow conformtest.pl to use the headers.
46484         * include/assert.h: Likewise.
46485         * include/ctype.h: Likewise.
46486         * include/dirent.h: Likewise.
46487         * include/dlfcn.h: Likewise.
46488         * include/fcntl.h: Likewise.
46489         * include/fnmatch.h: Likewise.
46490         * include/glob.h: Likewise.
46491         * include/grp.h: Likewise.
46492         * include/libio.h: Likewise.
46493         * include/locale.h: Likewise.
46494         * include/math.h: Likewise.
46495         * include/net/if.h: Likewise.
46496         * include/netdb.h: Likewise.
46497         * include/netinet/in.h: Likewise.
46498         * include/pthread.h: Likewise.
46499         * include/pwd.h: Likewise.
46500         * include/regex.h: Likewise.
46501         * include/sched.h: Likewise.
46502         * include/search.h: Likewise.
46503         * include/setjmp.h: Likewise.
46504         * include/signal.h: Likewise.
46505         * include/stdio.h: Likewise.
46506         * include/stdlib.h: Likewise.
46507         * include/string.h: Likewise.
46508         * include/sys/cdefs.h: Likewise.
46509         * include/sys/mman.h: Likewise.
46510         * include/sys/msg.h: Likewise.
46511         * include/sys/resource.h: Likewise.
46512         * include/sys/select.h: Likewise.
46513         * include/sys/socket.h: Likewise.
46514         * include/sys/stat.h: Likewise.
46515         * include/sys/statvfs.h: Likewise.
46516         * include/sys/time.h: Likewise.
46517         * include/sys/times.h: Likewise.
46518         * include/sys/uio.h: Likewise.
46519         * include/sys/utsname.h: Likewise.
46520         * include/sys/wait.h: Likewise.
46521         * include/termios.h: Likewise.
46522         * include/time.h: Likewise.
46523         * include/ulimit.h: Likewise.
46524         * include/unistd.h: Likewise.
46525         * include/utime.h: Likewise.
46526         * include/wchar.h: Likewise.
46527         * include/wctype.h: Likewise.
46528         * include/wordexp.h: Likewise.
46529
46530         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
46531
46532         * time/time.h: TIME_UTC must be a macro.
46533         Make timespec_get available for ISO C11 only as well.
46534
46535 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
46536
46537         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
46538         Reported by Peng Haitao <penght@cn.fujitsu.com>.
46539
46540 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
46541
46542         * configure.in: Use -o not -a in test for unsupported multi-arch.
46543
46544 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
46545
46546         * manual/texinfo.tex: Update to version 2012-01-19.16.
46547
46548 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
46549
46550         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
46551
46552 2012-02-24  Roland McGrath  <roland@hack.frob.com>
46553
46554         [BZ #13738]
46555         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
46556         * manual/fdl-1.3.texi: New file.
46557         * manual/fdl-1.1.texi: File removed.
46558
46559         [BZ #13738]
46560         * manual/libc.texinfo (FDL_VERSION): New @set.
46561         Use it for mention of FDL in cover text.
46562         (Documentation License): Use it in @include file name.
46563
46564 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
46565             Roland McGrath  <roland@hack.frob.com>
46566
46567         [BZ #5461]
46568         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
46569         (not LONG_LONG_MAX and LONG_LONG_MIN.
46570         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
46571         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
46572         name.
46573         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
46574
46575 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
46576
46577         [BZ #2547]
46578         [BZ #11365]
46579         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
46580         manipulate bits before adding and subtracting TWO23[sx].
46581         * math/libm-test.inc (nearbyint_test): Add more tests.
46582
46583 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
46584
46585         [BZ #2548]
46586         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
46587         bits before adding and subtracting TWO23[sx].
46588         * math/libm-test.inc (rint_test): Add more tests.
46589         (rint_test_tonearest): Likewise.
46590         (rint_test_towardzero): Likewise.
46591         (rint_test_downward): Likewise.
46592         (rint_test_upward: Likewise.
46593
46594 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
46595
46596         [BZ #10110]
46597         * include/stdc-predef.h: New file.  Extracted from features.h.
46598         * include/features.h: Include stdc-predef.h.
46599         * Makefile (headers): Add stdc-predef.h.
46600         * CONFORMANCE (Compiler limitations): Update.
46601
46602 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
46603
46604         * manual/libc.texinfo (VERSION, UPDATED): Revert.
46605
46606 2012-02-21  David S. Miller  <davem@davemloft.net>
46607
46608         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
46609         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
46610
46611 2012-02-20  David S. Miller  <davem@davemloft.net>
46612
46613         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
46614         using a normal save/restore sequence, rather than allocating a
46615         dummy stack frame just to store a frame pointer and restore.
46616         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
46617
46618 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
46619
46620         * manual/install.texi: Fix stray word in line-wrapped comment.
46621
46622 2012-02-20  David S. Miller  <davem@davemloft.net>
46623
46624         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
46625         both binutils and gcc support GOTDATA.
46626
46627         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
46628         "rd %pc" in the PIC register setup sequences.
46629
46630         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
46631         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
46632         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
46633         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
46634         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
46635         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
46636         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
46637         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
46638         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
46639         (SYSCALL_ERROR_HANDLER): Likewise.
46640         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
46641         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
46642         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
46643         (SYSCALL_ERROR_HANDLER): Likewise.
46644
46645         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
46646         (HAVE_GCC_GOTDATA): New.
46647         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
46648         relocation support in both binutils and gcc.
46649         * sysdeps/sparc/elf/configure: Regenerate.
46650
46651         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
46652         * sysdeps/sparc/sparc32/elf/configure: Delete.
46653         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
46654         * sysdeps/sparc/sparc64/elf/configure: Delete.
46655         * sysdeps/sparc/elf/configure.in: New file.
46656         * sysdeps/sparc/elf/configure: Generate.
46657
46658         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
46659         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
46660         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
46661         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
46662         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
46663
46664 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
46665
46666         * manual/install.texi: Do not mention specific glibc version
46667         numbers.
46668         * manual/libc.texinfo (VERSION, UPDATED): Update.
46669         (@copying): Use @copyright{} and range of years.
46670
46671 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
46672
46673         [BZ #13695]
46674         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
46675         [crti.S not in sysdirs] (generated): Do not append.
46676         [crti.S not in sysdirs] (omit-deps): Likewise.
46677         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
46678         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
46679         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
46680         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
46681         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
46682         Likewise.
46683         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
46684         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
46685         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
46686         * csu/defs.awk: Remove file.
46687         * sysdeps/generic/initfini.c: Likewise.
46688         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
46689         variable.
46690         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
46691         Likewise.
46692
46693 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
46694
46695         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
46696         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
46697         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
46698         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
46699         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
46700         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
46701         <bits/epoll.h>.
46702         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
46703         (__EPOLL_PACKED): Define to empty if not defined by
46704         <bits/epoll.h>.
46705         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
46706         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46707         bits/epoll.h.
46708
46709 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
46710
46711         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
46712         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
46713         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
46714         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
46715         <bits/timerfd.h>.
46716         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
46717         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46718         bits/timerfd.h.
46719
46720 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
46721
46722         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
46723         in C locale.
46724         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
46725         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
46726         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
46727         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46728
46729 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
46730
46731         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
46732         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
46733
46734 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
46735
46736         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
46737         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
46738         defined.
46739         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
46740         Likewise.
46741         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
46742         entry for 2.16.
46743
46744 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
46745
46746         * math/w_acos.c: Use non-signaling floating-point comparisons.
46747         * math/w_acosf.c: Likewise.
46748         * math/w_acosh.c: Likewise.
46749         * math/w_acoshf.c: Likewise.
46750         * math/w_acoshl.c: Likewise.
46751         * math/w_acosl.c: Likewise.
46752         * math/w_asin.c: Likewise.
46753         * math/w_asinf.c: Likewise.
46754         * math/w_asinl.c: Likewise.
46755         * math/w_atanh.c: Likewise.
46756         * math/w_atanhf.c: Likewise.
46757         * math/w_atanhl.c: Likewise.
46758         * math/w_exp2.c: Likewise.
46759         * math/w_exp2f.c: Likewise.
46760         * math/w_exp2l.c: Likewise.
46761         * math/w_j0.c: Likewise.
46762         * math/w_j0f.c: Likewise.
46763         * math/w_j0l.c: Likewise.
46764         * math/w_j1.c: Likewise.
46765         * math/w_j1f.c: Likewise.
46766         * math/w_j1l.c: Likewise.
46767         * math/w_jn.c: Likewise.
46768         * math/w_jnf.c: Likewise.
46769         * math/w_log.c: Likewise.
46770         * math/w_log10.c: Likewise.
46771         * math/w_log10f.c: Likewise.
46772         * math/w_log10l.c: Likewise.
46773         * math/w_log2.c: Likewise.
46774         * math/w_log2f.c: Likewise.
46775         * math/w_log2l.c: Likewise.
46776         * math/w_logf.c: Likewise.
46777         * math/w_logl.c: Likewise.
46778         * math/w_sqrt.c: Likewise.
46779         * math/w_sqrtf.c: Likewise.
46780         * math/w_sqrtl.c: Likewise.
46781         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
46782         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
46783         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
46784         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
46785         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
46786
46787 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
46788
46789         [BZ #9739]
46790         * manual/string.texi (strnlen): Use correct parameter name in
46791         equivalent expression.
46792
46793 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
46794
46795         [BZ #11174]
46796         * manual/users.texi (seteuid): Consistently use neweuid for
46797         argument name.
46798
46799 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
46800
46801         [BZ #13704]
46802         * manual/nss.texi (Services in the NSS configuration): Correct
46803         list of services in example configuration file.
46804
46805 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
46806
46807         [BZ #11322]
46808         * manual/arith.texi: Remove statements about negative zero
46809         behaving identically to zero.
46810
46811 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
46812
46813         [BZ #5993]
46814         * manual/install.texi: Do not document upgrading from libc5.
46815
46816 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
46817
46818         [BZ #4596]
46819         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
46820
46821 2012-02-18  David S. Miller  <davem@davemloft.net>
46822
46823         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
46824         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
46825         %o7 across the call.
46826         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
46827         instead.
46828         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
46829         SETUP_PIC_REG_LEAF.
46830         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
46831         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
46832         * sysdeps/sparc/crtn.S: Likewise.
46833
46834 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
46835
46836         * aout/Makefile: Remove.
46837
46838 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
46839
46840         [BZ #13058]
46841         * manual/examples/argp-ex1.c (main): Format definition in GNU
46842         style.
46843         * manual/examples/argp-ex2.c (main): Likewise.
46844         * manual/examples/argp-ex3.c (main): Likewise.
46845         * manual/examples/argp-ex4.c (main): Likewise.
46846         * manual/examples/longopt.c (main): Use new-style prototype
46847         definition.
46848         * manual/examples/strncat.c (main): Specify return type and use
46849         (void) for arguments.
46850         * manual/examples/subopt.c (main): Use char **argv argument.
46851
46852 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
46853
46854         [BZ #5077]
46855         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
46856         rounding modes.
46857
46858 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
46859
46860         [BZ #6907]
46861         * manual/string.texi (strchr): Change when strchrnul is
46862         recommended.
46863
46864 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
46865
46866         [BZ #174]
46867         * manual/locale.texi (setlocale): Document LOCPATH.
46868
46869 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
46870
46871         [BZ #10210]
46872         * manual/process.texi (execle): Move @dots{} before last argument.
46873
46874 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
46875
46876         [BZ #12047]
46877         * manual/charset.texi (Generic Charset Conversion): Fix typo
46878         (LC_TYPE -> LC_CTYPE).
46879
46880 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
46881
46882         [BZ #5805]
46883         * manual/arith.texi (scalbn): Use @var{} on parameter names.
46884         (scalbnf): Likewise.
46885         (scalbnl): Likewise.
46886         (scalbln): Likewise.
46887         (scalblnf): Likewise.
46888         (scalblnl): Likewise.
46889         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
46890         (vwarnx): Likewise.
46891         (verr): Likewise.
46892         (verrx): Likewise.
46893         * manual/filesys.texi (telldir): Use braces around return type.
46894         * manual/llio.texi (mmap): Add space after comma.
46895         (mmap64): Likewise.
46896         * manual/math.texi (jn): Use @var{} on parameter names.
46897         (jnf): Likewise.
46898         (jnl): Likewise.
46899         (yn): Likewise.
46900         (ynf): Likewise.
46901         (ynl): Likewise.
46902         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
46903         line.
46904         * manual/resource.texi (ulimit): Use @dots{} instead of literal
46905         "...".
46906         (sched_get_priority_min): Remove semicolon on @deftypefun line.
46907         (sched_get_priority_max): Likewise.
46908         * manual/signal.texi (sigvec): Add space after comma.
46909         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
46910         names.
46911         (if_indextoname): Likewise.
46912         (if_freenameindex): Likewise.
46913         (sendto): Use ',' instead of '.' in prototype.
46914         * manual/startup.texi (syscall): Use @dots{} instead of literal
46915         "...".
46916         * manual/stdio.texi (__fpending): Separate initial words of
46917         paragraph from @deftypefun line.
46918         * manual/syslog.texi (syslog): Use @dots{} instead of literal
46919         "...".
46920         (vsyslog): Use @var{} on parameter names.
46921         * manual/terminal.texi (stty): Use @var{} on parameter names.
46922         * manual/users.texi (getutmp): Use @var{} on parameter names.
46923         (getutmpx): Likewise.
46924
46925 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
46926
46927         [BZ #6884]
46928         * manual/stdio.texi (fopen): Fix typos in description of
46929         ",ccs=STRING".
46930
46931 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
46932
46933         [BZ #4026]
46934         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
46935         get clock_id definition.
46936
46937 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
46938
46939         [BZ #4822]
46940         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
46941         (madvise): Cast every argument to void on its own.
46942
46943 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
46944
46945         [BZ #9902]
46946         * manual/startup.texi (Exit Status): Fix typo.
46947
46948 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
46949
46950         [BZ #10140]
46951         * manual/examples/argp-ex1.c: Include <stdlib.h>.
46952         * manual/examples/argp-ex2.c: Likewise.
46953         * manual/examples/argp-ex3.c: Likewise.
46954
46955 2012-02-16  Richard Henderson  <rth@redhat.com>
46956
46957         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
46958         * sysdeps/s390/s390-32/initfini.c: Remove.
46959         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
46960         * sysdeps/s390/s390-64/initfini.c: Remove.
46961
46962 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
46963
46964         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
46965         compiler output for sysdeps/generic/initfini.c.
46966         * sysdeps/sh/elf/initfini.c: Remove file.
46967
46968 2012-02-16  David S. Miller  <davem@davemloft.net>
46969
46970         [BZ #11494]
46971         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
46972
46973         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
46974         * sysdeps/sparc/crti.S: New file.
46975         * sysdeps/sparc/crtn.S: New file.
46976         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
46977         * sysdeps/sparc/sparc64/Makefile: Likewise.
46978
46979 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
46980
46981         [BZ #3335]
46982         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
46983
46984 2012-02-15  Roland McGrath  <roland@hack.frob.com>
46985
46986         [BZ #4822]
46987         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
46988
46989         * mach/devstream.c (cookie_io_functions_t): Macro removed.
46990         (write, read, close): Likewise.
46991         Patch by Aurelien Jarno <aurelien@aurel32.net>.
46992
46993 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
46994
46995         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
46996         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
46997         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
46998         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
46999         <bits/signalfd.h>.
47000         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
47001         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47002         bits/signalfd.h.
47003
47004 2012-02-14  Marek Polacek  <polacek@redhat.com>
47005
47006         * sysdeps/x86_64/crti.S: New file.
47007         * sysdeps/x86_64/crtn.S: New file.
47008         * sysdeps/x86_64/elf/initfini.c: Remove file.
47009
47010 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
47011
47012         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
47013         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
47014         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
47015         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
47016         <bits/inotify.h>.
47017         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
47018         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47019         bits/inotify.h.
47020
47021 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
47022
47023         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
47024         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
47025         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
47026         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
47027         <bits/eventfd.h>.
47028         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
47029         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47030         bits/eventfd.h.
47031
47032 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
47033
47034         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
47035         __feraiseexcept instead of feraiseexcept.
47036
47037         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
47038         nanosleep invocations.
47039         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
47040         strings, and add error checking for a nanosleep invocations.
47041
47042 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
47043
47044         Replace FSF snail mail address with URLs, as per GNU coding standards.
47045         Most of the snail mail addresses were wrong anyway, and omitting
47046         them makes the source code easier to maintain.  Almost all of the
47047         changes are to license notices and to locale LC_IDENTIFICATION
47048         addresses, except for this one:
47049         * manual/libc.texinfo: In "Published by", give the FSF's URL,
47050         not its snail mail address.
47051
47052 2012-02-09  Richard Henderson  <rth@twiddle.net>
47053
47054         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
47055         of kernel-features.h.
47056
47057         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
47058
47059 2012-02-08  Marek Polacek  <polacek@redhat.com>
47060
47061         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
47062         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
47063         * sysdeps/gnu/_G_config.h: Likewise.
47064         * sysdeps/generic/_G_config.h: Likewise.
47065
47066 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
47067
47068         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
47069         tests.
47070         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47071
47072         * sysdeps/powerpc/powerpc32/crti.S: New file.
47073         * sysdeps/powerpc/powerpc32/crtn.S: New file.
47074         * sysdeps/powerpc/powerpc64/crti.S: New file.
47075         * sysdeps/powerpc/powerpc64/crtn.S: New file.
47076
47077         * Makeconfig (have-initfini): Don't set.
47078         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
47079         * configure.in (nopic_initfini): Don't substitute.
47080         * config.h.in (HAVE_INITFINI): Don't #undef.
47081         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
47082         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
47083
47084 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
47085
47086         Support crti.S and crtn.S provided directly by architectures.
47087         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
47088         [crti.S in sysdirs] (omit-deps): Likewise.
47089         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
47090         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
47091         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
47092         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
47093         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
47094         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
47095         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
47096         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
47097         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
47098         compiler output for sysdeps/generic/initfini.c.
47099         * sysdeps/i386/elf/Makefile: Remove file.
47100         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
47101
47102 2012-02-07  Marek Polacek  <polacek@redhat.com>
47103
47104         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
47105         * sysdeps/gnu/_G_config.h: Likewise.
47106         * sysdeps/mach/hurd/_G_config.h: Likewise.
47107
47108 2012-02-07  Marek Polacek  <polacek@redhat.com>
47109
47110         * math/Makefile (tests): Add tst-CMPLX2.
47111         * math/tst-CMPLX2.c: New file.
47112
47113 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
47114
47115         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
47116
47117         * math/libm-test.inc (jn_test): Add missing L suffix.
47118
47119 2012-02-06  Marek Polacek  <polacek@redhat.com>
47120
47121         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
47122         * sysdeps/i386/fpu/e_powf.S: Likewise.
47123         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
47124         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
47125         * sysdeps/i386/fpu/e_acosh.S: Likewise.
47126         * sysdeps/i386/fpu/e_pow.S: Likewise.
47127         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
47128         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
47129         * sysdeps/i386/fpu/s_expm1.S: Likewise.
47130         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
47131         * sysdeps/i386/fpu/e_log2.S: Likewise.
47132         * sysdeps/i386/fpu/e_log2l.S: Likewise.
47133         * sysdeps/i386/fpu/e_scalb.S: Likewise.
47134         * sysdeps/i386/fpu/e_powl.S: Likewise.
47135         * sysdeps/i386/fpu/s_log1p.S: Likewise.
47136         * sysdeps/i386/fpu/e_log10f.S: Likewise.
47137         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
47138         * sysdeps/i386/fpu/e_logl.S: Likewise.
47139         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
47140         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
47141         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
47142         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
47143         * sysdeps/i386/fpu/e_log2f.S: Likewise.
47144         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
47145         * sysdeps/i386/fpu/e_log.S: Likewise.
47146         * sysdeps/i386/fpu/s_cexp.S: Likewise.
47147         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
47148         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
47149         * sysdeps/i386/fpu/e_logf.S: Likewise.
47150         * sysdeps/i386/fpu/e_log10l.S: Likewise.
47151         * sysdeps/i386/fpu/e_atanh.S: Likewise.
47152         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
47153         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
47154         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
47155         * sysdeps/i386/fpu/e_log10.S: Likewise.
47156         * sysdeps/i386/fpu/s_frexp.S: Likewise.
47157         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
47158         * sysdeps/i386/fpu/s_asinh.S: Likewise.
47159         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
47160         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
47161         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
47162         * sysdeps/i386/asm-syntax.h: Likewise.
47163         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
47164         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
47165         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
47166         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
47167         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
47168         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
47169         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
47170         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
47171         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
47172         * sysdeps/powerpc/sysdep.h: Likewise.
47173         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
47174         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
47175
47176 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
47177
47178         [BZ #411]
47179         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
47180
47181 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
47182
47183         * sysdeps/i386/sysdep.h: Include <features.h>.
47184         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
47185         version.
47186
47187 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
47188
47189         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
47190         Define.
47191         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
47192         LOAD_PIC_REG_STR.
47193
47194 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
47195
47196         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
47197         (SETUP_PIC_REG): Use GET_PC_THUNK.
47198         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
47199         macro.
47200
47201 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
47202
47203         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
47204         for non-PIC compilation.
47205         (SETUP_PIC_REG): Add .p2align directive.
47206         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
47207         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
47208         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
47209         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
47210         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
47211         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
47212         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
47213         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
47214         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
47215         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
47216         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
47217         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
47218         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
47219         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
47220         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
47221         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
47222         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
47223         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
47224         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
47225         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
47226         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
47227         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
47228         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
47229         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
47230         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
47231         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
47232         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
47233         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
47234         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
47235         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
47236         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
47237         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
47238         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
47239         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
47240         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
47241         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
47242         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
47243         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
47244         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
47245         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
47246         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
47247
47248 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
47249
47250         * math/tst-CMPLX.c: Include <stdio.h>.
47251
47252 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
47253
47254         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
47255         float.
47256         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
47257         * sysdeps/sparc/bits/mathdef.h: Likewise.
47258
47259 2012-01-31  Marek Polacek  <polacek@redhat.com>
47260
47261         * libio/libio.h: Don't define _PARAMS.
47262         * locale/programs/config.h: Don't define PARAMS.
47263         * stdlib/strtol_l.c: Likewise.
47264         (__strtol_l): Remove PARAMS from the prototype.
47265
47266 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
47267
47268         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
47269         names.  Just use the correct names.  Remove unnecessary wrapper
47270         functions.
47271         * malloc/arena.c: Likewise.
47272         * malloc/hooks.c: Likewise.
47273
47274         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
47275         ARENA_TEST says not to.  Simplify test for creation of a new arena.
47276         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
47277
47278 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
47279
47280         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
47281         into tail calls.
47282         (update_get_addr): New function.
47283         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
47284         GET_ADDR_MODULE parameter.
47285
47286 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
47287
47288         * crypt/cert.c: Remove __STDC__ conditionals.
47289         * crypt/crypt-entry.c: Likewise.
47290         * crypt/crypt_util.c: Likewise.
47291         * libio/filedoalloc.c: Likewise.
47292         * libio/fileops.c: Likewise.
47293         * libio/genops.c: Likewise.
47294         * libio/iofclose.c: Likewise.
47295         * libio/iofdopen.c: Likewise.
47296         * libio/iofopen.c: Likewise.
47297         * libio/iofopen64.c: Likewise.
47298         * libio/iogetdelim.c: Likewise.
47299         * libio/iopopen.c: Likewise.
47300         * libio/obprintf.c: Likewise.
47301         * libio/oldfileops.c: Likewise.
47302         * libio/oldiofclose.c: Likewise.
47303         * libio/oldiofdopen.c: Likewise.
47304         * libio/oldiofopen.c: Likewise.
47305         * libio/oldiopopen.c: Likewise.
47306         * libio/wfiledoalloc.c: Likewise.
47307         * libio/wgenops.c: Likewise.
47308         * locale/programs/xmalloc.c: Likewise.
47309         * misc/syslog.c: Likewise.
47310         * stdio-common/xbug.c: Likewise.
47311         * string/memchr.c: Likewise.
47312         * string/memcmp.c: Likewise.
47313         * string/memrchr.c: Likewise.
47314         * string/rawmemchr.c: Likewise.
47315         * sysdeps/posix/getcwd.c: Likewise.
47316         * time/strftime_l.c: Likewise.
47317
47318 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
47319
47320         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
47321         * config.make.in (config-cflags-sse2avx): Define.
47322         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
47323         Fix typo.
47324
47325 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
47326
47327         * scripts/config.guess: Update from upstream config git repository.
47328         * scripts/config.sub: Likewise.
47329
47330 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
47331
47332         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
47333         (EM_NUM): Update.
47334         (R_TILEPRO_*, R_TILEGX_*): New macros.
47335
47336         * scripts/firstversions.awk: Fix bug in version range handling.
47337
47338         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
47339
47340         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
47341
47342         * include/sys/epoll.h: New file.
47343         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
47344         libc_hidden_def.
47345
47346 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
47347
47348         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
47349         Avoid unnecessary __WORDSIZE == 64 test.
47350         (fmaxf): Use VEX format if possible.
47351         (fmax): Likewise.
47352         (fminf): Likewise.
47353         (fmin): Likewise.
47354
47355         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
47356         * math/math_private.h: Remove libc_fegetround* and
47357         libc_fesetround*.
47358         * sysdeps/i386/configure.in: Check for -msse2avx.
47359         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
47360         also if SSE2AVX is defined.
47361         Remove libc_fegetround* and libc_fesetround*.
47362         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
47363         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
47364         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
47365         of HAS_YMM_USABLE.
47366         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
47367         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
47368         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
47369         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
47370         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
47371
47372         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
47373
47374 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47375
47376         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
47377         size is not set.
47378         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
47379
47380 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
47381
47382         [BZ #13618]
47383         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
47384         relocation.
47385         * Makeconfig (libm): Define.
47386         * elf/Makefile: Add rules to build and run tst-relsort1.
47387         * elf/tst-relsort1.c: New file.
47388         * elf/tst-relsort1mod1.c: New file.
47389         * elf/tst-relsort1mod2.c: New file.
47390
47391 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
47392
47393         * math/s_ldexp.c: Remove __STDC__ conditionals.
47394         * math/s_ldexpf.c: Likewise.
47395         * math/s_ldexpl.c: Likewise.
47396         * math/s_nextafter.c: Likewise.
47397         * math/s_nexttowardf.c: Likewise.
47398         * math/s_significand.c: Likewise.
47399         * math/s_significandf.c: Likewise.
47400         * math/s_significandl.c: Likewise.
47401         * math/w_jnl.c: Likewise.
47402         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
47403         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
47404         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
47405         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
47406         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
47407         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
47408         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
47409         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
47410         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
47411         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
47412         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
47413         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
47414         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
47415         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
47416         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
47417         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
47418         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
47419         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
47420         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
47421         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
47422         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
47423         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
47424         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
47425         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
47426         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
47427         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
47428         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
47429         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
47430         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
47431         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
47432         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
47433         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
47434         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
47435         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
47436         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
47437         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
47438         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
47439         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
47440         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
47441         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
47442         * sysdeps/ieee754/k_standard.c: Likewise.
47443         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
47444         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
47445         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
47446         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
47447         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
47448         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
47449         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
47450         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
47451         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
47452         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
47453         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
47454         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
47455         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
47456         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
47457         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
47458         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
47459         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
47460         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
47461         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
47462         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
47463         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
47464         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
47465         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
47466         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
47467         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
47468         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
47469         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
47470         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
47471         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
47472         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
47473         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
47474         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
47475         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
47476         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
47477         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
47478         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
47479         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
47480         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
47481         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
47482         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
47483         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
47484         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
47485         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
47486         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
47487         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
47488         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
47489         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
47490         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
47491         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
47492         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
47493         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
47494         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
47495         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
47496         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
47497         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
47498         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
47499         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
47500         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
47501         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
47502         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
47503         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
47504         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
47505         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
47506         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
47507         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
47508         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
47509         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
47510         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
47511         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
47512         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
47513         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
47514         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
47515         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
47516         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
47517         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
47518         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
47519         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
47520         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
47521         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
47522         * sysdeps/ieee754/s_matherr.c: Likewise.
47523         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
47524         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
47525         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
47526         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
47527
47528 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
47529
47530         * crypt/md5.h: Remove __STDC__ conditionals.
47531         * libio/libioP.h: Likewise.
47532         * locale/programs/config.h: Likewise.
47533         * sysdeps/generic/sysdep.h: Likewise.
47534         * sysdeps/i386/asm-syntax.h: Likewise.
47535         * sysdeps/s390/asm-syntax.h: Likewise.
47536         * sysdeps/unix/sysdep.h: Likewise.
47537         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
47538         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
47539
47540 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
47541
47542         * libio/libio.h: Remove __STDC__ conditionals.
47543         * malloc/obstack.h: Likewise.
47544         * math/complex.h: Likewise.
47545         * math/math.h: Likewise.
47546         * sysdeps/generic/_G_config.h: Likewise.
47547         * sysdeps/gnu/_G_config.h: Likewise.
47548         * sysdeps/mach/hurd/_G_config.h: Likewise.
47549         * sysdeps/powerpc/bits/mathdef.h: Likewise.
47550         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
47551         * sysdeps/sparc/bits/mathdef.h: Likewise.
47552
47553 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
47554
47555         [BZ #13583]
47556         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
47557         Clean up HAS_* macros.
47558         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
47559         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
47560         possible.
47561         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
47562         HAS_AVX.
47563         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
47564         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
47565         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
47566         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
47567         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
47568
47569 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
47570
47571         * elf/tst-unique3.cc (gets): Remove declaration.
47572         * elf/tst-unique3lib.cc (gets): Likewise.
47573         * elf/tst-unique3lib2.cc (gets): Likewise.
47574         * elf/tst-unique4.cc (gets): Likewise.
47575
47576 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
47577
47578         * include/stdio.h: Add C++ protection.  Add gets declarations and
47579         definitions.
47580         * debug/tst-chk1.c: Don't declare gets here.
47581         * stdio-common/tst-gets.c: Likewise.
47582
47583 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
47584
47585         * posix/glob: Remove directory.
47586
47587 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
47588
47589         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
47590
47591 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
47592
47593         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
47594         of the non-standard EPFNOSUPPORT.
47595
47596 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47597
47598         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
47599         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
47600         ANYWHERE set to 1 only on KERN_NO_SPACE error.
47601
47602 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
47603
47604         * wcsmbs/uchar.h: Test __STDC_VERSION__.
47605
47606 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
47607
47608         * nscd/aicache.c (addhstaiX): Do not cache negative results of
47609         transient errors.
47610         * nscd/grpcache.c (cache_addgr): Likewise.
47611         * nscd/hstcache.c (cache_addhst): Likewise.
47612         * nscd/initgrcache.c (addinitgroupsX): Likewise.
47613         * nscd/pwdcache.c (cache_addpw): Likewise.
47614         * nscd/servicescache.c (cache_addserv): Likewise.
47615
47616 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
47617
47618         * malloc/malloc.c: Various cleanups.
47619         * malloc/hooks.c: Likewise.
47620
47621         * stdlib/Makefile (tests): Add bug-fmtmsg1.
47622         * stdlib/bug-fmtmsg1.c: New file.
47623
47624         * stdlib/fmtmsg.c (init): Add missing unlock.
47625         Patch by Peng Haitao <penght@cn.fujitsu.com>.
47626
47627 2012-01-12  Marek Polacek  <polacek@redhat.com>
47628
47629         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
47630         and _GNU_SOURCE.
47631
47632 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
47633
47634         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
47635         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
47636         macro to ensure uniqueness of label name.
47637         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
47638         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
47639
47640 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
47641
47642         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
47643
47644         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
47645         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
47646         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
47647         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
47648
47649 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
47650
47651         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
47652
47653         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
47654         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
47655         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
47656
47657         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
47658
47659         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
47660         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
47661         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
47662         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
47663
47664         * math/bits/math-finite.h: Add ldexp support.
47665
47666 2012-01-10  Marek Polacek  <polacek@redhat.com>
47667
47668         * locale/programs/localedef.h (show_archive_content): Add noreturn
47669         attribute.
47670
47671 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
47672
47673         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
47674
47675 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
47676
47677         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
47678
47679         * io/Makefile (headers): Add bits/poll2.h.
47680
47681 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
47682
47683         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
47684         typo #include statement.
47685
47686 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
47687
47688         * include/sys/cdefs.h: Define __attribute_alloc_size.
47689         * catgets/gencat.c: Add alloc_size attribute and apply consistently
47690         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
47691         * elf/pldd.c: Likewise.
47692         * iconv/iconv_charmap.c: Likewise.
47693         * iconv/iconvconfig.c: Likewise.
47694         * iconv/strtab.c: Likewise.
47695         * locale/programs/locale.c: Likewise.
47696         * locale/programs/localedef.h: Likewise.
47697         * locale/programs/simple-hash.c: Likewise.
47698         * nscd/nscd.h: Likewise.
47699         * nss/makedb.c: Likewise.
47700         * sysdeps/generic/ldconfig.h: Likewise.
47701         * locale/programs/localedef.c: Remove xmalloc prototype.
47702         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
47703
47704 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
47705
47706         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
47707         appropriate.
47708
47709 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
47710
47711         * math/Makefile (tests): Add tst-CMPLX.
47712         * math/tst-CMPLX.c: New file.
47713
47714         * math/complex.h (CMPLXL): Fix typo.
47715
47716         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
47717         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
47718         GLIBC_2.16.
47719         * debug/tst-chk1.c: Add poll and ppoll tests.
47720         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
47721         * include/sys/poll.h: Add hidden proto for ppoll.
47722         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
47723         * sysdeps/mach/hurd/ppoll.c: Likewise.
47724         * io/ppoll.c: Likewise.
47725         * debug/poll_chk.c: New file.
47726         * debug/ppoll_chk.c: New file.
47727         * include/bits/poll2.h: New file.
47728         * io/bits/poll2.h: New file.
47729
47730         [BZ #1350]
47731         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
47732
47733         * configure.in: static is always set to yes.  Remove.
47734         * config.make.in: Don't set build-static.
47735         * Makeconfig: Remove use of build-static.
47736         * dlfcn/Makefile: Likewise.
47737         * elf/Makefile: Likewise.
47738         * math/Makefile: Likewise.
47739         * misc/Makefile: Likewise.
47740         * nptl/Makefile: Likewise.
47741         * sysdeps/mach/hurd/Makefile: Likewise.
47742
47743         * configure.in: PWD_P is not used anymore.
47744         * config.make.in: Remove PWD_P entry.
47745
47746         * configure.in: Remove last remnants of RANLIB.
47747         No need to check for signed size_t anymore.
47748         Don't set libc_commonpagesize and libc_relro_required here for Alpha
47749         and IA-64.
47750         Remove __builtin_expect test because we require at least gcc 3.4.
47751         * aclocal.m4: Likewise.
47752
47753         * wcsmbs/mbrtoc16.c: Implement using towc function.
47754         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
47755         * wcsmbs/wcsmbsload.c: Likewise.
47756         * iconv/gconv_simple.c: Likewise.
47757         * iconv/gconv_int.h: Likewise.
47758         * iconv/gconv_builtin.h: Likewise.
47759         * iconv/iconv_prog.c: Remove CHAR16 handling.
47760
47761         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
47762
47763         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
47764
47765         * configure.in: Remove --with-elf and --enable-bounded options.
47766         Dont set base_machine for ia64.  More non-ELF conditions removed.
47767         Remove testing and setting of leading underscore information.
47768         * config.make.in (build-bounded): Set to no.
47769         * config.h.in: Remove NO_UNDERSCORES entry.
47770         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
47771         them.
47772         * csu/start.c: Remove !NO_UNDERSCORE code.
47773         * locale/localeinfo.h: Likewise.
47774         * sysdeps/generic/machine-gmon.h: Likewise.
47775         * sysdeps/generic/sysdep.h: Likewise.
47776         * sysdeps/i386/sysdep.h: Likewise.
47777         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
47778         * sysdeps/mach/sysdep.h: Likewise.
47779         * sysdeps/s390/s390-32/sysdep.h: Likewise.
47780         * sysdeps/s390/s390-64/sysdep.h: Likewise.
47781         * sysdeps/sh/sysdep.h: Likewise.
47782         * sysdeps/sparc/sparc32/alloca.S: Likewise.
47783         * sysdeps/unix/i386/sysdep.S: Likewise.
47784         * sysdeps/unix/sparc/start.c: Likewise.
47785         * sysdeps/unix/sparc/sysdep.S: Likewise.
47786         * sysdeps/unix/sparc/sysdep.h: Likewise.
47787         * sysdeps/unix/start.c: Likewise.
47788         * sysdeps/unix/x86_64/sysdep.S: Likewise.
47789         * sysdeps/x86_64/sysdep.h: Likewise.
47790
47791 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
47792
47793         [BZ #13553]
47794         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
47795         for non-gcc.
47796         * argp/argp-fmtstream.h: Use const instead __const.
47797         * argp/argp.h: Likewise.
47798         * assert/assert.h: Likewise.
47799         * bits/fenv.h: Likewise.
47800         * bits/sched.h: Likewise.
47801         * bits/sigset.h: Likewise.
47802         * bits/sigthread.h: Likewise.
47803         * catgets/nl_types.h: Likewise.
47804         * conform/data/pthread.h-data: Likewise.
47805         * crypt/crypt-private.h: Likewise.
47806         * crypt/crypt.h: Likewise.
47807         * crypt/crypt_util.c: Likewise.
47808         * ctype/ctype.h: Likewise.
47809         * debug/execinfo.h: Likewise.
47810         * debug/mbsnrtowcs_chk.c: Likewise.
47811         * debug/mbsrtowcs_chk.c: Likewise.
47812         * debug/wcsnrtombs_chk.c: Likewise.
47813         * debug/wcsrtombs_chk.c: Likewise.
47814         * debug/wcstombs_chk.c: Likewise.
47815         * dirent/dirent.h: Likewise.
47816         * dlfcn/dlfcn.h: Likewise.
47817         * elf/neededtest4.c: Likewise.
47818         * grp/grp.h: Likewise.
47819         * gshadow/gshadow.h: Likewise.
47820         * iconv/gconv.h: Likewise.
47821         * iconv/gconv_int.h: Likewise.
47822         * iconv/gconv_simple.c: Likewise.
47823         * iconv/iconv.h: Likewise.
47824         * iconv/loop.c: Likewise.
47825         * iconv/skeleton.c: Likewise.
47826         * include/aio.h: Likewise.
47827         * include/aliases.h: Likewise.
47828         * include/argz.h: Likewise.
47829         * include/arpa/inet.h: Likewise.
47830         * include/assert.h: Likewise.
47831         * include/dirent.h: Likewise.
47832         * include/dlfcn.h: Likewise.
47833         * include/execinfo.h: Likewise.
47834         * include/fcntl.h: Likewise.
47835         * include/fenv.h: Likewise.
47836         * include/glob.h: Likewise.
47837         * include/grp.h: Likewise.
47838         * include/libintl.h: Likewise.
47839         * include/mntent.h: Likewise.
47840         * include/netdb.h: Likewise.
47841         * include/pwd.h: Likewise.
47842         * include/rpc/netdb.h: Likewise.
47843         * include/sched.h: Likewise.
47844         * include/search.h: Likewise.
47845         * include/shadow.h: Likewise.
47846         * include/signal.h: Likewise.
47847         * include/stdio.h: Likewise.
47848         * include/stdlib.h: Likewise.
47849         * include/string.h: Likewise.
47850         * include/sys/socket.h: Likewise.
47851         * include/sys/stat.h: Likewise.
47852         * include/sys/statfs.h: Likewise.
47853         * include/sys/statvfs.h: Likewise.
47854         * include/sys/syslog.h: Likewise.
47855         * include/sys/time.h: Likewise.
47856         * include/sys/uio.h: Likewise.
47857         * include/time.h: Likewise.
47858         * include/unistd.h: Likewise.
47859         * include/utmp.h: Likewise.
47860         * include/wchar.h: Likewise.
47861         * include/wctype.h: Likewise.
47862         * inet/aliases.h: Likewise.
47863         * inet/arpa/inet.h: Likewise.
47864         * inet/netinet/ether.h: Likewise.
47865         * inet/netinet/in.h: Likewise.
47866         * intl/libintl.h: Likewise.
47867         * io/bits/fcntl2.h: Likewise.
47868         * io/fcntl.h: Likewise.
47869         * io/ftw.h: Likewise.
47870         * io/sys/poll.h: Likewise.
47871         * io/sys/stat.h: Likewise.
47872         * io/sys/statfs.h: Likewise.
47873         * io/sys/statvfs.h: Likewise.
47874         * io/utime.h: Likewise.
47875         * libio/bits/stdio.h: Likewise.
47876         * libio/bits/stdio2.h: Likewise.
47877         * libio/libio.h: Likewise.
47878         * libio/libioP.h: Likewise.
47879         * libio/stdio.h: Likewise.
47880         * locale/lc-ctype.c: Likewise.
47881         * locale/locale.h: Likewise.
47882         * login/utmp.h: Likewise.
47883         * malloc/arena.c: Likewise.
47884         * malloc/malloc.c: Likewise.
47885         * malloc/malloc.h: Likewise.
47886         * malloc/mcheck.c: Likewise.
47887         * malloc/mtrace.c: Likewise.
47888         * math/bits/mathcalls.h: Likewise.
47889         * math/fenv.h: Likewise.
47890         * math/math_private.h: Likewise.
47891         * misc/bits/error.h: Likewise.
47892         * misc/bits/syslog.h: Likewise.
47893         * misc/err.h: Likewise.
47894         * misc/error.h: Likewise.
47895         * misc/fstab.h: Likewise.
47896         * misc/mntent.h: Likewise.
47897         * misc/regexp.h: Likewise.
47898         * misc/search.h: Likewise.
47899         * misc/sgtty.h: Likewise.
47900         * misc/sys/mman.h: Likewise.
47901         * misc/sys/syslog.h: Likewise.
47902         * misc/sys/uio.h: Likewise.
47903         * misc/sys/xattr.h: Likewise.
47904         * misc/ttyent.h: Likewise.
47905         * nis/rpcsvc/ypclnt.h: Likewise.
47906         * nss/nss.h: Likewise.
47907         * posix/bits/unistd.h: Likewise.
47908         * posix/fnmatch.h: Likewise.
47909         * posix/glob.h: Likewise.
47910         * posix/sched.h: Likewise.
47911         * posix/spawn.h: Likewise.
47912         * posix/sys/wait.h: Likewise.
47913         * posix/unistd.h: Likewise.
47914         * posix/wordexp.h: Likewise.
47915         * pwd/pwd.h: Likewise.
47916         * resolv/netdb.h: Likewise.
47917         * resource/sys/resource.h: Likewise.
47918         * rt/aio.h: Likewise.
47919         * rt/bits/mqueue2.h: Likewise.
47920         * rt/mqueue.h: Likewise.
47921         * shadow/shadow.h: Likewise.
47922         * signal/signal.h: Likewise.
47923         * socket/send.c: Likewise.
47924         * socket/sendto.c: Likewise.
47925         * socket/sys/socket.h: Likewise.
47926         * stdio-common/printf.h: Likewise.
47927         * stdlib/bits/stdlib.h: Likewise.
47928         * stdlib/fmtmsg.h: Likewise.
47929         * stdlib/monetary.h: Likewise.
47930         * stdlib/stdlib.h: Likewise.
47931         * stdlib/ucontext.h: Likewise.
47932         * streams/stropts.h: Likewise.
47933         * string/argz.h: Likewise.
47934         * string/bits/string2.h: Likewise.
47935         * string/string.h: Likewise.
47936         * string/strings.h: Likewise.
47937         * sunrpc/rpc/auth.h: Likewise.
47938         * sunrpc/rpc/auth_des.h: Likewise.
47939         * sunrpc/rpc/clnt.h: Likewise.
47940         * sunrpc/rpc/netdb.h: Likewise.
47941         * sunrpc/rpc/pmap_clnt.h: Likewise.
47942         * sunrpc/rpc/xdr.h: Likewise.
47943         * sysdeps/generic/inttypes.h: Likewise.
47944         * sysdeps/generic/net/if.h: Likewise.
47945         * sysdeps/generic/sys/swap.h: Likewise.
47946         * sysdeps/gnu/net/if.h: Likewise.
47947         * sysdeps/gnu/utmpx.h: Likewise.
47948         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
47949         * sysdeps/i386/i486/bits/string.h: Likewise.
47950         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
47951         * sysdeps/s390/bits/string.h: Likewise.
47952         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
47953         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
47954         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
47955         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
47956         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
47957         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
47958         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
47959         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
47960         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
47961         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
47962         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
47963         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
47964         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
47965         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
47966         * sysdeps/unix/sysv/linux/readv.c: Likewise.
47967         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
47968         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
47969         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
47970         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
47971         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
47972         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
47973         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
47974         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
47975         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
47976         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
47977         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
47978         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
47979         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
47980         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
47981         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
47982         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
47983         * sysvipc/sys/ipc.h: Likewise.
47984         * sysvipc/sys/msg.h: Likewise.
47985         * sysvipc/sys/sem.h: Likewise.
47986         * sysvipc/sys/shm.h: Likewise.
47987         * termios/termios.h: Likewise.
47988         * time/sys/time.h: Likewise.
47989         * time/time.h: Likewise.
47990         * wcsmbs/bits/wchar2.h: Likewise.
47991         * wcsmbs/uchar.h: Likewise.
47992         * wcsmbs/wchar.h: Likewise.
47993         * wctype/wctype.h: Likewise.
47994
47995         [BZ #13551]
47996         * Makeconfig: Remove all but ELF support including AIX support.
47997         * Makerules: Likewise.
47998         * config.h.in: Likewise.
47999         * config.make.in: Likewise.
48000         * configure: Likewise.
48001         * configure.in: Likewise.
48002         * csu/Makefile: Likewise.
48003         * csu/version.c: Likewise.
48004         * debug/Makefile: Likewise.
48005         * dlfcn/Makefile: Likewise.
48006         * elf/Makefile: Likewise.
48007         * extra-lib.mk: Likewise.
48008         * iconv/Makefile: Likewise.
48009         * include/libc-symbols.h: Likewise.
48010         * include/shlib-compat.h: Likewise.
48011         * resolv/Makefile: Likewise.
48012         * resolv/res_libc.c: Likewise.
48013         * rt/Makefile: Likewise.
48014         * sysdeps/i386/asm-syntax.h: Likewise.
48015         * sysdeps/i386/sysdep.h: Likewise.
48016         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
48017         * sysdeps/mach/sysdep.h: Likewise.
48018         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
48019         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
48020         * sysdeps/s390/asm-syntax.h: Likewise.
48021         * sysdeps/s390/s390-32/sysdep.h: Likewise.
48022         * sysdeps/s390/s390-64/sysdep.h: Likewise.
48023         * sysdeps/sh/sysdep.h: Likewise.
48024         * sysdeps/unix/sparc/sysdep.h: Likewise.
48025         * sysdeps/wordsize-32/divdi3.c: Likewise.
48026         * sysdeps/x86_64/sysdep.h: Likewise.
48027
48028         * argp/Versions: Remove _argp_unlock_xxx.
48029
48030         [BZ #13559]
48031         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
48032         * abilist/libBrokenLocale.abilist: Likewise.
48033         * abilist/libanl.abilist: Likewise.
48034         * abilist/libc.abilist: Likewise.
48035         * abilist/libcrypt.abilist: Likewise.
48036         * abilist/libdl.abilist: Likewise.
48037         * abilist/libm.abilist: Likewise.
48038         * abilist/libnsl.abilist: Likewise.
48039         * abilist/libpthread.abilist: Likewise.
48040         * abilist/libresolv.abilist: Likewise.
48041         * abilist/librt.abilist: Likewise.
48042         * abilist/libthread_db.abilist: Likewise.
48043         * abilist/libutil.abilist: Likewise.
48044         * abilist/libnss_db.abilist: New file.
48045
48046         * scripts/abilist.awk: Add support for indirect functions.
48047
48048         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
48049
48050         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
48051
48052         * shlib-versions: Remove entries for ports architectures.
48053
48054         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
48055         files in ports.
48056         * elf/stackguard-macros.h: Remove support for IA-64.
48057         * elf/tst-auditmod1.c: Likewise.
48058         * sysdeps/generic/ldsodefs.h: Likewise.
48059
48060         * sysdeps/unix/sysv/linux/configure.in: Ports should define
48061         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
48062         configure files.
48063
48064         [BZ #13552]
48065         * configure.in: Remove --enable-omitfp support.
48066         * FAQ.in: Adjust.
48067         * config.make.in: Likewise.
48068         * Makeconfig: Likewise.
48069         * manual/install.texi: Likewise.
48070
48071         In case anyone cares, the IA-64 architecture could move to ports.
48072         * sysdeps/ia64/*: Removed.
48073         * sysdeps/unix/sysv/linux/ia64/*: Removed.
48074         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
48075
48076         [BZ #13555]
48077         * configure.in: Remove entries for unsupported architectures.
48078
48079         [BZ #13533]
48080         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
48081         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
48082         routines.
48083         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
48084         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
48085         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
48086         fall back to using wcrtomb.
48087         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
48088         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
48089         renaming.
48090         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
48091         * wcsmbs/tst-c16c32-1.c: New file.
48092
48093         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
48094         local variable.
48095
48096         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
48097
48098         * elf/tst-unique3.cc: Add explicit declaration of gets.
48099         * elf/tst-unique3lib.cc: Likewise.
48100         * elf/tst-unique3lib2.cc: Likewise.
48101         * elf/tst-unique4.cc: Likewise.
48102
48103         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
48104
48105 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
48106
48107         [BZ #13566]
48108         * assert/assert.h (static_assert): Don't define for C++.
48109         * libio/stdio.h (gets): Do declare for C++ <= C++11.
48110         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
48111
48112 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
48113
48114         * iconv/loop.c (single loop): Fix assertion in storing of
48115         remaining bytes.
48116
48117         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
48118
48119 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
48120
48121         * posix/getconf.c: Update copyright year.
48122         * nss/getent.c: Likewise.
48123         * nss/makedb.c: Likewise.
48124         * iconv/iconvconfig.c: Likewise.
48125         * iconv/iconv_prog.c: Likewise.
48126         * elf/ldconfig.c: Likewise.
48127         * elf/pldd.c: Likewise.
48128         * elf/sotruss.ksh: Likewise.
48129         * catgets/gencat.c: Likewise.
48130         * csu/version.c: Likewise.
48131         * elf/ldd.bash.in: Likewise.
48132         * elf/sprof.c (print_version): Likewise.
48133         * locale/programs/locale.c: Likewise.
48134         * locale/programs/localedef.c: Likewise.
48135         * login/programs/pt_chown.c: Likewise.
48136         * nscd/nscd.c (print_version): Likewise.
48137         * debug/xtrace.sh: Likewise.
48138         * malloc/memusage.sh: Likewise.
48139         * malloc/mtrace.pl: Likewise.
48140         * debug/catchsegv.sh: Likewise.
48141
48142 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
48143
48144         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
48145         pure attribute.
48146
48147 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
48148
48149         [BZ #13533]
48150         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
48151         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
48152         transformations.
48153         * iconv/gconv_int.h: Likewise.
48154         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
48155         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
48156         from libc for GLIBC_2.16.
48157         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
48158         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
48159         * wcsmbs/uchar.h: Really define mbstate_t.
48160         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
48161         * wcsmbs/c16rtomb.c: New file.
48162         * wcsmbs/mbrtoc16.c: New file.
48163         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
48164         for C/POSIX locale.
48165         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
48166         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
48167
48168         * wcsmbs/wchar.h: Add missing __restrict.
48169
48170 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
48171
48172         [BZ #13532]
48173         * time/Makefile (routines): Add timespec_get.
48174         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
48175         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
48176         timespec for ISO C11.
48177         * time/timespec_get.c: New file.
48178         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
48179         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
48180
48181         [BZ #13531]
48182         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
48183         * stdlib/stdlib.h: Declare aligned_alloc.
48184         * Versions.def: Add GLIBC_2.16 for libc.
48185         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
48186
48187         [BZ 13527]
48188         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
48189         ISO C11.
48190
48191         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
48192         code.
48193
48194         [BZ #13528]
48195         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
48196
48197         [BZ #13529]
48198         * assert/assert.h (static_assert): Define.
48199
48200         * version.h: Update for 2.16 development version.
48201
48202         [BZ #13526]
48203         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
48204         _ISOC11_SOURCE.
48205
48206         * version.h (RELEASE): Bump for 2.15 release.
48207         * include/features.h (__GLIBC_MINOR__): Bump to 15.
48208
48209         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
48210         Patch by Marek Polacek <mpolacek@redhat.com>.
48211
48212         * bits/byteswap.h: Protect long long constants with __extension__.
48213         * sysdeps/i386/bits/byteswap.h: Likewise.
48214         * sysdeps/ia64/bits/byteswap.h: Likewise.
48215         * sysdeps/s390/bits/byteswap.h: Likewise.
48216         * sysdeps/x86_64/bits/byteswap.h: Likewise.
48217
48218 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
48219
48220         [BZ #13540]
48221         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
48222         destination buffer.
48223         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
48224
48225 2011-12-23  Marek Polacek  <polacek@redhat.com>
48226
48227         * elf/dl-addr.c (determine_info): Add inline keyword.
48228         * elf/tst-auditmod4b.c (check_avx): Likewise.
48229         * elf/tst-auditmod6b.c (check_avx): Likewise.
48230         * elf/tst-auditmod6c.c (check_avx): Likewise.
48231         * elf/tst-auditmod7b.c (check_avx): Likewise.
48232
48233 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
48234
48235         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
48236         !__SSE_MATH__.
48237
48238 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
48239
48240         [BZ #13540]
48241         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
48242         processing for last bytes.
48243
48244 2011-08-06  Bruno Haible  <bruno@clisp.org>
48245
48246         [BZ #13061]
48247         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
48248         U+0385, not to U+1FEE.
48249
48250         [BZ #13062]
48251         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
48252         entry for U+00A5 U+0301.
48253
48254 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
48255
48256         [BZ #13166]
48257         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
48258         buffer for the output is too small.
48259
48260         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
48261         optimization.
48262
48263         [BZ #13185]
48264         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
48265         SSE flags if possible.
48266
48267 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
48268
48269         [BZ #13540]
48270         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
48271         processing for last bytes.
48272
48273 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
48274
48275         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
48276         (syscall-list-default-options, syscall-list-default-condition)
48277         (syscall-list-includes): Define.
48278         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
48279         list of ABIs and options and #if conditions for each ABI.  Do not
48280         handle common syscalls between ABIs specially.
48281         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
48282         Remove.
48283         (syscall-list-variants, syscall-list-32bit-options)
48284         (syscall-list-32bit-condition, syscall-list-64bit-options)
48285         (syscall-list-64bit-condition): Define.
48286         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
48287         (syscall-list-variants, syscall-list-32bit-options)
48288         (syscall-list-32bit-condition, syscall-list-64bit-options)
48289         (syscall-list-64bit-condition): Define.
48290         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
48291         Remove.
48292         (syscall-list-variants, syscall-list-32bit-options)
48293         (syscall-list-32bit-condition, syscall-list-64bit-options)
48294         (syscall-list-64bit-condition): Define.
48295         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
48296         Remove.
48297         (syscall-list-variants, syscall-list-32bit-options)
48298         (syscall-list-32bit-condition, syscall-list-64bit-options)
48299         (syscall-list-64bit-condition): Define.
48300
48301 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
48302
48303         * locale/iso-639.def: Add brx entry.
48304
48305         [BZ #13328]
48306         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
48307         Proposed by Mariusz_Cukr <marcukr@op.pl>.
48308
48309         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
48310         __feraiseexcept_renamed.
48311
48312 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
48313
48314         [BZ #13538]
48315         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
48316         EPOLLET with unsigned values.
48317         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
48318         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
48319
48320         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
48321         to large cancellation.
48322         * math/s_cacoshf.c: Likewise.
48323         * math/s_cacoshl.c: Likewise.
48324
48325 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
48326
48327         [BZ #13305]
48328         [BZ #12786]
48329         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
48330         * math/s_cacoshf.c: Likewise.
48331         * math/s_cacoshl.c: Likewise.
48332
48333 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
48334
48335         [BZ #13439]
48336         * iconv/gconv.h: Define __GCONV_SWAP.
48337         * iconvdata/unicode.c: The swap bit must be stored in __flags.
48338         * iconvdata/utf-16.c: Likewise.
48339         * iconvdata/utf-32.c: Likewise.
48340
48341 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
48342
48343         [BZ #13524]
48344         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
48345         numerator after shifting it by one limb.
48346
48347 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
48348
48349         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
48350         under [__USE_EXTERN_INLINES].
48351
48352 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
48353
48354         [BZ #13446]
48355         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
48356
48357 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48358
48359         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
48360         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
48361         optimized code.
48362         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
48363         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
48364         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
48365         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
48366         for strncasecmp/strncasecmp_l compilation.
48367         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
48368         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
48369
48370 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
48371
48372         [BZ #13484]
48373         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
48374         of __asm__.
48375
48376 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
48377
48378         [BZ #13506]
48379         * time/tzfile.c (__tzfile_read): Check values from file header.
48380
48381 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
48382
48383         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
48384         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
48385         * powerpc/powerpc32/dl-start.S: Likewise.
48386         * powerpc/powerpc32/elf/start.S: Likewise.
48387         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
48388         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
48389         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
48390         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
48391         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
48392         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
48393         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
48394         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
48395         * powerpc/powerpc32/fpu/s_round.S: Likewise.
48396         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
48397         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
48398         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
48399         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
48400         * powerpc/powerpc32/memset.S: Likewise.
48401         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
48402         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
48403         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
48404         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
48405         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
48406         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
48407         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
48408         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
48409         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
48410         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
48411         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
48412         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
48413         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
48414
48415 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48416
48417         * math/libm-test.inc: Added more nearbyint tests.
48418         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
48419         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
48420         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
48421         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
48422
48423 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
48424
48425         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
48426         FD_CLOEXEC.
48427
48428 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
48429
48430         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
48431         Add wcscpy-ssse3 wcscpy-c.
48432         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
48433         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
48434         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
48435         * sysdeps/x86_64/wcschr.S: New file.
48436         * sysdeps/x86_64/wcsrchr.S: New file.
48437         * string/test-strcmp.c: Remove checking of wcscmp function for
48438         wrong alignments.
48439         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
48440         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
48441         wcsrchr-sse2 wcsrchr-c.
48442         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
48443         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
48444         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
48445         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
48446         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
48447         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
48448         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
48449         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
48450         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
48451         * wcsmbc/wcschr.c (WCSCHR): New macro.
48452
48453 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
48454
48455         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
48456         * wcsmbs/test-wcsrchr.c: New file.
48457         * string/test-strrchr.c: Add wcsrchr support.
48458         (WIDE): New macro.
48459         * wcsmbs/test-wcscpy.c: New file.
48460         * string/test-strcpy.c: Add wcscpy support.
48461         (WIDE): New macro.
48462
48463 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
48464
48465         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
48466         the inner loop.
48467
48468 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
48469
48470         [BZ #13472]
48471         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
48472
48473 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
48474
48475         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
48476         Minor optimizations.
48477
48478         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
48479         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
48480         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
48481
48482 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
48483
48484         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
48485         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
48486         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
48487         for gcc to avoid warnings.
48488         * inet/Makefile (tests): Add tst-checks.
48489         * inet/tst-checks.c: New file.
48490
48491         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
48492         warning.
48493
48494         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
48495         __wmemcmp_sse2.
48496
48497         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
48498         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
48499
48500         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
48501
48502 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
48503
48504         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
48505         problem.
48506
48507         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
48508
48509 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
48510
48511         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
48512         conditional on GCC version.
48513         (__arch_compare_and_exchange_val_8_acq)
48514         (__arch_compare_and_exchange_val_16_acq)
48515         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
48516         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
48517         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
48518
48519 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
48520
48521         * sysdeps/sh/backtrace.c: New file.
48522
48523 2011-12-02  Andreas Schwab  <schwab@redhat.com>
48524
48525         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
48526         parenthesis.
48527
48528 2011-12-01  Andreas Schwab  <schwab@redhat.com>
48529
48530         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
48531         falling back to utime.
48532
48533 2011-11-30  Andreas Schwab  <schwab@redhat.com>
48534
48535         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
48536         expectations for float.
48537
48538 2011-11-29  Andreas Schwab  <schwab@redhat.com>
48539
48540         * locale/weight.h (findidx): Add parameter len.
48541         * locale/weightwc.h (findidx): Likewise.
48542         * posix/fnmatch_loop.c (FCT): Adjust caller.
48543         * posix/regcomp.c (build_equiv_class): Likewise.
48544         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
48545         * posix/regexec.c (check_node_accept_bytes): Likewise.
48546         * string/strcoll_l.c (STRCOLL): Likewise.
48547         * string/strxfrm_l.c (STRXFRM): Likewise.
48548
48549 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
48550
48551         * Makefile.in: Remove CVSOPT handling.
48552         * configure.in: Remove use of AC_REVISION.
48553         * iconvdata/Makefile (distribute): No need to filter out CVS.
48554         * scripts/list-sources.sh: Remove CVS, subversion and monotone
48555         handling.
48556
48557 2011-11-16  Andreas Schwab  <schwab@redhat.com>
48558
48559         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
48560         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
48561         [USE_AS_STRNCASECMP_L]: Likewise.
48562         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
48563         NO_TLS_DIRECT_SEG_REFS.
48564         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
48565         Fix argument offsets for non-PIC.
48566         [USE_AS_STRNCASECMP_L]: Likewise.
48567         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
48568         NO_TLS_DIRECT_SEG_REFS.
48569
48570 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
48571
48572         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
48573         O_CLOEXEC.
48574         * locale/loadlocale.c (_nl_load_locale): Likewise.
48575
48576 2011-11-15  Andreas Schwab  <schwab@redhat.com>
48577
48578         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
48579         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
48580         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
48581         (SYSCALL_GETTIME): Set errno on error.
48582
48583         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
48584         count references to noai6ai_cached.
48585
48586 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
48587
48588         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
48589
48590         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
48591         FD_CLOEXEC for /proc/self/maps.
48592
48593         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
48594         FD_CLOEXEC for /proc/meminfo.
48595
48596         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
48597         gai.conf.
48598
48599         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
48600         FD_CLOEXEC for given file.
48601
48602         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
48603
48604         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
48605         FD_CLOEXEC for /etc/hosts.
48606         (_gethtent): Likewise.
48607
48608         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
48609
48610         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
48611         cancellation and set FD_CLOEXEC for /etc/netgroup.
48612
48613         * nss/nss_files/files-key.c (search): Don't allow cancellation when
48614         reading /etc/publickey.
48615
48616         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
48617         allow cancellation when reading /etc/group.
48618
48619         * nss/nss_files/files-alias.c (internal_setent): Don't allow
48620         cancellation.
48621         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
48622
48623         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
48624         when using data file.
48625
48626         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
48627
48628         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
48629         (write_nis_obj): Use "c" and "e" in fopen.
48630
48631         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
48632
48633         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
48634
48635         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
48636
48637         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
48638
48639         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
48640         locale.alias.
48641
48642         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
48643
48644         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
48645
48646         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
48647
48648         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
48649         file parsing and set FD_CLOEXEC.
48650
48651 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
48652
48653         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
48654
48655 2011-11-14  Andreas Schwab  <schwab@redhat.com>
48656
48657         * malloc/arena.c (arena_get2): Don't call reused_arena when
48658         _int_new_arena failed.
48659
48660 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
48661
48662         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
48663         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
48664         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
48665         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
48666         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
48667         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
48668         to compile strcasecmp and strncasecmp.
48669         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
48670         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
48671
48672         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
48673
48674 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
48675
48676         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
48677         locale-defines.sym to gen-as-const-headers.
48678         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
48679         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
48680         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
48681         to compile strcasecmp and strncasecmp.
48682         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
48683         strcasecmp_l and strncasecmp_l.
48684         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
48685         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
48686         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
48687         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
48688         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
48689         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
48690         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
48691         * sysdeps/i386/i686/multiarch/strncase.S: New file.
48692         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
48693         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
48694         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
48695
48696 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
48697
48698         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
48699         result of SYSDEP_GETTIME_CPU to retval.
48700         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
48701         parameter list to macro.  Remove trailing semicolon.  Adjust users.
48702
48703         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
48704         variable.
48705
48706         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
48707         mantissa words.
48708         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
48709
48710         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
48711         from unused variable.
48712
48713         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
48714         DWARF definitions.
48715         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
48716         for assembling.
48717
48718         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
48719         over namespaces.
48720
48721         * sunrpc/rpc_prot.c (rejected): Fix case value.
48722
48723         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
48724         unsigned long long int to avoid warnings in shift.
48725
48726         * posix/regex_internal.c (re_string_reconstruct): Actually use result
48727         of use of trans.
48728         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
48729         variable tmp.
48730
48731         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
48732         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
48733         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
48734
48735         * nis/nis_table.c (nis_list): Use variable of correct type for
48736         result of __follow_path call.
48737
48738 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48739
48740         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
48741         of math functions ceil, trunc, floor, round, and sqrt, when
48742         avaliable on the platform.
48743         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
48744         name clash.
48745         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
48746         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
48747         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
48748
48749 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
48750
48751         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
48752         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
48753
48754 2011-11-11  Roland McGrath  <roland@hack.frob.com>
48755
48756         * include/unistd.h: Fix __readlink return type.
48757         Reported by Chris Metcalf <cmetcalf@tilera.com>.
48758
48759 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
48760
48761         * stdlib/ucontext.h: Undo last change for makecontext.
48762
48763 2011-11-11  Andreas Schwab  <schwab@redhat.com>
48764
48765         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
48766
48767         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
48768         * setjmp/setjmp.h: Mark functions as non-leaf.
48769         * setjmp/bits/setjmp2.h: Likewise.
48770         * stdlib/ucontext.h: Likewise.
48771
48772 2011-11-10  Andreas Schwab  <schwab@redhat.com>
48773
48774         * malloc/arena.c (_int_new_arena): Don't increment narenas.
48775         (reused_arena): Don't check arena limit.
48776         (arena_get2): Atomically check arena limit.
48777
48778 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
48779
48780         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
48781         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
48782
48783         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
48784         instructions.
48785
48786 2011-11-07  Andreas Schwab  <schwab@redhat.com>
48787
48788         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
48789         handler when locking.
48790
48791         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
48792         Fix size of allocated buffer.
48793
48794 2011-11-04  Andreas Schwab  <schwab@redhat.com>
48795
48796         [BZ #10103]
48797         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
48798         declarations for long double functions.
48799         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
48800
48801         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
48802
48803 2011-11-03  Andreas Schwab  <schwab@redhat.com>
48804
48805         * nscd/nscd.c (main): Don't start AVC thread until credentials are
48806         installed.
48807
48808         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
48809         is disabled.
48810
48811 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48812
48813         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
48814
48815 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
48816
48817         * include/alloca.h (stackinfo_alloca_round): Define.
48818         (extend_alloca): Use it.
48819         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
48820         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
48821         here.
48822
48823         * scripts/check-local-headers.sh: Ignore libaudit.h.
48824
48825         * nscd/Makefile (extra-objs): Make recursively expanded.
48826
48827 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
48828
48829         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
48830         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
48831
48832         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
48833         * posix/tst-rfc3484-2.c: Likewise.
48834         * posix/tst-rfc3484-3.c: Likewise.
48835
48836         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
48837         process_vm_writev.
48838         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
48839         process_vm_writev.
48840         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
48841         process_vm_writev from libc using GLIBC_2.15 version.
48842
48843         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
48844
48845 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
48846
48847         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
48848         stack usage.
48849
48850 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
48851
48852         [BZ #13367]
48853         * nss/getent.c (initgroups_keys): Show error message in case no group
48854         names are given.
48855
48856         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
48857         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
48858         __bump_nl_timestamp.
48859         * nscd/connections (nscd_init): When host database is served open
48860         netlink socket and request notification about configuration changes.
48861         (main_loop_poll): Track netlink file descriptor and bump timestamp
48862         in case data becomes available.
48863         (main_loop_epoll): Likewise.
48864         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
48865         (database_pers_head): Add extra_data fileds.
48866         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
48867         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
48868         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
48869         Adjust caller.
48870         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
48871         in6ai data, call __free_in6ai.
48872         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
48873         Add -DHAVE_NETLINK.
48874         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
48875         interface information.  Reuse previous data if netlink timestamp
48876         is not changed.
48877         (__bump_nl_timestamp): New function.
48878         (__free_in6ai): New function.
48879
48880 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
48881
48882         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
48883         close_not_cancel_no_status here.
48884         (__check_pf): Reorganize code a bit to not call close twice if OOM.
48885
48886 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
48887
48888         [BZ #13276]
48889         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
48890         return value.
48891
48892         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
48893         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
48894         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
48895
48896 2011-07-03  Andreas Jaeger  <aj@suse.de>
48897
48898         [BZ #10709]
48899         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
48900         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
48901         * math/libm-test.inc (sin_test): Add test case.
48902
48903 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
48904
48905         [BZ #13337]
48906         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
48907         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
48908
48909         * elf/chroot_canon.c (chroot_canon): Cleanups.
48910
48911         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
48912
48913         [BZ #13335]
48914         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
48915         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
48916
48917         * string/test-strchr.c: Make usable for strchrnul testing.
48918         * string/test-strchrnul.c: New file.
48919         * string/Makefile (strop-tests): Add strchrnul.
48920
48921         * po/it.po: Update from translation team.
48922         * po/es.po: Likewise.
48923
48924 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
48925
48926         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
48927         the three constants needed as parameters.  Drop the others.
48928         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
48929         __m128i_strloadu_tolower.
48930         Create and initialize variable zero and use it in all the places
48931         where _mm_setzero_si128 was used.
48932
48933         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
48934         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
48935         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
48936         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
48937         anymore.
48938         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
48939         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
48940         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
48941         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
48942         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
48943         __mpranred, __mptan.
48944         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
48945         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
48946         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
48947         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
48948         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
48949         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
48950         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
48951         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
48952         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
48953
48954 2011-10-28  Andreas Schwab  <schwab@redhat.com>
48955
48956         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
48957         redefine if SHARED.
48958         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
48959
48960         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
48961         wide char related routines to wcsmbs subdir.
48962
48963 2011-10-27  Andreas Schwab  <schwab@redhat.com>
48964
48965         [BZ #13344]
48966         * misc/sys/cdefs.h (__THROWNL): Define.
48967         * posix/unistd.h: Use __THREADNL instead of __THREAD
48968         for memory synchronization functions.
48969
48970 2011-10-26  Roland McGrath  <roland@hack.frob.com>
48971
48972         [BZ #13349]
48973         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
48974         doesn't exist.
48975         * manual/stdio.texi (Obstack Streams): Node removed.
48976
48977 2011-10-26  Andreas Schwab  <schwab@redhat.com>
48978
48979         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
48980         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
48981         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
48982
48983         * math/math_private.h (math_force_eval): Allow non-addressable
48984         arguments.
48985         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
48986
48987 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
48988
48989         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
48990         file is not needed.
48991
48992         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
48993         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
48994         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
48995         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
48996         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
48997         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
48998         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
48999         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
49000         Add AVX variants.
49001         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
49002         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
49003         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
49004         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
49005         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
49006         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
49007         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
49008         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
49009         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
49010         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
49011         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
49012         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
49013         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
49014         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
49015         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
49016         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
49017         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
49018         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
49019         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
49020
49021         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
49022         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
49023
49024         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
49025         place.  Use VEX encoding when compiling for AVX.
49026
49027 2011-10-25  Andreas Schwab  <schwab@redhat.com>
49028
49029         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
49030         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
49031
49032         * string/test-strchr.c (do_test): Don't generate NUL bytes.
49033
49034 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
49035
49036         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
49037         useless if() expression.
49038         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
49039         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
49040         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
49041         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
49042         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
49043         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
49044         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
49045         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
49046         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
49047         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
49048         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
49049         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
49050         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
49051         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
49052         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
49053         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
49054         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
49055         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
49056         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
49057
49058         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
49059
49060 2011-10-25  Andreas Schwab  <schwab@redhat.com>
49061
49062         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
49063         condition.
49064         * elf/dl-fini.c (_dl_sort_fini): Likewise.
49065
49066 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
49067
49068         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
49069         .text section.  Avoid duplicate constants.
49070         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
49071         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
49072         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
49073         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
49074         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
49075         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
49076         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
49077         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
49078         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
49079         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
49080         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
49081         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
49082         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
49083         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
49084         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
49085         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
49086         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
49087         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
49088         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
49089         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
49090         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
49091         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
49092         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
49093         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
49094         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
49095         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
49096         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
49097         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
49098         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
49099         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
49100         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
49101         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
49102         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
49103         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
49104         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
49105         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
49106         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
49107         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
49108         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
49109         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
49110         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
49111         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
49112         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
49113         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
49114         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
49115
49116 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
49117
49118         * sysdeps/x86_64/dla.h: Move to ...
49119         * sysdeps/x86_64/fpu/dla.h: ...here.
49120         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
49121         situations.  Use __builtin_fma only for gcc 4.6 and up.
49122
49123         * config.make.in: Add have-mfma4 entry.
49124         * configure.in: Substitute libc_cv_cc_fma4.
49125         * math/Makefile (dbl-only-routines): Add sincostab.
49126         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
49127         Use __sincostab not sincos.
49128         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
49129         name is a macro.
49130         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
49131         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
49132         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
49133         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
49134         using __copysign.
49135         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
49136         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
49137         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
49138         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
49139         and __inv.
49140         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
49141         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
49142         __copysign.
49143         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
49144         define aliases when function name is a macro.
49145         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
49146         sysdeps/ieee754/dbl-64/sincos.tbl.
49147         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
49148         fma4-enabled routines.
49149         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
49150         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
49151         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
49152         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
49153         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
49154         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
49155         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
49156         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
49157         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
49158         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
49159         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
49160         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
49161         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
49162         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
49163         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
49164         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
49165         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
49166         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
49167         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
49168         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
49169         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
49170         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
49171         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
49172         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
49173         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
49174         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
49175         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
49176         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
49177         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
49178         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
49179
49180         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
49181         rename.
49182         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
49183         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
49184         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
49185         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
49186         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
49187         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
49188         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
49189         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
49190
49191 2011-10-24  Andreas Schwab  <schwab@redhat.com>
49192
49193         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
49194
49195 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
49196
49197         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
49198
49199         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
49200         prediction.
49201         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
49202
49203         * string/strnlen.c: Don't define STRNLEN, reverse logic.
49204         Remove unused variable magic_bits.
49205         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
49206
49207         * string/strnlen.c: Define and use STRNLEN macro.
49208         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
49209         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
49210         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
49211         * wcsmbs/wcslen.c: Define and use WCSLEN.
49212         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
49213         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
49214         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
49215         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
49216         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
49217         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
49218         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
49219
49220 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
49221
49222         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49223         strnlen-sse2-no-bsf.
49224         Rename strlen-no-bsf to strlen-sse2-no-bsf.
49225         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
49226         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
49227         Add strnlen support.
49228         (USE_AS_STRNLEN): New macro.
49229         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
49230         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
49231         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
49232         * sysdeps/x86_64/wcslen.S: New file.
49233
49234 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
49235
49236         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
49237         XMM-moves are used for copying on small sizes.
49238
49239 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
49240
49241         * wcsmbs/Makefile (strop-tests): Add wcschr.
49242         * wcsmbs/test-wcschr.c: New file.
49243         * string/test-strchr.c: Update.
49244         Add wcschr support.
49245         (WIDE): New macro.
49246
49247 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
49248
49249         * wcsmbs/Makefile (strop-tests): Add wcslen.
49250         * wcsmbs/test-wcslen.c: New file.
49251         * string/test-strlen.c: Update.
49252         Add wcslen support.
49253         (WIDE): New macro.
49254
49255 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
49256
49257         * po/it.po: Update from translation team.
49258
49259 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
49260
49261         * sysdeps/x86_64/wcscmp.S: Update.
49262         Fix wrong comparison semantics.
49263         wcscmp shall use signed comparison not unsigned.
49264         Don't use substraction to avoid overflow bug.
49265         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
49266         * wcsmbc/wcscmp.c: Likewise.
49267         * string/test-strcmp.c: Likewise.
49268         Add new tests to check cases with negative values.
49269
49270 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
49271
49272         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
49273         * sysdeps/x86_64/dla.h: ...here.  New file.
49274         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
49275         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
49276         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
49277         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
49278         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
49279         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
49280         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
49281         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
49282         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
49283
49284 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
49285
49286         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
49287         __ynl_finite aliases.
49288
49289 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
49290
49291         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49292
49293         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
49294         define DLA_FMA.
49295         [DLA_FMA] (EMULV): Use DLA_FMA.
49296         [DLA_FMA] (MUL12): Use EMULV.
49297         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
49298         that are not needed.
49299         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
49300         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
49301         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
49302         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
49303         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
49304         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
49305         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
49306
49307 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
49308
49309         * math/s_nan.c: Undef __nan.
49310         * math/s_nanf.c: Undef __nanf.
49311         * math/s_nanl.c: Undef __nanl.
49312         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
49313         "math_private.h".
49314
49315 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
49316
49317         * math/s_catan.c: Add branch predictions.
49318         * math/s_catanf.c: Likewise.
49319         * math/s_catanh.c: Likewise.
49320         * math/s_catanhf.c: Likewise.
49321         * math/s_catanhl.c: Likewise.
49322         * math/s_catanl.c: Likewise.
49323         * math/s_cexp.c: Likewise.
49324         * math/s_cexpf.c: Likewise.
49325         * math/s_cexpl.c: Likewise.
49326         * math/s_clog.c: Likewise.
49327         * math/s_clog10.c: Likewise.
49328         * math/s_clog10f.c: Likewise.
49329         * math/s_clog10l.c: Likewise.
49330         * math/s_clogf.c: Likewise.
49331         * math/s_clogl.c: Likewise.
49332         * math/s_csqrt.c: Likewise.
49333         * math/s_csqrtf.c: Likewise.
49334         * math/s_csqrtl.c: Likewise.
49335         * math/s_ctanf.c: Likewise.
49336         * math/s_ctanh.c: Likewise.
49337         * math/s_ctanhf.c: Likewise.
49338         * math/s_ctanhl.c: Likewise.
49339         * math/s_ctanl.c: Likewise.
49340
49341         * math/math_private.h: Define __nan, __nanf, __nanl.
49342         * math/s_cacosh.c: Include <math_private.h>.
49343         * math/s_cacoshl.c: Likewise.
49344         * math/s_casinh.c: Likewise.
49345         * math/s_casinhf.c: Likewise.
49346         * math/s_casinhl.c: Likewise.
49347         * math/s_ccos.c: Rely entire on ccosh.
49348         * math/s_ccosf.c: Rely entire on ccoshf.
49349         * math/s_ccosl.c: Rely entirely on ccoshl.
49350         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
49351         Remove tests for FE_INVALID.
49352         * math/s_ccoshf.c: Likewise.
49353         * math/s_ccoshl.c: Likewise.
49354         * math/s_csin.c: Likewise.
49355         * math/s_csinf.c: Likewise.
49356         * math/s_csinh.c Likewise.
49357         * math/s_csinhf.c: Likewise.
49358         * math/s_csinhl.c: Likewise.
49359         * math/s_csinl.c: Likewise.
49360         * math/s_ctan.c: Likewise.
49361         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
49362         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
49363         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
49364
49365 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
49366
49367         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
49368         compilation problems.
49369
49370         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
49371         __builtin_expect.
49372
49373 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
49374
49375         * sysdeps/i386/configure.in: Test for -mfma4 option.
49376         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
49377         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
49378         COMMON_CPUID_INDEX_80000001.
49379         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
49380         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
49381         use it if FMA3 is not supported.
49382         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
49383
49384         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
49385         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
49386
49387 2011-10-20  Andreas Schwab  <schwab@redhat.com>
49388
49389         [BZ #12892]
49390         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
49391         it would create a cycle with a link time dependency.
49392
49393 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
49394
49395         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
49396         instruction.
49397         * string/Makefile (strop-tests): Add rawmemchr.
49398         * string/test-rawmemchr.c: New file.
49399
49400         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
49401         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
49402         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
49403         when compiling str{,n}casecmp and when AVX is available.  Hook up
49404         new optimized code in initializers.
49405
49406 2011-10-19  Andreas Schwab  <schwab@redhat.com>
49407
49408         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
49409         __feraiseexcept instead of feraiseexcept.
49410
49411 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
49412
49413         * math/math_private.h: Define defaults for libc_fetestexcept and
49414         libc_feupdateenv.
49415         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
49416         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
49417         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
49418         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
49419         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
49420         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
49421         libc_fetestexcept and libc_feupdateenv.
49422
49423         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
49424         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
49425         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
49426         * sysdeps/x86_64/fpu/math_private.h: Define special version of
49427         libc_feholdexcept_setround.
49428
49429         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
49430         Add s_nearbyint-c and s_nearbyintf-c.
49431         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
49432         nearbyintf inlines.
49433         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
49434         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
49435         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
49436         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
49437
49438         * math/math_private.h: Define defaults for libc_fegetround,
49439         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
49440         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
49441         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
49442         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
49443         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
49444         standard functions.
49445         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
49446         Remove comments and hacks for old compiler versions.
49447         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
49448         libc_fegetround, libc_fesetround, libc_feholdexcept, and
49449         libc_feholdexceptl.
49450
49451 2011-10-18  Andreas Schwab  <schwab@redhat.com>
49452
49453         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
49454         (__feraiseexcept_renamed): Add __NTH.
49455         (feraiseexcept): Add __NTH.  Rename local variables to fix
49456         namespace violations.
49457
49458 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
49459
49460         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
49461
49462         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
49463
49464         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
49465         recently added interfaces.
49466         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
49467
49468         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
49469         about macro parameter expansion.
49470
49471         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
49472         __NO_MATH_INLINES is defined.  Cleanups.
49473
49474         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
49475         and __floorf is target has SSE4.1.
49476         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
49477         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
49478         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
49479         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
49480
49481         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
49482         name.
49483         (floorf): Likewise.
49484
49485         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
49486
49487 2011-10-17  Andreas Schwab  <schwab@redhat.com>
49488
49489         * misc/sys/cdefs.h: Fix last change.
49490
49491         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
49492         database lookup.
49493
49494 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
49495
49496         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
49497
49498         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
49499         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
49500         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
49501         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
49502         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
49503         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
49504         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
49505         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
49506         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
49507         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
49508         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
49509         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
49510         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
49511         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
49512         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
49513         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
49514         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
49515         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
49516         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
49517         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
49518         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
49519         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
49520
49521         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
49522         ceil, ceilf, floor, floorf.
49523
49524         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
49525         Perform IRELATIVE relocations last.
49526
49527         * elf/do-rel.h: Add another parameter nrelative, replacing the
49528         local variable with the same name.  Change name of the function
49529         to end in Rel or Rela (uppercase).
49530         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
49531         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
49532         elf_dynamic_do_##reloc function.
49533
49534 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
49535
49536         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
49537         is sufficient, at least on modern CPUs.
49538
49539         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
49540
49541         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
49542         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
49543
49544         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
49545         __expl_finite.
49546         * math/bits/math-finite.h: Add entries for exp.
49547         * math/e_expl.c: Add __*_finite alias.
49548         * sysdeps/i386/fpu/e_exp.S: Likewise.
49549         * sysdeps/i386/fpu/e_expf.S: Likewise.
49550         * sysdeps/i386/fpu/e_expl.c: Likewise.
49551         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
49552         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
49553         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
49554         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
49555         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
49556         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
49557         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
49558
49559         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
49560         is sufficient, at least on modern CPUs.
49561
49562         * ctype/ctype-info.c (__ctype_init): Define.
49563         * include/ctype.h (__ctype_init): Declare.
49564         (__ctype_b_loc): The variable is always initialized.
49565         (__ctype_toupper_loc): Likewise.
49566         (__ctype_tolower_loc): Likewise.
49567         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
49568         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
49569
49570 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
49571
49572         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
49573
49574         * configure.in: Also look in $cxxmachine/include for C++ system
49575         headers.
49576
49577 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
49578
49579         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
49580         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
49581         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
49582         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
49583         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
49584         (USE_AS_WMEMCMP): New macro.
49585         Fixing indents.
49586         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
49587         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
49588         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
49589         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
49590         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
49591         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
49592         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
49593         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
49594         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
49595         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
49596         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
49597         (USE_AS_WMEMCMP): New macro.
49598         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
49599         * sysdeps/string/test-memcmp.c: Update.
49600         Fix simple_wmemcmp.
49601         Add new tests.
49602         * wcsmbs/wmemcmp.c: Update.
49603         (WMEMCMP): New macro.
49604         Fix overflow bug.
49605
49606 2011-10-12  Andreas Jaeger  <aj@suse.de>
49607
49608         [BZ #13268]
49609         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
49610
49611 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
49612
49613         * libio/iofwide.c (do_length): Avoid warning.
49614
49615         * ctype/ctype.h (__isctype_f): Add missing __THROW.
49616
49617 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
49618
49619         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
49620
49621         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
49622         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
49623         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
49624         * sysdeps/i386/i686/fpu/e_log.S: New file.
49625         * sysdeps/i386/i686/fpu/e_logf.S: New file.
49626         * sysdeps/i386/i686/fpu/e_logl.S: New file.
49627
49628         * ctype/ctype.h: Add support for inlined isXXX functions when
49629         compiling C++ code.
49630
49631 2011-10-14  Andreas Schwab  <schwab@redhat.com>
49632
49633         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
49634
49635         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
49636
49637 2011-10-13  Roland McGrath  <roland@hack.frob.com>
49638
49639         [BZ #13291]
49640         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
49641
49642 2011-10-13  Andreas Schwab  <schwab@redhat.com>
49643
49644         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
49645         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
49646         feraiseexcept.
49647
49648         * sysdeps/x86_64/memrchr.S: Check for zero size.
49649
49650         * string/stratcliff.c: Add memrchr tests.
49651
49652 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
49653
49654         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
49655         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
49656         rawmemchr-sse2 rawmemchr-sse2-bsf.
49657         * sysdeps/i386/i686/multiarch/memchr.S: New file.
49658         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
49659         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
49660         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
49661         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
49662         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
49663         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
49664         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
49665         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
49666         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
49667         * string/memrchr.c (MEMRCHR): New macro.
49668
49669 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
49670
49671         Add integration with gcc's -ffinite-math-only and optimize wrapper
49672         functions in libm.
49673         * Versions.def: Define GLIBC_2.15 version for libm.
49674         * math/Makefile (headers): Add bits/math-finite.h.
49675         * math/bits/math-finite.h: New file.
49676         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
49677         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
49678         * math/e_acoshl.c: Add __*_finite alias.
49679         * math/e_acosl.c: Likewise.
49680         * math/e_asinl.c: Likewise.
49681         * math/e_atan2l.c: Likewise.
49682         * math/e_atanhl.c: Likewise.
49683         * math/e_coshl.c: Likewise.
49684         * math/e_exp10.c: Likewise.
49685         * math/e_exp10f.c: Likewise.
49686         * math/e_exp10l.c: Likewise.
49687         * math/e_exp2l.c: Likewise.
49688         * math/e_fmodl.c: Likewise.
49689         * math/e_gammal_r.c: Likewise.
49690         * math/e_hypotl.c: Likewise.
49691         * math/e_j0l.c: Likewise.
49692         * math/e_j1l.c: Likewise.
49693         * math/e_jnl.c: Likewise.
49694         * math/e_lgammal_r.c: Likewise.
49695         * math/e_log10l.c: Likewise.
49696         * math/e_log2l.c: Likewise.
49697         * math/e_logl.c: Likewise.
49698         * math/e_powl.c: Likewise.
49699         * math/e_sinhl.c: Likewise.
49700         * math/e_sqrtl.c: Likewise.
49701         * math/e_scalb.c: Completely rewritten and optimized.
49702         * math/e_scalbf.c: Likewise.
49703         * math/e_scalbl.c: Likewise.
49704         * math/w_acos.c: Likewise.
49705         * math/w_acosf.c: Likewise.
49706         * math/w_acosl.c: Likewise.
49707         * math/w_acosh.c: Likewise.
49708         * math/w_acoshf.c: Likewise.
49709         * math/w_acoshl.c: Likewise.
49710         * math/w_asin.c: Likewise.
49711         * math/w_asinf.c: Likewise.
49712         * math/w_asinl.c: Likewise.
49713         * math/w_atan2.c: Likewise.
49714         * math/w_atan2f.c: Likewise.
49715         * math/w_atan2l.c: Likewise.
49716         * math/w_atanh.c: Likewise.
49717         * math/w_atanhf.c: Likewise.
49718         * math/w_atanhl.c: Likewise.
49719         * math/w_exp10.c: Likewise.
49720         * math/w_exp10f.c: Likewise.
49721         * math/w_exp10l.c: Likewise.
49722         * math/w_fmod.c: Likewise.
49723         * math/w_fmodf.c: Likewise.
49724         * math/w_fmodl.c: Likewise.
49725         * math/w_j0.c: Likewise.
49726         * math/w_j0f.c: Likewise.
49727         * math/w_j0l.c: Likewise.
49728         * math/w_j1.c: Likewise.
49729         * math/w_j1f.c: Likewise.
49730         * math/w_j1l.c: Likewise.
49731         * math/w_jn.c: Likewise.
49732         * math/w_jnf.c: Likewise.
49733         * math/w_log.c: Likewise.
49734         * math/w_logf.c: Likewise.
49735         * math/w_logl.c: Likewise.
49736         * math/w_log10.c: Likewise.
49737         * math/w_log10f.c: Likewise.
49738         * math/w_log10l.c: Likewise.
49739         * math/w_log2.c: Likewise.
49740         * math/w_log2f.c: Likewise.
49741         * math/w_log2l.c: Likewise.
49742         * math/w_pow.c: Likewise.
49743         * math/w_powf.c: Likewise.
49744         * math/w_powl.c: Likewise.
49745         * math/w_remainder.c: Likewise.
49746         * math/w_remainderf.c: Likewise.
49747         * math/w_remainderl.c: Likewise.
49748         * math/w_scalb.c: Likewise.
49749         * math/w_scalbf.c: Likewise.
49750         * math/w_scalbl.c: Likewise.
49751         * math/w_sqrt.c: Likewise.
49752         * math/w_sqrtf.c: Likewise.
49753         * math/w_sqrtl.c: Likewise.
49754         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
49755         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
49756         used.
49757         * math/math_private.h: Declare __kernel_standard_f.
49758         * math/w_cosh.c: Remove cruft and optimize a bit.
49759         * math/w_coshf.c: Likewise.
49760         * math/w_coshl.c: Likewise.
49761         * math/w_exp2.c: Likewise.
49762         * math/w_exp2f.c: Likewise.
49763         * math/w_exp2l.c: Likewise.
49764         * math/w_hypot.c: Likewise.
49765         * math/w_hypotf.c: Likewise.
49766         * math/w_hypotl.c: Likewise.
49767         * math/w_lgamma.c: Likewise.
49768         * math/w_lgamma_r.c: Likewise.
49769         * math/w_lgammaf.c: Likewise.
49770         * math/w_lgammaf_r.c: Likewise.
49771         * math/w_lgammal.c: Likewise.
49772         * math/w_lgammal_r.c: Likewise.
49773         * math/w_sinh.c: Likewise.
49774         * math/w_sinhf.c: Likewise.
49775         * math/w_sinhl.c: Likewise.
49776         * math/w_tgamma.c: Likewise.
49777         * math/w_tgammaf.c: Likewise.
49778         * math/w_tgammal.c: Likewise.
49779         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
49780         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
49781         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
49782         Minor optimizations.  Pretty printing.  Remove cruft.
49783         * sysdeps/i386/fpu/e_acosf.S: Likewise.
49784         * sysdeps/i386/fpu/e_acosh.S: Likewise.
49785         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
49786         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
49787         * sysdeps/i386/fpu/e_acosl.c: Likewise.
49788         * sysdeps/i386/fpu/e_asin.S: Likewise.
49789         * sysdeps/i386/fpu/e_asinf.S: Likewise.
49790         * sysdeps/i386/fpu/e_atan2.S: Likewise.
49791         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
49792         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
49793         * sysdeps/i386/fpu/e_atanh.S: Likewise.
49794         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
49795         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
49796         * sysdeps/i386/fpu/e_exp10.S: Likewise.
49797         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
49798         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
49799         * sysdeps/i386/fpu/e_exp2.S: Likewise.
49800         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
49801         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
49802         * sysdeps/i386/fpu/e_fmod.S: Likewise.
49803         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
49804         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
49805         * sysdeps/i386/fpu/e_hypot.S: Likewise.
49806         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
49807         * sysdeps/i386/fpu/e_log.S: Likewise.
49808         * sysdeps/i386/fpu/e_log10.S: Likewise.
49809         * sysdeps/i386/fpu/e_log10f.S: Likewise.
49810         * sysdeps/i386/fpu/e_log10l.S: Likewise.
49811         * sysdeps/i386/fpu/e_log2.S: Likewise.
49812         * sysdeps/i386/fpu/e_log2f.S: Likewise.
49813         * sysdeps/i386/fpu/e_log2l.S: Likewise.
49814         * sysdeps/i386/fpu/e_logf.S: Likewise.
49815         * sysdeps/i386/fpu/e_logl.S: Likewise.
49816         * sysdeps/i386/fpu/e_pow.S: Likewise.
49817         * sysdeps/i386/fpu/e_powf.S: Likewise.
49818         * sysdeps/i386/fpu/e_powl.S: Likewise.
49819         * sysdeps/i386/fpu/e_remainder.S: Likewise.
49820         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
49821         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
49822         * sysdeps/i386/fpu/e_scalb.S: Likewise.
49823         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
49824         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
49825         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
49826         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
49827         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
49828         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
49829         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
49830         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
49831         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
49832         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
49833         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
49834         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
49835         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
49836         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
49837         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
49838         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
49839         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
49840         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
49841         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
49842         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
49843         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
49844         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
49845         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
49846         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
49847         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
49848         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
49849         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
49850         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
49851         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
49852         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
49853         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
49854         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
49855         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
49856         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
49857         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
49858         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
49859         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
49860         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
49861         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
49862         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
49863         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
49864         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
49865         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
49866         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
49867         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
49868         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
49869         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
49870         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
49871         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
49872         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
49873         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
49874         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
49875         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
49876         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
49877         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
49878         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
49879         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
49880         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
49881         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
49882         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
49883         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
49884         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
49885         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
49886         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
49887         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
49888         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
49889         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
49890         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
49891         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
49892         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
49893         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
49894         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
49895         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
49896         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
49897         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
49898         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
49899         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
49900         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
49901         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
49902         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
49903         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
49904         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
49905         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
49906         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
49907         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
49908         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
49909         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
49910         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
49911         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
49912         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
49913         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
49914         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
49915         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
49916         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
49917         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
49918         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
49919         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
49920         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
49921         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
49922         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
49923         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
49924         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
49925         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
49926         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
49927         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
49928         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
49929         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
49930         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
49931         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
49932         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
49933         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
49934         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
49935         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
49936         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
49937         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
49938         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
49939         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
49940         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
49941         (__isnanf): Likewise.
49942         (__isinf_ns): Likewise.
49943         (__isinf_nsf): Likewise.
49944         (__finite): Likewise.
49945         (__finitef): Likewise.
49946         (__ieee754_sqrt): Define as macro.
49947         (__ieee754_sqrtf): Define as macro.
49948         (__ieee754_sqrtl): Define as macro.
49949         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
49950         inlined copy.
49951         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
49952         __FINITE_MATH_ONLY__ consistent.
49953         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
49954
49955 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
49956
49957         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
49958         of rawmemchr.
49959
49960         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
49961
49962 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
49963
49964         * po/ja.po: Update from translation team.
49965
49966 2011-10-08  Roland McGrath  <roland@hack.frob.com>
49967
49968         * locale/programs/locarchive.c (prepare_address_space): New function.
49969         (create_archive, enlarge_archive, open_archive): Use it.
49970
49971         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
49972         inside [SHARED], where it is used.
49973
49974         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
49975
49976         * nss/getent.c (netgroup_keys): Remove unused variable.
49977         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
49978
49979 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
49980
49981         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
49982         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
49983         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
49984         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
49985         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
49986         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
49987         * math/Makefile (libm-calls): Add s_isinf_ns.
49988         * math/divtc3.c: Use __isinf_nsl instead of isinf.
49989         * math/multc3.c: Likewise.
49990         * math/s_casin.c: Likewise.
49991         * math/s_casinf.c: Likewise.
49992         * math/s_casinl.c: Likewise.
49993         * math/s_ccos.c: Likewise.
49994         * math/s_ccosf.c: Likewise.
49995         * math/s_ccosl.c: Likewise.
49996         * math/s_ctan.c: Likewise.
49997         * math/s_ctanf.c: Likewise.
49998         * math/s_ctanh.c: Likewise.
49999         * math/s_ctanhf.c: Likewise.
50000         * math/s_ctanhl.c: Likewise.
50001         * math/s_ctanl.c: Likewise.
50002         * math/w_fmod.c: Likewise.
50003         * math/w_fmodf.c: Likewise.
50004         * math/w_fmodl.c: Likewise.
50005         * math/w_remainder.c: Likewise.
50006         * math/w_remainderf.c: Likewise.
50007         * math/w_remainderl.c: Likewise.
50008         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
50009         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
50010         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
50011         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
50012         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
50013         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
50014         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
50015         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
50016
50017         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
50018         of the number.
50019         * stdio-common/printf_fphex.c: Likewise.
50020         * stdio-common/printf_size.c: Likewise.
50021
50022         * math/e_exp10.c: Include math_private.h using <...> not "...".
50023         * math/e_exp10f.c: Likewise.
50024         * math/e_exp10l.c: Likewise.
50025         * math/e_exp2l.c: Likewise.
50026         * math/e_j0l.c: Likewise.
50027         * math/e_j1l.c: Likewise.
50028         * math/e_jnl.c: Likewise.
50029         * math/e_lgammal_r.c: Likewise.
50030         * math/e_rem_pio2l.c: Likewise.
50031         * math/e_scalb.c: Likewise.
50032         * math/e_scalbf.c: Likewise.
50033         * math/e_scalbl.c: Likewise.
50034         * math/k_cosl.c: Likewise.
50035         * math/k_sinl.c: Likewise.
50036         * math/k_tanl.c: Likewise.
50037         * math/s_cacoshf.c: Likewise.
50038         * math/s_catan.c: Likewise.
50039         * math/s_catanf.c: Likewise.
50040         * math/s_catanh.c: Likewise.
50041         * math/s_catanhf.c: Likewise.
50042         * math/s_catanhl.c: Likewise.
50043         * math/s_catanl.c: Likewise.
50044         * math/s_ccosh.c: Likewise.
50045         * math/s_ccoshf.c: Likewise.
50046         * math/s_ccoshl.c: Likewise.
50047         * math/s_cexp.c: Likewise.
50048         * math/s_cexpf.c: Likewise.
50049         * math/s_cexpl.c: Likewise.
50050         * math/s_clog.c: Likewise.
50051         * math/s_clog10.c: Likewise.
50052         * math/s_clog10f.c: Likewise.
50053         * math/s_clog10l.c: Likewise.
50054         * math/s_clogf.c: Likewise.
50055         * math/s_clogl.c: Likewise.
50056         * math/s_csin.c: Likewise.
50057         * math/s_csinf.c: Likewise.
50058         * math/s_csinh.c: Likewise.
50059         * math/s_csinhf.c: Likewise.
50060         * math/s_csinhl.c: Likewise.
50061         * math/s_csinl.c: Likewise.
50062         * math/s_csqrt.c: Likewise.
50063         * math/s_csqrtf.c: Likewise.
50064         * math/s_csqrtl.c: Likewise.
50065         * math/s_ctan.c: Likewise.
50066         * math/s_ctanf.c: Likewise.
50067         * math/s_ctanh.c: Likewise.
50068         * math/s_ctanhf.c: Likewise.
50069         * math/s_ctanhl.c: Likewise.
50070         * math/s_ctanl.c: Likewise.
50071         * math/s_ldexp.c: Likewise.
50072         * math/s_ldexpf.c: Likewise.
50073         * math/s_ldexpl.c: Likewise.
50074         * math/s_significand.c: Likewise.
50075         * math/s_significandf.c: Likewise.
50076         * math/s_significandl.c: Likewise.
50077         * math/w_acos.c: Likewise.
50078         * math/w_acosf.c: Likewise.
50079         * math/w_acosh.c: Likewise.
50080         * math/w_acoshf.c: Likewise.
50081         * math/w_acoshl.c: Likewise.
50082         * math/w_acosl.c: Likewise.
50083         * math/w_asin.c: Likewise.
50084         * math/w_asinf.c: Likewise.
50085         * math/w_asinl.c: Likewise.
50086         * math/w_atan2.c: Likewise.
50087         * math/w_atan2f.c: Likewise.
50088         * math/w_atan2l.c: Likewise.
50089         * math/w_atanh.c: Likewise.
50090         * math/w_atanhf.c: Likewise.
50091         * math/w_atanhl.c: Likewise.
50092         * math/w_cosh.c: Likewise.
50093         * math/w_coshf.c: Likewise.
50094         * math/w_coshl.c: Likewise.
50095         * math/w_dremf.c: Likewise.
50096         * math/w_exp10.c: Likewise.
50097         * math/w_exp10f.c: Likewise.
50098         * math/w_exp10l.c: Likewise.
50099         * math/w_exp2.c: Likewise.
50100         * math/w_exp2f.c: Likewise.
50101         * math/w_fmod.c: Likewise.
50102         * math/w_fmodf.c: Likewise.
50103         * math/w_fmodl.c: Likewise.
50104         * math/w_hypot.c: Likewise.
50105         * math/w_hypotf.c: Likewise.
50106         * math/w_hypotl.c: Likewise.
50107         * math/w_j0.c: Likewise.
50108         * math/w_j0f.c: Likewise.
50109         * math/w_j0l.c: Likewise.
50110         * math/w_j1.c: Likewise.
50111         * math/w_j1f.c: Likewise.
50112         * math/w_j1l.c: Likewise.
50113         * math/w_jn.c: Likewise.
50114         * math/w_jnf.c: Likewise.
50115         * math/w_jnl.c: Likewise.
50116         * math/w_lgamma.c: Likewise.
50117         * math/w_lgamma_r.c: Likewise.
50118         * math/w_lgammaf.c: Likewise.
50119         * math/w_lgammaf_r.c: Likewise.
50120         * math/w_lgammal.c: Likewise.
50121         * math/w_lgammal_r.c: Likewise.
50122         * math/w_log.c: Likewise.
50123         * math/w_log10.c: Likewise.
50124         * math/w_log10f.c: Likewise.
50125         * math/w_log10l.c: Likewise.
50126         * math/w_log2.c: Likewise.
50127         * math/w_log2f.c: Likewise.
50128         * math/w_log2l.c: Likewise.
50129         * math/w_logf.c: Likewise.
50130         * math/w_logl.c: Likewise.
50131         * math/w_pow.c: Likewise.
50132         * math/w_powf.c: Likewise.
50133         * math/w_powl.c: Likewise.
50134         * math/w_remainder.c: Likewise.
50135         * math/w_remainderf.c: Likewise.
50136         * math/w_remainderl.c: Likewise.
50137         * math/w_scalb.c: Likewise.
50138         * math/w_scalbf.c: Likewise.
50139         * math/w_scalbl.c: Likewise.
50140         * math/w_sinh.c: Likewise.
50141         * math/w_sinhf.c: Likewise.
50142         * math/w_sinhl.c: Likewise.
50143         * math/w_sqrt.c: Likewise.
50144         * math/w_sqrtf.c: Likewise.
50145         * math/w_sqrtl.c: Likewise.
50146         * math/w_tgamma.c: Likewise.
50147         * math/w_tgammaf.c: Likewise.
50148         * math/w_tgammal.c: Likewise.
50149
50150         * po/ja.po: Update from translation team.
50151
50152 2011-09-29  Andreas Jaeger  <aj@suse.de>
50153
50154         [BZ #13179]
50155         * sunrpc/netname.c (netname2host): Fix logic.
50156
50157         [BZ #6779]
50158         [BZ #6783]
50159         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
50160         correctly.
50161         * math/w_remainder.c (__remainder): Likewise.
50162         * math/w_remainderf.c (__remainderf): Likewise.
50163         * math/libm-test.inc (remainder_test): Add test cases.
50164
50165 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50166
50167         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
50168         sdiv_qrnnd.
50169
50170 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
50171
50172         * string/test-memcmp.c: Avoid unncessary #defines.
50173         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
50174
50175 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
50176
50177         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
50178         Use new sse2 version for core i3 - i7 as it's faster
50179         than sse42 version.
50180         (bit_Prefer_PMINUB_for_stringop): New.
50181         * sysdeps/x86_64/rawmemchr.S: Update.
50182         Replace with faster SSE2 version.
50183         * sysdeps/x86_64/memrchr.S: New file.
50184         * sysdeps/x86_64/memchr.S: Update.
50185         Replace with faster SSE2 version.
50186
50187 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
50188
50189         * elf/dl-load.c (lose): Add cast to avoid warning.
50190
50191 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
50192
50193         * po/ca.po: Update from translation team.
50194
50195         * inet/getnetgrent_r.c: Hook up nscd.
50196         * nscd/Makefile (routines): Add nscd_netgroup.
50197         (nscd-modules): Add netgroupcache.
50198         (CFLAGS-netgroupcache.c): Define.
50199         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
50200         (cache_search): Add const to second parameter.
50201         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
50202         INNETGR.
50203         (dbs): Add netgrdb entry.
50204         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
50205         (verify_persistent_db): Handle netgrdb.
50206         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
50207         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
50208         GETFDNETGR.
50209         (netgroup_response_header): Define.
50210         (innetgroup_response_header): Define.
50211         (datahead): Add netgroup_response_header and innetgroup_response_header
50212         elements.
50213         * nscd/nscd.conf: Add entries for netgroup cache.
50214         * nscd/nscd.h (dbtype): Add netgrdb.
50215         (_PATH_NSCD_NETGROUP_DB): Define.
50216         (netgroup_iov_disabled): Declare.
50217         (xmalloc, xcalloc, xrealloc): Move declarations here.
50218         (cache_search): Adjust prototype.
50219         Add netgroup-related prototypes.
50220         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
50221         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
50222         (__nscd_innetgr): Declare.
50223         * nscd/selinux.c (perms): Use access_vector_t as element type and
50224         add netgroup-related initializers.
50225         * nscd/netgroupcache.c: New file.
50226         * nscd/nscd_netgroup.c: New file.
50227         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
50228         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
50229         For four parameters use innetgr.
50230         * nss/nss_files/files-init.c: Add definition and callback for netgr.
50231         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
50232         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
50233         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
50234
50235         * nscd/connections.c (register_traced_file): Don't register file
50236         for disabled databases.
50237
50238 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
50239
50240         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
50241
50242         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
50243         from tree and freeing node.
50244
50245 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
50246
50247         * nss/nsswitch.c (__nss_database_lookup): Handle
50248         nss_parse_service_list out of memory case.
50249
50250 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
50251
50252         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
50253         out of memory case.
50254
50255 2011-10-04  Andreas Schwab  <schwab@redhat.com>
50256
50257         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
50258         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
50259         pass it down.
50260         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
50261         elf_machine_rela, elf_machine_lazy_rel.
50262         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
50263         (ELF_DYNAMIC_DO_REL): Likewise.
50264         (ELF_DYNAMIC_DO_RELA): Likewise.
50265         (ELF_DYNAMIC_RELOCATE): Likewise.
50266         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
50267         to ELF_DYNAMIC_DO_REL.
50268         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
50269         (dl_main): In trace mode always set __RTLD_NOIFUNC.
50270         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
50271         elf_machine_rela.
50272         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
50273         skip_ifunc, don't call ifunc function if non-zero.
50274         (elf_machine_rela): Likewise.
50275         (elf_machine_lazy_rel): Likewise.
50276         (elf_machine_lazy_rela): Likewise.
50277         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
50278         (elf_machine_lazy_rel): Likewise.
50279         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
50280         Likewise.
50281         (elf_machine_lazy_rel): Likewise.
50282         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
50283         Likewise.
50284         (elf_machine_lazy_rel): Likewise.
50285         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
50286         (elf_machine_lazy_rel): Likewise.
50287         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
50288         (elf_machine_lazy_rel): Likewise.
50289         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
50290         (elf_machine_lazy_rel): Likewise.
50291         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
50292         (elf_machine_lazy_rel): Likewise.
50293         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
50294         (elf_machine_lazy_rel): Likewise.
50295         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
50296         (elf_machine_lazy_rel): Likewise.
50297
50298 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
50299
50300         * nss/nss_files/files-init.c (_nss_files_init): Use static
50301         initialization for all the *_traced_file variables.
50302
50303 2011-09-28  Andreas Schwab  <schwab@redhat.com>
50304
50305         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
50306
50307 2011-09-27  Roland McGrath  <roland@hack.frob.com>
50308
50309         [BZ #13226]
50310         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
50311
50312 2011-09-27  Andreas Schwab  <schwab@redhat.com>
50313
50314         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
50315         Reread the line before reparsing it.
50316
50317 2011-09-26  Andreas Schwab  <schwab@redhat.com>
50318
50319         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
50320
50321 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
50322             Maxim Kuvyrkov  <maxim@codesourcery.com>
50323             Joseph Myers  <joseph@codesourcery.com>
50324
50325         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
50326         if needed for __stack_chk_guard.
50327
50328 2011-09-19  Roland McGrath  <roland@hack.frob.com>
50329
50330         * sysdeps/posix/spawni.c (script_execute): Always define it.
50331         It will be optimized away if unused.
50332         (maybe_script_execute): New function.
50333         (__spawni): Call it.
50334
50335         * Makerules: Don't include tls.make.
50336         (config-tls): Always set to thread.
50337         * tls.make.c: File removed.
50338
50339 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
50340
50341         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
50342         * config.make.in (CPPFLAGS-config): New substituted variable.
50343
50344 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
50345
50346         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
50347
50348         [BZ #13192]
50349         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
50350         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
50351
50352 2011-09-15  Roland McGrath  <roland@hack.frob.com>
50353
50354         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
50355         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
50356         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
50357         (CALL_FAIL): Likewise.
50358         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
50359         (CALL_FAIL): Macro removed.
50360         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
50361
50362 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
50363
50364         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
50365         for __FINITE_MATH_ONLY__ == 1.
50366
50367 2011-09-15  Andreas Schwab  <schwab@redhat.com>
50368
50369         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
50370         __ieee754_sqrt instead of sqrt.
50371         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
50372         __ieee754_sqrtf instead of sqrtf.
50373         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
50374         __floorf instead of floorf.
50375         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
50376         __floorf, __truncf instead of floorf, truncf.
50377
50378 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
50379
50380         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
50381
50382         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
50383         __extern_always_inline.
50384         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
50385         32-bit.
50386
50387 2011-09-14  Andreas Schwab  <schwab@redhat.com>
50388
50389         * elf/rtld.c (dl_main): Also relocate in dependency order when
50390         doing symbol dependency testing.
50391
50392 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
50393
50394         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
50395         Always define `refsym'.
50396
50397 2011-09-13  Andreas Schwab  <schwab@redhat.com>
50398
50399         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
50400         (__FD_ELT): Renamed from __FDELT.
50401         * misc/bits/select2.h (__FD_ELT): Likewise.
50402         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
50403         __FD_MASK instead of __FDELT, __FDMASK.
50404         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
50405         Likewise.
50406         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
50407         Likewise.
50408
50409         * elf/Makefile (gen-ldd): Fix pattern.
50410
50411         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
50412         (init_tls): Likewise.
50413
50414 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
50415
50416         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
50417
50418 2011-09-12  Andreas Schwab  <schwab@redhat.com>
50419
50420         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
50421         `struct cmsghdr *' instead of `void *'.
50422         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
50423         Likewise.
50424
50425 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
50426
50427         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
50428         if non-absolute.
50429         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
50430         ldd_rewrite_script.
50431
50432 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
50433
50434         * configure.in: Remove --with-tls option.
50435         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
50436         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
50437         out in case it is missing.
50438         * sysdeps/ia64/elf/configure.in: Likewise.
50439         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
50440         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
50441         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
50442         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
50443         * sysdeps/sh/elf/configure.in: Likewise.
50444         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
50445         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
50446         * sysdeps/x86_64/elf/configure.in: Likewise.
50447         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
50448         * sysdeps/mach/hurd/tls.h: Likewise.
50449
50450         [BZ #13067]
50451         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
50452
50453         [BZ #13090]
50454         * configure.in: Fix use of AC_INIT.
50455
50456         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
50457
50458 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
50459
50460         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
50461         __set_errno.
50462         * malloc/hooks.c: Likewise.
50463
50464         [BZ #11929]
50465         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
50466         variables statically.
50467         (narenas): Initialize.
50468         (list_lock): Initialize.
50469         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
50470         initializtion of main_arena and list_lock.  Small cleanups.
50471         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
50472         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
50473         Add initializers to main_arena and mp_.
50474         (malloc_state): Remove pagesize member.  Change all users to use
50475         GLRO(dl_pagesize).
50476
50477         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
50478         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
50479         is always initialized.
50480
50481         * malloc/malloc.c: Removed unused configurations and dead code.
50482         * malloc/arena.c: Likewise.
50483         * malloc/hooks.c: Likewise.
50484         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
50485
50486         * include/tls.h: Removed.  USE___THREAD must always be defined.
50487         * bits/libc-tsd.h: Don't handle !USE___THREAD.
50488         * elf/dl-libc.c: Likewise.
50489         * elf/dl-tsd.c: Likewise.
50490         * include/errno.h: Likewise.
50491         * include/netdb.h: Likewise.
50492         * include/resolv.h: Likewise.
50493         * inet/herrno-loc.c: Likewise.
50494         * inet/herrno.c: Likewise.
50495         * malloc/arena.c: Likewise.
50496         * malloc/hooks.c: Likewise.
50497         * malloc/malloc.c: Likewise.
50498         * resolv/res-state.c: Likewise.
50499         * resolv/res_libc.c: Likewise.
50500         * sysdeps/i386/dl-machine.h: Likewise.
50501         * sysdeps/ia64/dl-machine.h: Likewise.
50502         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
50503         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
50504         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
50505         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
50506         * sysdeps/sh/dl-machine.h: Likewise.
50507         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
50508         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
50509         * sysdeps/unix/i386/sysdep.S: Likewise.
50510         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
50511         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
50512         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
50513         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
50514         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
50515         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
50516         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
50517         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
50518         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
50519         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
50520         * sysdeps/unix/x86_64/sysdep.S: Likewise.
50521         * sysdeps/x86_64/dl-machine.h: Likewise.
50522         * tls.make.c: Likewise.
50523
50524         * configure.in: Remove --with-__thread option.  Make tests for
50525         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
50526         tls_model attribute fail if no support is available.  Remove
50527         USE_IN_LIBIO.
50528         * Makeconfig: Adjust for dropped configure option.  All features are
50529         now mandatory.
50530         * Makerules: Likewise.
50531         * Versions.def: Likewise.
50532         * argp/argp-fmtstream.c: Likewise.
50533         * argp/argp-fmtstream.h: Likewise.
50534         * argp/argp-help.c: Likewise.
50535         * assert/assert.c: Likewise.
50536         * config.h.in: Likewise.
50537         * config.make.in: Likewise.
50538         * configure: Likewise.
50539         * configure.in: Likewise.
50540         * csu/Versions: Likewise.
50541         * csu/init.c: Likewise.
50542         * elf/tst-audit2.c: Likewise.
50543         * elf/tst-tls10.c: Likewise.
50544         * elf/tst-tls10.h: Likewise.
50545         * elf/tst-tls11.c: Likewise.
50546         * elf/tst-tls12.c: Likewise.
50547         * elf/tst-tls14.c: Likewise.
50548         * elf/tst-tlsmod11.c: Likewise.
50549         * elf/tst-tlsmod12.c: Likewise.
50550         * elf/tst-tlsmod13.c: Likewise.
50551         * elf/tst-tlsmod13a.c: Likewise.
50552         * elf/tst-tlsmod14a.c: Likewise.
50553         * elf/tst-tlsmod15b.c: Likewise.
50554         * elf/tst-tlsmod16a.c: Likewise.
50555         * elf/tst-tlsmod16b.c: Likewise.
50556         * elf/tst-tlsmod7.c: Likewise.
50557         * elf/tst-tlsmod8.c: Likewise.
50558         * elf/tst-tlsmod9.c: Likewise.
50559         * gmon/gmon.c: Likewise.
50560         * grp/fgetgrent_r.c: Likewise.
50561         * grp/putgrent.c: Likewise.
50562         * hurd/fopenport.c: Likewise.
50563         * include/libc-symbols.h: Likewise.
50564         * include/tls.h: Likewise.
50565         * intl/gettextP.h: Likewise.
50566         * intl/loadinfo.h: Likewise.
50567         * locale/global-locale.c: Likewise.
50568         * locale/localeinfo.h: Likewise.
50569         * mach/devstream.c: Likewise.
50570         * malloc/arena.c: Likewise.
50571         * malloc/set-freeres.c: Likewise.
50572         * misc/err.c: Likewise.
50573         * misc/getttyent.c: Likewise.
50574         * misc/mntent_r.c: Likewise.
50575         * posix/getopt.c: Likewise.
50576         * posix/wordexp.c: Likewise.
50577         * pwd/fgetpwent_r.c: Likewise.
50578         * resolv/Versions: Likewise.
50579         * resolv/res_hconf.c: Likewise.
50580         * shadow/fgetspent_r.c: Likewise.
50581         * shadow/putspent.c: Likewise.
50582         * stdio-common/printf_fphex.c: Likewise.
50583         * stdio-common/tmpfile.c: Likewise.
50584         * stdlib/abort.c: Likewise.
50585         * stdlib/fmtmsg.c: Likewise.
50586         * sunrpc/auth_unix.c: Likewise.
50587         * sunrpc/clnt_perr.c: Likewise.
50588         * sunrpc/clnt_tcp.c: Likewise.
50589         * sunrpc/clnt_udp.c: Likewise.
50590         * sunrpc/clnt_unix.c: Likewise.
50591         * sunrpc/openchild.c: Likewise.
50592         * sunrpc/svc_simple.c: Likewise.
50593         * sunrpc/svc_tcp.c: Likewise.
50594         * sunrpc/svc_udp.c: Likewise.
50595         * sunrpc/svc_unix.c: Likewise.
50596         * sunrpc/xdr.c: Likewise.
50597         * sunrpc/xdr_array.c: Likewise.
50598         * sunrpc/xdr_rec.c: Likewise.
50599         * sunrpc/xdr_ref.c: Likewise.
50600         * sunrpc/xdr_stdio.c: Likewise.
50601
50602 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
50603
50604         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
50605
50606 2011-07-03  Andreas Jaeger  <aj@suse.de>
50607
50608         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
50609         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
50610         regenerate with gen-libm-tests.pl.
50611
50612 2010-05-12  Petr Baudis  <pasky@suse.cz>
50613
50614         [BZ #11589]
50615         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
50616         around j0() zero points by switching to j1().
50617         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
50618         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
50619         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
50620         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
50621
50622 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
50623
50624         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
50625         instead of 0.
50626         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
50627         instead of 0.
50628         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
50629         Patch in part by Pavel Roskin <proski@gnu.org>.
50630
50631         [BZ #13138]
50632         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
50633         realloc.
50634         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
50635         Free memory block if necessary.
50636
50637         [BZ #12847]
50638         * libio/genops.c (INTDEF): For string streams the _lock pointer can
50639         be NULL.  Don't lock in this case.
50640
50641 2011-09-09  Roland McGrath  <roland@hack.frob.com>
50642
50643         * elf/elf.h (ELFOSABI_GNU): New macro.
50644         (ELFOSABI_LINUX): Define to that.
50645
50646 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
50647
50648         * string/strncat.c (strncat): Undef the symbol in case it has been
50649         defined in bits/string.h.
50650
50651 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
50652
50653         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
50654
50655         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
50656         link map.
50657
50658 2011-08-17  Andreas Jaeger  <aj@suse.de>
50659
50660         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
50661
50662 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
50663             Ian Lance Taylor  <iant@google.com>
50664
50665         * math/libm-test.inc (lround_test): New testcase.
50666         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
50667
50668 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
50669
50670         * Makefile: Remove support for automatic cvs check-ins.
50671         * Makerules: Likewise.
50672         * config.make.in: Likewise.
50673         * configure.in: Likewise.
50674         * intl/Makefile: Likewise.
50675         * locale/Makefile: Likewise.
50676         * po/Makefile: Likewise.
50677         * posix/Makefile: Likewise.
50678         * sysdeps/gnu/Makefile: Likewise.
50679         * sysdeps/mach/hurd/Makefile: Likewise.
50680         * sysdeps/sparc/sparc32/Makefile: Likewise.
50681
50682         [BZ #13118]
50683         * posix/Makefile (bug-regex32-ENV): Define.
50684         Patch by John Stanley <jpsinthemix@verizon.net>.
50685
50686         * misc/Makefile (headers): Add bits/select2.h.
50687         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
50688         * misc/bits/select2.h: New file.
50689         * include/bits/select2.h: New file.
50690         * debug/Makefile (routines): Add fdelt_chk.
50691         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
50692         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
50693         FD_ISSET.
50694         * debug/fdelt_chk.c: New file.
50695
50696         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
50697         * wcsmbs/test-wmemcmp.c: Likewise.
50698         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
50699         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
50700
50701 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
50702
50703         * string/Makefile (strop-tests): Add memcmp.
50704         * string/test-wmemcmp.c: New file.
50705         * string/test-memcmp.c: Add wmemcmp support.
50706
50707 2011-09-08  Roland McGrath  <roland@hack.frob.com>
50708
50709         [BZ #13153]
50710         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
50711         2011-07-19 change.
50712
50713         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
50714         garbage value in a __mach_port_mod_refs call in the cases of the
50715         task-self and thread-self ports.
50716
50717 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50718
50719         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
50720
50721 2011-09-08  Andreas Schwab  <schwab@redhat.com>
50722
50723         * elf/dl-load.c (lose): Check for non-null L.
50724
50725 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
50726
50727         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
50728
50729         * elf/dl-libc.c (dlerror_run): Pass back error code from
50730         dl_catch_error.
50731
50732         [BZ #13123]
50733         * elf/dl-load.c (lose): Free l_origin if it is valid.
50734
50735         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
50736         names.
50737         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
50738         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
50739         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
50740         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
50741         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
50742         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
50743
50744 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50745
50746         * sysdeps/powerpc/fpu/e_hypot.c: New file.
50747         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
50748         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
50749         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
50750         * sysdeps/powerpc/fpu/k_cosf.c: New file.
50751         * sysdeps/powerpc/fpu/k_sinf.c: New file.
50752         * sysdeps/powerpc/fpu/s_cosf.c: New file.
50753         * sysdeps/powerpc/fpu/s_sinf.c: New file.
50754         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
50755         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
50756
50757 2011-08-15  Alan Modra  <amodra@gmail.com>
50758
50759         [BZ #13092]
50760         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
50761         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
50762         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
50763         ppc_mcount to static-only-routines.
50764         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
50765         __mcount_internal.
50766         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
50767         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
50768
50769 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
50770
50771         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
50772         for finite and infinity parameters.
50773
50774 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
50775
50776         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
50777         and add nop instructions for throughput optimization.
50778         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
50779
50780 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
50781
50782         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
50783         aligned copy for power7 with vector-scalar instructions.
50784         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
50785
50786 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
50787
50788         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
50789         AVX check.
50790
50791 2011-09-07  Andreas Schwab  <schwab@redhat.com>
50792
50793         [BZ #13144]
50794         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
50795         last change.
50796
50797 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
50798
50799         * sysdeps/unix/sysv/linux/x86_64/init-first.c
50800         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
50801         syscall wrapper around clock_gettime in __vdso_clock_gettime.
50802         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
50803         clock_gettime.
50804
50805 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
50806
50807         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
50808         Forgot to demangle the pointer.
50809
50810         * sysdeps/i386/sysdep.h: Define atom_text_section.
50811         * sysdeps/x86_64/sysdep.h: Likewise.
50812         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
50813         section with atom_text_section.
50814         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
50815         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
50816         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
50817         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
50818         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
50819
50820         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
50821         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
50822         already be defined.  Change to take two parameters and don't assign
50823         result to variable.  Adjust all users.
50824         Define INTERNAL_GETTIME if not already defined.
50825         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
50826         call.
50827         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
50828         HAVE_CLOCK_GETTIME_VSYSCALL.
50829         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
50830
50831         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
50832         gettimeofday vsyscall, just use time.
50833
50834 2011-09-06  Andreas Schwab  <schwab@redhat.com>
50835
50836         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
50837         <errno.h>.
50838
50839 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
50840
50841         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
50842         syscall on x86-64.
50843         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
50844         syscall.
50845         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
50846         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
50847         syscall if possible.
50848
50849 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
50850
50851         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
50852         e_ident.  Don't pass to find_mapsXX.
50853         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
50854
50855 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
50856
50857         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
50858         strchr-sse2-no-bsf strrchr-sse2-no-bsf
50859         * sysdeps/x86_64/multiarch/strchr.S: Update.
50860         Check bit_slow_BSF bit.
50861         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
50862         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
50863         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
50864
50865 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
50866
50867         [BZ #13134]
50868         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
50869         before glibc 2.15.
50870         (tryshell): Define.
50871         (__spawni): Change last parameter to be flag.  Test
50872         SPAWN_XFLAGS_USE_PATH flag to use path or not.
50873         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
50874         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
50875         * posix/spawni.c: Likewise.
50876         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
50877         * posix/spawnp.c: Likewise.  Change normal version to use
50878         SPAWN_XFLAGS_USE_PATH.
50879         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
50880         SPAWN_XFLAGS_TRY_SHELL.
50881
50882         [BZ #13150]
50883         * posix/glob.h: Remove gcc 1.x support.
50884
50885         [BZ #13068]
50886         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
50887
50888 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
50889
50890         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
50891         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
50892         strrchr-sse2-bsf
50893         * sysdeps/i386/i686/multiarch/strchr.S: New file.
50894         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
50895         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
50896         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
50897         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
50898         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
50899
50900 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
50901
50902         * sysdeps/x86_64/wcscmp.S: New file.
50903
50904         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
50905         wcscmp-c wcscmp-sse2
50906         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
50907         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
50908         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
50909         * wcsmbs/wcscmp.c: Allow renaming.
50910
50911 2011-09-05  David S. Miller  <davem@davemloft.net>
50912
50913         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
50914         stack slot, rather than the struct return pointer slot.
50915         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
50916         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
50917         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
50918         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
50919
50920 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
50921
50922         * po/ja.po: Update from translation team.
50923
50924         [BZ #13144]
50925         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
50926         kernel in 64-bit binaries.
50927
50928 2011-09-01  David S. Miller  <davem@davemloft.net>
50929
50930         * elf/elf.h (HWCAP_SPARC_*): Move to..
50931         * sysdeps/sparc/sysdep.h: this new file and add new values.
50932         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
50933         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
50934         _DL_HWCAP_COUNT to 24.
50935         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
50936         entries.
50937         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
50938         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
50939         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
50940         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
50941         instead of magic constants.
50942         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
50943
50944 2011-08-31  David S. Miller  <davem@davemloft.net>
50945
50946         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
50947         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
50948         Reimplement to do errno handling inline.
50949         (SYSCALL_ERROR_HANDLER): New macro.
50950         (__SYSCALL_STRING): Do not do errno handling in asm.
50951         (__CLONE_SYSCALL_STRING): Delete.
50952         (__INTERNAL_SYSCALL_STRING): Delete.
50953         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
50954         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
50955         (PSEUDO): Reimplement to do errno handling inline.
50956         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
50957         (SYSCALL_ERROR_HANDLER): New macro.
50958         (__SYSCALL_STRING): Do not do errno handling in asm.
50959         (__CLONE_SYSCALL_STRING): Delete.
50960         (__INTERNAL_SYSCALL_STRING): Delete.
50961         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
50962         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
50963         i386.
50964         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
50965         (inline_syscall*): Add 'err' argument.
50966         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
50967         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
50968         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
50969         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
50970
50971         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
50972         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
50973
50974 2011-08-30  Andreas Schwab  <schwab@redhat.com>
50975
50976         * elf/rtld.c (dl_main): Relocate objects in dependency order.
50977
50978 2011-08-29  Jiri Olsa <jolsa@redhat.com>
50979
50980         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
50981         directive.
50982
50983 2011-08-24  David S. Miller  <davem@davemloft.net>
50984
50985         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
50986
50987 2011-08-24  Andreas Schwab  <schwab@redhat.com>
50988
50989         * elf/Makefile: Add rules to build and run unload8 test.
50990         * elf/unload8.c: New file.
50991         * elf/unload8mod1.c: New file.
50992         * elf/unload8mod1x.c: New file.
50993         * elf/unload8mod2.c: New file.
50994         * elf/unload8mod3.c: New file.
50995
50996         * elf/dl-close.c (_dl_close_worker): Reset private search list if
50997         it wasn't used.
50998
50999 2011-08-23  David S. Miller  <davem@davemloft.net>
51000
51001         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
51002         subtract stack bias.
51003         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
51004         %sp not %fp in calculations.
51005         (_JMPBUF_UNWINDS_ADJ): Likewise.
51006
51007         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
51008         (aio_suspend): Call it to force an exception region around the
51009         AIO_MISC_WAIT() invocation.
51010
51011 2011-08-23  Andreas Schwab  <schwab@redhat.com>
51012
51013         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
51014         backslash.
51015
51016 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
51017
51018         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
51019         protection macro.
51020         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
51021         and <dl-machine.h>.
51022         (Elf64_FuncDesc): Remove.
51023
51024 2011-08-22  David S. Miller  <davem@davemloft.net>
51025
51026         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
51027         sigaltstack check, add missing cfi directives.
51028         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
51029         missing cfi directives, and sigaltstack handling.
51030
51031 2011-08-16  Andreas Schwab  <schwab@redhat.com>
51032
51033         [BZ #11724]
51034         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
51035         object is seen twice.
51036         * elf/dl-fini.c (_dl_sort_fini): Likewise.
51037
51038         * elf/Makefile (distribute): Add tst-initorder2.c.
51039         (tests): Add tst-initorder2.
51040         (modules-names): Add tst-initorder2a tst-initorder2b
51041         tst-initorder2c tst-initorder2d.  Add rules to build them.
51042         ($(objpfx)tst-initorder2.out): New rule.
51043         * elf/tst-initorder2.c: New file.
51044         * elf/tst-initorder2.exp: New file.
51045
51046 2011-08-22  Andreas Schwab  <schwab@redhat.com>
51047
51048         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
51049
51050         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
51051         dependencies back to end of function.
51052
51053         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
51054         $(elfobjdir)/ld.so.
51055
51056 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
51057
51058         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
51059         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
51060         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
51061         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
51062         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
51063         of __vdso_gettimeofday.
51064         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
51065         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
51066         attribute_hidden.
51067         (_libc_vdso_platform_setup): Remove initialization of
51068         __vdso_gettimeofday and __vdso_time.
51069
51070 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
51071
51072         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
51073         and fgetc_unlocked.
51074         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
51075         getc_unlocked.
51076
51077         * elf/dl-open.c (add_to_global): Report additions to the global scope
51078         for LD_DEBUG=scopes.
51079         (dl_open_worker): Also print scope of newly loaded dependencies.
51080         (_dl_show_scope): Indicate if there is no scope.
51081
51082         [BZ #13114]
51083         * stdio-common/Makefile (tests): Add bug24.
51084         * stdio-common/bug24.c: New file.
51085
51086 2011-08-19  Andreas Jaeger  <aj@suse.de>
51087
51088         [BZ #13114]
51089         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
51090         non-existant file when using close-on-exec mode.
51091
51092 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
51093
51094         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
51095         the very first instruction.
51096
51097         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
51098         the CFI state in the end.
51099         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
51100         inclusion of dl-trampoline.h.
51101         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
51102
51103 2011-08-19  Andreas Schwab  <schwab@redhat.com>
51104
51105         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
51106         expectations for long double.
51107
51108         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
51109         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
51110
51111 2011-08-14  David S. Miller  <davem@davemloft.net>
51112
51113         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
51114         artificual limit depends upon the system page size.
51115
51116 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
51117
51118         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
51119         * resolv/Makefile: Define CFLAGS-libresolv.
51120
51121 2011-08-17  Andreas Schwab  <schwab@redhat.com>
51122
51123         * nss/makedb.c (compute_tables): Make variables used in nested
51124         function static.
51125
51126 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
51127
51128         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
51129         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
51130         if buffer was too small.
51131
51132         * elf/pldd.c (main): Attach to all threads in the process.
51133         Rewrite /proc handling to use *at functions.
51134
51135 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
51136
51137         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
51138         specifies first scope to show.
51139         (dl_open_worker): Update callers.  Move printing scope of new
51140         object to before the relocation.
51141         * elf/rtld.c (dl_main): Update _dl_show_scope call.
51142         * sysdeps/generic/ldsodefs.h: Update declaration.
51143
51144         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
51145         string for the scope number.
51146
51147 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
51148
51149         * nscd/servicescache.c (cache_addserv): Make sure written is always
51150         initialized.
51151
51152 2011-08-14  Roland McGrath  <roland@hack.frob.com>
51153
51154         * sysdeps/i386/i486/bits/atomic.h
51155         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
51156         statement expression, so as to suppress "set but not used" warning.
51157         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
51158
51159         * string/strncat.c (STRNCAT): Use prototype definition.
51160
51161         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
51162         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
51163         -Iprograms here.
51164         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
51165         (localedef-modules): Add localedef.
51166         (locale-modules): Add locale.
51167
51168         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
51169         * elf/rtld.c (dl_main): Invert order of assignment in last change,
51170         to avoid a warning.
51171
51172 2011-08-14  David S. Miller  <davem@davemloft.net>
51173
51174         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
51175         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
51176
51177 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
51178
51179         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
51180         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
51181         * elf/rtld.c (dl_main): Set l_name of vDSO.
51182         Call _dl_show_scope when DL_DEBUG_SCOPES.
51183         (process_dl_debug): Recognize scopes flag and also set it for all.
51184         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
51185         Declare _dl_show_scope.
51186
51187         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
51188         (do_dlopen): Pass caller_dlopen to dl_open.
51189         (__libc_dlopen_mode): Initialize caller_dlopen.
51190
51191         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
51192         of libc.  Make tolower call locale-independent.  Optimize a bit by
51193         using isdigit instead of isalnum.
51194         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
51195
51196 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
51197
51198         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
51199         was a dependency or dynamically loaded.
51200
51201 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
51202
51203         * intl/l10nflist.c: Allow architecture-specific pop function.
51204         * sysdeps/x86_64/l10nflist.c: New file.
51205
51206         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
51207         classification.
51208
51209 2011-08-10  Andreas Schwab  <schwab@redhat.com>
51210
51211         * include/dirent.h: Add libc_hidden_proto for scandirat and
51212         scandirat64.  Don't declare __scandirat64.
51213         * dirent/scandirat.c: Add libc_hidden_def.
51214         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
51215         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
51216
51217 2011-08-10  David S. Miller  <davem@davemloft.net>
51218
51219         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
51220         enum.
51221         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
51222         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
51223         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
51224
51225 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
51226
51227         * Versions.def [libc]: Add GLIBC_2.15.
51228         * dirent/Makefile (routines): Add scandirat and scandirat64.
51229         * dirent/Versions [libc]: Export scandirat and scandirat64 for
51230         GLIBC_2.15.
51231         * dirent/dirent.h: Declare scandirat and scandirat64.
51232         * dirent/scandirat.c: New file.
51233         * dirent/scandirat64.c: New file.
51234         * sysdeps/wordsize-64/scandirat.c: New file.
51235         * sysdeps/wordsize-64/scandirat64.c: New file.
51236         * dirent/opendir.c: Define opendirat.
51237         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
51238         using scandirat.
51239         * dirent/scandir64.c: Adjust for scandir.c change.
51240         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
51241         __scandirat64, and __scandir_cancel_handler.
51242         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
51243         additional parameter and use openat instead of open (outside of ld.so).
51244         Add new __opendir as wrapper around __opendirat.
51245         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
51246         here without requiring old scandirat implementation.
51247
51248 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
51249
51250         * dirent/scandir.c (cancel_handler): Renamed to
51251         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
51252         defined.  Adjust users.
51253         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
51254         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
51255
51256 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
51257
51258         * string/test-string.h (IMPL): Use __STRING to expand name and then
51259         stringify it.
51260
51261         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
51262         of cleanups.
51263
51264 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
51265
51266         * string/Makefile: Update.
51267         (strop-tests): Append strncat.
51268         * string/test-wcscmp.c: New file.
51269         New comprehensive test for wcscmp.
51270         * string/test-strcmp.c: Update.
51271         (WIDE): New define.
51272
51273 2011-07-22  Andreas Schwab  <schwab@redhat.com>
51274
51275         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
51276         line.
51277
51278 2011-07-26  Andreas Schwab  <schwab@redhat.com>
51279
51280         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
51281         encoding to ACE if AI_IDN.
51282
51283 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
51284
51285         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
51286         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
51287
51288 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
51289
51290         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
51291         Fix overflow bug in strncat.
51292         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
51293
51294         * string/test-strncat.c: Update.
51295         Add new tests for checking overflow bugs.
51296
51297 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
51298
51299         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
51300         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
51301         * sysdeps/i386/i686/multiarch/strcat.S: New file.
51302         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
51303         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
51304         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
51305         * sysdeps/i386/i686/multiarch/strncat.S: New file.
51306         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
51307         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
51308
51309         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
51310         (USE_AS_STRCAT): Define.
51311         Add strcat and strncat support.
51312         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
51313
51314 2011-07-25  Andreas Schwab  <schwab@redhat.com>
51315
51316         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
51317         __n bigger than INT_MAX+1.
51318         (__strncmp_g): Likewise.
51319
51320 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
51321
51322         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
51323         * libio/stido.h: Likewise.
51324
51325         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
51326         (AF_NFC): Define.
51327         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
51328         (AF_NFC): Define.
51329
51330         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
51331         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
51332         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
51333         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
51334         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
51335
51336         [BZ #13021]
51337         * scripts/test-installation.pl: Don't expect libnss_test1 to be
51338         installed.
51339
51340         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
51341         typo.
51342         (_dl_x86_64_save_sse): Likewise.
51343
51344 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
51345
51346         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
51347         OSXSAVE.
51348         (_dl_x86_64_save_sse): Likewise.
51349
51350         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
51351
51352         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
51353
51354 2011-07-21  Andreas Schwab  <schwab@redhat.com>
51355
51356         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
51357         change.
51358         (_dl_x86_64_save_sse): Use correct AVX check.
51359
51360 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
51361
51362         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
51363         bug in strncpy/strncat.
51364         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
51365
51366 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
51367
51368         * string/tester.c (test_strcat): Add tests for different alignments
51369         of source and destination.
51370         (test_strncat): Likewise.
51371
51372 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
51373
51374         [BZ #12852]
51375         * posix/glob.c (glob): Check passed in values before using them in
51376         expressions to avoid some overflows.
51377         (glob_in_dir): Likewise.
51378
51379         [BZ #13007]
51380         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
51381         check for AVX enablement so that we don't crash with old kernels and
51382         new hardware.
51383         * elf/tst-audit4.c: Add same checks here.
51384         * elf/tst-audit6.c: Likewise.
51385
51386         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
51387
51388 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
51389
51390         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
51391
51392 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
51393
51394         * po/cs.po: Update from translation team.
51395         * po/bg.po: Likewise.
51396
51397 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
51398
51399         * misc/sys/cdefs.h: Add support for const attribute.
51400         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
51401         to gnu_dev_{major,minor,makedev} functions.
51402
51403 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
51404
51405         * intl/dcigettext.c (get_output_charset): Add missing bracket.
51406
51407 2011-07-20  Andreas Schwab  <schwab@redhat.com>
51408
51409         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
51410         strlen results.
51411
51412 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51413
51414         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
51415         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
51416         register in order to avoid conflicts with the soft frame pointer
51417         being held in r11 when necessary.
51418         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
51419         (INTERNAL_VSYSCALL_NCS): Likewise.
51420
51421 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
51422
51423         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
51424         * elf/dl-fini.c (_dl_fini): Adjust caller.
51425         * elf/dl-close.c (_dl_close_worker): Likewise.
51426         * sysdeps/generic/ldsodefs.h: Adjust declaration.
51427
51428 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
51429
51430         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
51431         "aux_cache->nlibs < 0".
51432
51433         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
51434         in the reload-count case.
51435
51436 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
51437
51438         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
51439         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
51440         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
51441         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
51442         * sysdeps/x86_64/multiarch/strcat.S: New file.
51443         * sysdeps/x86_64/multiarch/strncat.S: New file.
51444         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
51445         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
51446         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
51447         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
51448         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
51449         (USE_AS_STRCAT): Define.
51450         Add strcat and strncat support.
51451         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
51452         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
51453         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
51454         * string/strncat.c: Update.
51455         (USE_AS_STRNCAT): Define.
51456         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
51457         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
51458         and i7.
51459         * sysdeps/x86_64/multiarch/init-arch.h
51460         (bit_Prefer_PMINUB_for_stringop): New.
51461         (index_Prefer_PMINUB_for_stringop): Likewise.
51462         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
51463         bit_Prefer_PMINUB_for_stringop.
51464
51465 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
51466
51467         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
51468         buffer64.
51469         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
51470         of casting of buffer.
51471         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
51472         buffer32 and buffer64.
51473         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
51474         writes instead of casting of buffer.
51475         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
51476         buffer32.
51477         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
51478         casting of buffer.
51479
51480 2011-07-19  Andreas Schwab  <schwab@redhat.com>
51481
51482         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
51483
51484 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
51485
51486         * nscd/nscd.c (termination_handler): Don't do anything for a database
51487         if it has not yet been initialized.
51488
51489 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
51490
51491         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
51492
51493 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
51494
51495         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
51496
51497 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
51498
51499         * po/nl.po: Update from translation team.
51500         * po/sv.po: Likewise.
51501
51502 2011-07-16  Roland McGrath  <roland@hack.frob.com>
51503
51504         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
51505         now disallowed by GCC.
51506
51507         * configure.in (use-default-link): Default to yes if a test -shared
51508         link meets our qualifications.
51509         * configure: Regenerated.
51510
51511         * config.make.in (output-format): New variable.
51512         * configure.in: Check for ld --print-output-format support.
51513         * configure: Regenerated.
51514         * Makerules ($(common-objpfx)format.lds)
51515         [$(output-format) != unknown]: Just use $(output-format),
51516         instead of the linker-script munging.
51517
51518 2011-07-14  Roland McGrath  <roland@hack.frob.com>
51519
51520         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
51521         of $(common-objpfx)shlib.lds.
51522         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
51523
51524         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
51525         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
51526
51527         * configure.in (-z relro check): Adjust test code to add a large
51528         writable data section after it.
51529         * configure: Regenerated.
51530
51531 2011-07-11  Roland McGrath  <roland@hack.frob.com>
51532
51533         * configure.in (-z relro check): Fix test code to make the variable
51534         truly const.
51535         * configure: Regenerated.
51536
51537 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
51538
51539         * nscd/nscd.h (struct traced_file): Define.
51540         (struct database_dyn): Remove inotify_descr, reset_res, and filename
51541         elements.  Add traced_files.
51542         (inotify_fd): Declare.
51543         (register_traced_file): Declare.
51544         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
51545         (inotify_fd): Export.
51546         (resolv_conf_descr): Remove.
51547         (nscd_init): Move inotify descriptor creation to main.
51548         Don't register files for notification here.
51549         (register_traced_file): New function.
51550         (invalidate_cache): Don't use reset_res to determine whether to call
51551         res_init, go through the list of registered files.
51552         (main_loop_poll): The inotify descriptors are now stored in the
51553         structures for the traced files.
51554         (main_loop_epoll): Likewise
51555         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
51556         to __nss_disable_nscd.
51557         * nscd/cache.c (prune_cache): There is no single inotify descriptor
51558         for a database anymore.  Check the records for all the registered
51559         files instead.
51560         * nss/Makefile (libnss_files-routines): Add files-init.
51561         (libnss_db-routines): Add db-init.
51562         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
51563         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
51564         * nss/nss_db/db-init.c: New file.
51565         * nss/nss_files/files-init.c: New file.
51566         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
51567         __nss_lookup_function.
51568         (__nss_lookup_function): Call nss_load_library.
51569         (nss_load_all_libraries): New function.
51570         (__nss_disable_nscd): Take parameter with callback function for files
51571         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
51572         used for the cached services.
51573         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
51574         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
51575         options for features to all the files in nscd.
51576
51577         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
51578
51579 2011-07-10  Roland McGrath  <roland@hack.frob.com>
51580
51581         * csu/elf-init.c (__libc_csu_init): Comment typo.
51582
51583 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
51584
51585         * po/pl.po: Update from translation team.
51586         * po/ja.po: Likewise.
51587         * po/ru.po: Likewise.
51588         * po/ko.po: Likewise.
51589         * po/fr.po: Likewise.
51590
51591 2011-07-09  Roland McGrath  <roland@hack.frob.com>
51592
51593         * configure.in (.ctors/.dtors header and trailer check):
51594         Use an empirical test on a built program.
51595         * configure: Regenerated.
51596
51597         * configure.in (-z relro check): Use an empirical test on a built DSO.
51598         Detect, but do not require, on ia64.
51599         * configure: Regenerated.
51600
51601         * configure.in (READELF): Find it with AC_CHECK_TOOL.
51602         Update tests that use readelf to use $READELF instead.
51603         * configure: Regenerated.
51604
51605 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
51606
51607         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
51608         if the result is not used.
51609
51610 2011-07-05  Andreas Jaeger  <aj@suse.de>
51611
51612         [BZ#9696]
51613         * stdlib/tst-strtod.c: Add testcase.
51614
51615 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
51616
51617         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
51618         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
51619         The latter has a higher limit.  Take additional parameter to pass to
51620         the new function.
51621         (__pathconf): Pass file to __statfs_link_max.
51622         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
51623         __statfs_link_max.
51624         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
51625         __statfs_link_max.
51626
51627         [BZ #12868]
51628         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
51629         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
51630         Handle Lustre.
51631         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
51632         (__statfs_filesize_max): Likewise.
51633         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
51634
51635 2011-07-05  Andreas Jaeger  <aj@suse.de>
51636
51637         * resolv/res_comp.c (dn_skipname): Remove unused variable.
51638
51639 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
51640
51641         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
51642         `status' variable.
51643         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
51644         Likewise.
51645
51646 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
51647
51648         * Makefile (strop-tests): Add strncat.
51649         * string/test-strncat.c: New file.
51650
51651 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
51652
51653         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
51654
51655 2011-06-21  Andreas Jaeger  <aj@suse.de>
51656
51657         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
51658         Copy rule from iconvdata/Makefile.
51659
51660 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
51661
51662         [BZ #12922]
51663         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
51664         but no long options are defined, just return 'W'.
51665
51666 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
51667
51668         [BZ #9696]
51669         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
51670
51671 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
51672
51673         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
51674         netgroups to read.
51675         (innetgr): Likewise.
51676
51677 2011-07-05  Roland McGrath  <roland@hack.frob.com>
51678
51679         * config.make.in (install_root): Default to $(DESTDIR).
51680
51681 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
51682
51683         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
51684
51685 2011-07-02  Roland McGrath  <roland@hack.frob.com>
51686
51687         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
51688
51689         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
51690         containing directory rather than embedding absolute directory names.
51691
51692         * scripts/check-local-headers.sh: Rewritten using awk.
51693         Match by word, not by line.  Print error messages for matches.
51694         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
51695
51696         * Makerules [shlib-lds-flags empty]:
51697         ($(common-objpfx)libc_pic.opts): New target.
51698         ($(common-objpfx)libc_pic.os.clean): New target.
51699         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
51700
51701         * config.make.in (OBJCOPY): New variable.
51702         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
51703         * configure: Regenerated.
51704
51705         * config.make.in (use-default-link): New variable.
51706         * configure.in (use_default_link): Grok --with-default-link to set it.
51707         * configure: Regenerated.
51708         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
51709         (shlib-lds, shlib-lds-flags): Define to empty.
51710
51711         * Makerules (shlib-lds): New variable.
51712         (shlib-lds-flags): New variable.
51713         (build-shlib, build-moduile, build-module-asneeded): Use it.
51714         ($(common-objpfx)libc.so): Use $(shlib-lds).
51715         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
51716         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
51717
51718         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
51719         DT_FLAGS/DT_FLAGS_1 with zero flags.
51720
51721         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
51722         linker script munging.
51723
51724 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
51725
51726         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
51727         as 128-bit value.
51728         * crypt/sha512.c (sha512_process_block): Perform total addition using
51729         128-bit if possible.
51730         (__sha512_finish_ctx): Likewise.
51731         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
51732         as 64-bit value.
51733         * crypt/sha256.c (SWAP64): Define.
51734         (sha256_process_block): Perform total addition using 64-bit if
51735         possible.
51736         (__sha256_finish_ctx): Likewise.
51737
51738 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
51739
51740         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
51741         * nscd/initgrcache.c (addinitgroupsX): Likewise.
51742         * nscd/hstcache.c (cache_addhst): Likewise.
51743         * nscd/grpcache.c (cache_addgr): Likewise.
51744         * nscd/aicache.c (addhstaiX): Likewise
51745         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
51746
51747 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
51748
51749         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
51750         * nscd/initgrcache.c (addinitgroupsX): Likewise.
51751         * nscd/hstcache.c (cache_addhst): Likewise.
51752         * nscd/grpcache.c (cache_addgr): Likewise.
51753         * nscd/aicache.c (addhstaiX): Likewise
51754
51755 2011-07-01  Andreas Schwab  <schwab@redhat.com>
51756
51757         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
51758         domain only when needed.
51759
51760 2011-06-30  Andreas Schwab  <schwab@redhat.com>
51761
51762         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
51763         is always restored.
51764
51765 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
51766
51767         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
51768         are re-adding the entry.
51769         * nscd/servicescache.c (cache_addserv): Likewise.
51770
51771 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
51772
51773         * sysdeps/generic/dl-irel.h: fix protection against multiple
51774         inclusions.
51775         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
51776
51777 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
51778
51779         [BZ #12935]
51780         * malloc/memusage.sh: Fix quoting in message.
51781         * debug/xtrace.sh: Likewise.
51782
51783         * configure.in: Remove support for --experimental-malloc option, make
51784         it the default.
51785         * config.make.in: Likewise.
51786         * malloc/Makefile: Likewise.
51787
51788 2011-06-27  Andreas Schwab  <schwab@redhat.com>
51789
51790         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
51791         two-byte characters.
51792
51793 2011-06-27  Roland McGrath  <roland@hack.frob.com>
51794
51795         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
51796         AC_CACHE_CHECK invocation.
51797         * configure: Regenerated.
51798
51799         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
51800
51801 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
51802
51803         [BZ #12350]
51804         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
51805         bit from old_res_options.
51806
51807         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
51808
51809         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
51810         value type for setfct.
51811
51812 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
51813
51814         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
51815         __gettimeofday instead of gettimeofday.
51816
51817 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
51818
51819         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
51820
51821 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
51822
51823         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
51824
51825         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
51826         info.
51827
51828 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
51829
51830         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
51831         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
51832         strcpy-sse2-unaligned strncpy-sse2-unaligned
51833         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
51834         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
51835         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
51836         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
51837         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
51838         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
51839         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
51840         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
51841         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
51842         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
51843         (STRCPY): Support SSE2 and SSSE3 versions.
51844
51845 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
51846
51847         [BZ #12874]
51848         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
51849         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
51850         kernels which artificially limit size of requests.
51851
51852 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
51853
51854         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
51855         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
51856         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
51857         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
51858         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
51859         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
51860         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
51861         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
51862         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
51863         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
51864         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
51865         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
51866         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
51867         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
51868         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
51869         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
51870         Enable unaligned load optimization for Intel Core i3, i5 and i7
51871         processors.
51872         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
51873         Define.
51874         (index_Fast_Unaligned_Load): Define.
51875         (HAS_FAST_UNALIGNED_LOAD): Define.
51876
51877 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
51878
51879         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
51880
51881 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
51882
51883         [BZ #12907]
51884         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
51885         until it is clear that the information is realy needed.
51886         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
51887
51888 2011-06-22  Andreas Schwab  <schwab@redhat.com>
51889
51890         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
51891
51892 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
51893
51894         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
51895         /sys/devices/system/cpu/online if it is usable.
51896
51897         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
51898         reading the information from the /proc filesystem to once a second.
51899
51900 2011-06-21  Andreas Jaeger  <aj@suse.de>
51901
51902         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
51903         NULL after inclusion of kernel headers.
51904
51905 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
51906
51907         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
51908         calls to internal_setent.
51909
51910         [BZ #12885]
51911         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
51912         addresses using gethostbyname4_r ignore IPv4 addresses.
51913
51914         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
51915         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
51916
51917         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
51918
51919 2011-06-20  David S. Miller  <davem@davemloft.net>
51920
51921         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
51922         inclusions.
51923         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
51924
51925         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
51926         (elf_irel): Use it.
51927         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
51928         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
51929         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
51930         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
51931         * sysdeps/x86_64/dl-irel.h: Likewise.
51932
51933         * elf/dl-runtime.c: Use elf_ifunc_invoke.
51934         * elf/dl-sym.c: Likewise.
51935
51936 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
51937
51938         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
51939         need to dereference resplen2.
51940
51941 2011-06-14  Andreas Schwab  <schwab@redhat.com>
51942
51943         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
51944
51945 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
51946
51947         * Makeconfig: Define vardbdir and inst_vardbdir.
51948         * nss/Makefile: Add rules to install db-Makefile.
51949
51950         * nss/nss_db/db-XXX.c: Cleanup.
51951
51952         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
51953         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
51954         GLIBC_PRIVATE.
51955         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
51956         * nss/makedb.c: Implement -g option to specify that value strings
51957         are generated and should not be added to table iterated over for
51958         get*ent calls.
51959         * nss/nss_db/db-initgroups.c: New file.
51960
51961         * nss/getent.c: Add support for initgroups lookups through getgrouplist
51962         interface.
51963
51964         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
51965         (internal_getgrouplist): Adjust to name change.
51966         Update use_initgroups_entry if this is not the first call.
51967         * nss/databases.def: Add initgroups entry.
51968
51969         * nss/makedb.c (compute_tables): Check result of multiple hash table
51970         sizes to minimize maximum chain length.
51971
51972 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
51973
51974         * Versions.def: Add entry for libnss_db.
51975         * shlib-versions: Likewise.
51976         * nss/Makefile: Add rules to build libnss_db.
51977         * nss/Versions: Add libnss_db information.  Organize libnss_files
51978         entries better.
51979         * nss/db-Makefile: Add gshadow support.  Change rules for the new
51980         makedb progra.  Some minor improvements to generate smaller files.
51981         * nss/nss_db/nss_db.h: Move NSS database header data structures to
51982         here from...
51983         * nss/makedb.c: ...here.
51984         Improve database format to be smaller and require less memory at
51985         runtime.
51986         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
51987         db anymore.
51988         * nss/nss_db/db-netgrp.c: Likewise.
51989         * nss/nss_db/db-open.c: Likewise.
51990         * nss/nss_files/flies-XXX.x: Adjust comments.
51991         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
51992         * nss/nss_files/files-grp.c: Likewise.
51993         * nss/nss_files/files-hosts.c: Likewise.
51994         * nss/nss_files/files-network.c: Likewise.
51995         * nss/nss_files/files-proto.c: Likewise.
51996         * nss/nss_files/files-pwd.c: Likewise.
51997         * nss/nss_files/files-rpc.c: Likewise.
51998         * nss/nss_files/files-service.c: Likewise.
51999         * nss/nss_files/files-sgrp.c: Likewise.
52000         * nss/nss_files/files-spwd.c: Likewise.
52001         * nss/nss_db/db-alias.c: Removed.
52002         * nss/nss_db/dummy-db.h: Removed.
52003
52004 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
52005
52006         * nss/makedb.c: Rewritten to not use database library.
52007         * nss/Makefile: Update to build new makedb program.
52008
52009 2011-06-14  Andreas Jaeger  <aj@suse.de>
52010
52011         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
52012         memset declaration.
52013
52014 2011-06-10  Andreas Schwab  <schwab@redhat.com>
52015
52016         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
52017         tmpbuf.
52018
52019 2011-06-10  Roland McGrath  <roland@hack.frob.com>
52020
52021         * Makerules (shlib.lds): Fail if the linker script comes out empty.
52022         * elf/Makefile ($(objpfx)ld.so): Likewise.
52023
52024         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
52025         Don't list ld.so twice in dependencies.
52026
52027         * posix/bug-regex31.c: Include <stdlib.h>.
52028
52029         * nscd/hstcache.c (cache_addhst): Remove unused variable.
52030
52031         * nis/nss_compat/compat-spwd.c
52032         (getspent_next_nss_netgr): Remove unused variable.
52033         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
52034
52035         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
52036         nonmembers" output to use the right array.
52037
52038         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
52039
52040         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
52041
52042         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
52043         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
52044         * catgets/gencat.c (read_input_file): Likewise.
52045         * locale/programs/locarchive.c (enlarge_archive): Likewise.
52046
52047         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
52048         variable definition inside #if's controlling its use.
52049
52050         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
52051
52052         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
52053
52054         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
52055
52056         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
52057         unreachable code.
52058
52059         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
52060
52061         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
52062         * configure: Regenerated.
52063
52064         * Makerules: Revert last change.
52065         * elf/Makefile: Likewise.
52066
52067 2011-06-09  Roland McGrath  <roland@hack.frob.com>
52068
52069         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
52070         * elf/Makefile ($(objpfx)librtld.os): Likewise.
52071         (reloc-link): Likewise.
52072
52073 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
52074
52075         * elf/Makefile: Add rules to build pldd.
52076         * elf/pldd.c: New file.
52077         * elf/pldd-xx.c: New file.
52078
52079 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
52080
52081         * version.h: Update for 2.15 development version.
52082
52083 2011-06-07  David S. Miller  <davem@davemloft.net>
52084
52085         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
52086         ifuncs.
52087         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
52088         elf_machine_lazy_rel): Likewise.
52089         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
52090         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
52091         elf_machine_lazy_rel): Likewise.
52092         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
52093         dl_hwcap via passed in argument.
52094         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
52095         Likewise.
52096
52097 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52098
52099         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
52100
52101 2011-06-06  Roland McGrath  <roland@hack.frob.com>
52102
52103         [BZ #12849]
52104         * manual/fdl-1.1.texi: New file, verbatim from:
52105         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
52106         * manual/lgpl-2.1.texi: New file, verbatim from:
52107         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
52108         * manual/Makefile (licenses): New variable, list those new file names.
52109         (texis): Use it.
52110         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
52111
52112         * manual/fdl.texi: File removed.
52113         * manual/lesser.texi: File removed.
52114         * manual/libc.texinfo (Copying, Documentation License):
52115         Use new @include file names, put @appendix directive before @include.
52116
52117 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
52118
52119         [BZ #12841]
52120         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
52121         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
52122         (mq_open): Add __NTH.
52123
52124 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
52125
52126         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52127         Assume Intel Core i3/i5/i7 processor if AVX is available.
52128
52129 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
52130
52131         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
52132         typo.
52133
52134 2011-05-31  Andreas Schwab  <schwab@redhat.com>
52135
52136         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
52137         memory.  Use alloca_account.  Fix memory leak when retrying.
52138
52139 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
52140
52141         * version.h (RELEASE): Bump for 2.14 release.
52142         * include/features.h (__GLIBC_MINOR__): Bump to 14.
52143
52144         * config.make.in (RANLIB): Remove entry.
52145
52146 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
52147
52148         * po/Makefile (po-sed-cmd): Add ksh to extensions.
52149         (libc.pot): Work around missing support for .ksh extension in xgettext.
52150
52151         [BZ #12684]
52152         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
52153         if both request failed.
52154         (send_dg): In case of server errors clear resplen or *resplen2.
52155
52156         [BZ #12454]
52157         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
52158         when there are multiple maps.
52159         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
52160         (_dl_fini): Remove test here.
52161
52162         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
52163
52164 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
52165
52166         [BZ #12350]
52167         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
52168         bit from old_res_options.
52169         (gaih_inet): Likewise.
52170
52171         [BZ #11099]
52172         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
52173         as signed.
52174
52175         * resolv/res_init.c (res_setoptions): Make the code more compact.
52176
52177         [BZ #11558]
52178         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
52179         set RES_USEVC.
52180
52181         [BZ #11634]
52182         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
52183
52184         * malloc/malloc.h: Mark malloc hook variables as deprecated.
52185
52186         [BZ #11781]
52187         * malloc/malloc.h: Declare malloc hook variables as volatile.
52188
52189         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
52190         in last patch.
52191
52192         [BZ #11799]
52193         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
52194         raise in the comment.
52195         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
52196         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
52197         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
52198
52199 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
52200
52201         [BZ #12811]
52202         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
52203         grow the buffers more if it already has to be sufficient.
52204         (build_wcs_upper_buffer): Likewise.
52205         * posix/regexec.c (check_matching): Likewise.
52206         (clean_state_log_if_needed): Likewise.
52207         (extend_buffers): Don't enlarge buffers beyond size of the input
52208         buffer.
52209         Patches mostly by Emil Wojak <emil@wojak.eu>.
52210         * posix/bug-regex32.c: New file.
52211         * posix/Makefile (tests): Add bug-regex32.
52212
52213         * locale/findlocale.c (_nl_find_locale): Return right away if
52214         _nl_explode_name failed.
52215         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
52216
52217         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
52218
52219         * debug/xtrace.sh: Unify messages.
52220         * malloc/memusage.sh: Likewise.
52221
52222         [BZ #12813]
52223         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
52224         time symbol from vDSO.  Substitute with vsyscall if not available.
52225         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
52226         __vdso_time.
52227
52228         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
52229         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
52230         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
52231         Add sendmmsg and internal_sendmmsg.
52232         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
52233         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
52234         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
52235
52236         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
52237         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
52238         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
52239
52240 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
52241
52242         [BZ #12813]
52243         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
52244         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
52245         available.
52246         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
52247         __vdso_getcpu.
52248
52249         [BZ #12814]
52250         * iconvdata/Makefile (tests): Add bug-iconv9.
52251         * iconvdata/bug-iconv9.c: New file.
52252
52253 2011-05-27  Andreas Schwab  <schwab@redhat.com>
52254
52255         [BZ #12814]
52256         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
52257
52258 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
52259
52260         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
52261         (struct user_regs_struct): Change intcs field back to cs.
52262
52263 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
52264
52265         * po/ja.po: Update from translation team.
52266
52267 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
52268
52269         [BZ #12795]
52270         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
52271         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
52272
52273 2011-05-20  Andreas Schwab  <schwab@redhat.com>
52274
52275         * stdlib/longlong.h: Update from GCC.
52276
52277 2011-05-23  Andreas Schwab  <schwab@redhat.com>
52278
52279         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
52280         parameter name.
52281         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
52282         Add parameter name.
52283         (__sysconf): Pass it down.
52284
52285 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
52286
52287         [BZ #12671]
52288         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
52289         some situations.
52290         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
52291         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
52292         add in in __libc_use_alloca calls.  Adjust callers.
52293         (glob): Use malloc in some situations.
52294
52295         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
52296         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
52297         pltexit.
52298
52299 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
52300
52301         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
52302         and CLOCK_BOOTTIME_ALARM.
52303
52304         [BZ #12782]
52305         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
52306         is returned.
52307
52308         * string/_strerror.c (__strerror_r): Print negative errors as signed
52309         numbers.
52310
52311         [BZ #12777]
52312         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
52313         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
52314         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
52315
52316         * configure.in: Fix typo in redirection and correct removal of test
52317         files in two cases.
52318
52319         [BZ #12788]
52320         * locale/setlocale.c (new_composite_name): Fix test to check for
52321         identical name of all categories.
52322
52323         [BZ #12792]
52324         * libio/filedoalloc.c (local_isatty): New function.
52325         (_IO_file_doallocate): Use local_isatty.
52326         * stdio-common/perror.c (perror): In case a new stream is used
52327         forward the stream error.
52328         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
52329         error flag.
52330
52331 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
52332
52333         [BZ #11869]
52334         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
52335         alloca.
52336         * include/alloca.h (extend_alloca_account): Define.
52337
52338         [BZ #11857]
52339         * posix/regex.h: Fix comments with documentation of user-accessible
52340         fields after compilation and describe correct free'ing of pattern
52341         after re_compile_pattern.
52342         Patch by Reuben Thomas <rrt@sc3d.org>.
52343
52344 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
52345
52346         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
52347         and -mno-altivec to prevent the compiler from using Altivec and/or
52348         VSX instructions when the corresponding registers are not available.
52349
52350 2011-05-19  Andreas Schwab  <schwab@redhat.com>
52351
52352         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
52353
52354 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
52355
52356         * libio/freopen.c (freopen): Use __dup2, not dup2.
52357         * libio/freopen64.c (freopen64): Likewise.
52358
52359 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
52360
52361         [BZ #12775]
52362         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
52363         * math/Makefile (tests): Add test-powl.
52364         (CFLAGS-test-powl.c): Define.
52365         * math/test-powl.c: New file.
52366
52367 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
52368
52369         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
52370
52371 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
52372
52373         [BZ #11837]
52374         * iconvdata/gb18030.c: Update to GB18020-2005.
52375
52376 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
52377
52378         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
52379         RE_SYNTAX_POSIX_AWK): Update to match recent development.
52380         Patch by Aharon Robbins <arnold@skeeve.com>.
52381
52382         [BZ #11892]
52383         * stdlib/putenv.c (putenv): Don't always create copy of the variable
52384         on the stack.
52385
52386         [BZ #11895]
52387         * misc/pselect.c (__pselect): Handle timeout value errors hidden
52388         through underflows.
52389
52390         [BZ #12766]
52391         * misc/error.c (error_at_line): Ensure file_name and old_file_name
52392         point to strings before performing equality test for error_one_per_line
52393         mode.
52394
52395         [BZ #11697]
52396         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
52397
52398         [BZ #11820]
52399         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
52400         (struct user_fpregs_struct): Avoid __uint*_t types.
52401
52402         [BZ #6420]
52403         * malloc/mtrace.c (tr_where): Add additional parameter to point to
52404         symbol info.  Use it instead of calling _dl_addr locally.
52405         (lock_and_info): New function.
52406         (tr_freehook): Call lock_and_info and pass symbol info as additional
52407         parameter to tr_where.
52408         (tr_mallochook): Likewise.
52409         (tr_reallochook): Likewise.
52410         (tr_memalignhook): Likewise.
52411
52412         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
52413         used and couldn't be at all thread-safe.
52414
52415 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
52416
52417         * libio/freopen.c (freopen): Don't close old file descriptor
52418         before the new one is opened.  Instead dup the new file descriptor
52419         to the old one after the new stream is created.
52420         * libio/freopen64.c (freopen64): Likewise.
52421         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
52422         * libio/fileops.c (_IO_new_file_close_it): Handle new
52423         _IO_FLAGS2_NOCLOSE flag.
52424         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
52425         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
52426         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
52427         _IO_FLAGS2_NOCLOSE flag.
52428         * include/unistd.h: Add hidden_proto for dup3.
52429         Define __have_dup3.
52430         * io/dup3.c: Define hidden symbol.
52431         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
52432
52433         [BZ #7101]
52434         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
52435         when an incomplete long option is used.
52436         * posix/tst-getopt_long1.c: New file.
52437         * posix/Makefile (tests): Add tst-getopt_long1.
52438
52439         [BZ #10138]
52440         * scripts/config.guess: Update from autoconf-2.68.
52441         * scripts/config.sub: Likewise.
52442
52443         [BZ #10157]
52444         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
52445         tests into ...
52446         (has_cpuclock): ...this.  New function.
52447         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
52448         macro here based on has_cpuclock code.
52449
52450         [BZ #10149]
52451         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
52452         First byte (not low byte) is now always NUL.
52453         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
52454
52455         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
52456         Use non-cancelable interfaces.
52457
52458         [BZ #9809]
52459         * locale/iso-639.def: Add entry for Sorani.
52460
52461         [BZ #11901]
52462         * include/stdlib.h: Move include protection to the right place.
52463         Define abort_msg_s.  Declare __abort_msg with it.
52464         * stdlib/abort.c (__abort_msg): Adjust type.
52465         * assert/assert.c (__assert_fail_base): New function.  Majority
52466         of code from __assert_fail.  Allocate memory for __abort_msg with
52467         mmap.
52468         (__assert_fail): Now call __assert_fail_base.
52469         * assert/assert-perr.c: Remove bulk of implementation.  Use
52470         __assert_fail_base.
52471         * include/assert.hL Declare __assert_fail_base.
52472         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
52473         mmap.
52474         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
52475
52476 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
52477
52478         [BZ #11952]
52479         [BZ #12453]
52480         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
52481         until all modules are registered in the DTV.
52482         * elf/Makefile: Add rules to build and run tst-tls19.
52483         * elf/tst-tls19.c: New file.
52484         * elf/tst-tls19mod1.c: New file.
52485         * elf/tst-tls19mod2.c: New file.
52486         * elf/tst-tls19mod3.c: New file.
52487         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
52488
52489         [BZ #12083]
52490         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
52491         correctly.
52492
52493         [BZ #12601]
52494         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
52495         two-byte sequence errors.
52496         * iconvdata/Makefile (tests): Add bug-iconv8.
52497         * iconvdata/bug-iconv8.c: New file.
52498
52499         [BZ #12626]
52500         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
52501         buf2 definition.
52502
52503         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
52504
52505         [BZ #12432]
52506         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
52507         (dummy_getcfa): New function.
52508         (init): Get _Unwind_GetCFA address, use dummy if not found.
52509         (backtrace_helper): In recursion check, also check whether CFA changes.
52510         (__backtrace): Completely initialize arg.
52511
52512         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
52513         storing incomplete byte sequence in state object.  Avoid testing for
52514         guaranteed too small input if we know there is enough data available.
52515
52516 2011-05-11  Andreas Schwab  <schwab@redhat.com>
52517
52518         * Makeconfig (+link-pie): Indent.
52519         * Rules (binaries-pie): Define if $(have-fpie) and
52520         $(build-shared).
52521         (binaries-shared): Also filter out $(binaries-pie).
52522         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
52523         * nscd/Makefile (others-pie): Add nscd.
52524         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
52525         ($(objpfx)nscd): Remove command override.
52526         * login/Makefile (others-pie): Add pt_chown.
52527         ($(objpfx)pt_chown): Remove command override.
52528         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
52529         remove command overrides.
52530
52531 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
52532
52533         * libio/tst_putwc.c: Fix error messages.
52534
52535         [BZ #12724]
52536         * libio/fileops.c (_IO_new_file_close_it): Always flush when
52537         currently writing and seek to current position when not.
52538         * libio/Makefile (tests): Add bug-fclose1.
52539         * libio/bug-fclose1.c: New file.
52540
52541 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
52542
52543         [BZ #12511]
52544         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
52545         don't set DF_1_NODELETE here.
52546         (do_lookup_x): When entering new entry test for copy relocation
52547         and if necessary set DF_1_NODELETE flag.
52548         * elf/tst-unique4.cc: New file.
52549         * elf/tst-unique4.h: New file.
52550         * elf/tst-unique4lib.cc: New file.
52551         * elf/Makefile: Add rules to build and run tst-unique4.
52552         Patch by Piotr Bury <pbury@goahead.com>.
52553
52554 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
52555
52556         [BZ #12052]
52557         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
52558
52559         [BZ #12625]
52560         * misc/mntent_r.c (addmntent): Flush the stream after the output
52561
52562         [BZ #12393]
52563         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
52564         (is_trusted_path_normalize): Skip initial colon.  Append slash
52565         to empty buffer.  Duplicate is_trusted_path code but allow
52566         constructed patch to be prefix.
52567         (is_dst): Allow $ORIGIN followed by /.
52568         (_dl_dst_substitute): Correct clearing of check_for_trusted.
52569         Correct testing of result of is_trusted_path_normalize
52570         (decompose_rpath): Fix warning.
52571
52572 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
52573
52574         [BZ #11257]
52575         * grp/initgroups.c (internal_getgrouplist): When we found the service
52576         list through the initgroups entry in nsswitch.conf do not always
52577         continue on a successful lookup.  Don't always use the
52578         __nss_group_database value if it is set.
52579         * nss/nsswitch.conf (initgroups): Change action for successful db
52580         lookup to continue for compatibility.
52581
52582 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
52583
52584         [BZ #11532]
52585         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
52586         and CP774 modules.
52587         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
52588         and CP774 modules.
52589         * iconvdata/tst-tables.sh: Likewise.
52590         * iconvdata/cp770.c: New file.
52591         * iconvdata/cp771.c: New file.
52592         * iconvdata/cp772.c: New file.
52593         * iconvdata/cp773.c: New file.
52594         * iconvdata/cp774.c: New file.
52595         * iconvdata/testdata/CP770: New file.
52596         * iconvdata/testdata/CP770..UTF8: New file.
52597         * iconvdata/testdata/CP771: New file.
52598         * iconvdata/testdata/CP771..UTF8: New file.
52599         * iconvdata/testdata/CP772: New file.
52600         * iconvdata/testdata/CP772..UTF8: New file.
52601         * iconvdata/testdata/CP773: New file.
52602         * iconvdata/testdata/CP773..UTF8: New file.
52603         * iconvdata/testdata/CP774: New file.
52604         * iconvdata/testdata/CP774..UTF8: New file.
52605
52606         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
52607         END CHARMAP line.
52608         * iconvdata/gen-8bit-gap.sh: Likewise.
52609         * iconvdata/gen-8bit.sh: Likewise.
52610
52611         * locale/iso-639.def: Add ary entry.
52612
52613         [BZ #11258]
52614         * locale/C-translit.h.in: Add U20A1 transliteration.
52615
52616         [BZ #12178]
52617         * locale/iso-639.def: Add wae entry.
52618         Patch by Kevin Bortis <bortis@translate-wae.ch>.
52619
52620         [BZ #12545]
52621         * locale/programs/localedef.c (construct_output_path): Use ssize_t
52622         for n.
52623
52624         [BZ #12711]
52625         * locale/C-translit.h.in: Add entry for U20B9.
52626         Patch by pravin.d.s@gmail.com.
52627
52628 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
52629
52630         [BZ #12713]
52631         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
52632         ENAMETOOLONG use generic getcwd.
52633         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
52634         in rtld.  Use *stat64.
52635         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
52636         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
52637         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
52638         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
52639         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
52640         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
52641         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
52642         __fstatat64 macros.
52643         * include/dirent.h: Add libc_hidden_proto for rewinddir.
52644         * dirent/rewinddir.c: Add libc_hidden_def.
52645         * sysdeps/mach/hurd/rewinddir.c: Likewise.
52646         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
52647
52648         * include/dirent.h (__alloc_dir): Add flags parameter.
52649         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
52650         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
52651         __alloc_dir.
52652         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
52653         from fdopendir if O_CLOEXEC is already set.
52654
52655 2011-03-15  Alan Modra  <amodra@gmail.com>
52656
52657         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
52658         l_tls_firstbyte_offset non-zero.  Save padding offset in
52659         l_tls_firstbyte_offset for later use.
52660         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
52661         freeing static tls block.
52662
52663 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
52664
52665         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
52666         where #ifdef was intended.  The intent is to prevent ARG_MAX from
52667         being defined by the kernel headers.
52668
52669 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
52670
52671         [BZ #12734]
52672         * resolv/resolv.h: Define RES_NOTLDQUERY.
52673         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
52674         no-tld-query and set RES_NOTLDQUERY.
52675         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
52676         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
52677         modern BIND to search name as TLD unless forbidden.
52678
52679 2011-05-07  Petr Baudis  <pasky@suse.cz>
52680             Ulrich Drepper  <drepper@gmail.com>
52681
52682         [BZ #12393]
52683         * elf/dl-load.c (fillin_rpath): Move trusted path check...
52684         (is_trusted_path): ...to here.
52685         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
52686         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
52687         using is_trusted_path_normalize() in setuid scripts.
52688
52689 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
52690
52691         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
52692         __BEGIN/__END_DECLS.
52693
52694 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
52695
52696         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
52697         NSS_STATUS_NOTFOUND if no record was found.
52698
52699 2011-05-05  Andreas Schwab  <schwab@redhat.com>
52700
52701         * sunrpc/Makefile (headers): Add rpc/netdb.h.
52702         (headers-not-in-tirpc): Remove rpc/netdb.h
52703         * resolv/netdb.h: Revert last change.
52704
52705 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
52706
52707         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
52708         circular dependency between libgcc.a and libc.a.
52709
52710 2011-05-05  Andreas Schwab  <schwab@redhat.com>
52711
52712         * resolv/netdb.h: Don't include <rpc/netdb.h>.
52713         * nis/Makefile: Don't install rpcsvc/*.
52714         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
52715         instead of <rpc/types.h>.
52716         (MAXHOSTNAMELEN): Define.
52717
52718 2011-05-03  Andreas Schwab  <schwab@redhat.com>
52719
52720         * elf/ldconfig.c (add_dir): Don't crash on empty path.
52721
52722 2011-04-28  Maciej Babinski  <mbabinski@google.com>
52723
52724         [BZ #12714]
52725         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
52726         gethostbyname4_r when IPv6 results are possible.
52727
52728 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
52729
52730         [BZ #12723]
52731         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
52732         _PC_PIPE_BUF handling.
52733
52734 2011-04-30  Bruno Haible  <bruno@clisp.org>
52735
52736         [BZ #12717]
52737         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
52738         * resolv/netdb.h (getnameinfo): Change type of flags parameter
52739         to 'int'.
52740         * inet/getnameinfo.c (getnameinfo): Likewise.
52741
52742 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
52743
52744         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
52745         to groups setting in database lookup.
52746         * nss/nsswitch.conf: Add initgroups entry.
52747
52748 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
52749
52750         [BZ #12685]
52751         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
52752         mode string.
52753         Patch by Eric Blake <eblake@redhat.com>.
52754
52755 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
52756
52757         * sunrpc/Makefile (need-export-routines): Add svc_run.
52758         (routines): Remove svc_run.
52759         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
52760         * sunrpc/clnt_perr.c (clnt_perrno): Export.
52761         * sunrpc/svc_run.c (svc_run): Likewise.
52762         * sunrpc/svc_udp.c (svcudp_create): Likewise.
52763
52764 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
52765
52766         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
52767         problem in reallocation in last patch.
52768
52769 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
52770
52771         * sunrpc/Makefile: Move inclusion of Rules.
52772
52773 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
52774
52775         * nss/nss_files/files-initgroups.c: New file.
52776         * nss/Makefile (libnss_files-routines): Add files-initgroups.
52777         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
52778         _nss_files_initgroups_dyn.
52779
52780 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
52781
52782         * elf/elf.h (R_ARM_IRELATIVE): Define.
52783
52784 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
52785
52786         * po/ru.po: Update from translation team.
52787
52788 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
52789
52790         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
52791         dependencies.
52792
52793 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
52794
52795         [BZ #12653]
52796         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
52797         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
52798         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
52799         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
52800         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
52801
52802 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
52803
52804         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
52805         differing bytes.
52806         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
52807         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
52808         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
52809
52810 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
52811
52812         [BZ #12420]
52813         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
52814         storing it.
52815         * stdlib/bug-getcontext.c: New file.
52816         * stdlib/Makefile: Add rules to build and run bug-getcontext.
52817
52818 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52819
52820         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
52821         instructions into .machine "z9-109".
52822         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
52823         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
52824
52825 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52826
52827         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
52828         between environment variables and auxiliary vector.
52829
52830 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
52831
52832         * Makefile: Add rules to build linkobj/libc.so.
52833         * include/libc-symbols.h: Define libc_hidden_nolink.
52834         * include/rpc/auth.h: Mark functions which are to be hidden.
52835         * include/rpc/auth_des.h: Likewise.
52836         * include/rpc/auth_unix.h: Likewise.
52837         * include/rpc/clnt.h: Likewise.
52838         * include/rpc/des_crypt.h: Likewise.
52839         * include/rpc/key_prot.h: Likewise.
52840         * include/rpc/pmap_clnt.h: Likewise.
52841         * include/rpc/pmap_prot.h: Likewise.
52842         * include/rpc/pmap_rmt.h: Likewise.
52843         * include/rpc/rpc_msg.h: Likewise.
52844         * include/rpc/svc.h: Likewise.
52845         * include/rpc/svc_auth.h: Likewise.
52846         * include/rpc/xdr.h: Likewise.
52847         * nis/Makefile: Link all DSOs against linkobj/libc.so.
52848         * nss/Makefile: Likewise.
52849         * sunrpc/Makefile: Don't install headers.  Build library with normal
52850         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
52851         * sunrpc/auth_des.c: Hide exported symbols by default, export some
52852         for the compat linking library.  Remove use of INTDEF/INTUSE.
52853         * sunrpc/auth_none.c: Likewise.
52854         * sunrpc/auth_unix.c: Likewise.
52855         * sunrpc/authdes_prot.c: Likewise.
52856         * sunrpc/authuxprot.c: Likewise.
52857         * sunrpc/clnt_gen.c: Likewise.
52858         * sunrpc/clnt_perr.c: Likewise.
52859         * sunrpc/clnt_raw.c: Likewise.
52860         * sunrpc/clnt_simp.c: Likewise.
52861         * sunrpc/clnt_tcp.c: Likewise.
52862         * sunrpc/clnt_udp.c: Likewise.
52863         * sunrpc/clnt_unix.c: Likewise.
52864         * sunrpc/des_crypt.c: Likewise.
52865         * sunrpc/des_soft.c: Likewise.
52866         * sunrpc/get_myaddr.c: Likewise.
52867         * sunrpc/key_call.c: Likewise.
52868         * sunrpc/key_prot.c: Likewise.
52869         * sunrpc/netname.c: Likewise.
52870         * sunrpc/pm_getmaps.c: Likewise.
52871         * sunrpc/pm_getport.c: Likewise.
52872         * sunrpc/pmap_clnt.c: Likewise.
52873         * sunrpc/pmap_prot.c: Likewise.
52874         * sunrpc/pmap_prot2.c: Likewise.
52875         * sunrpc/pmap_rmt.c: Likewise.
52876         * sunrpc/publickey.c: Likewise.
52877         * sunrpc/rpc_cmsg.c: Likewise.
52878         * sunrpc/rpc_common.c: Likewise.
52879         * sunrpc/rpc_dtable.c: Likewise.
52880         * sunrpc/rpc_prot.c: Likewise.
52881         * sunrpc/rpc_thread.c: Likewise.
52882         * sunrpc/rtime.c: Likewise.
52883         * sunrpc/svc.c: Likewise.
52884         * sunrpc/svc_auth.c: Likewise.
52885         * sunrpc/svc_authux.c: Likewise.
52886         * sunrpc/svc_raw.c: Likewise.
52887         * sunrpc/svc_run.c: Likewise.
52888         * sunrpc/svc_simple.c: Likewise.
52889         * sunrpc/svc_tcp.c: Likewise.
52890         * sunrpc/svc_udp.c: Likewise.
52891         * sunrpc/svc_unix.c: Likewise.
52892         * sunrpc/svcauth_des.c: Likewise.
52893         * sunrpc/xcrypt.c: Likewise.
52894         * sunrpc/xdr.c: Likewise.
52895         * sunrpc/xdr_array.c: Likewise.
52896         * sunrpc/xdr_float.c: Likewise.
52897         * sunrpc/xdr_intXX_t.c: Likewise.
52898         * sunrpc/xdr_mem.c: Likewise.
52899         * sunrpc/xdr_rec.c: Likewise.
52900         * sunrpc/xdr_ref.c: Likewise.
52901         * sunrpc/xdr_sizeof.c: Likewise.
52902         * sunrpc/xdr_stdio.c: Likewise.
52903
52904 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
52905
52906         [BZ #12650]
52907         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
52908         * sysdeps/ia64/dl-tls.h: Likewise.
52909         * sysdeps/powerpc/dl-tls.h: Likewise.
52910         * sysdeps/s390/dl-tls.h: Likewise.
52911         * sysdeps/sh/dl-tls.h: Likewise.
52912         * sysdeps/sparc/dl-tls.h: Likewise.
52913         * sysdeps/x86_64/dl-tls.h: Likewise.
52914         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
52915
52916 2011-03-14  Andreas Schwab  <schwab@redhat.com>
52917
52918         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
52919         rpath element also skip the following colon.
52920         (expand_dynamic_string_token): Add is_path parameter and pass
52921         down to DL_DST_REQUIRED and _dl_dst_substitute.
52922         (decompose_rpath): Call expand_dynamic_string_token with
52923         non-zero is_path.  Ignore empty rpaths.
52924         (_dl_map_object_from_fd): Call expand_dynamic_string_token
52925         with zero is_path.
52926
52927 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
52928
52929         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
52930         Make cancelable.
52931
52932 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
52933
52934         [BZ #12655]
52935         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
52936         Patch by Filipe David Manana <fdmanana@apache.org>.
52937
52938 2011-04-07  Andreas Schwab  <schwab@redhat.com>
52939
52940         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
52941         Maintain aligned stack.
52942         (CHECK_RSP): Remove unused macro.
52943
52944 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
52945
52946         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
52947         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
52948
52949 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
52950
52951         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
52952
52953         * include/features.h: Mention __USE_XOPEN2K8 in comment.
52954
52955 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
52956
52957         [BZ #12518]
52958         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
52959         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
52960         * sysdeps/x86_64/memmove.c: New file.
52961         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
52962         (memcpy): Renamed to ...
52963         (__new_memcpy): This.
52964         (memcpy): Provide GLIBC_2_14 memcpy.
52965         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
52966         (memcpy): Provide GLIBC_2_2_5 memcpy.
52967
52968 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
52969
52970         [BZ #12631]
52971         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
52972
52973 2011-03-30  Andreas Schwab  <schwab@redhat.com>
52974
52975         * misc/syncfs.c: New file.
52976         * misc/Makefile (routines): Add syncfs.
52977         * posix/unistd.h: Declare syncfs.
52978         * sysdeps/unix/syscalls.list: Add syncfs.
52979
52980 2011-04-01  Andreas Schwab  <schwab@redhat.com>
52981
52982         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
52983         open_by_handle_at.
52984         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
52985         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
52986         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
52987         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
52988         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
52989         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
52990         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
52991
52992 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
52993
52994         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
52995         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
52996         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
52997         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
52998         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
52999         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
53000         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
53001
53002         * io/Makefile: Compile fallocate.c, fallocate64.c, and
53003         sync_file_range.c with -fexceptions.
53004         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
53005         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
53006         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
53007         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
53008         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
53009         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
53010         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
53011         sync_file_range as cancellation point
53012         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
53013         now a wrapper around __call_sync_file_range with cancellation handling.
53014         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
53015         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
53016         function name to __call_sync_file_range.
53017         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
53018         Add call_sync_file_range.
53019
53020 2011-04-01  Andreas Schwab  <schwab@redhat.com>
53021
53022         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
53023         bits/timex.h.
53024
53025 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
53026
53027         * iconv/iconv.h: Fix typo in comment.
53028         * io/fcntl.h: Likewise.
53029         * libio/stdio.h: Likewise.
53030         * posix/spawn.h: Likewise.
53031         * posix/unistd.h: Likewise.
53032         * stdlib/stdlib.h: Likewise.
53033         * time/time.h: Likewise.
53034         * wcsmbs/wchar.h: Likewise.
53035
53036         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
53037         open_by_handle): Add.
53038         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
53039         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
53040         Augment a few comments.
53041         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
53042         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
53043         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
53044         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
53045         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
53046         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
53047         open_by_handle.
53048
53049         * io/fcntl.h (AT_EMPTY_PATH): Define.
53050
53051 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
53052
53053         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
53054         * sysdeps/unix/sysv/linux/bits/time.h: New file.
53055         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
53056         to...
53057         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
53058         * Versions.def: Add GLIBC_2.14.
53059         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
53060         Export.
53061
53062 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
53063
53064         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
53065         round counter.
53066         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
53067
53068 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
53069
53070         [BZ #12597]
53071         * string/test-strncmp.c (do_page_test): New function.
53072         (check2): Likewise.
53073         (test_main): Call check2.
53074         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
53075
53076 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
53077
53078         [BZ #12587]
53079         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
53080         Handle cache information in CPU leaf 4.
53081         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
53082
53083 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
53084
53085         [BZ #12583]
53086         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
53087         character representation.
53088         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
53089
53090 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
53091
53092         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
53093         END(__isnan) to END(__isnanf) to match function entry point/label
53094         EALIGN(__isnanf,...).
53095
53096 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
53097
53098         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
53099
53100 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
53101
53102         [BZ #12510]
53103         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
53104         copy from the symbol referenced in the relocation to initialize the
53105         used variable.
53106         Patch by Piotr Bury <pbury@goahead.com>.
53107         * elf/Makefile: Add rules to build and tst-unique3.
53108         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
53109         * elf/tst-unique3.cc: New file.
53110         * elf/tst-unique3.h: New file.
53111         * elf/tst-unique3lib.cc: New file.
53112         * elf/tst-unique3lib2.cc: New file.
53113
53114         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
53115
53116 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
53117
53118         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
53119         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
53120         to _start.
53121
53122 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
53123
53124         * elf/dl-load.c (_dl_map_object): If we are looking for the first
53125         to-be-loaded object along a path to loader is ld.so.
53126
53127 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
53128             Ulrich Drepper  <drepper@gmail.com>
53129
53130         * sysdeps/x86_64/memset.S: After aligning destination, code
53131         branches to different locations depending on the value of
53132         misalignment, when multiarch is enabled. Fix this.
53133
53134 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
53135
53136         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
53137         Set _x86_64_preferred_memory_instruction for AMD processsors.
53138         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53139         Set bit_Prefer_SSE_for_memop for AMD processors.
53140
53141 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
53142
53143         * libio/fmemopen.c (fmemopen): Optimize a bit.
53144
53145 2011-03-03  Andreas Schwab  <schwab@redhat.com>
53146
53147         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
53148
53149 2011-03-03  Roland McGrath  <roland@redhat.com>
53150
53151         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
53152
53153 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
53154
53155         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
53156         __bzero_ultra1 instead of __memset_ultra1.
53157
53158 2011-02-23  Andreas Schwab  <schwab@redhat.com>
53159             Ulrich Drepper  <drepper@gmail.com>
53160
53161         [BZ #12509]
53162         * include/link.h (struct link_map): Add l_orig_initfini.
53163         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
53164         returning unsuccessfully.
53165         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
53166         close of a file loaded at startup, restore the original l_initfini
53167         list.
53168         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
53169         list, store the pointer.
53170         * elf/Makefile ($(objpfx)noload-mem): New rule.
53171         (noload-ENV): Define.
53172         (tests): Add $(objpfx)noload-mem.
53173         * elf/noload.c: Include <memcheck.h>.
53174         (main): Call mtrace.  Close all opened handles.
53175
53176 2011-02-17  Andreas Schwab  <schwab@redhat.com>
53177
53178         [BZ #12454]
53179         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
53180         dependencies are missing.
53181
53182 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
53183
53184         Fix __if_freereq crash: Unlike the generic version which uses free,
53185         Hurd needs munmap.
53186         * sysdeps/mach/hurd/ifreq.h: New file.
53187
53188 2011-01-27  Petr Baudis  <pasky@suse.cz>
53189             Ulrich Drepper  <drepper@gmail.com>
53190
53191         [BZ 12445]#
53192         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
53193         to extend_alloca().
53194         * stdio-common/bug23.c: New file.
53195         * stdio-common/Makefile (tests): Add bug23.
53196
53197 2010-09-28  Andreas Schwab  <schwab@redhat.com>
53198             Ulrich Drepper  <drepper@gmail.com>
53199
53200         [BZ #12489]
53201         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
53202         before performing relro protection.  At old place add assertion
53203         to make sure nothing changed.
53204
53205 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
53206             Glauber de Oliveira Costa  <glommer@gmail.com>
53207
53208         * elf/elf.h: Add new ARM TLS relocs.
53209
53210 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
53211
53212         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
53213         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
53214         cast from r3.
53215         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
53216         'tests' variable.
53217         * sysdeps/wordsize-64/tst-writev.c: New file.
53218
53219 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
53220
53221         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
53222         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
53223         insns in _dl_start to prevent a TOC reference before relocs are
53224         resolved.
53225
53226 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
53227
53228         [BZ #12469]
53229         * Makeconfig: Remove RANLIB definition.
53230         * Makerules: Don't use RANLIB.
53231         * aclocal.m4: Remove ranlib test.
53232         * configure.in: No need to check for ranlib.
53233         * elf/rtld-Rules: Don't use RANLIB.
53234
53235 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
53236
53237         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
53238         protection macro.
53239         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
53240         inclusion protection macro.
53241
53242         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
53243         SIGRTMIN and SIGRTMAX and print information in that case only when
53244         SIGRTMIN is defined.
53245
53246 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
53247
53248         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
53249         arginfo fn returning -1.
53250
53251         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
53252         and thousands string is zero terminated.
53253
53254 2011-02-03  Andreas Schwab  <schwab@redhat.com>
53255
53256         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
53257         sysdeps/unix/sysv/linux/bits/socket.h.
53258
53259 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
53260
53261         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
53262         (__CPU_COUNT): Remove old macros.
53263         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
53264         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
53265         (__CPU_ALLOC, __CPU_FREE): Add macros.
53266         (__sched_cpualloc, __sched_cpufree): Add declarations.
53267
53268 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
53269
53270         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
53271         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
53272         * nscd/aicache.c (addhstaiX): Return timeout of added value.
53273         (readdhstai): Return value of addhstaiX call.
53274         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
53275         (addgrbyX): Return value returned by cache_addgr.
53276         (readdgrbyname): Return value returned by addgrbyX.
53277         (readdgrbygid): Likewise.
53278         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
53279         (addpwbyX): Return value returned by cache_addpw.
53280         (readdpwbyname): Return value returned by addhstbyX.
53281         (readdpwbyuid): Likewise.
53282         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
53283         (addservbyX): Return value returned by cache_addserv.
53284         (readdservbyname): Return value returned by addservbyX:
53285         (readdservbyport): Likewise.
53286         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
53287         (addhstbyX): Return value returned by cache_addhst.
53288         (readdhstbyname): Return value returned by addhstbyX.
53289         (readdhstbyaddr): Likewise.
53290         (readdhstbynamev6): Likewise.
53291         (readdhstbyaddrv6): Likewise.
53292         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
53293         (readdinitgroups): Return value returned by addinitgroupsX.
53294         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
53295         (prune_cache): Keep track of timeout value of re-added entries.
53296         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
53297         * nscd/nscd.h: Adjust prototypes of readd* functions.
53298
53299 2011-02-04  Roland McGrath  <roland@redhat.com>
53300
53301         * nis/nis_server.c (nis_servstate): Use the right name for 0.
53302         (nis_stats): Likewise.
53303         * nis/nis_modify.c (nis_modify): Likewise.
53304         * nis/nis_remove.c (nis_remove): Likewise.
53305         * nis/nis_add.c (nis_add): Likewise.
53306
53307         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
53308
53309         * posix/fnmatch_loop.c: Add some consts.
53310
53311         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
53312
53313 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
53314
53315         [BZ #12460]
53316         * config.make.in (config-cflags-novzeroupper): Define.
53317         * configure.in: Substitute libc_cv_cc_novzeroupper.
53318         * elf/Makefile (AVX-CFLAGS): Define.
53319         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
53320         (CFLAGS-tst-auditmod4a.c): Likewise.
53321         (CFLAGS-tst-auditmod4b.c): Likewise.
53322         (CFLAGS-tst-auditmod6b.c): Likewise.
53323         (CFLAGS-tst-auditmod6c.c): Likewise.
53324         (CFLAGS-tst-auditmod7b.c): Likewise.
53325         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
53326
53327 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
53328
53329         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
53330         function to the callback.
53331         Patch partly by Jiri Olsa <jolsa@redhat.com>.
53332
53333 2011-02-02  Andreas Schwab  <schwab@redhat.com>
53334
53335         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
53336         of errno.
53337
53338 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
53339
53340         [BZ #11724]
53341         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
53342         of constructors.
53343         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
53344         of destructors.
53345         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
53346
53347         [BZ #11724]
53348         * elf/Makefile: Add rules to build and run new test.
53349         * elf/tst-initorder.c: New file.
53350         * elf/tst-initorder.exp: New file.
53351         * elf/tst-initordera1.c: New file.
53352         * elf/tst-initordera2.c: New file.
53353         * elf/tst-initordera3.c: New file.
53354         * elf/tst-initordera4.c: New file.
53355         * elf/tst-initorderb1.c: New file.
53356         * elf/tst-initorderb2.c: New file.
53357         * elf/tst-order-a1.c: New file.
53358         * elf/tst-order-a2.c: New file.
53359         * elf/tst-order-a3.c: New file.
53360         * elf/tst-order-a4.c: New file.
53361         * elf/tst-order-b1.c: New file.
53362         * elf/tst-order-b2.c: New file.
53363         * elf/tst-order-main.c: New file.
53364         New test case by George Gensure <werkt0@gmail.com>.
53365
53366 2010-10-01  Andreas Schwab  <schwab@redhat.com>
53367
53368         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
53369         decoding ACE if AI_CANONIDN.
53370
53371 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
53372
53373         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
53374
53375 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
53376
53377         * version.h (RELEASE): Bump for 2.13 release.
53378         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
53379
53380         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
53381
53382         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
53383         MADV_NOHUGEPAGE.
53384         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
53385         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
53386         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
53387         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
53388         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
53389         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
53390
53391         * posix/getconf.c: Update copyright year.
53392         * catgets/gencat.c: Likewise.
53393         * csu/version.c: Likewise.
53394         * debug/catchsegv.sh: Likewise.
53395         * debug/xtrace.sh: Likewise.
53396         * elf/ldconfig.c: Likewise.
53397         * elf/ldd.bash.in: Likewise.
53398         * elf/sprof.c (print_version): Likewise.
53399         * iconv/iconv_prog.c: Likewise.
53400         * iconv/iconvconfig.c: Likewise.
53401         * locale/programs/locale.c: Likewise.
53402         * locale/programs/localedef.c: Likewise.
53403         * malloc/memusage.sh: Likewise.
53404         * malloc/mtrace.pl: Likewise.
53405         * nscd/nscd.c (print_version): Likewise.
53406         * nss/getent.c: Likewise.
53407
53408         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
53409         PF_CAIF, and PF_ALG.
53410         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
53411
53412 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
53413
53414         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
53415         (modules-names): Use them.
53416         (ifunc-test-modules, ifunc-pie-tests): Define.
53417         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
53418         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
53419         (test-extras): Likewise.
53420         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
53421         $(compile-command.c).
53422         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
53423         (all-built-dso): Define.
53424         (check-textrel.out, check-execstack.out): Depend on it.
53425
53426         * configure.in: Don't override --enable-multi-arch.
53427
53428 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
53429
53430         [BZ #6812]
53431         * nscd/hstcache.c (tryagain): Define.
53432         (cache_addhst): Return tryagain not notfound for temporary errors.
53433         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
53434         failed.
53435
53436 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
53437
53438         [BZ #10563]
53439         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
53440         to make the syscall.
53441         * sysdeps/unix/sysv/linux/setgroups.c: New file.
53442
53443         [BZ #12378]
53444         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
53445         and fall back to matching as normal character if the string ends before
53446         the matching ']' is found.  This is what POSIX requires.
53447         * posix/testfnm.c: Adjust test result.
53448         * posix/globtest.sh: Adjust test result.  Add new test.
53449         * posix/tst-fnmatch.input: Likewise.
53450         * posix/tst-fnmatch2.c: Add new test.
53451
53452 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
53453
53454         * elf/Makefile (check-execstack): Revert last change.  Depend on
53455         check-execstack.h.
53456         (check-execstack.h): New target.
53457         (generated): Add check-execstack.h.
53458         * elf/check-execstack.c: Include "check-execstack.h".
53459         (main): Revert last change.
53460         (handle_file): Return zero if GNU_STACK is absent and
53461         DEFAULT_STACK_PERMS doesn't include PF_X.
53462
53463 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
53464
53465         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
53466         in child fails because the descriptor is already closed.
53467         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
53468         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
53469         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
53470
53471         [BZ #12397]
53472         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
53473         syscall.
53474
53475         [BZ #10484]
53476         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
53477         temporary buffer used to handle multi lookups locally.
53478         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
53479
53480 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
53481
53482         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
53483         loader is ld.so.
53484
53485 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
53486
53487         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
53488         alignment for SSE2.
53489
53490 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
53491
53492         [BZ #12394]
53493         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
53494         characters.  When rounding increased number of integer digits recompute
53495         number of groups.
53496         * stdio-common/tst-grouping.c: New file.
53497         * stdio-common/Makefile: Add rules to build and run tst-grouping.
53498
53499 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
53500
53501         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
53502         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
53503
53504         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
53505         void.
53506         * bits/select.h: Likewise.
53507
53508 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
53509
53510         * po/ja.po: Update from translation team.
53511
53512 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
53513
53514         [BZ #11155]
53515         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
53516         implementation just like for lxstat, fxstatat, et al.
53517
53518 2010-12-27  Jim Meyering  <meyering@redhat.com>
53519
53520         [BZ #12348]
53521         * posix/regexec.c (build_trtable): Return failure indication upon
53522         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
53523
53524 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
53525
53526         [BZ #12201]
53527         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
53528         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
53529         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
53530         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
53531
53532         [BZ #12207]
53533         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
53534
53535         [BZ #12204]
53536         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
53537         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
53538
53539 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
53540
53541         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
53542         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
53543         script has SORT_BY_INIT_PRIORITY.
53544         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
53545         NO_CTORS_DTORS_SECTIONS is defined.
53546         * elf/soinit.c: Likewise.
53547         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
53548         NO_CTORS_DTORS_SECTIONS is defined.
53549         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
53550         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
53551         * sysdeps/sh/init-first.c: Likewise.
53552         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
53553
53554 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
53555
53556         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
53557         always use the slow path.
53558
53559 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
53560
53561         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
53562         similar rule which adds the sysdep directories to the header search in
53563         order to pick up the correct platform stackinfo.h.
53564         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
53565         perform test if it is, otherwise return successfully without testing.
53566         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
53567         DEFAULT_STACK_PERMS define in stackinfo.h.
53568         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
53569         defined in stackinfo.h.
53570         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
53571         DEFAULT_STACK_PERMS defined in stackinfo.h.
53572         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
53573         * sysdeps/ia64/stackinfo.h: Likewise.
53574         * sysdeps/s390/stackinfo.h: Likewise.
53575         * sysdeps/sh/stackinfo.h: Likewise.
53576         * sysdeps/sparc/stackinfo.h: Likewise.
53577         * sysdeps/x86_64/stackinfo.h: Likewise.
53578         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
53579         PF_X for powerpc64.  Retain PF_X for powerpc32.
53580
53581 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
53582
53583         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
53584         accurately.
53585         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
53586         GETDENTS_64BIT_ALIGNED.
53587
53588 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
53589
53590         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
53591
53592 2010-12-10  Andreas Schwab  <schwab@redhat.com>
53593
53594         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
53595         _GNU_SOURCE.
53596
53597         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
53598         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
53599         Remove __restrict.
53600         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
53601         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
53602
53603 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
53604
53605         [BZ #11655]
53606         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
53607         are initialized.
53608
53609 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
53610
53611         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
53612
53613 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
53614
53615         * po/it.po: Update from translation team.
53616
53617 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
53618
53619         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
53620         unused codes.
53621
53622 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
53623
53624         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
53625
53626 2010-11-24  Andreas Schwab  <schwab@redhat.com>
53627
53628         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
53629         specially.
53630         (gaih_getanswer_slice): Likewise.
53631
53632 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
53633
53634         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
53635
53636 2010-05-31  Petr Baudis  <pasky@suse.cz>
53637
53638         [BZ #11149]
53639         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
53640         silently even in the chroot mode.
53641
53642 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
53643
53644         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
53645         last patch a bit.  Pretty printing
53646
53647 2010-05-31  Petr Baudis <pasky@suse.cz>
53648
53649         [BZ #10085]
53650         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
53651         initialization of skip_initgroups_dyn.
53652
53653 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
53654
53655         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
53656         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
53657
53658 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
53659
53660         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
53661
53662 2010-11-11  Andreas Schwab  <schwab@redhat.com>
53663
53664         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
53665         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
53666         (tst-fnmatch-ENV): Set MALLOC_TRACE.
53667         ($(objpfx)tst-fnmatch-mem): New rule.
53668         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
53669         * posix/tst-fnmatch.c (main): Call mtrace.
53670
53671 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
53672
53673         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53674         Support Intel processor model 6 and model 0x2c.
53675
53676 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
53677
53678         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
53679           signed comparison.
53680
53681 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
53682
53683         [BZ #12205]
53684         * string/test-strncasecmp.c (check_result): New function.
53685         (do_one_test): Use it.
53686         (check1): New function.
53687         (test_main): Use it.
53688         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
53689         Support strcasecmp and strncasecmp.
53690
53691 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
53692
53693         [BZ #12194]
53694         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
53695         * sysdeps/x86_64/bits/byteswap.h: Likewise.
53696
53697 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
53698
53699         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
53700         IFUNC support.
53701         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
53702         memset-x86-64.
53703         * sysdeps/x86_64/multiarch/bzero.S: New file.
53704         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
53705         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
53706         * sysdeps/x86_64/multiarch/memset.S: New file.
53707         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
53708         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53709         Set bit_Prefer_SSE_for_memop for Intel processors.
53710         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
53711         Define.
53712         (index_Prefer_SSE_for_memop): Define.
53713         (HAS_PREFER_SSE_FOR_MEMOP): Define.
53714
53715 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
53716
53717         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
53718         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
53719
53720 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
53721
53722         [BZ #12191]
53723         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
53724         (__x86_64_raw_data_cache_size_half): Likewise.
53725         (__x86_64_raw_shared_cache_size): Likewise.
53726         (__x86_64_raw_shared_cache_size_half): Likewise.
53727
53728         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
53729         (__x86_64_raw_data_cache_size_half): Likewise.
53730         (__x86_64_raw_shared_cache_size): Likewise.
53731         (__x86_64_raw_shared_cache_size_half): Likewise.
53732         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
53733         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
53734         and __x86_64_raw_shared_cache_size_half.  Round
53735         __x86_64_data_cache_size_half, __x86_64_data_cache_size
53736         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
53737         to multiple of 256 bytes.
53738
53739 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
53740
53741         [BZ #12167]
53742         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
53743         of inacessible symlinks.  Verify result of symlink before returning it.
53744         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
53745         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
53746
53747 2010-10-28  Erich Ritz  <erichritz@gmail.com>
53748
53749         * math/math.h (isinf): Fix typo in comment.
53750
53751 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
53752
53753         * po/da.po: Update from translation team.
53754
53755 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
53756
53757         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
53758         is added to the list.
53759
53760 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53761             Ulrich Drepper  <drepper@gmail.com>
53762
53763         * elf/dl-object.c (_dl_new_object): Don't append the new object to
53764         the global list here.  Move code to...
53765         (_dl_add_to_namespace_list): ...here.  New function.
53766         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
53767         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
53768         * elf/dl-load.c (lose): Don't remove the element from the list.
53769         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
53770         (_dl_map_object): Likewise.
53771
53772 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
53773
53774         [BZ #12159]
53775         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
53776         into all bytes of SSE register.
53777         Patch by Richard Li <richardpku@gmail.com>.
53778
53779 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
53780
53781         [BZ #12140]
53782         * malloc/malloc.c (_int_free): Fill correct number of bytes when
53783         perturbing.
53784
53785 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
53786
53787         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
53788         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
53789         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
53790         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
53791         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
53792         submachine.
53793         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
53794
53795 2010-10-22  Andreas Schwab  <schwab@redhat.com>
53796
53797         * include/dlfcn.h (__RTLD_SECURE): Define.
53798         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
53799         mode & __RTLD_SECURE instead.
53800         (open_path): Rename preloaded parameter to secure.
53801         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
53802         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
53803         * elf/dl-deps.c (openaux): Likewise.
53804         * elf/rtld.c (struct map_args): Remove is_preloaded.
53805         (map_doit): Don't use it.
53806         (dl_main): Likewise.
53807         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
53808         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
53809
53810 2010-09-09  Andreas Schwab  <schwab@redhat.com>
53811
53812         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
53813         (sysd-rules-targets): Remove duplicates.
53814         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
53815         rtld-%.$o dependency.
53816
53817 2010-10-18  Andreas Schwab  <schwab@redhat.com>
53818
53819         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
53820         _dl_map_object do it.
53821
53822 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
53823
53824         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
53825         fast fma builtins, define the macros in the C99 standard.
53826         (FP_FAST_FMAF): Likewise.
53827         (FP_FAST_FMAL): Likewise.
53828         * sysdeps/x86_64/bits/mathdef.h: Likewise.
53829
53830         * bits/mathdef.h: Update copyright year.
53831         * sysdeps/powerpc/bits/mathdef.h: Likewise.
53832
53833 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
53834
53835         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
53836         builtins, define the macros in the C99 standard.
53837         (FP_FAST_FMAF): Likewise.
53838         (FP_FAST_FMAL): Likewise.
53839         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
53840         multiply/add.
53841         (FP_FAST_FMAF): Likewise.
53842
53843 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
53844
53845         [BZ #3268]
53846         * math/libm-test.inc (fma_test): Some new testcases.
53847         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
53848         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
53849         y and infinite z.  Do multiplication by C already in long double.
53850         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
53851         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
53852         y and infinite z.  Do bitwise or of inexact bit into u.d.
53853         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
53854         * sysdeps/i386/fpu/s_fmaf.S: Removed.
53855         * sysdeps/i386/fpu/s_fma.S: Removed.
53856         * sysdeps/i386/fpu/s_fmal.S: Removed.
53857
53858 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
53859
53860         [BZ #3268]
53861         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
53862         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
53863         computation is not scheduled after fetestexcept.  Fix value
53864         of minimum denormal long double.
53865
53866 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
53867
53868         [BZ #3268]
53869         * math/libm-test.inc (fma_test): Add some more tests.
53870         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
53871         correctly.
53872
53873 2010-10-15  Andreas Schwab  <schwab@redhat.com>
53874
53875         * scripts/data/localplt-s390-linux-gnu.data: New file.
53876         * scripts/data/localplt-s390x-linux-gnu.data: New file.
53877
53878 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
53879
53880         [BZ #3268]
53881         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
53882         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
53883         instead of dbl-64.
53884         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
53885         inlines.
53886         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
53887         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
53888         if one of x and y is very large and the other is subnormal.
53889         * sysdeps/s390/fpu/s_fmaf.c: New file.
53890         * sysdeps/s390/fpu/s_fma.c: New file.
53891         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
53892         * sysdeps/powerpc/fpu/s_fma.S: New file.
53893         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
53894         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
53895         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
53896
53897 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
53898
53899         [BZ #3268]
53900         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
53901         fma tests.
53902         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
53903         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
53904         * sysdeps/i386/i686/multiarch/s_fma.c: Include
53905         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
53906         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
53907         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
53908         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
53909
53910 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
53911
53912         [BZ #12078]
53913         * posix/regcomp.c (parse_branch): One more memory leak plugged.
53914         * posix/bug-regex31.input: Add test case.
53915
53916 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
53917
53918         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
53919         * posix/bug-regex31.input: New file.
53920
53921         [BZ #12078]
53922         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
53923         (parse_sub_exp): Fix last change, use postorder.
53924
53925         * posix/bug-regex31.c: New file.
53926         * posix/Makefile: Add rules to build and run bug-regex31.
53927
53928         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
53929
53930         [BZ #12078]
53931         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
53932
53933         [BZ #12108]
53934         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
53935         to have entries in sys_siglist.
53936
53937         [BZ #12093]
53938         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
53939         be NULL.
53940
53941 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
53942
53943         [BZ #3268]
53944         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
53945         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
53946         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
53947         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
53948         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
53949         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
53950         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
53951         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
53952         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
53953         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
53954         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
53955         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
53956         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
53957         * math/ftestexcept.c (fetestexcept): Likewise.
53958         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
53959         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
53960         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
53961         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
53962         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
53963         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
53964         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
53965
53966 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
53967
53968         [BZ #12107]
53969         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
53970         newline.
53971
53972 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
53973
53974         * string/bug-strstr1.c: New file.
53975         * string/Makefile: Add rules to build and run bug-strstr1.
53976
53977 2010-10-05  Eric Blake  <eblake@redhat.com>
53978
53979         [BZ #12092]
53980         * string/str-two-way.h (two_way_long_needle): Always clear memory
53981         when skipping input due to the shift table.
53982
53983 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
53984
53985         [BZ #12005]
53986         * malloc/mcheck.c: Handle large requests.
53987
53988         [BZ #12077]
53989         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
53990         for strncmp and strncasecmp.
53991         * string/stratcliff.c: Add tests for strcmp and strncmp.
53992         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
53993
53994 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
53995
53996         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
53997         __set_fpscr.
53998
53999 2010-09-30  Andreas Jaeger  <aj@suse.de>
54000
54001         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
54002         (CGROUP_SUPER_MAGIC): Define.
54003         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
54004         Handle btrfs and cgroup file systems.
54005         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
54006         Likewise.
54007
54008 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
54009
54010         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
54011         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
54012
54013 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54014
54015         [BZ #12067]
54016         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
54017         trying to locate the ELF header.
54018
54019 2010-09-27  Andreas Schwab  <schwab@redhat.com>
54020
54021         [BZ #11611]
54022         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
54023         Mask out sign-bit copies when constructing f_fsid.
54024
54025 2010-09-24  Petr Baudis <pasky@suse.cz>
54026
54027         * debug/stack_chk_fail_local.c: Add missing licence exception.
54028         * debug/warning-nop.c: Likewise.
54029
54030 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
54031
54032         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
54033         implementing getdents64 using getdents syscall, set d_type if
54034         __ASSUME_GETDENTS32_D_TYPE.
54035
54036 2010-09-16  Andreas Schwab  <schwab@redhat.com>
54037
54038         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
54039         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
54040
54041 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
54042
54043         [BZ #12037]
54044         * posix/unistd.h: Undo change of feature selection for ftruncate from
54045         2010-01-11.
54046
54047 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
54048
54049         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
54050         detection.
54051
54052 2010-09-20  Andreas Schwab  <schwab@redhat.com>
54053
54054         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
54055         fanotify_mark.
54056         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
54057
54058 2010-09-14  Andreas Schwab  <schwab@redhat.com>
54059
54060         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
54061         variables after CHECK_SP call.
54062         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
54063
54064 2010-09-13  Andreas Schwab  <schwab@redhat.com>
54065             Ulrich Drepper  <drepper@redhat.com>
54066
54067         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
54068         re-relocationg ld.so.
54069         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
54070         _dl_init_paths call.
54071         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
54072         here anymore.
54073
54074 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
54075
54076         * resolv/res_init.c (__res_vinit): Count the default server we added.
54077
54078 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
54079             Ulrich Drepper  <drepper@redhat.com>
54080
54081         [BZ #11968]
54082         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
54083         (____longjmp_chk): Use %ebx for saving value across system call.
54084         Add unwind info.
54085
54086 2010-09-06  Andreas Schwab  <schwab@redhat.com>
54087
54088         * manual/Makefile: Don't mix pattern rules with normal rules.
54089
54090 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
54091
54092         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
54093         operation.
54094         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
54095         * libio/iofopncook.c (_IO_cookie_init): Likewise.
54096         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
54097         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
54098         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
54099         Likewise.
54100
54101 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
54102
54103         [BZ #11979]
54104         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
54105         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
54106
54107 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
54108
54109         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
54110         * sysdeps/x86_64/addmul_1.S: Likewise.
54111         * sysdeps/x86_64/lshift.S: Likewise.
54112         * sysdeps/x86_64/mul_1.S: Likewise.
54113         * sysdeps/x86_64/rshift.S: Likewise.
54114         * sysdeps/x86_64/sub_n.S: Likewise.
54115         * sysdeps/x86_64/submul_1.S: Likewise.
54116
54117 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
54118
54119         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
54120         Define __sched_param instead of SCHED_* and sched_param when
54121         <bits/sched.h> is included with __need_schedparam defined.
54122         * bits/sched.h [__need_schedparam]
54123         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
54124         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
54125         (__defined_schedparam): Define to 1.
54126         (__sched_param): New structure, identical to sched_param.
54127         (__need_schedparam): Undefine.
54128
54129 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
54130
54131         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
54132         (epoll_create1): Declare.
54133
54134         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
54135
54136 2010-08-31  Andreas Schwab  <schwab@redhat.com>
54137
54138         [BZ #7066]
54139         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
54140         shifting retval into place.
54141
54142 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
54143
54144         * nis/rpcsvc/nis.h: Update copyright notice.
54145         * nis/rpcsvc/nis.x: Likewise.
54146         * nis/rpcsvc/nis_callback.h: Likewise.
54147         * nis/rpcsvc/nis_callback.x: Likewise.
54148         * nis/rpcsvc/nis_object.x: Likewise.
54149         * nis/rpcsvc/nis_tags.h: Likewise.
54150         * nis/rpcsvc/yp.h: Likewise.
54151         * nis/rpcsvc/yp.x: Likewise.
54152         * nis/rpcsvc/ypupd.h: Likewise.
54153         * nis/yp_xdr.c: Likewise.
54154         * nis/ypupdate_xdr.c: Likewise.
54155
54156         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
54157         mainly the body of pmap_getport.  Add parameters to specify timeouts.
54158         (pmap_getport): Use __libc_rpc_getport.
54159         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
54160         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
54161         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
54162
54163 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
54164
54165         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
54166         fanotify_mark.
54167
54168 2010-08-27  Roland McGrath  <roland@redhat.com>
54169
54170         * sysdeps/i386/i686/multiarch/Makefile
54171         (CFLAGS-varshift.c): New variable.
54172
54173 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
54174
54175         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
54176         * sysdeps/i386/i686/multiarch/varshift.c: New file.
54177
54178         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
54179
54180         * sysdeps/x86_64/strlen.S: Minimal code improvement.
54181
54182 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
54183
54184         * sysdeps/x86_64/strlen.S: Unroll the loop.
54185         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
54186         strlen-sse2 strlen-sse2-bsf.
54187         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
54188         __strlen_no_bsf if bit_Slow_BSF is set.
54189         (__strlen_sse42): Removed.
54190         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
54191         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
54192
54193 2010-08-25  Roland McGrath  <roland@redhat.com>
54194
54195         * sysdeps/x86_64/multiarch/varshift.S: File removed.
54196         * sysdeps/x86_64/multiarch/varshift.c: New file.
54197         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
54198         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
54199         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
54200         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
54201
54202 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
54203
54204         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
54205         strlen-sse2 strlen-sse2-bsf.
54206         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
54207         __strlen_sse2_bsf if bit_Slow_BSF is unset.
54208         (__strlen_sse2): Removed.
54209         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
54210         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
54211         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
54212         bit_Slow_BSF for Atom.
54213         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
54214         (index_Slow_BSF): Define.
54215         (HAS_SLOW_BSF): Define.
54216
54217 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
54218
54219         [BZ #10851]
54220         * resolv/res_init.c (__res_vinit): When no server address at all
54221         is given default to loopback.
54222
54223 2010-08-24  Roland McGrath  <roland@redhat.com>
54224
54225         * configure.in: Remove config-name.h generation.
54226         * configure: Regenerated.
54227         * config-name.in: File removed.
54228         * scripts/config-uname.sh: New file.
54229         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
54230         ($(objdir)config-name.h): New target.
54231
54232         * sunrpc/rpc_parse.h: Avoid nested comment.
54233
54234 2010-08-24  Richard Henderson  <rth@redhat.com>
54235             Ulrich Drepper  <drepper@redhat.com>
54236             H.J. Lu  <hongjiu.lu@intel.com>
54237
54238         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
54239         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
54240         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
54241         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
54242         _mm_alignr_epi8 with _mm_loadu_si128.
54243         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
54244         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
54245         (__m128i_shift_right): Removed.
54246         * sysdeps/i386/i686/multiarch/varshift.h: New file.
54247         * sysdeps/i386/i686/multiarch/varshift.S: New file.
54248         * sysdeps/x86_64/multiarch/varshift.h: New file.
54249         * sysdeps/x86_64/multiarch/varshift.S: New file.
54250
54251 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
54252
54253         * configure.in: Move assembler checks to before sysdep dir checking.
54254
54255 2010-08-20  Petr Baudis  <pasky@suse.cz>
54256
54257         * LICENSES: Sync the sunrpc license.
54258
54259 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
54260
54261         * sunrpc/auth_des.c: Update copyright notice once again.
54262         * sunrpc/auth_none.c: Likewise.
54263         * sunrpc/auth_unix.c: Likewise.
54264         * sunrpc/authdes_prot.c: Likewise.
54265         * sunrpc/authuxprot.c: Likewise.
54266         * sunrpc/bindrsvprt.c: Likewise.
54267         * sunrpc/clnt_gen.c: Likewise.
54268         * sunrpc/clnt_perr.c: Likewise.
54269         * sunrpc/clnt_raw.c: Likewise.
54270         * sunrpc/clnt_simp.c: Likewise.
54271         * sunrpc/clnt_tcp.c: Likewise.
54272         * sunrpc/clnt_udp.c: Likewise.
54273         * sunrpc/clnt_unix.c: Likewise.
54274         * sunrpc/des_crypt.c: Likewise.
54275         * sunrpc/des_soft.c: Likewise.
54276         * sunrpc/get_myaddr.c: Likewise.
54277         * sunrpc/getrpcport.c: Likewise.
54278         * sunrpc/key_call.c: Likewise.
54279         * sunrpc/key_prot.c: Likewise.
54280         * sunrpc/openchild.c: Likewise.
54281         * sunrpc/pm_getmaps.c: Likewise.
54282         * sunrpc/pm_getport.c: Likewise.
54283         * sunrpc/pmap_clnt.c: Likewise.
54284         * sunrpc/pmap_prot.c: Likewise.
54285         * sunrpc/pmap_prot2.c: Likewise.
54286         * sunrpc/pmap_rmt.c: Likewise.
54287         * sunrpc/rpc/auth.h: Likewise.
54288         * sunrpc/rpc/auth_unix.h: Likewise.
54289         * sunrpc/rpc/clnt.h: Likewise.
54290         * sunrpc/rpc/des_crypt.h: Likewise.
54291         * sunrpc/rpc/key_prot.h: Likewise.
54292         * sunrpc/rpc/netdb.h: Likewise.
54293         * sunrpc/rpc/pmap_clnt.h: Likewise.
54294         * sunrpc/rpc/pmap_prot.h: Likewise.
54295         * sunrpc/rpc/pmap_rmt.h: Likewise.
54296         * sunrpc/rpc/rpc.h: Likewise.
54297         * sunrpc/rpc/rpc_des.h: Likewise.
54298         * sunrpc/rpc/rpc_msg.h: Likewise.
54299         * sunrpc/rpc/svc.h: Likewise.
54300         * sunrpc/rpc/svc_auth.h: Likewise.
54301         * sunrpc/rpc/types.h: Likewise.
54302         * sunrpc/rpc/xdr.h: Likewise.
54303         * sunrpc/rpc_clntout.c: Likewise.
54304         * sunrpc/rpc_cmsg.c: Likewise.
54305         * sunrpc/rpc_common.c: Likewise.
54306         * sunrpc/rpc_cout.c: Likewise.
54307         * sunrpc/rpc_dtable.c: Likewise.
54308         * sunrpc/rpc_hout.c: Likewise.
54309         * sunrpc/rpc_main.c: Likewise.
54310         * sunrpc/rpc_parse.c: Likewise.
54311         * sunrpc/rpc_parse.h: Likewise.
54312         * sunrpc/rpc_prot.c: Likewise.
54313         * sunrpc/rpc_sample.c: Likewise.
54314         * sunrpc/rpc_scan.c: Likewise.
54315         * sunrpc/rpc_scan.h: Likewise.
54316         * sunrpc/rpc_svcout.c: Likewise.
54317         * sunrpc/rpc_tblout.c: Likewise.
54318         * sunrpc/rpc_util.c: Likewise.
54319         * sunrpc/rpc_util.h: Likewise.
54320         * sunrpc/rpcinfo.c: Likewise.
54321         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
54322         * sunrpc/rpcsvc/key_prot.x: Likewise.
54323         * sunrpc/rpcsvc/klm_prot.x: Likewise.
54324         * sunrpc/rpcsvc/mount.x: Likewise.
54325         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
54326         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
54327         * sunrpc/rpcsvc/rex.x: Likewise.
54328         * sunrpc/rpcsvc/rstat.x: Likewise.
54329         * sunrpc/rpcsvc/rusers.x: Likewise.
54330         * sunrpc/rpcsvc/sm_inter.x: Likewise.
54331         * sunrpc/rpcsvc/spray.x: Likewise.
54332         * sunrpc/rpcsvc/yppasswd.x: Likewise.
54333         * sunrpc/rtime.c: Likewise.
54334         * sunrpc/svc.c: Likewise.
54335         * sunrpc/svc_auth.c: Likewise.
54336         * sunrpc/svc_authux.c: Likewise.
54337         * sunrpc/svc_raw.c: Likewise.
54338         * sunrpc/svc_run.c: Likewise.
54339         * sunrpc/svc_simple.c: Likewise.
54340         * sunrpc/svc_tcp.c: Likewise.
54341         * sunrpc/svc_udp.c: Likewise.
54342         * sunrpc/svc_unix.c: Likewise.
54343         * sunrpc/svcauth_des.c: Likewise.
54344         * sunrpc/xcrypt.c: Likewise.
54345         * sunrpc/xdr.c: Likewise.
54346         * sunrpc/xdr_array.c: Likewise.
54347         * sunrpc/xdr_float.c: Likewise.
54348         * sunrpc/xdr_mem.c: Likewise.
54349         * sunrpc/xdr_rec.c: Likewise.
54350         * sunrpc/xdr_ref.c: Likewise.
54351         * sunrpc/xdr_sizeof.c: Likewise.
54352         * sunrpc/xdr_stdio.c: Likewise.
54353
54354         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
54355         handling.
54356
54357 2010-08-19  Andreas Schwab  <schwab@redhat.com>
54358
54359         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
54360
54361 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
54362
54363         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
54364         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
54365         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
54366         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
54367         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
54368         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
54369         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
54370         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
54371         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
54372         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
54373         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
54374         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
54375         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
54376         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
54377
54378 2010-07-26  Anton Blanchard  <anton@samba.org>
54379
54380         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
54381         * malloc/arena.c (heap_trim): Likewise.
54382
54383 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
54384
54385         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
54386         here.  Not...
54387         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
54388         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
54389
54390 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
54391
54392         * sysdeps/i386/elf/Makefile: New file.
54393
54394 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
54395
54396         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
54397         from fanotify_init.
54398         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
54399         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
54400
54401 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
54402
54403         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
54404         of strncasecmp_l.
54405         * sysdeps/multiarch/strcmp.S: Likewise.
54406
54407 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
54408
54409         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
54410         strncase_l-nonascii.
54411         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
54412         Add strncase_l-ssse3.
54413         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
54414         * sysdeps/x86_64/strcmp.S: Likewise.
54415         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
54416         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
54417         * sysdeps/x86_64/strncase.S: New file.
54418         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
54419         * sysdeps/x86_64/strncase_l.S: New file.
54420         * string/Makefile (strop-tests): Add strncasecmp.
54421         * string/test-strncasecmp.c: New file.
54422
54423         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
54424         warning.
54425
54426         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
54427         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
54428
54429 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
54430
54431         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
54432
54433 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
54434
54435         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
54436         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
54437         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
54438
54439 2010-05-01  Alan Modra  <amodra@gmail.com>
54440
54441         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
54442         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
54443         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
54444         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
54445         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
54446         tidying.  Don't tail-call __sigjmp_save for static lib.
54447         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
54448         save location.
54449         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
54450         (CALL_MCOUNT): Add eh info, and nop after bl.
54451         (TAIL_CALL_SYSCALL_ERROR): New macro.
54452         (PSEUDO_RET): Use it.
54453         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
54454         Correct save location of integer regs and cr.
54455         (_dl_profile_resolve): Correct cr save location.  Delete nops
54456         after bl when SHARED.  Reduce cfi size a little by better
54457         placement of cfi directives.
54458         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
54459         make a stack frame.  Instead use parm save area as a temp.
54460         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
54461         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
54462         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
54463         Don't make a stack frame for parent, use parm save area.
54464         Increase child stack frame to 112 bytes.  Don't save unused reg,
54465         and adjust reg usage.  Set up cfi on error recovery and
54466         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
54467         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
54468         (__makecontext): Add dummy nop after jump to exit.
54469         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
54470         Use correct parm save area and cr save, reduce stack frame.
54471         Correct cfi for possible PSEUDO_RET frame setup.
54472         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
54473         Branch to local label emitted by PSEUDO_RET rather than
54474         __syscall_error.
54475
54476 2010-08-12  Andreas Schwab  <schwab@redhat.com>
54477
54478         [BZ #11904]
54479         * locale/programs/locale.c (print_assignment): New function.
54480         (show_locale_vars): Use it.
54481
54482 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
54483
54484         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
54485         field.
54486         (struct statfs64): Likewise.
54487         (_STATFS_F_FLAGS): Define.
54488         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
54489         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
54490         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
54491         (ST_VALID): Define locally.
54492         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
54493         __statvfs_getflags, use the provided value.
54494         * sysdeps/unix/sysv/linux/kernel-features.h: Define
54495         __ASSUME_STATFS_F_FLAGS.
54496
54497         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
54498
54499         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
54500         Add sys/fanotify.h.
54501         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
54502         fanotify_mask for GLIBC_2.13.
54503         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
54504         fanotify_init and fanotify_mark.
54505         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
54506         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
54507
54508         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
54509         Add prlimit.
54510         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
54511         prlimit64 for GLIBC_2.13.
54512         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
54513         prlimit64.
54514         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
54515         syscall.
54516         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
54517         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
54518         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
54519         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
54520         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
54521         add prlimit alias.
54522         * sysdeps/unix/sysv/linux/prlimit.c: New file.
54523
54524         [BZ #11903]
54525         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
54526         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
54527
54528         * nss/Makefile: Add rules to build and run tst-nss-test1.
54529         * shlib-versions: Add entry for libnss_test1.
54530         * nss/nss_test1.c: New file.
54531         * nss/tst-nss-test1.c: New file.
54532
54533         * nss/nsswitch.c (__nss_database_custom): Define new variable.
54534         (__nss_configure_lookup): Set appropriate entry in
54535         __nss_configure_lookup to true.
54536         * nss/nsswitch.h: Define enum with indeces of databases in
54537         databases and __nss_database_custom arrays.  Declare
54538         __nss_database_custom.
54539         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
54540         to avoid using nscd when custom rules are installed.
54541         * nss/getXXbyYY_r.c: Likewise.
54542         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
54543
54544         * nss/nss_files/files-parse.c: Whitespace fixes.
54545
54546 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
54547
54548         [BZ #11883]
54549         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
54550         * posix/fnmatch_loop.c: Likewise.
54551
54552 2010-07-17  Andi Kleen  <ak@linux.intel.com>
54553
54554         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
54555         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
54556         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
54557         * Versions.def [GLIBC_2.13]: Add.
54558
54559 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
54560
54561         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
54562         Also fail if tpwd after pwuid call is NULL.
54563
54564 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
54565
54566         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
54567         when converting to ms.
54568
54569 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
54570
54571         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
54572         EOPNOTSUPP errors with ENOTTY.
54573         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
54574         EOPNOTSUPP errors with ENOTTY.
54575
54576 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
54577
54578         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
54579         Add strcasecmp_l-ssse3.
54580         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
54581         strcasecmp.
54582         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
54583         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
54584         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
54585
54586 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
54587
54588         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
54589
54590         * string/Makefile (strop-tests): Add strcasecmp.
54591         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
54592         strcasecmp_l-nonascii.
54593         (gen-as-const-headers): Add locale-defines.sym.
54594         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
54595         * sysdeps/x86_64/strcasecmp.S: New file.
54596         * sysdeps/x86_64/strcasecmp_l.S: New file.
54597         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
54598         * sysdeps/x86_64/locale-defines.sym: New file.
54599         * string/test-strcasecmp.c: New file.
54600
54601         * string/test-strcasestr.c: Test both ends of the range of characters.
54602         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
54603
54604 2010-07-29  Roland McGrath  <roland@redhat.com>
54605
54606         [BZ #11856]
54607         * manual/locale.texi (Yes-or-No Questions): Fix example code.
54608
54609 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
54610
54611         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
54612         for ld.so.
54613
54614 2010-07-27  Andreas Schwab  <schwab@redhat.com>
54615
54616         * manual/memory.texi (Malloc Tunable Parameters): Document
54617         M_PERTURB.
54618
54619 2010-07-26  Roland McGrath  <roland@redhat.com>
54620
54621         [BZ #11840]
54622         * configure.in (-fgnu89-inline check): Set and substitute
54623         gnu89_inline, not libc_cv_gnu89_inline.
54624         * configure: Regenerated.
54625         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
54626
54627 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
54628
54629         * string/test-strnlen.c: New file.
54630         * string/Makefile (strop-tests): Add strnlen.
54631         * string/tester.c (test_strnlen): Add a few more test cases.
54632         * string/tst-strlen.c: Better error reporting.
54633
54634         * sysdeps/x86_64/strnlen.S: New file.
54635
54636 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
54637
54638         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
54639         lower-latency instructions.
54640
54641 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
54642
54643         * string/test-strcasestr.c: New file.
54644         * string/test-strstr.c: New file.
54645         * string/Makefile (strop-tests): Add strstr and strcasestr.
54646         * string/str-two-way.h: Don't undefine MAX.
54647         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
54648
54649 2010-07-21  Andreas Schwab  <schwab@redhat.com>
54650
54651         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
54652         strcasestr-nonascii.
54653         (CFLAGS-strcasestr-nonascii.c): Define.
54654         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
54655         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
54656         Remove unused attribute.
54657
54658 2010-07-20  Roland McGrath  <roland@redhat.com>
54659
54660         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
54661         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
54662         ld.so.cache was broken.  With it, there is no way to disable dsocaps
54663         like LD_HWCAP_MASK can disable hwcaps.
54664
54665 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
54666
54667         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
54668
54669 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
54670
54671         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
54672         call in strcasestr.
54673         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
54674         __strcasestr_sse42_nonascii.
54675         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
54676         strcasestr-nonascii.c.
54677         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
54678
54679 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
54680
54681         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
54682         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
54683         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
54684         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
54685
54686 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
54687
54688         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
54689         fcntl.
54690
54691 2010-07-06  Andreas Schwab  <schwab@redhat.com>
54692
54693         [BZ #11577]
54694         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
54695         dl_signal_cerror.
54696
54697 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
54698
54699         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
54700         _PC_PIPE_BUF using F_GETPIPE_SZ.
54701
54702 2010-07-05  Roland McGrath  <roland@redhat.com>
54703
54704         * manual/arith.texi (Rounding Functions): Fix rint description
54705         implicit in round description.
54706
54707 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
54708
54709         * elf/Makefile: Fix linking for a few tests to make recent linker
54710         happy.
54711
54712 2010-06-30  Andreas Schwab  <schwab@redhat.com>
54713
54714         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
54715         $(common-objpfx)libc_nonshared.a.
54716
54717 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
54718
54719         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
54720         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
54721         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
54722         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
54723         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
54724         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
54725         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
54726         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
54727         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
54728         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
54729         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
54730         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
54731         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
54732         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
54733         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
54734         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
54735         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
54736         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
54737         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
54738         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
54739         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
54740         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
54741         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
54742         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
54743         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
54744         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
54745         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
54746         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
54747         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
54748         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
54749         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
54750         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
54751         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
54752         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
54753         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
54754         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
54755         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
54756         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
54757         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
54758         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
54759         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
54760         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
54761         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
54762         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
54763         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
54764         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
54765         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
54766         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
54767
54768 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
54769
54770         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
54771         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
54772         * string/memmove.c (memmove): Renamed to ...
54773         (MEMMOVE): ...this.  Default to memmove.
54774         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
54775         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
54776         (END_CHK): Define.
54777         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
54778         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
54779         mempcpy-ssse3-back memmove-ssse3-back.
54780         * sysdeps/x86_64/multiarch/bcopy.S: New file .
54781         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
54782         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
54783         * sysdeps/x86_64/multiarch/memcpy.S: New file.
54784         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
54785         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
54786         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
54787         * sysdeps/x86_64/multiarch/memmove.c: New file.
54788         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
54789         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
54790         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
54791         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
54792         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
54793         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
54794         Define.
54795         (index_Fast_Copy_Backward): Define.
54796         (HAS_ARCH_FEATURE): Define.
54797         (HAS_FAST_REP_STRING): Define.
54798         (HAS_FAST_COPY_BACKWARD): Define.
54799
54800 2010-06-21  Andreas Schwab  <schwab@redhat.com>
54801
54802         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
54803         Restore proper fallback handling.
54804
54805 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
54806
54807         [BZ #11701]
54808         * posix/group_member.c (__group_member): Correct checking loop.
54809
54810         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
54811         OOM in getpwuid_r correctly.  Return error number when the caller
54812         should return, otherwise -1.
54813         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
54814         call returning > 0 value.
54815         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
54816
54817 2010-06-07  Andreas Schwab  <schwab@redhat.com>
54818
54819         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
54820         libc_nonshared.a from targets in modules-names.
54821
54822 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
54823
54824         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
54825         requires it.
54826
54827 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
54828
54829         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
54830         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
54831         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
54832         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
54833
54834 2010-06-02  Andreas Schwab  <schwab@redhat.com>
54835
54836         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
54837
54838 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
54839
54840         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
54841         and F_GETPIPE_SZ.
54842         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
54843         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
54844         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
54845         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
54846         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
54847         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
54848
54849 2010-06-14  Roland McGrath  <roland@redhat.com>
54850
54851         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
54852
54853 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
54854
54855         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
54856         __REDIRECT followed by __THROW.
54857         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
54858         * posix/getopt.h (getopt): Likewise.
54859
54860 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
54861
54862         * hurd/lookup-at.c (__file_name_lookup_at): Accept
54863         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
54864         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
54865         in AT_FLAGS.
54866         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
54867         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
54868
54869 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
54870
54871         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
54872
54873 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
54874
54875         [BZ #11640]
54876         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54877         Properly check family and model.
54878
54879 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
54880
54881         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
54882
54883 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
54884
54885         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
54886
54887 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
54888
54889         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
54890         symbol reference.
54891
54892 2010-05-19  Andreas Schwab  <schwab@redhat.com>
54893
54894         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
54895         symbol reference.
54896
54897 2010-05-21  Andreas Schwab  <schwab@redhat.com>
54898
54899         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
54900         and internal_recvmmsg.
54901         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
54902         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
54903         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
54904         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
54905
54906         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
54907         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
54908         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
54909
54910 2010-05-20  Andreas Schwab  <schwab@redhat.com>
54911
54912         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
54913
54914 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
54915
54916         POWER7 optimizations.
54917         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
54918         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
54919
54920 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
54921
54922         * version.h: Update for 2.13 development version.
54923
54924 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
54925
54926         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
54927         exceptions.  Return 0.
54928
54929 2010-05-07  Roland McGrath  <roland@redhat.com>
54930
54931         * elf/ldconfig.c (main): Add a const.
54932
54933 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
54934
54935         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
54936         (args_options): Add no-idn option.
54937         (ahosts_keys_int): Add idn_flags to ai_flags.
54938         (parse_option): Handle 'i' option to clear idn_flags.
54939
54940         * malloc/malloc.c (_int_free): Possible race in the most recently
54941         added check.  Only act on the data if no current modification
54942         happened.
54943
54944 See ChangeLog.17 for earlier changes.